123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- //
- // Board index page
- // --------------------------------------------------
- .index-sidebar {
- position: relative;
- bottom: 9px;
- }
- // Forums list
- // -------------------------
- .index-category {
- 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;
- }
- }
-
- .forum-icon {
- 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;
- }
- }
- .forum-details {
- float: right;
- color: @grayLight;
- font-weight: bold;
- .label {
- position: relative;
- bottom: 1px;
- }
- }
- .forum-description {
- clear: both;
- margin: 0px;
- padding: 0px;
- color: lighten(@textColor, 35%);
- font-size: @fontSizeSmall;
- }
- }
- }
- &.index-category-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;
- }
- }
- }
- &.index-category-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;
- }
- }
- }
- &.index-category-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;
- }
- }
- }
- }
- .index-forums-read-all {
- margin: 0px;
- padding: 0px;
- .btn-link {
- margin: 0px;
- .opacity(50);
- padding: 0px;
- color: @textColor;
- font-weight: bold;
- &:active, &:hover {
- .opacity(90);
- }
- }
- }
- // Online list
- // -------------------------
- .index-ranks-list {
- h3 {
- margin: 0px;
- padding: 0px;
- color: @grayLight;
- font-size: @fontSizeLarge;
- font-weight: bold;
- }
- ul {
- margin: 0px;
- margin-bottom: @baseLineHeight;
- padding: 0px;
- li {
- background-color: darken(@bodyBackground, 5%);
- border: 1px solid darken(@bodyBackground, 13%);
- border-radius: @baseBorderRadius;
- margin: 0px;
- margin-bottom: (@baseFontSize * .75);
- padding: 6px;
- font-weight: bold;
- img {
- background-color: @white;
- border-radius: @borderRadiusSmall;
- width: 24px;
- height: 24px;
- }
- a:link, a:active, a:visited, a:hover {
- color: @textColor;
- }
- }
- }
- }
- // Popular threads
- // -------------------------
- .index-popular-threads {
- h3 {
- margin: 0px;
- margin-bottom: (@baseLineHeight * -0.5);
- padding: 0px;
- color: @grayLight;
- font-size: @fontSizeLarge;
- font-weight: bold;
- }
- ul {
- margin: 0px;
- margin-bottom: @baseLineHeight;
- padding: 0px;
- li {
- border-bottom: 1px solid darken(@bodyBackground, 10%);
- padding: (@baseFontSize / 2) 0px;
- a:link, a:active, a:visited, a:hover {
- color: @textColor;
- font-weight: bold;
- }
- .muted {
- font-size: @fontSizeMini;
- a:link, a:active, a:visited, a:hover {
- color: @gray;
- }
- }
- }
- }
- }
- // Forum stats
- // -------------------------
- .index-stats {
- margin-bottom: @baseLineHeight;
- .opacity(60);
- overflow: auto;
- font-weight: bold;
- ul {
- li {
- float: left;
- padding: 0px;
- padding-right: @baseLineHeight;
- }
- }
- }
|