summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 13:06:35 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 13:06:35 -0400
commitb01eb12a6c300583d95a21ecf67d68e5b4956774 (patch)
tree7391f2a0cb44cad20c2a6a8a27d24192d541ca3b /assets
parent37c1b79bddfb7a43aacbcad6f790562786645a03 (diff)
Improve view mode switcher
Diffstat (limited to 'assets')
-rw-r--r--assets/css/app.css38
-rw-r--r--assets/css/src/base.css10
-rw-r--r--assets/css/src/filters.css29
3 files changed, 57 insertions, 20 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index 508417fe..87e7e3cc 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -69,16 +69,6 @@ hr {
float: left;
margin-right: 10px;
}
-
-.views {
- display: inline-block;
-}
-
-.views li.active a {
- font-weight: bold;
- color: #000;
- text-decoration: none;
-}
/* links */
a {
color: #3366CC;
@@ -1641,4 +1631,32 @@ td li.dropit-trigger {
#screenshot-zone.screenshot-pasted {
border: 2px solid #333;
+}.views {
+ display: inline-block;
+}
+
+.views li {
+ border: 1px solid #eee;
+ padding-left: 12px;
+ padding-right: 12px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+
+.views li.active a {
+ font-weight: bold;
+ color: #000;
+ text-decoration: none;
+}
+
+.views li:first-child {
+ border-right: none;
+ border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+}
+
+.views li:last-child {
+ border-left: none;
+ border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
} \ No newline at end of file
diff --git a/assets/css/src/base.css b/assets/css/src/base.css
index fabe4f82..3b231d07 100644
--- a/assets/css/src/base.css
+++ b/assets/css/src/base.css
@@ -52,13 +52,3 @@ hr {
float: left;
margin-right: 10px;
}
-
-.views {
- display: inline-block;
-}
-
-.views li.active a {
- font-weight: bold;
- color: #000;
- text-decoration: none;
-}
diff --git a/assets/css/src/filters.css b/assets/css/src/filters.css
new file mode 100644
index 00000000..2bfd500b
--- /dev/null
+++ b/assets/css/src/filters.css
@@ -0,0 +1,29 @@
+.views {
+ display: inline-block;
+}
+
+.views li {
+ border: 1px solid #eee;
+ padding-left: 12px;
+ padding-right: 12px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+
+.views li.active a {
+ font-weight: bold;
+ color: #000;
+ text-decoration: none;
+}
+
+.views li:first-child {
+ border-right: none;
+ border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+}
+
+.views li:last-child {
+ border-left: none;
+ border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+} \ No newline at end of file