Adwaita: Fix entry block cursors

This commit is contained in:
Matthias Clasen 2019-07-21 09:50:41 -07:00
parent f2d736d2cc
commit 63fd97749c
2 changed files with 9 additions and 1 deletions

View File

@ -315,6 +315,10 @@ entry {
@extend .dim-label;
}
block-cursor {
@include entry(block_cursor);
}
&.flat {
&:focus, &:backdrop, &:disabled, &:backdrop:disabled, & {
min-height: 0;

View File

@ -39,7 +39,7 @@
// use the default one
//
// possible $t values:
// normal, focus, insensitive, backdrop, backdrop-insensitive, osd, osd-focus, osd-backdrop;
// normal, focus, insensitive, backdrop, backdrop-insensitive, osd, osd-focus, osd-backdrop, block_cursor;
//
$_blank_edge: if($edge == none, none, 0 1px transparentize($edge, 1));
@ -111,6 +111,10 @@
text-shadow: none;
-gtk-icon-shadow: none;
}
@if $t==block_cursor {
color: $base_color;
background-color: $text_color;
}
}
// buttons