123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- @import "globals";
- /* HEADER */
- #branding {
- display: none;
- background-color: $sidebar-contrast-background-color;
- color: $sidebar-contrast-text-color;
- padding: 14px;
- text-align: center;
- &.initialized {
- display: block;
- }
- h1, h2 {
- padding: 0;
- margin: 0;
- text-transform: uppercase;
- font-size: 11px;
- }
- a, a:visited, a:hover {
- color: $sidebar-contrast-text-color;
- }
- a:hover {
- color: $sidebar-hover-action-color;
- }
- }
- #user-tools {
- display: none;
- &.initialized {
- display: block;
- @include for-mobile {
- display: none;
- }
- }
- }
- .user-tools {
- position: relative;
- ul {
- position: absolute;
- top: $top-height - 12px;
- right: 20px;
- border: 1px solid $top-border-color;
- border-radius: 4px;
- font-size: 12px;
- margin: 0;
- padding: 0;
- list-style: none;
- display: inline-block;
- width: 175px;
- z-index: 1;
- &.opened {
- background-color: $top-dropdown-background-color;
- border-color: transparent;
- color: $top-dropdown-text-color;
- }
- li {
- display: block;
- list-style-type: none;
- margin: 0;
- line-height: 30px;
- padding: 0 10px 0 14px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- li.user-tools-welcome-msg {
- font-weight: bold;
- &:after {
- @include font-icon;
- content: $icon-arrow-down;
- font-weight: normal;
- float: right;
- color: #47bac1;
- font-size: 24px;
- vertical-align: middle;
- line-height: 30px;
- transition: color $transitions-duration;
- }
- }
- &.opened .user-tools-welcome-msg {
- border-bottom: 1px solid $top-dropdown-border-color;
- &:after {
- color: $top-dropdown-icon-color;
- transform: rotate(180deg);
- }
- }
- li.user-tools-link {
- display: none;
- a, a:visited, a:hover {
- color: $top-dropdown-link-color;
- text-decoration: none;
- }
- a:hover {
- color: $top-dropdown-hover-link-color;
- text-decoration: underline;
- }
- }
- &.opened li.user-tools-link {
- display: block;
- }
- }
- }
|