aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-04 14:06:42 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-04 14:06:42 +0200
commitaebc330f269f3e88f2891cd13009cde2d50eb59a (patch)
tree7398bc68d581d01b18ba3e9e79c82491f1ecf871 /apps/files/css
parentc62dc4fa80d622ed7651029e9ddff2a6c6327143 (diff)
parent800bf0769ff4ea63c5dcc77eaaf1bce669b73d13 (diff)
downloadnextcloud-server-aebc330f269f3e88f2891cd13009cde2d50eb59a.tar.gz
nextcloud-server-aebc330f269f3e88f2891cd13009cde2d50eb59a.zip
Merge branch 'master' into fixing-4011-master
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/files.css105
-rw-r--r--apps/files/css/upload.css55
2 files changed, 92 insertions, 68 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index b3ecd1dab93..138b15db04f 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -7,68 +7,54 @@
.actions input, .actions button, .actions .button { margin:0; float:left; }
.actions .button a { color: #555; }
.actions .button a:hover, .actions .button a:active { color: #333; }
-#new {
- height:17px; margin:0 0 0 1em; z-index:1010; float:left;
+#new, #trash {
+ z-index: 1010;
+ float: left;
+ padding: 0 !important; /* override default control bar button padding */
+}
+#trash {
+ margin: 0 1em;
+ float: right;
+}
+#new>a, #trash>a {
+ padding: 14px 10px;
+ position: relative;
+ top: 7px;
+}
+#new.active {
+ border-bottom-left-radius: 0;
+ border-bottom-right-radius: 0;
+ border-bottom: none;
}
-#new.active { border-bottom-left-radius:0; border-bottom-right-radius:0; border-bottom:none; }
-#new>a { padding:.5em 1.2em .3em; }
#new>ul {
- display:none; position:fixed; min-width:7em; z-index:10;
- padding:.5em; padding-bottom:0; margin-top:.075em; margin-left:-.5em;
+ display: none;
+ position: fixed;
+ min-width: 7em;
+ z-index: 10;
+ padding: .5em;
+ padding-bottom: 0;
+ margin-top: 14px;
+ margin-left: -1px;
text-align:left;
- background:#f8f8f8; border:1px solid #ddd; border-radius:10px; border-top-left-radius:0;
+ background: #f8f8f8;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+ border-top-left-radius: 0;
box-shadow:0 2px 7px rgba(170,170,170,.4);
}
#new>ul>li { height:36px; margin:.3em; padding-left:3em; padding-bottom:0.1em;
background-repeat:no-repeat; cursor:pointer; }
#new>ul>li>p { cursor:pointer; padding-top: 7px; padding-bottom: 7px;}
-#new>ul>li>form>input {
- padding: 5px;
- margin: 2px 0;
-}
-#trash { margin: 0 1em; z-index:1010; float: right; }
-
-#upload {
- height:27px; padding:0; margin-left:0.2em; overflow:hidden;
-}
-#upload a {
- position:relative; display:block; width:100%; height:27px;
- cursor:pointer; z-index:10;
- background-image:url('%webroot%/core/img/actions/upload.svg');
- background-repeat:no-repeat;
- background-position:7px 6px;
- opacity:0.65;
-}
-.file_upload_target { display:none; }
-.file_upload_form { display:inline; float:left; margin:0; padding:0; cursor:pointer; overflow:visible; }
-#file_upload_start {
- left:0; top:0; width:28px; height:27px; padding:0;
- font-size:1em;
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0;
- z-index:20; position:relative; cursor:pointer; overflow:hidden;
-}
-
-#uploadprogresswrapper {
- position: relative;
- display: inline;
-}
-#uploadprogressbar {
- position:relative;
- float: left;
- margin-left: 12px;
- width: 130px;
- height: 26px;
- display:inline-block;
-}
-#uploadprogressbar + stop {
- font-size: 13px;
-}
/* FILE TABLE */
-#filestable { position: relative; top:37px; width:100%; }
+#filestable {
+ position: relative;
+ top: 44px;
+ width: 100%;
+}
#filestable tbody tr { background-color:#fff; height:2.5em; }
#filestable tbody tr:hover, tbody tr:active {
background-color: rgb(240,240,240);
@@ -122,9 +108,18 @@ table th#headerDate, table td.date {
/* Multiselect bar */
#filestable.multiselect {
- top: 88px;
+ top: 95px;
+}
+table.multiselect thead {
+ position: fixed;
+ top: 89px;
+ z-index: 1;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ left: 0;
+ padding-left: 80px;
+ width: 100%;
}
-table.multiselect thead { position:fixed; top:82px; z-index:1; -moz-box-sizing: border-box; box-sizing: border-box; left: 0; padding-left: 80px; width:100%; }
table.multiselect thead th {
background-color: rgba(210,210,210,.7);
@@ -228,6 +223,12 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
}
+#fileList tr td.filename a.name label {
+ position: absolute;
+ width: 100%;
+ height: 50px;
+}
+
#uploadsize-message,#delete-confirm { display:none; }
/* File actions */
@@ -319,8 +320,6 @@ a.action>img { max-height:16px; max-width:16px; vertical-align:text-bottom; }
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
-div.crumb a{ padding:0.9em 0 0.7em 0; color:#555; }
-
table.dragshadow {
width:auto;
}
diff --git a/apps/files/css/upload.css b/apps/files/css/upload.css
index 2d11e41ba88..ef043569094 100644
--- a/apps/files/css/upload.css
+++ b/apps/files/css/upload.css
@@ -1,38 +1,63 @@
-
#upload {
- height:27px; padding:0; margin-left:0.2em; overflow:hidden;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ height: 36px;
+ width: 39px;
+ padding: 0 !important; /* override default control bar button padding */
+ margin-left: .2em;
+ overflow: hidden;
vertical-align: top;
}
#upload a {
- position:relative; display:block; width:100%; height:27px;
- cursor:pointer; z-index:10;
- background-image:url('%webroot%/core/img/actions/upload.svg');
- background-repeat:no-repeat;
- background-position:7px 6px;
- opacity:0.65;
+ position: relative;
+ display: block;
+ width: 100%;
+ height: 44px;
+ width: 44px;
+ margin: -5px -3px;
+ cursor: pointer;
+ z-index: 10;
+ background-image: url('%webroot%/core/img/actions/upload.svg');
+ background-repeat: no-repeat;
+ background-position: center;
+ opacity: .65;
}
.file_upload_target { display:none; }
.file_upload_form { display:inline; float:left; margin:0; padding:0; cursor:pointer; overflow:visible; }
#file_upload_start {
- float: left;
- left:0; top:0; width:28px; height:27px; padding:0;
- font-size:1em;
+ position: relative;
+ left: 0;
+ top: 0;
+ width: 44px;
+ height: 44px;
+ margin: -5px -3px;
+ padding: 0;
+ font-size: 1em;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0;
- z-index:20; position:relative; cursor:pointer; overflow:hidden;
+ z-index: 20;
+ cursor: pointer;
+ overflow: hidden;
}
#uploadprogresswrapper {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
display: inline-block;
vertical-align: top;
- margin:0.3em;
- height: 29px;
+ height: 36px;
+ box-sizing: border-box;
+}
+#uploadprogresswrapper > input[type='button'] {
+ height: 36px;
}
#uploadprogressbar {
position:relative;
float: left;
margin-left: 12px;
width: 130px;
- height: 26px;
+ height: 36px;
display:inline-block;
}
#uploadprogressbar + stop {