summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-09 21:41:32 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-09 21:41:32 -0500
commit7a5b78dbc6c3ad896bd07ad19aa8c9cb8fec11ac (patch)
tree5bb477a0717f4cc2fad6ad21e9eff82cdcd11726 /assets
parent7eadf7cfd80176ab9b74c9c6a55c28db0f43fa88 (diff)
Improve css for tables
Diffstat (limited to 'assets')
-rw-r--r--assets/css/app.css47
-rw-r--r--assets/css/table.css47
2 files changed, 94 insertions, 0 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index 08deefb7..a23fca2d 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -105,6 +105,53 @@ th a {
th a:focus,
th a:hover {
text-decoration: underline;
+}
+
+.table-fixed {
+ table-layout: fixed;
+ white-space: nowrap;
+}
+
+.table-fixed td {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.column-5 {
+ width: 5%;
+}
+
+.column-8 {
+ width: 7.5%;
+}
+
+.column-10 {
+ width: 10%;
+}
+
+.column-20 {
+ width: 20%;
+}
+
+.column-30 {
+ width: 30%;
+}
+
+.column-40 {
+ width: 40%;
+}
+
+.column-50 {
+ width: 50%;
+}
+
+.column-60 {
+ width: 60%;
+}
+
+.column-70 {
+ width: 70%;
}/* forms */
form {
margin-bottom: 20px;
diff --git a/assets/css/table.css b/assets/css/table.css
index 008b4bbf..c5ddb4c0 100644
--- a/assets/css/table.css
+++ b/assets/css/table.css
@@ -41,4 +41,51 @@ th a {
th a:focus,
th a:hover {
text-decoration: underline;
+}
+
+.table-fixed {
+ table-layout: fixed;
+ white-space: nowrap;
+}
+
+.table-fixed td {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.column-5 {
+ width: 5%;
+}
+
+.column-8 {
+ width: 7.5%;
+}
+
+.column-10 {
+ width: 10%;
+}
+
+.column-20 {
+ width: 20%;
+}
+
+.column-30 {
+ width: 30%;
+}
+
+.column-40 {
+ width: 40%;
+}
+
+.column-50 {
+ width: 50%;
+}
+
+.column-60 {
+ width: 60%;
+}
+
+.column-70 {
+ width: 70%;
} \ No newline at end of file