stable/1.0.x
Alex Gleason 2020-05-15 22:48:08 -05:00
rodzic 2fa0c44b52
commit 93e326a6f9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
14 zmienionych plików z 5022 dodań i 5018 usunięć

Wyświetl plik

@ -3,15 +3,15 @@
// THEME MIXINS // THEME MIXINS
// standard container drop shadow // standard container drop shadow
@mixin light-theme-shadow() {box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);} @mixin light-theme-shadow {box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);}
// common properties for all standard containers // common properties for all standard containers
@mixin gab-container-standards() { @mixin gab-container-standards {
border-radius: 10px; border-radius: 10px;
background: $gab-background-container; background: $gab-background-container;
$light-theme: false !default; $light-theme: false !default;
@if $light-theme { @if $light-theme {
@include light-theme-shadow(); @include light-theme-shadow;
background: $gab-background-container-light; background: $gab-background-container-light;
} }
} }
@ -25,7 +25,7 @@
} }
// OLDER MIXINS // OLDER MIXINS
@mixin avatar-radius() { @mixin avatar-radius {
border-radius: 50%; border-radius: 50%;
background: transparent no-repeat; background: transparent no-repeat;
background-position: 50%; background-position: 50%;
@ -38,7 +38,7 @@
background-size: $size $size; background-size: $size $size;
} }
@mixin search-input() { @mixin search-input {
outline: 0; outline: 0;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
@ -60,6 +60,7 @@
&::-moz-focus-inner { &::-moz-focus-inner {
border: 0; border: 0;
} }
&::-moz-focus-inner, &::-moz-focus-inner,
&:focus, &:focus,
&:active { &:active {
@ -67,27 +68,30 @@
} }
} }
@mixin search-popout() { @mixin search-popout {
background: $gab-background-container; background: $gab-background-container;
border-radius: 4px; border-radius: 4px;
border: 1px solid $gab-placeholder-accent; border: 1px solid $gab-placeholder-accent;
padding: 8px 10px 17px 10px; padding: 8px 10px 17px;
margin: 4px 0 0 0; margin: 4px 0 0;
@include font-size(12); @include font-size(12);
@include line-height(14); @include line-height(14);
@include font-weight(normal); @include font-weight(normal);
color: $gab-secondary-text; color: $gab-secondary-text;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5); box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
h4 { h4 {
color: #fff; color: #fff;
@include font-size(14); @include font-size(14);
@include line-height(16); @include line-height(16);
@include font-weight(bold); @include font-weight(bold);
} }
ul { ul {
margin: 6px 0 6px; margin: 6px 0;
li { li {
margin: 0 0 2px 0; margin: 0 0 2px;
em {color: $nav-ui-highlight-color;} em {color: $nav-ui-highlight-color;}
} }
} }