You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

499 lines
7.7 KiB
Plaintext

.header, .slideout-menu {
.notification-list {
overflow-x: hidden;
overflow-y: auto;
max-height: 250px;
padding: 0;
color: @gray-dark;
li.no-notifs {
text-align: center;
}
li {
width: 400px;
text-align: left;
list-style-type: none;
padding: 0.5em;
clear: both;
&.loading-text {
text-align: center;
}
a {
white-space: normal;
margin: 0;
text-overflow: ellipsis;
.text {
margin-left: 40px;
margin-right: 60px;
display: block;
min-height: 32px;
}
}
&.unread {
.bg-variant(@state-warning-bg);
.mark-read:after {
content: "\f111";
}
.mark-read:hover:after {
content: "\f10c";
}
}
.mark-read {
color: @text-muted;
&:after {
font-family: "FontAwesome";
content: "\f10c";
padding: 4px 1rem;
position: relative;
top: 1px;
}
&:hover {
color: @gray-dark;
.pointer;
&:after {
content: "\f111";
}
}
}
}
}
.chat-list {
.notification-list;
> li {
.pointer;
width: 500px;
padding-bottom: 1rem;
margin: 0;
.teaser-content {
white-space: nowrap;
max-height: 19px;
padding-left: 90px;
padding-right: 10px;
}
&:hover {
background: @gray-lighter;
}
&:not(:last-child) {
border-bottom: 1px solid @gray-lighter;
}
&.no_active a {
text-align: center;
white-space: normal;
}
a {
line-height: 24px;
}
.members {
padding-left: 1rem;
li {
display: inline-block;
width: 16px;
padding: 0;
margin: 0;
}
}
}
}
}
.header {
[component="navbar/title"] {
display: none !important; //temp
}
.navbar-toggle {
.notification-icon {
position: absolute;
left: -13px;
top: 14px;
&:before {
display: none;
}
}
}
#user_dropdown {
padding: 9px 15px;
img, .user-icon {
.user-icon-style(30px, 1.8rem, 50%);
border: 0px none;
span {
font-size: 14px;
font-weight: 400;
}
}
}
.forum-title {
margin: 0px;
}
.forum-logo {
float: left;
max-height: 50px;
width: auto;
}
@media (max-width: @screen-xs-max) {
.forum-logo {
margin-left: 15px;
}
}
.header-topic-title {
text-align: right;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
span {
text-overflow: ellipsis;
white-space: nowrap;
color: @brand-primary;
}
}
.pagination-block {
margin-right: 10px !important;
margin-left: 10px !important;
transition: opacity 250ms ease-in;
opacity: 0;
pointer-events: none;
&.ready {
opacity: 1;
pointer-events: inherit;
}
a {
display: inline-block;
padding-left: 2px;
padding-right: 2px;
}
.progress-container {
height: 2px;
position: absolute;
bottom: 8px;
left: 8px;
background: #666;
width: 90%;
margin: auto;
.progress-bar {
background-color: @gray-lighter;
height: 2px;
}
}
.dropdown-toggle {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
padding-top: 0px;
padding-bottom: 0px;
}
.open>a {
background-color: rgba(0, 0, 0, 0)!important;
}
.dropdown-menu {
padding: 10px;
}
@media (max-width: @screen-xs-max) {
.progress-container {
display: inline-block;
position: static;
bottom: 0px;
margin-left: 1em;
width: 100px;
margin-bottom: 3px;
}
}
}
.notif-dropdown-link {
// margin-top: 1em;
border-top: 1px solid rgba(163, 163, 163, 0.5);
padding: 0 5px 0 5px;
a {
display: block;
text-align: center;
padding: 0.5em 0;
font-weight: 600;
}
}
#search-form {
.advanced-search-link {
margin-left: -30px;
}
}
}
.breadcrumb {
li {
max-width: 100%;
.text-ellipsis;
position: relative;
top: calc(16px / 4);
}
.fa {
margin-left: 10px;
color: rgb(153, 153, 153);
}
font-size: 16px;
padding: 0;
background: none;
@media (max-width: @screen-xs-max) {
li {
display: none;
}
li:nth-last-child(2), li:nth-last-child(1), li:last-child {
display: inline-block;
}
li:nth-last-child(2):before {
display: none;
}
li:last-child {
white-space: normal;
}
}
}
#reconnect {
font-size: 14px;
-webkit-transition: opacity 250ms linear;
-moz-transition: opacity 250ms linear;
-ms-transition: opacity 250ms linear;
-o-transition: opacity 250ms linear;
transition: opacity 250ms linear;
-moz-opacity: 0.00;
opacity: 0.00;
min-width: 45px;
&.active {
-moz-opacity: 1;
opacity: 1;
}
& +div.tooltip .tooltip-inner {
width: 350px;
}
}
.unread-count:after {
position: absolute;
left: 23px;
top: 10px;
font-size: 10px;
text-align: center;
border: 1px solid #890405;
color: #fff;
font-weight: bold;
min-width: 16px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background: #c91106;
padding: 1px 2px;
font-family: @font-family-sans-serif;
}
.unread-count[data-content]:not([data-content=""]):not([data-content="0"]):after {
content: attr(data-content);
}
.slideout-menu .unread-count:after {
position: relative;
left: -6px;
top: -7px;
}
#search-form {
#search-button {
float: right;
max-width: 60px;
width: auto;
transition-property: max-width, padding-left, padding-right;
transition-duration: .2s;
transition-timing-function: ease;
overflow: hidden;
}
#search-button.hidden {
display: inline-block !important;
visibility: visible !important;
max-width: 0;
padding-left: 0;
padding-right: 0;
}
#search-fields {
width: auto;
max-width: 100%;
overflow: hidden;
transition: max-width 0.2s ease 0s;
max-height: 42px;
float: right;
display: inline-block !important;
visibility: visible !important;
&.hidden {
max-width: 0;
}
input.form-control {
white-space: nowrap;
}
.form-group .advanced-search-link {
margin: 0;
width: 0;
position: relative;
left: -30px;
}
}
}
body.skin-default .header {
.notification-list {
li {
a {
color: inherit;
}
}
}
}
label.dropdown-toggle {
cursor: pointer;
margin: 0;
}
#user-control-list-check:checked + #user-control-list {
display: block;
}
.navbar-default {
.navbar-nav {
> li > label {
color: @navbar-default-link-color;
&:hover,
&:focus {
color: @navbar-default-link-hover-color;
background-color: @navbar-default-link-hover-bg;
}
}
> .active > label {
&,
&:hover,
&:focus {
color: @navbar-default-link-active-color;
background-color: @navbar-default-link-active-bg;
}
}
> .disabled > label {
&,
&:hover,
&:focus {
color: @navbar-default-link-disabled-color;
background-color: @navbar-default-link-disabled-bg;
}
}
> .open > label {
&,
&:hover,
&:focus {
background-color: @navbar-default-link-active-bg;
color: @navbar-default-link-active-color;
}
}
}
}
.dropdown-menu > li > form {
> button, > .btn-link {
text-align: left;
width: 100%;
background: none;
border: none;
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: @line-height-base;
color: @dropdown-link-color;
white-space: nowrap; // prevent links from randomly breaking onto new lines
&:hover,
&:focus {
text-decoration: none;
color: @dropdown-link-hover-color;
background-color: @dropdown-link-hover-bg;
}
}
}
html[data-dir="rtl"] {
.dropdown-menu > li > form > button {
text-align: right;
}
}
#mobile-menu:focus i.fa-bars {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
&::before {
font-family: "FontAwesome";
content: "\f110";
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}