/* * Citizen - Translate Styles * https://starcitizen.tools */ @import '../../../resources/variables.less'; @import '../../../resources/mixins.less'; #page-tools { z-index: 0; margin-top: 0; #p-views { ul { flex-direction: column; li > a { width: auto; height: auto; padding: @margin-side / 4 @margin-side / 2 @margin-side / 4 0; opacity: 1; &:hover { color: @color-primary--active; opacity: 1; } &:after { content: none; } > span { position: relative !important; width: auto; height: auto; margin: 0; clip: unset; } } } } } .tux-messagelist, .tux-action-bar, .tux-messagetable-header.floating { margin: 0 @negative-margin !important; } .tux-action-bar.floating, .tux-messagetable-header.floating { .boxshadow(3); } .tux-messagelist, .tux-action-bar, .tux-messagetable-header { transition: @transition-margin, @transition-width; } .tux-messagelist, .tux-action-bar:not( .floating ) { width: auto !important; } .tux-messagetable-header { display: flex; align-items: center; padding: 0; // Reserve spaces for tabs &.floating { > div:first-of-type { padding: 0 20px 10px; } } } .tux-message-selector { li { &.selected { border: 0; } a { display: block; padding: @margin-side / 2 @margin-side; color: @base-50; transition: @transition-color-quick; &:hover { color: @accent-50; } &:first-of-type { padding-left: 0; } } } .more { padding: @margin-side / 2 @margin-side !important; > ul { top: 0; left: 0; width: auto; padding: 8px 0; border: 0; margin: 0; .boxshadow(5); li { padding: 0; font-size: @ui-menu-text-big; white-space: nowrap; a { padding: 10px 15px !important; margin: 0; } input { margin: @margin-side / 2 @margin-side / 4 @margin-side @margin-side; } label { padding-right: @margin-side; } } } } } @media only screen and ( max-width: @screen2 ) { #page-tools { max-width: @page-width; margin: 0 auto @margin-side * 2; float: none; #p-views { ul { flex-direction: row; } } } .tux-messagelist, .tux-action-bar, .tux-messagetable-header.floating { margin: 0 ~'calc((100vw - @{page-width}) / -2)' !important; } } @media only screen and ( max-width: @screen1 ) { .tux-messagelist, .tux-action-bar, .tux-messagetable-header.floating { margin: 0 -@margin-side !important; // fill margin } }