summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-06-07 14:23:49 +0530
committerraghunayyar <me@iraghu.com>2014-06-07 14:23:49 +0530
commitd71bb7dbe49d86ed6203d845aa28c530eb165ee9 (patch)
tree1a60ca1a559c8ac3349b031d84ae1d205fee2065 /apps
parent1d1f958beae930d91f4a5ad335dd0971b93a68c1 (diff)
downloadnextcloud-server-d71bb7dbe49d86ed6203d845aa28c530eb165ee9.tar.gz
nextcloud-server-d71bb7dbe49d86ed6203d845aa28c530eb165ee9.zip
Adds multiple media queries for filename.
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.css38
1 files changed, 37 insertions, 1 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 7a0b7a89e89..4c57dff77f9 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -286,12 +286,48 @@ table td.filename .nametext {
}
table td.filename .nametext span:not(.extension) {
- max-width: 300px;
text-overflow: ellipsis;
overflow: hidden;
position: relative;
display: inline-block;
}
+
+@media only screen and (min-width: 1366px) {
+ table td.filename .nametext span:not(.extension) {
+ max-width: 650px;
+ }
+}
+
+@media only screen and (min-width: 1200px) and (max-width: 1366px) {
+ table td.filename .nametext span:not(.extension) {
+ max-width: 450px;
+ }
+}
+
+@media only screen and (min-width: 1000px) and (max-width: 1200px) {
+ table td.filename .nametext span:not(.extension) {
+ max-width: 270px;
+ }
+}
+
+@media only screen and (min-width: 900px) and (max-width: 1000px) {
+ table td.filename .nametext span:not(.extension) {
+ max-width: 210px;
+ }
+}
+
+@media only screen and (min-width: 768px) and (max-width: 900px) {
+ table td.filename .nametext span:not(.extension) {
+ max-width: 200px;
+ }
+}
+
+@media only screen and (max-width: 768px) {
+ table td.filename .nametext span:not(.extension) {
+ max-width: 400px;
+ }
+}
+
table td.filename .uploadtext { font-weight:normal; margin-left:8px; }
table td.filename form { font-size:14px; margin-left:48px; margin-right:48px; }