aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-05-07 20:42:30 +0200
committerRobert Jaros <rjaros@finn.pl>2019-05-07 20:42:30 +0200
commit857afb0fa7e8bdf435e2bb7cb5d951ba29449362 (patch)
tree4903fc89115edf8bf7a97330b6d80d33b47b9343 /kvision-modules
parente5e523d4a9a5c90156f6dc20410be06bd151eee9 (diff)
downloadkvision-857afb0fa7e8bdf435e2bb7cb5d951ba29449362.tar.gz
kvision-857afb0fa7e8bdf435e2bb7cb5d951ba29449362.tar.bz2
kvision-857afb0fa7e8bdf435e2bb7cb5d951ba29449362.zip
Closable tabs in the TabPanel container.
Diffstat (limited to 'kvision-modules')
-rw-r--r--kvision-modules/kvision-bootstrap/src/main/resources/css/style.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/main/resources/css/style.css b/kvision-modules/kvision-bootstrap/src/main/resources/css/style.css
index a0314ced..ddbd5d28 100644
--- a/kvision-modules/kvision-bootstrap/src/main/resources/css/style.css
+++ b/kvision-modules/kvision-bootstrap/src/main/resources/css/style.css
@@ -163,3 +163,17 @@ ul.tabs-top > li {
float:none;
flex-shrink: 0;
}
+
+.kv-tab-close {
+ margin-left: 10px;
+ color: #000;
+ text-shadow: 0 1px 0 #fff;
+ filter: alpha(opacity=20);
+ opacity: 0.2;
+}
+
+.kv-tab-close:hover, .kv-tab-close:focus {
+ cursor: pointer;
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+}