123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840 |
- // 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;
- }
- }
- }
- }
- }
- // New threads list
- .forum-threads-list-new {
- 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;
- }
- &>ul {
- list-style: none;
- margin: 0px;
- &>li {
- border-bottom: 1px solid @categoryBorder;
- padding: (@fontSizeSmall - 2px) 0px;
- overflow: auto;
- .thread-icon {
- float: left;
- width: @threadIconSize + @fontSizeLarge;
- color: @itemOldColor;
- font-size: @threadIconSize;
- text-align: center;
- text-decoration: none;
- margin-bottom: -1px;
- }
- .thread-body {
- margin: ((@fontSizeSmall - 2px) * -1) 0px;
- margin-left: @threadIconSize + @fontSizeLarge;
- padding: (@fontSizeSmall - 2px) 0px;
- .thread-title {
- display: block;
- position: relative;
- top: 1px;
- a:link, a:active, a:visited, a:hover {
- color: @gray;
- font-size: @fontSizeLarge;
- }
- .thread-flags {
- display: none;
- list-style: none;
- margin: 0px;
- padding: 0px;
- position: relative;
- top: 4px;
- left: -4px;
- li {
- float: left;
- margin-left: @baseFontSize / 2;
- }
- }
- }
- .thread-activity {
- float: right;
- list-style: none;
- margin: 0px;
- margin-top: (@fontSizeSmall - 2px) * -1;
- padding: 6px 0px;
- padding-right: 8px;
- overflow: auto;
- position: relative;
- top: 2px;
- z-index: 2;
- li {
- float: left;
- margin: 0px;
- margin-left: 8px;
- 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 {
- &.thread-replies-new {
- color: @itemNewColor;
- }
- }
- &.thread-replies {
- position: relative;
- top: 2px;
- color: @gray;
- font-size: @fontSizeLarge;
- font-weight: bold;
- &.thread-replies-new {
- color: @itemNewColor;
- }
- }
- &.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 {
- color: @grayLight;
- font-size: 26px;
- &.thread-moderated {
- &:hover {
- color: @purple;
- }
- }
- &.thread-closed {
- &:hover {
- color: @red;
- }
- }
- &.thread-deleted {
- &:hover {
- color: @grayDark;
- }
- }
- }
- &.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 {
- 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;
- }
- }
- }
- // 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;
- .header {
- background-color: @categoryHeader;
- border: 1px solid @categoryBorder;
- border-radius: @borderRadiusSmall @borderRadiusSmall 0px 0px;
- margin: -1px;
- margin-bottom: 0px;
- padding-bottom: 1px;
- overflow: auto;
- color: @grayLight;
- font-weight: bold;
- font-size: @fontSizeSmall;
- .row-fluid {
- &>div {
- margin-bottom: 0px;
- min-height: 1px;
- padding: @paddingSmall;
- padding-top: 2px;
- padding-bottom: 2px;
- }
- .thread-replies {
- float: left;
- width: 106px;
- }
- .thread-last {
- float: left;
- }
- }
- .check-cell {
- padding: 0px;
- label {
- margin: 0px;
- }
- }
- }
- .thread-row {
- border-bottom: 1px solid @categoryBorder;
- height: 38px;
- overflow: hidden;
- padding: (@fontSizeSmall - 2px) 0px;
- .row-fluid {
- &>div {
- min-height: auto;
- padding: @paddingSmall;
- padding-bottom: 0px;
- }
- }
- &.thread-last {
- border-bottom: none;
- &>div {
- padding-bottom: 1px;
- }
- }
- .thread-icon {
- display: block;
- float: left;
- position: relative;
- bottom: 1px;
- color: @itemOldColor;
- font-size: @threadIconSize;
- &:hover, &:active {
- color: @itemOldColor;
- text-decoration: none;
- }
- }
- &.thread-new {
- .thread-icon {
- color: @itemNewColor;
- }
- .thread-name {
- color: @textColor !important;
- }
- }
- &.threads-list-empty {
- height: auto;
- padding: @paddingLarge;
- font-size: @fontSizeLarge;
- text-align: center;
- }
- .thread-name {
- margin-left: 10px;
- color: lighten(@textColor, 17%);
- font-size: @baseFontSize + 2px;
- font-weight: bold;
- }
- .thread-details, .thread-last-reply {
- color: @grayLight;
- line-height: @baseFontSize;
- a:link, a:visited {
- color: @textColor;
- }
- }
- .thread-details {
- margin-left: @threadIconSize + 7px;
- font-size: @fontSizeMini;
- }
- .thread-flags {
- float: right;
- margin: 0px;
- position: relative;
- right: -30px;
- top: 5px;
- padding: 0px;
- li {
- .border-radius(@baseBorderRadius);
- display: block;
- float: left;
- margin-left: 3px;
- padding: 2px 5px;
- color: @white;
- &.flag-reported {
- background-color: @flagReported;
- }
- &.flag-notreviewed {
- background-color: @flagReviewed;
- }
- &.flag-announcement {
- background-color: @flagAnnouncement;
- }
- &.flag-sticky {
- background-color: @flagSticky;
- }
- &.flag-deleted {
- background-color: @flagDeleted;
- }
- &.flag-closed {
- background-color: @flagClosed;
- }
- }
- }
- .thread-activity {
- border-left: 1px dotted darken(@categoryBackground, 12%);
- position: relative;
- bottom: 3px;
- .thread-last-avatar {
- float: left;
- img {
- .border-radius(@baseBorderRadius);
- margin: 0px;
- margin-right: @baseFontSize;
- width: 40px;
- height: 40px;
- }
- }
- .thread-replies {
- float: left;
- margin-top: -1px;
- margin-right: @baseFontSize;
- color: @grayLight;
- font-size: @fontSizeSmall;
- .lead {
- font-size: @baseFontSize;
- font-weight: bold;
- line-height: @baseLineHeight;
- }
- a:link, a:active, a:visited, a:hover {
- color: @gray;
- }
- }
- .thread-last-reply {
- border-left: 1px dotted darken(@categoryBackground, 12%);
- padding-left: @baseFontSize;
- }
- .thread-select {
- background-color: darken(@categoryBackground, 5%);
- display: block;
- float: right;
- margin: -12px -11px;
- margin-left: 0px;
- width: 29px;
- height: 61px;
- &:hover, &:focus, &:active {
- background-color: @linkColor;
- }
- input {
- margin: 0px;
- position: relative;
- right: 2px;
- top: 26px;
- }
- }
- }
- }
- .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;
- }
- }
- }
|