Adwaita: remove textview border

see https://bugzilla.gnome.org/show_bug.cgi?id=764203
This commit is contained in:
Lapo Calamandrei 2016-05-27 11:34:47 +02:00
parent a7e0695093
commit d1d763ce58
3 changed files with 3 additions and 61 deletions

View File

@ -118,33 +118,7 @@ textview {
} }
} }
textview border { textview border { background-color: mix($bg_color, $base_color, 50%); }
background-color: mix($bg_color, $base_color, 50%);
background-image: image(transparentize(black, 0.8)); // HACK: the border node just draws background so,
background-repeat: no-repeat; // using a background-image to draw the border
&:backdrop { background-color: mix($backdrop_bg_color, $backdrop_base_color, 50%); }
&.bottom {
background-size: 100% 1px;
background-position: top;
}
&.top {
background-size: 100% 1px;
background-position: bottom;
}
&.left {
background-size: 1px 100%;
background-position: right;
}
&.right {
background-size: 1px 100%;
background-position: left;
}
}
iconview { @extend .view; } iconview { @extend .view; }

View File

@ -74,23 +74,7 @@ textview text {
border-radius: 3px; } border-radius: 3px; }
textview border { textview border {
background-color: #2b3032; background-color: #2b3032; }
background-image: image(rgba(0, 0, 0, 0.2));
background-repeat: no-repeat; }
textview border:backdrop {
background-color: #2c3234; }
textview border.bottom {
background-size: 100% 1px;
background-position: top; }
textview border.top {
background-size: 100% 1px;
background-position: bottom; }
textview border.left {
background-size: 1px 100%;
background-position: right; }
textview border.right {
background-size: 1px 100%;
background-position: left; }
.rubberband, .rubberband,
rubberband, rubberband,

View File

@ -74,23 +74,7 @@ textview text {
border-radius: 3px; } border-radius: 3px; }
textview border { textview border {
background-color: #f4f4f3; background-color: #f4f4f3; }
background-image: image(rgba(0, 0, 0, 0.2));
background-repeat: no-repeat; }
textview border:backdrop {
background-color: #f2f2f2; }
textview border.bottom {
background-size: 100% 1px;
background-position: top; }
textview border.top {
background-size: 100% 1px;
background-position: bottom; }
textview border.left {
background-size: 1px 100%;
background-position: right; }
textview border.right {
background-size: 1px 100%;
background-position: left; }
.rubberband, .rubberband,
rubberband, rubberband,