server/core/css/styles.css

981 lines
35 KiB
CSS
Raw Normal View History

/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
2011-08-08 21:31:58 +00:00
This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */
2011-08-13 14:00:10 +00:00
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
2013-07-23 14:00:28 +00:00
html, body { height:100%; }
2011-08-10 14:02:28 +00:00
article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
body { line-height:1.5; }
table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
caption, th, td { text-align:left; font-weight:normal; }
table, td, th { vertical-align:middle; }
a { border:0; color:#000; text-decoration:none;}
2011-08-13 13:32:00 +00:00
a, a *, input, input *, select, .button span, li, label { cursor:pointer; }
2011-08-10 14:02:28 +00:00
ul { list-style:none; }
2013-04-11 15:20:24 +00:00
body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Arial,FreeSans,sans-serif; color:#000; }
2011-08-08 15:57:45 +00:00
/* HEADERS */
#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;
2013-07-30 12:47:05 +00:00
-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);
2013-07-01 21:47:59 +00:00
}
2013-07-09 16:02:51 +00:00
#body-login {
2013-07-23 19:33:15 +00:00
text-align: center;
background: #1d2d44; /* Old browsers */
background: url('../img/noise.png'), -moz-linear-gradient(top, #35537a 0%, #1d2d44 100%); /* FF3.6+ */
background: url('../img/noise.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35537a), color-stop(100%,#1d2d44)); /* Chrome,Safari4+ */
background: url('../img/noise.png'), -webkit-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Chrome10+,Safari5.1+ */
background: url('../img/noise.png'), -o-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* Opera11.10+ */
background: url('../img/noise.png'), -ms-linear-gradient(top, #35537a 0%,#1d2d44 100%); /* IE10+ */
background: url('../img/noise.png'), linear-gradient(top, #35537a 0%,#1d2d44 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d44',GradientType=0 ); /* IE6-9 */
2013-07-09 16:02:51 +00:00
}
2011-08-08 15:57:45 +00:00
2013-01-31 19:19:32 +00:00
#owncloud { position:absolute; top:0; left:0; padding:6px; padding-bottom:0; }
2013-03-07 18:28:17 +00:00
.header-right { float:right; vertical-align:middle; padding:0.5em; }
2013-01-31 19:19:32 +00:00
.header-right > * { vertical-align:middle; }
2011-08-08 15:57:45 +00:00
2011-08-08 15:57:45 +00:00
/* INPUTS */
2013-06-04 14:04:29 +00:00
input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"],
2013-04-03 15:55:31 +00:00
textarea, select,
button, .button,
#quota, .pager li a {
2012-12-05 10:17:41 +00:00
width:10em; margin:.3em; padding:.6em .5em .4em;
2013-04-11 15:20:24 +00:00
font-size:1em;
background:#fff; color:#333; border:1px solid #ddd; outline:none;
-moz-box-shadow:0 1px 1px #fff, 0 2px 0 #bbb inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 0 #bbb inset; box-shadow:0 1px 1px #fff, 0 1px 0 #bbb inset;
-moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em;
}
2012-12-05 10:17:41 +00:00
input[type="hidden"] { height:0; width:0; }
2013-06-04 14:04:29 +00:00
input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], textarea {
background:#f8f8f8; color:#555; cursor:text;
font-family: inherit; /* use default ownCloud font instead of default textarea monospace */
}
2013-06-04 14:04:29 +00:00
input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"] {
-webkit-appearance:textfield; -moz-appearance:textfield;
-webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box;
}
input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,
input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:active,
.searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active,
input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active,
2013-06-04 14:04:29 +00:00
input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active,
textarea:hover, textarea:focus, textarea:active {
background-color:#fff; color:#333;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1;
}
input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }
2011-09-24 20:13:35 +00:00
#quota { cursor:default; }
2011-08-08 07:47:58 +00:00
2013-01-25 09:52:10 +00:00
2013-01-31 16:21:44 +00:00
/* SCROLLING */
::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track-piece { background-color:transparent; }
::-webkit-scrollbar-thumb { background:#ddd; }
2013-01-31 16:21:44 +00:00
2011-08-08 07:47:58 +00:00
/* BUTTONS */
2013-04-03 18:06:26 +00:00
input[type="submit"], input[type="button"],
2013-04-03 15:55:31 +00:00
button, .button,
#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;
-moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em;
}
2013-04-03 15:55:31 +00:00
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus,
button:hover, button:focus,
.button:hover, .button:focus,
select:hover, select:focus, select:active {
background-color:rgba(250,250,250,.9);
2013-04-03 15:55:31 +00:00
color:#333;
2012-12-13 11:49:59 +00:00
}
input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; }
#header .button { border:none; -moz-box-shadow:none; -webkit-box-shadow:none; box-shadow:none; }
2013-04-03 16:45:03 +00:00
/* disabled input fields and buttons */
input:disabled, input:disabled:hover, input:disabled:focus,
button:disabled, button:disabled:hover, button:disabled:focus,
.button:disabled, .button:disabled:hover, .button:disabled:focus,
a.disabled, a.disabled:hover, a.disabled:focus {
2013-04-03 16:45:03 +00:00
background: rgba(230,230,230,.9);
color: #999;
cursor: default;
}
/* Primary action button, use sparingly */
.primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary {
border: 1px solid #1d2d44;
background: #35537a;
color: #ddd;
text-shadow: #000 0 -1px 0;
-moz-box-shadow: 0 0 1px #000, 0 1px 0 #6d7d94 inset;
-webkit-box-shadow: 0 0 1px #000, 0 1px 0 #6d7d94 inset;
box-shadow: 0 0 1px #000, 0 1px 0 #6d7d94 inset;
}
.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,
.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {
border: 1px solid #1d2d44;
background: #304d76;
color: #fff;
text-shadow: #000 0 -1px 0;
-moz-box-shadow: 0 0 1px #000, 0 1px 0 #4d5d74 inset;
-webkit-box-shadow: 0 0 1px #000, 0 1px 0 #4d5d74 inset;
box-shadow: 0 0 1px #000, 0 1px 0 #4d5d74 inset;
}
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {
border: 1px solid #1d2d44;
background: #1d2d44;
color: #bbb;
text-shadow: #000 0 -1px 0;
2013-07-22 10:46:46 +00:00
-moz-box-shadow: 0 1px 1px #3d4d64, 0 1px 1px 0 rgba(0,0,0,.2) inset;
-webkit-box-shadow: 0 1px 1px #3d4d64, 0 1px 1px 0 rgba(0,0,0,.2) inset;
box-shadow: 0 1px 1px #3d4d64, 0 1px 1px 0 rgba(0,0,0,.2) inset;
}
.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; }
2011-08-08 12:13:11 +00:00
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; }
2013-07-01 21:47:59 +00:00
#select_all{ margin-top:.4em }
2012-12-18 14:41:58 +00:00
2011-08-08 20:31:17 +00:00
/* CONTENT ------------------------------------------------------------------ */
#controls {
position:fixed;
height:2.8em; width:100%;
padding:0 70px 0 0.5em; margin:0;
-moz-box-sizing:border-box; box-sizing:border-box;
-moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000;
2013-06-11 12:50:23 +00:00
background:#eee; border-bottom:1px solid #e7e7e7; z-index:50;
}
2011-08-21 09:14:57 +00:00
#controls .button { display:inline-block; }
#content { position:relative; height:100%; width:100%; }
#content .hascontrols { position: relative; top: 2.9em; }
#content-wrapper {
2013-07-09 18:19:25 +00:00
position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:80px;
-moz-box-sizing:border-box; box-sizing:border-box;
}
2013-01-28 18:36:21 +00:00
#leftcontent, .leftcontent {
2013-02-03 13:44:33 +00:00
position:relative; overflow:auto; width:20em; height:100%;
2013-01-28 18:36:21 +00:00
background:#f8f8f8; border-right:1px solid #ddd;
2013-02-03 13:44:33 +00:00
-moz-box-sizing:border-box; box-sizing:border-box;
2013-01-28 18:36:21 +00:00
}
#leftcontent li, .leftcontent li { background:#f8f8f8; padding:.5em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 200ms; -moz-transition:background-color 200ms; -o-transition:background-color 200ms; transition:background-color 200ms; }
#leftcontent li:hover, #leftcontent li:active, #leftcontent li.active, .leftcontent li:hover, .leftcontent li:active, .leftcontent li.active { background:#eee; }
#leftcontent li.active, .leftcontent li.active { font-weight:bold; }
#leftcontent li:hover, .leftcontent li:hover { color:#333; background:#ddd; }
#leftcontent a { height:100%; display:block; margin:0; padding:0 1em 0 0; float:left; }
#rightcontent, .rightcontent { position:fixed; top:6.4em; left:24.5em; overflow:auto }
2011-08-13 13:32:00 +00:00
2013-07-23 13:47:07 +00:00
/* LOG IN & INSTALLATION ------------------------------------------------------------ */
2013-07-23 13:47:07 +00:00
/* Some whitespace to the top */
2013-07-22 11:16:01 +00:00
#body-login #header {
padding-top: 100px;
}
2013-07-23 14:00:28 +00:00
/* Fix background gradient */
#body-login {
2013-07-23 19:25:07 +00:00
background-attachment: fixed;
2013-07-23 14:00:28 +00:00
}
2013-07-23 13:47:07 +00:00
/* Dark subtle label text */
#body-login p.info,
#body-login form fieldset legend,
#body-login #datadirContent label,
#body-login form input[type="checkbox"]+label {
text-align: center;
color: #ccc;
2013-07-23 13:47:07 +00:00
text-shadow: 0 1px 0 rgba(255,255,255,.1);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
opacity: .6;
text-shadow: 0 -1px 0 rgba(0,0,0,.5);
2013-07-23 13:47:07 +00:00
}
#body-login div.buttons { text-align:center; }
#body-login p.info {
width: 22em;
2013-07-22 11:16:01 +00:00
margin: 0 auto;
2013-07-23 15:13:03 +00:00
padding-top: 20px;
}
#body-login p.info a {
font-weight: bold;
}
#body-login #submit.login { margin-right:7px; } /* quick fix for log in button not being aligned with input fields, should be properly fixed by input field width later */
#body-login form { width:22em; margin:2em auto 2em; padding:0; }
#body-login form fieldset {
margin-bottom: 20px;
text-align: left;
}
#body-login form #adminaccount { margin-bottom:5px; }
#body-login form fieldset legend, #datadirContent label {
2013-07-23 13:47:07 +00:00
width: 100%;
font-weight: bold;
}
#body-login #datadirContent label {
display: block;
margin: 0;
}
#body-login form #datadirField legend {
margin-bottom: 15px;
}
#body-login #showAdvanced {
padding: 13px; /* increase clickable area of Advanced dropdown */
}
#body-login #showAdvanced img {
vertical-align: bottom; /* adjust position of Advanced dropdown arrow */
margin-left: -4px;
}
/* Icons for username and password fields to better recognize them */
#adminlogin, #adminpass, #user, #password { width:11.7em!important; padding-left:1.8em; }
#adminlogin+label+img, #adminpass-icon, #user+label+img, #password-icon {
position:absolute; left:1.25em; top:1.65em;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter:alpha(opacity=30); opacity:.3;
}
#adminpass-icon, #password-icon { top:1.1em; }
2013-01-25 09:52:10 +00:00
input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
input[name="adminpass-clone"] { padding-left:1.8em; width:11.7em !important; }
/* General new input field look */
#body-login input[type="text"],
#body-login input[type="password"],
#body-login input[type="email"] {
2013-07-23 16:14:37 +00:00
border: 1px solid #323233;
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.15), 0 1px 3px rgba(0,0,0,.25) inset;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.15), 0 1px 3px rgba(0,0,0,.25) inset;
box-shadow: 0 1px 0 rgba(255,255,255,.15), 0 1px 3px rgba(0,0,0,.25) inset;
}
/* Nicely grouping input field sets */
#body-login .grouptop input {
margin-bottom: 0;
border-bottom: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
#body-login .groupmiddle input {
margin-top: 0;
margin-bottom: 0;
border-top: 0;
border-bottom: 0;
border-radius: 0;
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(0,0,0,.1) inset !important;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(0,0,0,.1) inset !important;
box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(0,0,0,.1) inset !important;
}
#body-login .groupbottom input {
margin-top: 0;
border-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(0,0,0,.1) inset !important;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(0,0,0,.1) inset !important;
box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(0,0,0,.1) inset !important;
}
2012-12-04 15:58:42 +00:00
2013-02-07 16:02:43 +00:00
/* In field labels. No, HTML placeholder does not work as well. */
#body-login .groupmiddle label, #body-login .groupbottom label { top:.65em; }
p.infield { position:relative; }
label.infield { cursor:text !important; top:1.05em; left:.85em; }
#body-login form label.infield { /* labels are ellipsized when too long, keep them short */
position:absolute; width:90%; padding-left:1.4em;
font-size:19px; color:#aaa;
white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#body-login #databaseField .infield { padding-left:0; }
#body-login form input[type="checkbox"]+label {
position: relative;
margin: 0;
font-size: 1em;
padding: 14px;
padding-left: 28px;
margin-left: -28px;
}
#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;
}
2013-08-17 09:56:52 +00:00
#body-login p.info a, #body-login #showAdvanced {
color: #ccc;
}
2013-08-17 09:56:52 +00:00
#body-login p.info a:hover, #body-login p.info a:focus {
color: #fff;
}
2013-08-17 09:56:52 +00:00
#body-login p.info{
white-space: nowrap;
}
/* Show password toggle */
#show, #dbpassword {
position: absolute;
right: 1em;
top: .8em;
float: right;
}
#show, #dbpassword, #personal-show {
display: none;
}
#show + label, #dbpassword + label {
right: 21px;
top: 15px !important;
margin: -14px !important;
padding: 14px !important;
}
#show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
opacity: .8;
}
#show + label, #dbpassword + label, #personal-show + label {
position: absolute !important;
height: 14px;
width: 24px;
background-image: url("../img/actions/toggle.png");
background-repeat: no-repeat;
background-position: center;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);
opacity: .3;
}
#pass2, input[name="personal-password-clone"] {
padding: .6em 2.5em .4em .4em;
width: 8em;
}
#personal-show + label {
margin-top: 1em;
margin-left: -3em;
}
#passwordbutton {
margin-left: .5em;
}
2013-02-07 16:02:43 +00:00
/* Database selector */
2013-07-24 15:06:52 +00:00
#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;
border:1px solid #ddd; text-shadow:#eee 0 1px 0;
-moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset;
}
#body-login form #selectDbType label.ui-state-hover, #body-login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; }
2013-07-22 12:55:39 +00:00
/* Warnings and errors are the same */
.warning, .update, .error {
display: block;
2013-07-22 12:55:39 +00:00
padding: 10px;
color: #dd3b3b;
text-shadow: 0 -1px 0 rgba(0,0,0,.3);
2013-07-22 12:55:39 +00:00
background-color: rgba(0,0,0,.3);
text-align: center;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
2013-07-22 12:55:39 +00:00
cursor: default;
}
.warning legend,
2013-07-22 12:55:39 +00:00
.warning a,
.error a {
color: #dd3b3b !important;
font-weight: bold;
}
.error pre {
white-space: pre-wrap;
text-align: left;
}
.error-wide {
width: 800px;
2013-08-18 08:30:21 +00:00
margin-left: -250px;
}
2013-07-22 12:55:39 +00:00
/* Fixes for log in page, TODO should be removed some time */
#body-login .update,
#body-login .error {
margin: 35px auto;
}
#body-login .warning {
margin: 0 7px 5px;
font-weight: bold;
}
2013-07-23 13:47:07 +00:00
#body-login .warning legend {
text-shadow: none;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}
2013-07-22 12:55:39 +00:00
#body-login a.warning {
cursor: pointer;
}
/* Alternative Logins */
#alternative-logins legend { margin-bottom:10px; }
#alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
/* Log in and install button */
#body-login input {
font-size: 1.5em;
}
#body-login input[type="text"],
#body-login input[type="password"] {
width: 13em;
}
#body-login input.login {
width: auto;
float: right;
2013-07-23 15:17:29 +00:00
}
#body-login input[type="submit"] {
padding: 10px 20px; /* larger log in and installation buttons */
}
#remember_login {
margin: 18px 5px 0 18px;
vertical-align: text-bottom;
}
2013-07-22 11:16:01 +00:00
/* Sticky footer */
#body-login .wrapper {
min-height: 100%;
2013-07-23 15:13:03 +00:00
margin: 0 auto -70px;
2013-07-22 12:55:39 +00:00
width: 300px;
2013-07-22 11:16:01 +00:00
}
#body-login footer, #body-login .push {
2013-07-23 15:13:03 +00:00
height: 70px;
2013-07-23 14:00:28 +00:00
}
2013-07-22 11:16:01 +00:00
/* NAVIGATION ------------------------------------------------------------- */
#navigation {
2013-07-09 18:19:25 +00:00
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;
2013-03-21 17:46:59 +00:00
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;
}
2013-07-09 18:19:25 +00:00
#navigation:hover {
overflow-y: auto; /* show scrollbar only on hover */
}
#navigation a span {
2013-07-09 18:19:25 +00:00
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;
2013-01-17 04:54:31 +00:00
}
/* icon opacity and hover effect */
#navigation a img,
#navigation a span {
/* 50% opacity when inactive */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
}
#navigation a:hover img, #navigation a:focus img,
#navigation a:hover span, #navigation a:focus span {
/* 80% opacity when hovered or focused */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
opacity: .8;
}
#navigation a.active img,
#navigation a.active span {
/* full opacity for the active app */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}
#navigation .icon {
2013-07-09 18:19:25 +00:00
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;
}
#apps-management {
opacity: .6;
}
/* USER MENU */
2012-10-27 16:58:16 +00:00
#settings { float:right; margin-top:7px; color:#bbb; text-shadow:0 -1px 0 #000; }
#expand { padding:15px; cursor:pointer; font-weight:bold; }
#expand:hover, #expand:focus, #expand:active { color:#fff; }
#expand img { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter:alpha(opacity=70); opacity:.7; margin-bottom:-2px; }
#expand:hover img, #expand:focus img, #expand:active img { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
#expanddiv {
position:absolute; right:0; top:45px; z-index:76; display:none;
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);
2013-07-09 19:57:47 +00:00
-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 {
2013-07-09 19:57:47 +00:00
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;
2013-08-15 21:25:20 +00:00
-moz-box-sizing: border-box;
box-sizing: border-box;
2013-07-09 19:57:47 +00:00
}
#expanddiv a img {
margin-bottom: -3px;
margin-right: 6px;
}
2013-07-01 21:47:59 +00:00
#expanddiv a:hover, #expanddiv a:focus, #expanddiv a:active {
2013-07-09 19:57:47 +00:00
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
2013-07-01 21:47:59 +00:00
}
2011-08-13 13:32:00 +00:00
/* VARIOUS REUSABLE SELECTORS */
.hidden { display:none; }
.bold { font-weight:bold; }
.center { text-align:center; }
2011-08-13 13:32:00 +00:00
2013-01-11 14:21:39 +00:00
#notification-container { position: fixed; top: 0px; width: 100%; text-align: center; z-index: 101; line-height: 1.2;}
2013-04-24 18:17:39 +00:00
#notification, #update-notification { z-index:101; background-color:#fc4; border:0; padding:0 .7em .3em; display:none; position: relative; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
#notification span, #update-notification span { cursor:pointer; font-weight:bold; margin-left:1em; }
2011-08-11 21:38:43 +00:00
tr .action:not(.permanent), .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; }
tr:hover .action, tr .action.permanent, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; }
tr .action { width:16px; height:16px; }
.header-action { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
2012-10-28 11:47:33 +00:00
tr:hover .action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
2011-08-13 13:32:00 +00:00
tbody tr:hover, tr:active { background-color:#f8f8f8; }
#body-settings .personalblock, #body-settings .helpblock {
padding: .5em 1em;
margin: 1em;
background-color: rgb(240,240,240);
color: #555;
text-shadow: #fff 0 1px 0;
-moz-border-radius: .5em; -webkit-border-radius: .5em; border-radius: .5em;
}
#body-settings .personalblock#quota { position:relative; padding:0; }
#body-settings #controls+.helpblock { position:relative; margin-top:3em; }
2011-09-29 13:55:18 +00:00
.personalblock > legend { margin-top:2em; }
.personalblock > legend, th, dt, label { font-weight:bold; }
code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace; }
2011-08-13 13:32:00 +00:00
#quota div {
padding: 0;
background-color: rgb(220,220,220);
font-weight: normal;
white-space: nowrap;
-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;}
2011-08-13 13:32:00 +00:00
2011-10-04 19:39:13 +00:00
.pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
2011-08-21 09:14:57 +00:00
.pager li { display:inline-block; }
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow:hidden; text-overflow:ellipsis; }
.separator { display:inline; border-left:1px solid #d3d3d3; border-right:1px solid #fff; height:10px; width:0px; margin:4px; }
a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px }
2012-03-29 21:16:19 +00:00
.exception{color:#000;}
.exception textarea{width:95%;height:200px;background:#ffe;border:0;}
2012-04-02 17:39:24 +00:00
.ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg'); }
.ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg'); }
.ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; }
2012-04-13 15:23:56 +00:00
/* ---- DIALOGS ---- */
#oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; }
#oc-dialog-filepicker-content .dirtree .home {
background-image:url('../img/places/home.svg');
background-repeat:no-repeat;
background-position: left center;
}
#oc-dialog-filepicker-content .dirtree span:not(:last-child) { cursor: pointer; }
#oc-dialog-filepicker-content .dirtree span:last-child { font-weight: bold; }
#oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
#oc-dialog-filepicker-content .filelist {
overflow-y:auto;
2013-06-03 00:11:01 +00:00
max-height: 300px;
background-color:white;
width:100%;
}
2013-05-17 02:54:08 +00:00
#oc-dialog-filepicker-content .filelist img { margin: 2px 1em 0 4px; }
#oc-dialog-filepicker-content .filelist .date { float:right;margin-right:1em; }
#oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
.ui-dialog {position:fixed !important;}
span.ui-icon {float: left; margin: 3px 7px 30px 0;}
.loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
.move2trash { /* decrease spinner size */
width: 16px;
height: 16px;
}
2012-04-13 15:23:56 +00:00
/* ---- CATEGORIES ---- */
#categoryform .scrollarea { position:absolute; left:10px; top:10px; right:10px; bottom:50px; overflow:auto; border:1px solid #ddd; background:#f8f8f8; }
#categoryform .bottombuttons { position:absolute; bottom:10px;}
#categoryform .bottombuttons * { float:left;}
2012-04-13 15:23:56 +00:00
/*#categorylist { border:1px solid #ddd;}*/
#categorylist li { background:#f8f8f8; padding:.3em .8em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; }
#categorylist li:hover, #categorylist li:active { background:#eee; }
#category_addinput { width:10em; }
2012-07-31 10:21:06 +00:00
/* ---- 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: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; }
.popup h2 { font-weight:bold; font-size:1.2em; }
.arrow { border-bottom:10px solid white; border-left:10px solid transparent; border-right:10px solid transparent; display:block; height:0; position:absolute; width:0; z-index:201; }
.arrow.left { left:-13px; bottom:1.2em; -webkit-transform:rotate(270deg); -moz-transform:rotate(270deg); -o-transform:rotate(270deg); -ms-transform:rotate(270deg); transform:rotate(270deg); }
.arrow.up { top:-8px; right:2em; }
.arrow.down { -webkit-transform:rotate(180deg); -moz-transform:rotate(180deg); -o-transform:rotate(180deg); -ms-transform:rotate(180deg); transform:rotate(180deg); }
.help-includes {overflow: hidden; width: 100%; height: 100%; -moz-box-sizing: border-box; box-sizing: border-box; padding-top: 2.8em; }
.help-iframe {width: 100%; height: 100%; margin: 0;padding: 0; border: 0; overflow: auto;}
2013-06-11 12:51:29 +00:00
/* ---- BREADCRUMB ---- */
div.crumb { float:left; display:block; background:url('../img/breadcrumb.svg') no-repeat right 0; padding:.75em 1.5em 0 1em; height:2.9em; -moz-box-sizing:border-box; box-sizing:border-box; }
2012-10-28 16:10:31 +00:00
div.crumb:first-child { padding:10px 20px 10px 5px; }
div.crumb.last { font-weight:bold; background:none; padding-right:10px; }
div.crumb a{ padding: 0.9em 0 0.7em 0; }
2013-02-14 16:40:29 +00:00
2013-06-11 12:51:29 +00:00
/* some feedback for hover/tap on breadcrumbs */
div.crumb:hover,
div.crumb:focus,
div.crumb:active {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter:alpha(opacity=70);
opacity:.7;
}
2013-02-14 16:40:29 +00:00
2013-02-14 16:40:29 +00:00
/* ---- APP STYLING ---- */
#app {
height: 100%;
width: 100%;
}
2013-07-09 18:59:19 +00:00
#app * {
-moz-box-sizing: border-box; box-sizing: border-box;
}
2013-02-14 16:40:29 +00:00
/* Navigation: folder like structure */
#app-navigation {
2013-07-09 18:19:25 +00:00
width: 300px;
height: 100%;
float: left;
2013-02-14 16:40:29 +00:00
-moz-box-sizing: border-box; box-sizing: border-box;
background-color: #f8f8f8;
border-right: 1px solid #ccc;
2013-02-14 16:40:29 +00:00
}
#app-navigation > ul {
height: 100%;
overflow: auto;
2013-02-14 16:40:29 +00:00
-moz-box-sizing: border-box; box-sizing: border-box;
}
#app-navigation li {
position: relative;
width: 100%;
2013-02-14 16:40:29 +00:00
-moz-box-sizing: border-box; box-sizing: border-box;
text-shadow: 0 1px 0 rgba(255,255,255,.9);
}
#app-navigation .active,
2013-07-09 18:19:25 +00:00
#app-navigation .active a,
#app-navigation li:hover > a {
background-color: #ddd;
text-shadow: 0 1px 0 rgba(255,255,255,.7);
2013-02-14 16:40:29 +00:00
}
/* special rules for first-level entries and folders */
2013-02-14 16:40:29 +00:00
#app-navigation > ul > li {
background-color: #eee;
}
#app-navigation .with-icon a {
2013-07-09 18:19:25 +00:00
padding-left: 44px;
background-size: 16px 16px;
background-position: 14px center;
background-repeat: no-repeat;
2013-02-14 16:40:29 +00:00
}
#app-navigation li > a {
display: block;
width: 100%;
2013-07-09 18:19:25 +00:00
height: 44px;
2013-07-09 18:59:19 +00:00
padding: 12px;
overflow: hidden;
2013-02-14 16:40:29 +00:00
-moz-box-sizing: border-box; box-sizing: border-box;
white-space: nowrap;
text-overflow: ellipsis;
color: #333;
}
2013-02-14 16:40:29 +00:00
#app-navigation .collapse {
display: none; /* hide collapse button intially */
}
#app-navigation .collapsible > .collapse {
position: absolute;
2013-07-09 18:19:25 +00:00
height: 44px;
width: 44px;
margin: 0;
padding: 0;
background: none; background-image: url('../img/actions/triangle-s.svg');
2013-07-09 18:59:19 +00:00
background-size: 16px; background-repeat: no-repeat; background-position: center;
border: none;
border-radius: 0;
outline: none !important;
2013-02-14 16:40:29 +00:00
box-shadow: none;
}
#app-navigation .collapsible:hover > a {
background-image: none;
}
#app-navigation .collapsible:hover > .collapse {
display: block;
}
2013-02-14 16:40:29 +00:00
#app-navigation .collapsible .collapse {
2013-02-14 16:40:29 +00:00
-moz-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
-ms-transform:rotate(-90deg);
-o-transform:rotate(-90deg);
transform: rotate(-90deg);
}
#app-navigation .collapsible.open .collapse {
2013-02-14 16:40:29 +00:00
-moz-transform: rotate(0);
-webkit-transform: rotate(0);
-ms-transform:rotate(0);
-o-transform:rotate(0);
transform: rotate(0);
}
/* Second level nesting for lists */
#app-navigation > ul ul {
display: none;
}
#app-navigation > ul ul li > a {
padding-left: 32px;
}
#app-navigation > .with-icon ul li > a {
padding-left: 48px;
background-position: 24px center;
}
2013-02-14 16:40:29 +00:00
#app-navigation .open {
background-image: linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
background-image: -o-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
background-image: -moz-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
background-image: -webkit-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
background-image: -ms-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
}
#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;
2013-02-14 16:40:29 +00:00
}
#app-navigation > ul .open ul {
display: block;
}
2013-02-14 16:40:29 +00:00
2013-07-09 18:59:19 +00:00
/* 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;
}
2013-02-14 16:40:29 +00:00
/* drag and drop */
#app-navigation .drag-and-drop {
-moz-transition: padding-bottom 500ms ease 0s;
-o-transition: padding-bottom 500ms ease 0s;
-webkit-transition: padding-bottom 500ms ease 0s;
-ms-transition: padding-bottom 500ms ease 0s;
transition: padding-bottom 500ms ease 0s;
padding-bottom: 40px;
}
#app-navigation .personalblock > legend { /* TODO @Raydiation: still needed? */
padding: 10px 0; margin: 0;
}
#app-navigation .error {
color: #dd1144;
}
2013-02-14 16:40:29 +00:00
/* Part where the content will be loaded into */
#app-content {
height: 100%;
overflow-y: auto;
}
2013-02-14 16:40:29 +00:00
/* settings area */
#app-settings {
position: fixed;
2013-07-09 18:59:19 +00:00
width: 299px;
bottom: 0;
border-top: 1px solid #ccc;
}
#app-settings-header {
background-color: #eee;
}
#app-settings-content {
display: none;
padding: 10px;
background-color: #eee;
}
#app-settings.open #app-settings-content {
display: block;
}
2013-02-14 16:40:29 +00:00
.settings-button {
display: block;
height: 32px;
width: 100%;
padding: 0;
margin: 0;
background-color: transparent; background-image: url('../img/actions/settings.svg');
background-position: 10px center; background-repeat: no-repeat;
2013-02-14 16:40:29 +00:00
box-shadow: none;
border: 0;
border-radius: 0;
}
.settings-button:hover {
background-color: #ddd;
2013-02-14 16:40:29 +00:00
}
/* icons */
2013-07-29 16:27:11 +00:00
.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 */
2013-08-15 22:02:11 +00:00
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter:alpha(opacity=100);
opacity: 1 !important;
display: inline !important;
}
2013-02-14 16:40:29 +00:00
/* buttons */
button.loading {
background-image: url('../img/loading.gif');
background-position: right 10px center; background-repeat: no-repeat;
background-size: 16px;
2013-02-14 16:40:29 +00:00
padding-right: 30px;
}
2013-07-19 13:17:28 +00:00
/* ---- BROWSER-SPECIFIC FIXES ---- */
2013-07-19 13:17:28 +00:00
2013-07-23 16:14:37 +00:00
/* remove dotted outlines in Firefox */
::-moz-focus-inner {
2013-07-23 16:14:37 +00:00
border: 0;
}
2013-07-23 14:13:12 +00:00
.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');
}
2013-07-19 13:17:28 +00:00
/* 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;
}
2013-07-19 13:17:28 +00:00
/* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */
.ie #show, .ie #show+label {
display: none;
visibility: hidden;
}
2013-07-23 16:14:37 +00:00
/* fix installation screen rendering issue for IE8+9 */
.lte9 #body-login {
height: auto !important;
}