mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-25 17:36:33 -07:00
Fixed #157
This commit is contained in:
@@ -283,9 +283,8 @@ spinner {
|
||||
/****************
|
||||
* Text Entries *
|
||||
****************/
|
||||
%entry,
|
||||
entry {
|
||||
%entry_basic, & {
|
||||
|
||||
%entry_basic {
|
||||
min-height: $medium-size;
|
||||
padding: 0 8px;
|
||||
border-radius: $corner-radius;
|
||||
@@ -298,6 +297,21 @@ entry {
|
||||
&:drop(active) { @include entry(hover); }
|
||||
|
||||
&:disabled { @include entry(disabled); }
|
||||
}
|
||||
|
||||
%entry,
|
||||
entry {
|
||||
@extend %entry_basic;
|
||||
|
||||
.background:not(.csd) & {
|
||||
@include entry(solid);
|
||||
|
||||
&:focus { @include entry(solid-checked); }
|
||||
|
||||
&:drop(active) { @include entry(solid-hover); }
|
||||
|
||||
&:disabled { @include entry(solid-disabled); }
|
||||
}
|
||||
|
||||
&.flat {
|
||||
min-height: 0;
|
||||
@@ -344,10 +358,6 @@ entry {
|
||||
}
|
||||
}
|
||||
|
||||
// .osd & {
|
||||
// }
|
||||
}
|
||||
|
||||
progress {
|
||||
margin: 2px -8px;
|
||||
border-bottom: 2px solid $primary;
|
||||
|
@@ -58,6 +58,34 @@
|
||||
color: $text-disabled;
|
||||
}
|
||||
|
||||
@if $t == solid {
|
||||
transition: $transition, box-shadow $ripple-fade-out-duration $ease-out;
|
||||
box-shadow: inset 0 0 0 2px transparent;
|
||||
background-color: mix($text, $base, 5%);
|
||||
color: $text;
|
||||
}
|
||||
|
||||
@if $t == solid-hover {
|
||||
background-color: mix($text, $base, 10%);
|
||||
box-shadow: inset 0 0 0 2px $overlay-hover;
|
||||
}
|
||||
|
||||
@if $t == solid-focus {
|
||||
background-color: mix($text, $base, 8%);
|
||||
box-shadow: inset 0 0 0 2px if($fc == $primary, $track, $fc);
|
||||
}
|
||||
|
||||
@if $t == solid-checked {
|
||||
background-color: mix($text, $base, 5%);
|
||||
box-shadow: inset 0 0 0 2px if($fc == $primary, $primary, $fc);
|
||||
}
|
||||
|
||||
@if $t == solid-disabled {
|
||||
box-shadow: inset 0 0 0 2px transparent;
|
||||
background-color: mix($text, $base, 3%);
|
||||
color: $text-disabled;
|
||||
}
|
||||
|
||||
@if $t == raised-normal {
|
||||
transition: $transition, box-shadow $ripple-fade-out-duration $ease-out;
|
||||
border-image: none;
|
||||
|
Reference in New Issue
Block a user