diff options
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/styles.css | 233 |
1 files changed, 178 insertions, 55 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 9e766cac7e0..becf0af9056 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -19,7 +19,10 @@ body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Ari #body-user #header, #body-settings #header { position:fixed; top:0; left:0; right:0; z-index:100; height:45px; line-height:2.5em; background:#1d2d44 url('../img/noise.png') repeat; - -moz-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; box-shadow:0 0 10px rgba(0, 0, 0, .5), inset 0 -2px 10px #222; } + -moz-box-shadow:0 0 10px rgba(0, 0, 0, .5); + -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5); + box-shadow:0 0 10px rgba(0, 0, 0, .5); +} #body-login { text-align: center; @@ -42,7 +45,7 @@ body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Ari input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], textarea, select, button, .button, -#quota, div.jp-progress, .pager li a { +#quota, .pager li a { width:10em; margin:.3em; padding:.6em .5em .4em; font-size:1em; background:#fff; color:#333; border:1px solid #ddd; outline:none; @@ -82,7 +85,7 @@ input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:# /* BUTTONS */ input[type="submit"], input[type="button"], button, .button, -#quota, div.jp-progress, select, .pager li a { +#quota, select, .pager li a { width:auto; padding:.4em; background-color:rgba(240,240,240,.9); font-weight:bold; color:#555; text-shadow:rgba(255,255,255,.9) 0 1px 0; border:1px solid rgba(190,190,190,.9); cursor:pointer; -moz-box-shadow:0 1px 1px rgba(255,255,255,.9), 0 1px 1px rgba(255,255,255,.9) inset; -webkit-box-shadow:0 1px 1px rgba(255,255,255,.9), 0 1px 1px rgba(255,255,255,.9) inset; box-shadow:0 1px 1px rgba(255,255,255,.9), 0 1px 1px rgba(255,255,255,.9) inset; @@ -142,7 +145,7 @@ a.disabled, a.disabled:hover, a.disabled:focus { .searchbox input[type="search"] { font-size:1.2em; padding:.2em .5em .2em 1.5em; background:#fff url('../img/actions/search.svg') no-repeat .5em center; border:0; -moz-border-radius:1em; -webkit-border-radius:1em; border-radius:1em; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70);opacity:.7; -webkit-transition:opacity 300ms; -moz-transition:opacity 300ms; -o-transition:opacity 300ms; transition:opacity 300ms; margin-top:10px; float:right; } input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; } -#select_all{ margin-top:.4em !important;} +#select_all{ margin-top:.4em } /* CONTENT ------------------------------------------------------------------ */ #controls { @@ -158,7 +161,7 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b #content { position:relative; height:100%; width:100%; } #content .hascontrols { position: relative; top: 2.9em; } #content-wrapper { - position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:64px; + position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:80px; -moz-box-sizing:border-box; box-sizing:border-box; } #leftcontent, .leftcontent { @@ -193,11 +196,12 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b #body-login #datadirContent label, #body-login form input[type="checkbox"]+label { text-align: center; - color: #000; + color: #ccc; text-shadow: 0 1px 0 rgba(255,255,255,.1); - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; - filter: alpha(opacity=80); - opacity: .8; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; + filter: alpha(opacity=60); + opacity: .6; + text-shadow: 0 -1px 0 rgba(0,0,0,.5); } #body-login div.buttons { text-align:center; } @@ -304,6 +308,31 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } #body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; } #body-login .success { background:#d7fed7; border:1px solid #0f0; width: 35%; margin: 30px auto; padding:1em; text-align: center;} +#body-login #remember_login:hover+label, +#body-login #remember_login:focus+label { + color: #fff !important; +} + +#body-login #showAdvanced > img { + height: 16px; + width: 16px; + padding: 4px; + box-sizing: border-box; +} + +#body-login p.info a, #body-login #showAdvanced { + color: #ccc; +} + +#body-login p.info a:hover, #body-login p.info a:focus { + color: #fff; +} + + +#body-login p.info{ + white-space: nowrap; +} + /* Show password toggle */ #show, #dbpassword { position: absolute; @@ -349,7 +378,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } } /* Database selector */ -#body-login form #selectDbType { text-align:center; } +#body-login form #selectDbType { text-align:center; white-space: nowrap; } #body-login form #selectDbType label { position:static; margin:0 -3px 5px; padding:.4em; font-size:12px; font-weight:bold; background:#f8f8f8; color:#888; cursor:pointer; @@ -378,6 +407,15 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } color: #dd3b3b !important; font-weight: bold; } +.error pre { + white-space: pre-wrap; + text-align: left; +} + +.error-wide { + width: 800px; +} + /* Fixes for log in page, TODO should be removed some time */ #body-login .update, #body-login .error { @@ -437,17 +475,30 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } /* NAVIGATION ------------------------------------------------------------- */ #navigation { - position:fixed; float:left; width:64px; padding-top:3.5em; z-index:75; height:100%; + position: fixed; + float: left; + width: 80px; + padding-top: 3.5em; + z-index: 75; + height: 100%; background:#383c43 url('../img/noise.png') repeat; -moz-box-shadow:0 0 7px #000; -webkit-box-shadow:0 0 7px #000; box-shadow:0 0 7px #000; overflow:hidden; box-sizing:border-box; -moz-box-sizing:border-box; + /* prevent ugly selection effect on accidental selection */ + -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; +} +#navigation:hover { + overflow-y: auto; /* show scrollbar only on hover */ } -#navigation:hover { overflow-y:auto; } /* show scrollbar only on hover */ #navigation a span { - display:block; - text-decoration:none; font-size:10px; text-align:center; - color:#fff; text-shadow:#000 0 -1px 0; + display: block; + text-decoration: none; + font-size: 11px; + text-align: center; + color: #fff; + text-shadow: #000 0 -1px 0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; /* ellipsize long app names */ + padding-bottom: 10px; } /* icon opacity and hover effect */ @@ -472,14 +523,20 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } filter: alpha(opacity=100); opacity: 1; } - - /* positioning */ #navigation .icon { - display:block; - width:32px; height:32px; - margin:0 16px 0; padding:8px 0 4px; + display: block; + width: 32px; + height: 32px; + margin-left: 24px; + padding: 10px 0 4px; + } + #navigation li:first-child .icon { /* special rule for Files icon as it's first */ + padding-top: 20px; } - #navigation li:first-child a { padding-top:16px; } + +#apps-management { + opacity: .6; +} /* USER MENU */ @@ -493,13 +550,31 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } background:#383c43 url('../img/noise.png') repeat; border-bottom-left-radius:7px; border-bottom:1px #333 solid; border-left:1px #333 solid; -moz-box-shadow:0 0 7px rgb(29,45,68); -webkit-box-shadow:0 0 7px rgb(29,45,68); box-shadow:0 0 7px rgb(29,45,68); + -moz-box-sizing: border-box; box-sizing: border-box; + /* prevent ugly selection effect on accidental selection */ + -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #expanddiv a { - display:block; color:#fff; text-shadow:0 -1px 0 #000; padding:0 8px; - -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70);opacity:.7; + display: block; + height: 40px; + color: #fff; + text-shadow: 0 -1px 0 #000; + padding: 4px 12px 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; + filter: alpha(opacity=70); + opacity: .7; + -moz-box-sizing: border-box; + box-sizing: border-box; + } + #expanddiv a img { + margin-bottom: -3px; + margin-right: 6px; + } + #expanddiv a:hover, #expanddiv a:focus, #expanddiv a:active { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; + filter: alpha(opacity=100); + opacity: 1; } - #expanddiv a img { margin-bottom:-3px; } - #expanddiv a:hover, #expanddiv a:focus, #expanddiv a:active { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; } /* VARIOUS REUSABLE SELECTORS */ @@ -532,7 +607,7 @@ tbody tr:hover, tr:active { background-color:#f8f8f8; } .personalblock > legend, th, dt, label { font-weight:bold; } code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; } -#quota div, div.jp-play-bar, div.jp-seek-bar { +#quota div { padding: 0; background-color: rgb(220,220,220); font-weight: normal; @@ -540,7 +615,6 @@ code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono -moz-border-radius-bottomleft: .4em; -webkit-border-bottom-left-radius: .4em; border-bottom-left-radius:.4em; -moz-border-radius-topleft: .4em; -webkit-border-top-left-radius: .4em; border-top-left-radius: .4em; } #quotatext {padding:.6em 1em;} -div.jp-play-bar, div.jp-seek-bar { padding:0; } .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; } .pager li { display:inline-block; } @@ -596,7 +670,7 @@ span.ui-icon {float: left; margin: 3px 7px 30px 0;} #category_addinput { width:10em; } /* ---- APP SETTINGS ---- */ -.popup { background-color:white; border-radius:10px 10px 10px 10px; box-shadow:0 0 20px #888; color:#333; padding:10px; position:fixed !important; z-index:200; } +.popup { background-color:white; border-radius:10px 10px 10px 10px; box-shadow:0 0 20px #888; color:#333; padding:10px; position:fixed !important; z-index:100; } .popup.topright { top:7em; right:1em; } .popup.bottomleft { bottom:1em; left:33em; } .popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; } @@ -631,13 +705,15 @@ div.crumb:active { height: 100%; width: 100%; } +#app * { + -moz-box-sizing: border-box; box-sizing: border-box; +} /* Navigation: folder like structure */ #app-navigation { - width: 250px; + width: 300px; height: 100%; float: left; - padding-bottom: 32px; -moz-box-sizing: border-box; box-sizing: border-box; background-color: #f8f8f8; border-right: 1px solid #ccc; @@ -654,7 +730,8 @@ div.crumb:active { text-shadow: 0 1px 0 rgba(255,255,255,.9); } #app-navigation .active, -#app-navigation .active a { /* active navigation entry or folder */ +#app-navigation .active a, +#app-navigation li:hover > a { background-color: #ddd; text-shadow: 0 1px 0 rgba(255,255,255,.7); } @@ -662,49 +739,38 @@ div.crumb:active { /* special rules for first-level entries and folders */ #app-navigation > ul > li { background-color: #eee; - border-top: 1px solid #fff; - border-bottom: 1px solid #ddd; -} -#app-navigation > ul > .active { - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; } #app-navigation .with-icon a { - padding-left: 32px; - background-size: 16px 16px; background-position: 10px center; background-repeat: no-repeat; + padding-left: 44px; + background-size: 16px 16px; + background-position: 14px center; + background-repeat: no-repeat; } #app-navigation li > a { display: block; width: 100%; - padding: 0 16px; + height: 44px; + padding: 12px; overflow: hidden; -moz-box-sizing: border-box; box-sizing: border-box; - line-height: 32px; white-space: nowrap; text-overflow: ellipsis; color: #333; } -#app-navigation li:hover > a { - background-color: #ddd; -} -#app-navigation > ul > li:hover { - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} #app-navigation .collapse { display: none; /* hide collapse button intially */ } #app-navigation .collapsible > .collapse { position: absolute; - left: 6px; - top: 5px; - height: 16px; - width: 16px; + height: 44px; + width: 44px; + margin: 0; + padding: 0; background: none; background-image: url('../img/actions/triangle-s.svg'); - background-size: 16px 16px; background-repeat: no-repeat; + background-size: 16px; background-repeat: no-repeat; background-position: center; border: none; border-radius: 0; outline: none !important; @@ -754,13 +820,29 @@ div.crumb:active { #app-navigation > ul .open:hover { -moz-box-shadow: inset 0 0 3px #ccc; -webkit-box-shadow: inset 0 0 3px #ccc; box-shadow: inset 0 0 3px #ccc; - border-top: 1px solid #ccc; } #app-navigation > ul .open ul { display: block; } + +/* counter and actions */ +#app-navigation .utils { + position: absolute; + right: 0; + top: 0; + bottom: 0; + font-size: 12px; +} + #app-navigation .utils button, + #app-navigation .utils .counter { + width: 44px; + height: 44px; + padding-top: 12px; + } + + /* drag and drop */ #app-navigation .drag-and-drop { -moz-transition: padding-bottom 500ms ease 0s; @@ -788,7 +870,7 @@ div.crumb:active { /* settings area */ #app-settings { position: fixed; - width: 249px; + width: 299px; bottom: 0; border-top: 1px solid #ccc; } @@ -821,9 +903,25 @@ div.crumb:active { } /* icons */ +.folder-icon, .delete-icon, .edit-icon, .progress-icon { + background-repeat: no-repeat; + background-position: center; +} .folder-icon { background-image: url('../img/places/folder.svg'); } .delete-icon { background-image: url('../img/actions/delete.svg'); } +.delete-icon:hover, .delete-icon:focus { + background-image: url('../img/actions/delete-hover.svg'); +} .edit-icon { background-image: url('../img/actions/rename.svg'); } +.progress-icon { + background-image: url('../img/loading.gif'); + background-size: 16px; + /* force show the loading icon, not only on hover */ + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; + filter:alpha(opacity=100); + opacity: 1 !important; + display: inline !important; +} /* buttons */ button.loading { @@ -843,7 +941,32 @@ button.loading { ::-moz-focus-inner { border: 0; } +.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); } +.lte8 .delete-icon:hover, .delete-icon:focus { + background-image: url('../img/actions/delete-hover.png'); +} +/* IE8 needs background to be set to same color to make transparency look good. */ +.lte9 #body-login form input[type="text"] { + border: 1px solid lightgrey; /* use border to add 1px line between input fields */ + background-color: white; /* don't change background on hover */ +} +.lte9 #body-login form input[type="password"] { + /* leave out top border for 1px line between input fields*/ + border-left: 1px solid lightgrey; + border-right: 1px solid lightgrey; + border-bottom: 1px solid lightgrey; + background-color: white; /* don't change background on hover */ +} +.lte9 #body-login form label.infield { + background-color: white; /* don't change background on hover */ + -ms-filter: "progid:DXImageTransform.Microsoft.Chroma(color='white')"; +} +/* disable opacity of info text on gradient + sice we cannot set a good backround color to use the filter&background hack as with the input labels */ +.lte9 #body-login p.info { + filter: initial; +} /* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */ .ie #show, .ie #show+label { display: none; |