summaryrefslogtreecommitdiffstats
path: root/apps/files/css/detailsView.css
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-07-24 23:07:09 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-08-07 01:22:43 +0200
commit5af59c68712032ef387ccd4410eb4b8b04c27df9 (patch)
tree691bc9429cd0a1f5d856ddcac2ea9cbda870927a /apps/files/css/detailsView.css
parentf508cf40da93eba05a17b4ffa834a125dbdb2bcb (diff)
downloadnextcloud-server-5af59c68712032ef387ccd4410eb4b8b04c27df9.tar.gz
nextcloud-server-5af59c68712032ef387ccd4410eb4b8b04c27df9.zip
rename sidebar element and use css and js utility functions to core
Diffstat (limited to 'apps/files/css/detailsView.css')
-rw-r--r--apps/files/css/detailsView.css52
1 files changed, 8 insertions, 44 deletions
diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css
index ec0d5ac2110..e89a6a36f4c 100644
--- a/apps/files/css/detailsView.css
+++ b/apps/files/css/detailsView.css
@@ -1,53 +1,17 @@
-
-
-.app-files .detailsView.disappear {
- visibility: hidden;
-}
-
-.with-sidebar {
- width: 80%;
-}
-
-.app-files .detailsView {
- position: absolute;
- width: 20%;
- top: 44px; /* main header's height */
- right: 0;
- left: auto;
- bottom: 0;
- background-color: white;
- -webkit-transition: margin-right 300ms;
- -moz-transition: margin-right 300ms;
- -o-transition: margin-right 300ms;
- transition: margin-right 300ms;
- overflow-x: hidden;
- overflow-y: auto;
- visibility: visible;
-}
-
-.app-files .detailsView {
- background: #eee;
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- box-shadow: 0 2px 3px rgba(50, 50, 50, .4);
- display: block;
- z-index: 500;
-}
-
-.app-files .detailsView .detailFileInfoContainer {
+#app-sidebar .detailFileInfoContainer {
min-height: 60px;
padding: 15px;
}
-.app-files .detailsView .detailFileInfoContainer > div {
+#app-sidebar .detailFileInfoContainer > div {
clear: both;
}
-.app-files .detailsView .mainFileInfoView {
+#app-sidebar .mainFileInfoView {
margin-right: 20px; /* accomodate for close icon */
}
-.app-files .detailsView .thumbnail {
+#app-sidebar .thumbnail {
width: 50px;
height: 50px;
float: left;
@@ -55,23 +19,23 @@
background-size: 50px;
}
-.app-files .detailsView .ellipsis {
+#app-sidebar .ellipsis {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
-.app-files .detailsView .fileName {
+#app-sidebar .fileName {
font-weight: bold;
font-size: 17px;
overflow: hidden;
}
-.app-files .detailsView .detailList {
+#app-sidebar .detailList {
float: left;
}
-.app-files .detailsView .close {
+#app-sidebar .close {
position: absolute;
top: 0;
right: 0;