123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756 |
- // 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;
- .header {
- background-color: @categoryHeader;
- border: 1px solid @categoryBorder;
- border-radius: @borderRadiusSmall @borderRadiusSmall 0px 0px;
- margin: -1px;
- margin-bottom: 0px;
- padding: (@fontSizeSmall / 3) (@fontSizeSmall - 2px);
- h2 {
- margin: 0px;
- padding: 0px;
- color: @grayDark;
- font-size: @fontSizeSmall;
- font-weight: bold;
- line-height: @baseLineHeight;
- text-align: left;
- small {
- margin-left: @baseFontSize / 2;
- color: @grayLight;
- font-size: @fontSizeSmall;
- }
- }
- }
- .forum {
- border-bottom: 1px solid @categoryBorder;
- height: 21px;
- overflow: visible;
- padding: ((@fontSizeLarge / 2) + 6px) (@fontSizeSmall - 2px);
- &.last {
- border-bottom: none;
- }
- .forum-icon {
- float: left;
- position: relative;
- bottom: 1px;
- width: @forumIconSize * 1.5;
- color: @itemOldColor;
- font-size: @forumIconSize;
- text-align: center;
- &.forum-icon-new {
- color: @itemNewColor;
- }
- &.forum-icon-redirect {
- color: @itemMovedColor;
- }
- .icon-comment, .icon-comment-alt {
- position: relative;
- bottom: 3px;
- }
- }
- .forum-main {
- margin-left: (@forumIconSize * 1.5) + (@fontSizeSmall - 2px);
- 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;
- z-index: 2;
- .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 {
- .header {
- background-color: @red;
- border: 1px solid darken(@red, 10%);
- h2 {
- color: @white;
- text-shadow: 0px 1px 0px darken(@red, 25%);
- small {
- color: darken(@red, 40%);
- text-shadow: none;
- }
- }
- }
- }
- &.forum-subforums-inverse {
- .header {
- background-color: @grayDark;
- border: 1px solid darken(@grayDark, 10%);
- h2 {
- color: @grayLighter;
- text-shadow: 0px 1px 0px darken(@black, 25%);
- small {
- color: lighten(@grayLight, 10%);
- text-shadow: none;
- }
- }
- }
- }
- &.forum-subforums-info {
- .header {
- background-color: @bluePale;
- border: 1px solid darken(@bluePale, 10%);
- h2 {
- color: @white;
- text-shadow: 0px 1px 0px darken(@bluePale, 25%);
- small {
- color: darken(@bluePale, 25%);
- text-shadow: none;
- }
- }
- }
- }
- }
- .forum-threads-list {
- background-color: @categoryBackground;
- border: 1px solid @categoryBorder;
- border-radius: @borderRadiusSmall;
- .box-shadow(0px 0px 0px 3px @categoryShadow);
- margin-bottom: @baseLineHeight;
- .threads-list-empty {
- padding: (@baseFontSize * 2) 0px;
- color: @grayLight;
- font-size: @fontSizeLarge * 1.5;
- text-align: center;
- .thread-prefix {
- position: relative;
- bottom: 5px;
- }
- }
- &>ul {
- list-style: none;
- margin: 0px;
- &>li {
- border-bottom: 1px solid @categoryBorder;
- padding: (@fontSizeSmall - 2px) 0px;
- overflow: auto;
- .thread-icon {
- float: left;
- margin-bottom: -2px;
- position: relative;
- bottom: 1px;
- height: @threadIconSize;
- width: @threadIconSize + @fontSizeLarge;
- font-size: @threadIconSize;
- text-align: center;
- a:link, a:active, a:visited, a:hover{
- color: @itemOldColor;
- text-decoration: none;
- }
- }
- .thread-body {
- margin: ((@fontSizeSmall - 2px) * -1) 0px;
- margin-left: @threadIconSize + @fontSizeLarge;
- padding: (@fontSizeSmall - 2px) 0px;
- .thread-prefix {
- margin-right: @baseFontSize / 2;
- position: relative;
- bottom: 2px;
- }
- .thread-title {
- display: block;
- .thread-link {
- &:link, &:active, &:visited, &:hover {
- color: @gray;
- font-size: @fontSizeLarge;
- }
- }
- }
- .thread-activity {
- float: right;
- list-style: none;
- margin: 0px;
- margin-top: (@fontSizeSmall - 2px) * -1;
- margin-bottom: -6px;
- padding: 6px 0px;
- padding-right: 8px;
- overflow: auto;
- position: relative;
- top: 1px;
- z-index: 2;
- li {
- float: left;
- margin: 0px;
- margin-left: 10px;
- padding: 0px;
- &.thread-replies,
- &.thread-replies-reported,
- &.thread-replies-moderated {
- position: relative;
- top: 2px;
- color: @gray;
- font-size: @fontSizeLarge;
- font-weight: bold;
- }
- &.thread-replies-reported {
- color: @red;
- }
- &.thread-replies-moderated {
- color: @purple;
- }
- &.thread-replies {
- position: relative;
- top: 2px;
- color: @gray;
- font-size: @fontSizeLarge;
- font-weight: bold;
- }
- &.thread-last-reply {
- position: relative;
- top: 2px;
- a:link, a:visited {
- color: @grayLight;
- font-size: @fontSizeLarge;
- font-weight: bold;
- }
- a:hover, a:active {
- color: @textColor;
- }
- }
- &.thread-author, &.thread-poster {
- position: relative;
- top: 2px;
- color: @gray;
- font-size: @fontSizeLarge;
- font-weight: bold;
- .user-avatar {
- border-radius: @baseBorderRadius;
- width: 24px;
- height: 24px;
- position: relative;
- bottom: 2px;
- }
- }
- &.thread-author {
- a:link, a:active, a:visited, a:hover {
- color: @blue;
- }
- }
- &.thread-poster {
- a:link, a:active, a:visited, a:hover {
- color: @itemNewColor;
- }
- }
- &.thread-flag {
- margin-bottom: -6px;
- color: @grayLight;
- font-size: 26px;
- &.thread-poll {
- &:hover {
- color: @green;
- }
- }
- &.thread-moderated {
- &:hover {
- color: @purple;
- }
- }
- &.thread-closed {
- &:hover {
- color: @red;
- }
- }
- &.thread-deleted {
- &:hover {
- color: @grayDark;
- }
- }
- }
- &.thread-forum {
- margin-left: @baseFontSize;
- a:link, a:visited {
- position: relative;
- top: 2px;
- color: @grayLight;
- font-size: @fontSizeLarge;
- }
- a:hover, a:active {
- color: @textColor;
- }
- }
- &.thread-select {
- label {
- border-radius: @baseBorderRadius;
- display: inline-block;
- margin: 0px;
- margin-bottom: -5px;
- padding-right: 3px;
- padding-bottom: 4px;
- &:hover {
- background-color: @grayLighter;
- }
- &:active {
- background-color: @red;
- }
- input {
- margin-top: 6px;
- position: relative;
- left: 6px;
- }
- }
- }
- }
- }
- .thread-details {
- float: left;
- list-style: none;
- margin: 0px;
- padding: 0px;
- li {
- float: left;
- margin-right: @baseFontSize / 2;
- color: @grayLight;
- font-size: @fontSizeSmall;
- a:link, a:visited {
- color: @gray;
- }
- a:hover, a:active {
- color: @textColor;
- }
- }
- }
- }
- &.thread-new {
- .thread-icon {
- a:link, a:active, a:visited, a:hover {
- color: @itemNewColor;
- }
- }
- .thread-title {
- &:link, &:active, &:visited, &:hover {
- color: @textColor;
- }
- }
- }
- }
- &>li:last-child {
- border-bottom: none;
- }
- }
- .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;
- }
- }
- }
- .prefix-select {
- margin: 0px;
- margin-left: @baseFontSize;
- padding: 0px;
- ul {
- margin: 0px;
- overflow: auto;
- li {
- float: left;
- list-style: none;
- margin: 0px;
- padding: 4px 0px;
- }
- }
- .selection-title {
- margin-right: @fontSizeSmall / 2;
- padding: 4px 0px;
- color: @gray;
- font-weight: bold;
- }
- .label {
- margin: 0px 4px;
- position: relative;
- bottom: 0px;
- .opacity(90);
- outline: none;
- padding: 4px 6px;
- font-size: @baseFontSize;
- font-weight: normal;
- &.label-cancel {
- background-color: @bodyBackground;
- border: 1px solid @grayLight;
- margin-top: -1px;
- color: @gray;
- text-shadow: none;
- &:hover, &:active {
- border: 1px solid @grayLight;
- color: @textColor;
- }
- }
- &.label-success {
- &, &:hover, &:active {
- background-color: lighten(@successText, 45%);
- border-color: lighten(@successText, 20%);
- color: @successText;
- text-shadow: none;
- }
- &.label-active {
- background-color: @successText;
- border-color: darken(@successText, 20%);
- color: @white;
- text-shadow: 0px -1px 0px darken(@successText, 20%);
- }
- }
- &.label-info {
- &, &:hover, &:active {
- background-color: lighten(@infoText, 45%);
- border-color: lighten(@infoText, 20%);
- color: @infoText;
- text-shadow: none;
- }
- &.label-active {
- background-color: @infoText;
- border-color: darken(@infoText, 20%);
- color: @white;
- text-shadow: 0px -1px 0px darken(@infoText, 20%);
- }
- }
- &.label-warning {
- &, &:hover, &:active {
- background-color: lighten(@orange, 42%);
- border-color: lighten(@orange, 20%);
- color: @orange;
- text-shadow: none;
- }
- &.label-active {
- background-color: @orange;
- border-color: darken(@orange, 20%);
- color: @white;
- text-shadow: 0px -1px 0px darken(@orange, 20%);
- }
- }
- &.label-important {
- &, &:hover, &:active {
- background-color: lighten(@errorText, 45%);
- border-color: lighten(@errorText, 20%);
- color: @errorText;
- text-shadow: none;
- }
- &.label-active {
- background-color: @errorText;
- border-color: darken(@errorText, 20%);
- color: @white;
- text-shadow: 0px -1px 0px darken(@errorText, 20%);
- }
- }
- &.label-inverse {
- &, &:hover, &:active {
- background-color: lighten(@grayDark, 40%);
- border-color: lighten(@grayDark, 20%);
- color: @grayDark;
- text-shadow: none;
- }
- &.label-active {
- background-color: @grayDark;
- border-color: darken(@grayDark, 20%);
- color: @white;
- text-shadow: 0px -1px 0px darken(@grayDark, 20%);
- }
- }
- &.btn-active, &:hover, &:active {
- .box-shadow(none);
- .opacity(100);
- }
- }
- }
|