2012-04-23 16:19:03 +04:00
/ * Copyright ( c ) 2011 , Jan-Christoph Borchardt , http : / / jancborchardt . net
2011-08-10 22:48:56 +04:00
This file is licensed under the Affero General Public License version 3 or later .
See the COPYING-README file . * /
2011-03-03 01:06:23 +03:00
/* FILE MENU */
2011-11-04 06:02:51 +04:00
. actions { padding : .3 em ; float : left ; height : 2 em ; }
2011-11-04 19:16:54 +04:00
. actions input , . actions button , . actions . button { margin : 0 ; }
2011-08-08 14:48:43 +04:00
# file_menu { right : 0 ; position : absolute ; top : 0 ; }
2011-07-28 03:26:26 +04:00
# file_menu a { display : block ; float : left ; background-image : none ; text-decoration : none ; }
2011-10-23 13:40:40 +04:00
. file_upload_form , # file_newfolder_form { display : inline ; float : left ; margin-left : 0 ; }
2011-07-28 03:26:26 +04:00
# fileSelector , # file_upload_submit , # file_newfolder_submit { display : none ; }
2011-08-13 18:54:54 +04:00
. file_upload_wrapper , # file_newfolder_name { background-repeat : no-repeat ; background-position : .5 em .5 em ; padding-left : 2 em ; }
2011-10-23 13:40:40 +04:00
. file_upload_wrapper { font-weight : bold ; display : -moz- inline - box ; /* fallback for older firefox versions*/ display : inline-block ; padding-left : 0 ; overflow : hidden ; position : relative ; margin : 0 ; }
2011-08-12 13:42:41 +04:00
. file_upload_wrapper . file_upload_button_wrapper { position : absolute ; top : 0 ; left : 0 ; width : 100 % ; height : 100 % ; cursor : pointer ; z-index : 1000 ; }
2011-11-04 19:16:54 +04:00
# new { float : left ; border-top-right-radius : 0 ; border-bottom-right-radius : 0 ; margin : 0 0 0 1 em ; border-right : none ; z-index : 1010 ; height : 1.3 em ; }
# new . active { border-bottom-left-radius : 0 ; border-bottom : none ; background : #f8f8f8 }
2011-10-23 13:40:40 +04:00
# new > a { padding-left : 1 em ; padding-right : 1 em ; }
2011-11-04 19:16:54 +04:00
# new > ul { display : none ; position : fixed ; text-align : left ; padding : .5 em ; background : #f8f8f8 ; margin-top : 0.075 em ; border : 1 px solid #ddd ; min-width : 7 em ; margin-left : -.5 em ; z-index : -1 ; }
2011-11-04 06:02:51 +04:00
# new > ul > li { margin : .3 em ; padding-left : 2 em ; background-repeat : no-repeat ; cursor : pointer ; padding-bottom : 0.1 em }
2011-10-23 13:40:40 +04:00
# new > ul > li > p { cursor : pointer ; }
2011-11-04 06:02:51 +04:00
# new > ul > li > input { padding : 0.3 em ; margin : -0.3 em ; }
2011-07-28 03:26:26 +04:00
2012-04-26 16:52:55 +04:00
# file_newfolder_name { background-image : url ( '%webroot%/core/img/places/folder.svg' ) ; font-weight : normal ; width : 7 em ; }
2011-08-11 02:03:26 +04:00
. file_upload_start , . file_upload_filename { font-size : 1 em ; }
2011-07-28 03:26:26 +04:00
# file_newfolder_submit , # file_upload_submit { width : 3 em ; }
. file_upload_target { display : none ; }
2011-04-17 18:19:21 +04:00
2012-04-15 16:37:42 +04:00
. file_upload_start { -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)" ; filter : alpha ( opacity = 0 ) ; opacity : 0 ; z-index : 1 ; position : absolute ; left : 0 ; top : 0 ; width : 100 % ; cursor : pointer ; }
2011-10-23 23:51:56 +04:00
. file_upload_filename . active { border-bottom-right-radius : 0 }
2012-02-01 23:58:04 +04:00
. file_upload_filename { position : relative ; z-index : 100 ; padding-left : 0.8 em ; padding-right : 0.8 em ; cursor : pointer ; border-top-left-radius : 0 ; border-bottom-left-radius : 0 ; }
2012-04-17 16:29:02 +04:00
. file_upload_filename img { position : absolute ; top : 0.4 em ; left : 0.4 em ; -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" ; filter : alpha ( opacity = 100 ) ; opacity : 1 ; }
2011-10-23 23:51:56 +04:00
2012-03-27 23:38:55 +04:00
# upload { position : absolute ; right : 13.5 em ; top : 0 em ; }
# upload # uploadprogressbar { position : relative ; display : inline-block ; width : 10 em ; height : 1.5 em ; top : .4 em ; }
2011-08-11 02:03:26 +04:00
2011-08-11 22:59:17 +04:00
. file_upload_form , . file_upload_wrapper , . file_upload_start , . file_upload_filename , # file_upload_submit { cursor : pointer ; }
2011-03-03 01:06:23 +03:00
/* FILE TABLE */
2011-08-20 07:07:58 +04:00
# emptyfolder { position : absolute ; margin : 10 em 0 0 10 em ; font-size : 1.5 em ; font-weight : bold ; color : #888 ; text-shadow : #fff 0 1 px 0 ; }
2012-04-17 16:29:02 +04:00
. emptyfolder # new , . emptyfolder . file_upload_filename { background : #66f866 ; border : 1 px solid #5e5 ; -moz- box-shadow : 0 1 px 1 px #f8f8f8 , 0 1 px 1 px #cfc inset ; -webkit- box-shadow : 0 1 px 1 px #f8f8f8 , 0 1 px 1 px #cfc inset ; box-shadow : 0 1 px 1 px #f8f8f8 , 0 1 px 1 px #cfc inset ; }
2011-07-28 03:26:26 +04:00
table { position : relative ; top : 37 px ; width : 100 % ; }
2012-04-15 15:34:16 +04:00
tbody tr { background-color : #fff ; height : 2.5 em ; }
tbody tr : hover , tbody tr : active , tbody tr . selected { background-color : #f8f8f8 ; }
2011-08-12 03:53:24 +04:00
tbody tr . selected { background-color : #eee ; }
2011-07-07 02:19:38 +04:00
tbody a { color : #000 ; }
2012-04-16 01:52:36 +04:00
span . extension , span . uploading , td . date { color : #999 ; }
2012-04-19 18:41:18 +04:00
span . extension { text-transform : lowercase ; -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)" ; filter : alpha ( opacity = 70 ) ; opacity : .7 ; -webkit- transition : opacity 300 ms ; -moz- transition : opacity 300 ms ; -o- transition : opacity 300 ms ; transition : opacity 300 ms ; }
tr : hover span . extension { -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" ; filter : alpha ( opacity = 100 ) ; opacity : 1 ; color : #777 ; }
2011-08-10 17:10:32 +04:00
div . crumb { float : left ; display : block ; background : no-repeat right 0 ; padding : .75 em 1.5 em 0 1 em ; height : 2.9 em ; }
2011-10-21 20:12:47 +04:00
div . crumb : first-child { padding-left : 1 em ; }
2011-10-21 21:09:41 +04:00
div . crumb . last { font-weight : bold ; }
2011-07-22 00:01:55 +04:00
table tr . mouseOver td { background-color : #eee ; }
2011-07-30 17:31:11 +04:00
table th { height : 2 em ; padding : 0 .5 em ; color : #999 ; }
2011-07-28 02:21:11 +04:00
table th . name { float : left ; margin-left : .5 em ; }
2011-07-30 17:16:20 +04:00
table th . multiselect { background : #ddd ; color : #000 ; font-weight : bold ; }
2011-07-28 02:21:11 +04:00
table th , table td { border-bottom : 1 px solid #ddd ; text-align : left ; font-weight : normal ; }
2011-08-02 04:29:51 +04:00
table td { border-bottom : 1 px solid #eee ; font-style : normal ; background-position : 1 em .5 em ; background-repeat : no-repeat ; }
2011-08-12 13:26:13 +04:00
table th # headerSize , table td . filesize { width : 3 em ; padding : 0 1 em ; text-align : right ; }
2011-07-29 05:09:30 +04:00
table th # headerDate , table td . date { width : 11 em ; padding : 0 .1 em 0 1 em ; text-align : left ; }
2011-07-22 00:01:55 +04:00
table td . selection , table th . selection , table td . fileaction { width : 2 em ; text-align : center ; }
2011-08-02 04:29:51 +04:00
table td . filename a . name { display : block ; height : 1.5 em ; vertical-align : middle ; margin-left : 3 em ; }
2012-04-16 15:14:41 +04:00
table tr [ data-type = "dir" ] td . filename a . name span . nametext { font-weight : bold ; }
2011-08-12 03:53:24 +04:00
table td . filename a . name input , table td . filename a . name form { width : 100 % ; cursor : text ; }
2011-08-02 04:29:51 +04:00
table td . filename a , table td . login , table td . logout , table td . download , table td . upload , table td . create , table td . delete { padding : .2 em .5 em .5 em 0 ; }
2012-03-27 23:38:55 +04:00
table td . filename . nametext , . uploadtext , . modified { float : left ; padding : .3 em 0 ; }
2012-04-15 18:47:53 +04:00
/ / TODO fix usability bug ( accidental file / folder selection )
2012-04-29 01:11:48 +04:00
table td . filename . nametext { width : 40 em ; overflow : hidden ; text-overflow : ellipsis ; }
2012-03-27 23:38:55 +04:00
table td . filename . uploadtext { font-weight : normal ; margin-left : .5 em ; }
2011-07-29 01:24:00 +04:00
table td . filename form { float : left ; font-size : .85 em ; }
2011-08-28 06:16:39 +04:00
table thead . fixed tr { position : fixed ; top : 6.5 em ; z-index : 49 ; -moz- box-shadow : 0 -3 px 7 px #ddd ; -webkit- box-shadow : 0 -3 px 7 px #ddd ; box-shadow : 0 -3 px 7 px #ddd ; }
2011-08-12 03:53:24 +04:00
table thead . fixed { height : 2 em ; }
2012-04-15 16:37:42 +04:00
# fileList tr td . filename > input [ type = checkbox ] : first-child { -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)" ; filter : alpha ( opacity = 0 ) ; opacity : 0 ; float : left ; margin : .7 em 0 0 1 em ; /* bigger clickable area doesn’ t work in FF width:2.8em; height:2.4em;*/ -webkit- transition : opacity 200 ms ; -moz- transition : opacity 200 ms ; -o- transition : opacity 200 ms ; transition : opacity 200 ms ; }
# fileList tr td . filename > input [ type = "checkbox" ] : hover : first-child { -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)" ; filter : alpha ( opacity = 80 ) ; opacity : .8 ; }
# fileList tr td . filename > input [ type = "checkbox" ] : checked : first-child { -ms- filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" ; filter : alpha ( opacity = 100 ) ; opacity : 1 ; }
2011-08-13 03:18:02 +04:00
# fileList tr td . filename { -webkit- transition : background-image 500 ms ; -moz- transition : background-image 500 ms ; -o- transition : background-image 500 ms ; transition : background-image 500 ms ; }
2011-08-28 06:16:39 +04:00
# select_all { float : left ; margin : .3 em 0.6 em 0 .5 em ; }
2011-07-29 02:26:23 +04:00
# uploadsize-message , # delete-confirm { display : none ; }
2012-04-29 01:11:48 +04:00
. fileactions { position : relative ; top : .3 em ; font-size : .8 em ; float : right ; }
2012-04-15 16:15:11 +04:00
# fileList . fileactions a . action img { position : relative ; top : .2 em ; }
2012-04-15 19:49:40 +04:00
# fileList a . action { display : inline ; margin : -.5 em 0 ; padding : 1 em .5 em 1 em .5 em !important ; }
2012-04-15 16:15:11 +04:00
a . action . delete { float : right ; }
a . action > img { max-height : 16 px ; max-width : 16 px ; vertical-align : text - bottom ; }
2012-04-15 19:49:40 +04:00
. selectedActions { display : none ; float : right ; }
. selectedActions a { display : inline ; margin : -.5 em 0 ; padding : .5 em !important ; }
. selectedActions a img { position : relative ; top : .3 em ; }
2011-07-22 18:52:35 +04:00
/* add breadcrumb divider to the File item in navigation panel */
2012-04-26 16:52:55 +04:00
# navigation > ul > li : first-child { background : url ( '%webroot%/core/img/breadcrumb-start.svg' ) no-repeat 12.5 em 0 px ; width : 12.5 em ; padding-right : 1 em ; position : fixed ; }
2011-11-10 19:40:09 +04:00
# navigation > ul > li : first-child + li { padding-top : 2.9 em ; }
2012-04-29 01:11:48 +04:00
# scanning-message { top : 40 % ; left : 40 % ; position : absolute ; display : none ; }