From 25bf6c0f0133e92ee30ba6bb7ccadb178c06bb0a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 22 Jan 2014 06:02:56 -0500 Subject: [PATCH] feature(style) add .reduce-text --- css/style.css | 21 ++++++--------------- html/file.html | 8 ++++---- html/index.html | 24 ++++++++++++------------ html/path.html | 2 +- 4 files changed, 23 insertions(+), 32 deletions(-) diff --git a/css/style.css b/css/style.css index 93354806..8bb969ca 100644 --- a/css/style.css +++ b/css/style.css @@ -41,9 +41,6 @@ body { } .path { - overflow : hidden; - text-overflow : ellipsis; - white-space : nowrap; } .path-icon { @@ -98,10 +95,7 @@ body { .cmd-button { width: 5%; margin: 20px 2px 0 2px; - overflow: hidden; color: #222; - text-overflow: ellipsis; - white-space: nowrap; background-color: white; border: 1.5px solid; border-color: rgb(49,123,249); @@ -205,9 +199,6 @@ body { .name { float: left; width: 35%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; } .size { @@ -215,17 +206,11 @@ body { width:16%; margin-right: 27px; text-align: right; - text-overflow: ellipsis; - overflow: hidden; - white-space : nowrap; } .owner { display : inline-block; width : 14%; - text-overflow : ellipsis; - overflow : hidden; - white-space : nowrap; /* when inline-block * vertical align should be * set top to prevent additional @@ -239,6 +224,12 @@ body { width: 23%; } +.reduce-text { + white-space : nowrap; + overflow : hidden; + text-overflow : ellipsis; +} + .files { height: 95%; padding: 0; diff --git a/html/file.html b/html/file.html index 037f4b50..5ebe0108 100644 --- a/html/file.html +++ b/html/file.html @@ -1,7 +1,7 @@
  • - {{ name }} - {{ size }} - {{ owner }} - {{ mode }} + {{ name }} + {{ size }} + {{ owner }} + {{ mode }}
  • \ No newline at end of file diff --git a/html/index.html b/html/index.html index f5aff6c7..9455e5d7 100644 --- a/html/index.html +++ b/html/index.html @@ -16,18 +16,18 @@
    {{ fm }}
    - - - - - - - - - - - - + + + + + + + + + + + +