forked from AuroraMiddleware/gtk
Adwaita: Fix entry block cursors
This commit is contained in:
parent
f2d736d2cc
commit
63fd97749c
@ -315,6 +315,10 @@ entry {
|
|||||||
@extend .dim-label;
|
@extend .dim-label;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
block-cursor {
|
||||||
|
@include entry(block_cursor);
|
||||||
|
}
|
||||||
|
|
||||||
&.flat {
|
&.flat {
|
||||||
&:focus, &:backdrop, &:disabled, &:backdrop:disabled, & {
|
&:focus, &:backdrop, &:disabled, &:backdrop:disabled, & {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
// use the default one
|
// use the default one
|
||||||
//
|
//
|
||||||
// possible $t values:
|
// 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));
|
$_blank_edge: if($edge == none, none, 0 1px transparentize($edge, 1));
|
||||||
@ -111,6 +111,10 @@
|
|||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
-gtk-icon-shadow: none;
|
-gtk-icon-shadow: none;
|
||||||
}
|
}
|
||||||
|
@if $t==block_cursor {
|
||||||
|
color: $base_color;
|
||||||
|
background-color: $text_color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
|
Loading…
Reference in New Issue
Block a user