123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- // Forum View
- // -------------------------
- // Subforums list
- .forum-subforums-list {
- background-color: @categoryBackground;
- border: 1px solid @categoryBorder;
- border-radius: @borderRadiusSmall;
- .box-shadow(0px 0px 0px 3px @categoryShadow);
- margin-bottom: @baseLineHeight;
- table {
- margin: 0px;
- caption {
- background-color: @categoryHeader;
- border: 1px solid @categoryBorder;
- border-radius: @borderRadiusSmall @borderRadiusSmall 0px 0px;
- margin: -1px;
- padding: (@fontSizeSmall / 3) (@fontSizeSmall - 2px);
- color: @grayDark;
- font-size: @fontSizeSmall;
- font-weight: bold;
- text-align: left;
- small {
- margin-left: @baseFontSize / 2;
- color: @grayLight;
- font-size: @fontSizeSmall;
- }
- }
-
- td {
- padding: ((@fontSizeLarge / 2) + 6px) (@fontSizeSmall - 2px);
- padding-bottom: (@fontSizeLarge / 2) + 7px;
- }
- .forum-icon {
- padding-right: (@fontSizeSmall / 2) - 3px;
- width: 1%;
- .forum-icon-wrap {
- background-color: @itemOldColor;
- border: 1px solid darken(@itemOldColor, 10%);
- border-radius: @baseBorderRadius;
- padding: (@forumIconSize - 1px) @forumIconSize;
- &.forum-icon-new {
- background-color: @itemNewColor;
- border: 1px solid darken(@itemNewColor, 10%);
- }
- &.forum-icon-redirect {
- background-color: @itemMovedColor;
- border: 1px solid darken(@itemMovedColor, 10%);
- }
- }
- }
-
- .forum-main {
- h3 {
- float: left;
- margin: 0px;
- padding: 0px;
- font-size: @fontSizeLarge;
- font-weight: normal;
- line-height: @baseLineHeight;
- a:link, a:visited {
- color: @textColor;
- }
- }
- .dropdown {
- float: right;
- right: @baseFontSize;
- .subforum {
- &:link, &:visited {
- color: @grayLight;
- font-weight: bold;
- }
- &:hover, &:active {
- color: @textColor;
- }
- }
- .dropdown-toggle {
- padding: 4px 8px;
- .opacity(60);
- color: @textColor;
- font-weight: bold;
- &:hover, &:active, &:focus {
- .opacity(100);
- text-decoration: none;
- }
- }
- &.open .dropdown-toggle {
- background-color: @categoryShadow;
- border-radius: @baseBorderRadius @baseBorderRadius 0px 0px;
- .opacity(100);
- padding-bottom: 6px;
- text-decoration: none;
- }
- .dropdown-menu {
- background: none;
- border: none;
- box-shadow: none;
- .dropdown-shadow{
- border-radius: @baseBorderRadius;
- .box-shadow(0px 0px 3px @grayLight);
- width: 256px;
- position: relative;
- right: 0px;
- top: -4px;
- ul {
- background-color: @bodyBackground;
- border-radius: @baseBorderRadius;
- margin: 0px;
- padding: 0px;
- li {
- margin: 0px;
- padding: 0px;
- list-style: none;
- a {
- border-bottom: 1px dotted @categoryBorder;
- display: block;
- .opacity(70);
- padding: 6px 8px;
- color: @textColor;
- text-decoration: none;
- &:hover, &:active {
- .opacity(100);
- }
- }
- &:last-child a {
- border-bottom: none;
- }
- }
- }
- }
- }
- }
- .forum-details {
- border-left: 1px dotted darken(@categoryBackground, 12%);
- float: right;
- margin: -10px 0px;
- margin-top: ((@baseFontSize - @fontSizeSmall) * -1) - 6px;
- padding-left: @baseFontSize;
- height: 35px;
- width: 220px;
- .thread-name {
- a:link, a:active, a:visited, a:hover {
- margin-bottom: 1px;
- color: @textColor;
- font-size: @fontSizeSmall;
- font-weight: bold;
- }
- }
- .muted {
- font-size: @fontSizeMini;
- line-height: @fontSizeMini;
- .last-poster, a:link, a:active, a:visited, a:hover {
- color: @gray;
- }
- }
- em {
- position: relative;
- top: (35px - @baseLineHeight) / 2;
- color: @grayLight;
- strong {
- color: @textColor;
- font-weight: normal;
- }
- }
- }
- .forum-meta-tooltip {
- .tooltip-inner {
- max-width: 400px;
- text-align: left;
- .forum-stats {
- color: @grayLight;
- font-size: @fontSizeMini;
- strong {
- color: @white;
- }
- span {
- margin-right: @baseFontSize;
- }
- }
- .forum-description {
- clear: both;
- margin: 0px;
- margin-bottom: @baseFontSize / 2;
- padding: 0px;
- color: @grayLighter;
- font-size: @baseFontSize;
- }
- }
- }
- }
- }
- &.forum-subforums-important {
- caption {
- background-color: @red;
- border: 1px solid darken(@red, 10%);
- color: @white;
- text-shadow: 0px 1px 0px darken(@red, 25%);
- small {
- color: darken(@red, 40%);
- text-shadow: none;
- }
- }
- }
- &.forum-subforums-inverse {
- caption {
- background-color: @grayDark;
- border: 1px solid darken(@grayDark, 10%);
- color: @grayLighter;
- text-shadow: 0px 1px 0px darken(@black, 25%);
- small {
- color: lighten(@grayLight, 10%);
- text-shadow: none;
- }
- }
- }
- &.forum-subforums-info {
- caption {
- background-color: @bluePale;
- border: 1px solid darken(@bluePale, 10%);
- color: @white;
- text-shadow: 0px 1px 0px darken(@bluePale, 25%);
- small {
- color: darken(@bluePale, 25%);
- text-shadow: none;
- }
- }
- }
- }
- // Threads list
- .forum-threads-list {
- background-color: @categoryBackground;
- border: 1px solid @categoryBorder;
- border-radius: @borderRadiusSmall;
- .box-shadow(0px 0px 0px 3px @categoryShadow);
- margin-bottom: @baseLineHeight;
- table {
- margin: 0px;
- th {
- background-color: @bodyBackground;
- border-bottom: 1px solid @grayLighter;
- padding: @paddingSmall;
- color: @grayLight;
- font-size: @fontSizeSmall;
- }
- td {
- vertical-align: middle;
- &.threads-list-empty {
- padding: @paddingLarge;
- font-size: @fontSizeLarge;
- text-align: center;
- }
- .thread-icon {
- &:link, &:active, &:visited, &:hover {
- background-color: @itemOldColor;
- border: 1px solid darken(@itemOldColor, 15%);
- border-radius: @baseBorderRadius;
- margin-right: @baseFontSize / 2;
- padding: 3px 4px;
- &.thread-new {
- background-color: @itemNewColor;
- border: 1px solid darken(@itemNewColor, 15%);
- }
- }
- i {
- background-image: url("@{iconWhiteSpritePath}");
- }
- }
- .thread-name {
- color: @textColor;
- font-weight: bold;
- }
- .thread-details, .thread-last-reply {
- color: @grayLight;
- a:link, a:visited {
- color: @textColor;
- }
- }
- .thread-details {
- font-size: @fontSizeMini;
- }
- .thread-flags {
- float: right;
- margin: 0px;
- .opacity(80);
- padding: 0px;
- li {
- margin-left: 3px;
- float: left;
- }
- }
- .thread-rating {
- background-color: @grayLighter;
- border-radius: @baseBorderRadius;
- padding: 4px;
- color: @grayLight;
- font-size: @fontSizeLarge;
- font-weight: bold;
- text-align: center;
- &.thread-rating-negative, &.thread-rating-positive {
- color: @white;
- }
- &.thread-rating-negative {
- background-color: @red;
- }
- &.thread-rating-positive {
- background-color: @green;
- }
- }
- }
- th, td {
- &.check-cell {
- width: 1%;
- text-align: center;
- vertical-align: middle;
- .checkbox {
- margin: 0px;
- padding: 0px;
- input {
- margin: 0px;
- padding: 0px;
- position: relative;
- top: 3px;
- }
- }
- }
- }
- th.check-cell {
- input{
- right: 2px;
- }
- }
- }
- .threads-actions {
- background-color: @bodyBackground;
- border-top: 1px solid @categoryBorder;
- border-radius: 0px 0px @borderRadiusSmall @borderRadiusSmall;
- overflow: auto;
- padding: 4px;
- color: @grayLight;
- font-size: @fontSizeSmall;
- form {
- margin-bottom: 0px;
- }
- }
- }
- .forum-threads-extra {
- overflow: auto;
- &.extra-top {
- margin-bottom: @baseLineHeight;
- }
- .threads-signin-message {
- float: right;
- a:link, a:visited {
- color: @textColor;
- }
- }
- }
|