aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-04-05 23:45:23 +0200
committerHorst31802016-04-05 23:45:23 +0200
commit3a41c93ff4243e203ac68cebe35a4dc09b58ab88 (patch)
tree2420ea5181753a9fe22aba87dd85ea929aa0e3a6 /common/gtk-3.0/3.20/sass
parent0573472a16b622eb9ac14560d147693342361306 (diff)
downloadsolarc-theme-3a41c93ff4243e203ac68cebe35a4dc09b58ab88.tar.gz
solarc-theme-3a41c93ff4243e203ac68cebe35a4dc09b58ab88.tar.xz
solarc-theme-3a41c93ff4243e203ac68cebe35a4dc09b58ab88.zip
style textview border
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index e57988c..2c8d750 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -87,6 +87,32 @@ textview {
}
}
+textview border {
+ 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
+
+ &.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; }
rubberband,