display: block;
z-index: 11;
top: 0;
- color: #fff;
- fill: #fff;
+ color: rgb(250, 250, 250);
border-bottom: 1px solid #DDD;
box-shadow: $bs-card;
padding: $-xxs 0;
+ @include lightDark(border-bottom-color, #DDD, #000);
+ @include whenDark {
+ filter: saturate(0.8) brightness(0.8);
+ }
.links {
display: inline-block;
vertical-align: top;
display: inline-block;
padding: $-m;
color: #FFF;
- fill: #FFF;
}
.dropdown-container {
- padding-left: $-m;
- padding-right: 0;
+ padding-inline-start: $-m;
+ padding-inline-end: 0;
}
.avatar, .user-name {
display: inline-block;
vertical-align: top;
}
> span {
- padding-left: $-xs;
+ padding-inline-start: $-xs;
display: inline-block;
padding-top: $-xxs;
}
font-size: 18px;
}
@include between($l, $xl) {
- padding-left: $-xs;
+ padding-inline-start: $-xs;
.name {
display: none;
}
border-radius: 40px;
color: #EEE;
z-index: 2;
- padding-left: 40px;
+ padding-inline-start: 40px;
&:focus {
outline: none;
border: 1px solid rgba(255, 255, 255, 0.6);
}
}
button {
- fill: #EEE;
z-index: 1;
left: 16px;
+ @include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
+ @include rtl {
+ left: auto;
+ right: 16px;
+ }
svg {
- margin-right: 0;
+ margin-block-end: 0;
}
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
font-size: 1.8em;
color: #fff;
font-weight: 400;
- padding: 14px $-l 14px 0;
+ @include padding(14px, $-l, 14px, 0);
vertical-align: top;
line-height: 1;
}
.logo-image {
- margin: $-xs $-s $-xs 0;
+ @include margin($-xs, $-s, $-xs, 0);
vertical-align: top;
height: 43px;
}
margin: 0;
bottom: -2px;
}
+ @include rtl() {
+ left: $-m;
+ right: auto;
+ }
}
+
+
@include smaller-than($l) {
header .header-links {
+ @include lightDark(background-color, #fff, #333);
display: none;
- background-color: #FFF;
z-index: 10;
right: $-m;
border-radius: 4px;
display: block;
}
}
- header .links a, header .dropdown-container ul li a {
- text-align: left;
+ header .links a, header .dropdown-container ul li a, header .dropdown-container ul li button {
+ text-align: start;
display: block;
padding: $-s $-m;
color: $text-dark;
- fill: $text-dark;
+ @include lightDark(color, $text-dark, #eee);
svg {
- margin-right: $-s;
+ margin-inline-end: $-s;
}
&:hover {
- background-color: #EEE;
- color: #444;
- fill: #444;
+ @include lightDark(background-color, #eee, #333);
+ @include lightDark(color, #000, #fff);
text-decoration: none;
}
}
header .dropdown-container {
display: block;
- padding-left: 0;
+ padding-inline-start: 0;
}
header .links {
display: block;
border-bottom: 3px solid #BBB;
cursor: pointer;
&:first-child {
- border-right: 1px solid #DDD;
+ border-inline-end: 1px solid #DDD;
}
&.active {
border-bottom-color: currentColor;
display: none;
}
> span:first-child {
- margin-right: 0;
+ margin-inline-end: 0;
}
}
}
}
}
.svg-icon {
- margin-right: 0;
+ margin-inline-end: 0;
}
}
position: absolute;
z-index: 80;
right: -$-m;
+ @include rtl {
+ right: auto;
+ left: -$-m;
+ }
.breadcrumb-listing-search .svg-icon {
position: absolute;
left: $-s;
+ @include rtl {
+ right: $-s;
+ left: auto;
+ }
top: 11px;
fill: #888;
pointer-events: none;
.breadcrumb-listing-entity-list {
max-height: 400px;
overflow-y: scroll;
- text-align: left;
+ text-align: start;
}
input {
- padding-left: $-xl;
+ padding-inline-start: $-xl;
border-radius: 0;
border: 0;
border-bottom: 1px solid #DDD;
display: inline-block;
padding: $-xs $-s;
&:last-child {
- padding-right: 0;
+ padding-inline-end: 0;
}
&:first-child {
- padding-left: 0;
+ padding-inline-start: 0;
}
}
.action-buttons .dropdown-container:last-child a {
- padding-right: 0;
- padding-left: $-s;
+ padding-inline-end: 0;
+ padding-inline-start: $-s;
}
.action-buttons {
- text-align: right;
+ text-align: end;
&.text-left {
- text-align: left;
+ text-align: start;
.text-button {
- padding-right: $-m;
- padding-left: 0;
+ padding-inline-end: $-m;
+ padding-inline-start: 0;
}
}
&.text-center {
padding: $-xs $-xs;
}
.action-buttons .dropdown-container:last-child a {
- padding-left: $-xs;
+ padding-inline-start: $-xs;
}
}
\ No newline at end of file