2014-06-04 13:46:36 +00:00
|
|
|
/* prevent ugly selection effect on accidental selection */
|
|
|
|
#header,
|
|
|
|
#navigation,
|
|
|
|
#expanddiv {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
}
|
|
|
|
|
2014-12-22 15:02:45 +00:00
|
|
|
/* removed until content-focusing issue is fixed */
|
2014-12-17 15:05:01 +00:00
|
|
|
#skip-to-content a {
|
|
|
|
position: absolute;
|
|
|
|
left: -10000px;
|
|
|
|
top: auto;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#skip-to-content a:focus {
|
|
|
|
left: 76px;
|
|
|
|
top: -9px;
|
|
|
|
color: #fff;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2014-06-04 13:46:36 +00:00
|
|
|
|
|
|
|
|
2014-06-04 13:49:04 +00:00
|
|
|
/* HEADERS ------------------------------------------------------------------ */
|
|
|
|
|
|
|
|
#body-user #header,
|
|
|
|
#body-settings #header,
|
|
|
|
#body-public #header {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-09-08 15:43:36 +00:00
|
|
|
z-index: 2000;
|
2014-06-04 13:49:04 +00:00
|
|
|
height: 45px;
|
|
|
|
line-height: 2.5em;
|
|
|
|
background-color: #1d2d44;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-06-04 13:46:36 +00:00
|
|
|
|
|
|
|
/* LOGO and APP NAME -------------------------------------------------------- */
|
|
|
|
|
2014-06-04 13:49:04 +00:00
|
|
|
#owncloud {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2014-06-06 13:58:30 +00:00
|
|
|
padding: 5px;
|
2014-06-04 13:49:04 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
height: 45px; /* header height */
|
|
|
|
box-sizing: border-box;
|
2015-03-26 09:28:49 +00:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
#owncloud:focus {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
#owncloud:hover,
|
|
|
|
#owncloud:active {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
opacity: 1;
|
2014-06-04 13:49:04 +00:00
|
|
|
}
|
|
|
|
|
2014-06-04 09:17:18 +00:00
|
|
|
#header .logo {
|
2015-08-27 19:29:29 +00:00
|
|
|
background-image: url(../img/logo-icon.svg);
|
2014-09-16 09:22:54 +00:00
|
|
|
background-repeat: no-repeat;
|
2015-08-27 19:29:29 +00:00
|
|
|
background-size: 175px;
|
|
|
|
background-position: center 30px;
|
2014-06-06 13:54:19 +00:00
|
|
|
width: 252px;
|
|
|
|
height: 120px;
|
2014-06-04 09:17:18 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header .logo-icon {
|
|
|
|
/* display logo so appname can be shown next to it */
|
2014-05-16 15:11:51 +00:00
|
|
|
display: inline-block;
|
2014-06-04 09:17:18 +00:00
|
|
|
background-image: url(../img/logo-icon.svg);
|
|
|
|
background-repeat: no-repeat;
|
2014-06-06 13:54:19 +00:00
|
|
|
width: 62px;
|
|
|
|
height: 34px;
|
2014-05-16 15:11:51 +00:00
|
|
|
}
|
2014-06-04 09:17:18 +00:00
|
|
|
|
2015-05-21 22:04:47 +00:00
|
|
|
#header .header-appname-container {
|
2014-06-04 11:17:47 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
left: 70px;
|
2014-06-04 13:07:15 +00:00
|
|
|
height: 27px;
|
|
|
|
padding-top: 18px;
|
|
|
|
padding-right: 10px;
|
2014-06-04 11:17:47 +00:00
|
|
|
}
|
2014-06-04 09:17:18 +00:00
|
|
|
|
2014-06-04 14:33:12 +00:00
|
|
|
/* hover effect for app switcher label */
|
2015-05-21 22:04:47 +00:00
|
|
|
.header-appname-container .header-appname,
|
2014-06-04 14:33:12 +00:00
|
|
|
.menutoggle .icon-caret {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
.menutoggle:hover .header-appname,
|
|
|
|
.menutoggle:hover .icon-caret,
|
2014-12-17 14:01:15 +00:00
|
|
|
.menutoggle:focus .header-appname,
|
|
|
|
.menutoggle:focus .icon-caret,
|
|
|
|
.menutoggle.active .header-appname,
|
2014-06-04 14:33:12 +00:00
|
|
|
.menutoggle.active .icon-caret {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2014-05-16 15:11:51 +00:00
|
|
|
/* show appname next to logo */
|
|
|
|
.header-appname {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
color: #fff;
|
2014-06-04 09:17:18 +00:00
|
|
|
font-size: 16px;
|
2015-10-30 03:47:00 +00:00
|
|
|
font-weight: 300;
|
2014-06-04 09:17:18 +00:00
|
|
|
margin: 0;
|
|
|
|
margin-top: -24px;
|
|
|
|
padding: 7px 0 7px 5px;
|
|
|
|
vertical-align: middle;
|
2014-05-16 15:11:51 +00:00
|
|
|
}
|
2014-05-15 12:52:36 +00:00
|
|
|
/* show caret indicator next to logo to make clear it is tappable */
|
2014-05-16 15:11:51 +00:00
|
|
|
#header .icon-caret {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
2014-06-04 09:17:18 +00:00
|
|
|
height: 12px;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: -21px;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: middle;
|
2014-05-16 15:11:51 +00:00
|
|
|
}
|
2014-05-15 12:52:36 +00:00
|
|
|
/* do not show menu toggle on public share links as there is no menu */
|
2014-05-16 15:11:51 +00:00
|
|
|
#body-public #header .icon-caret {
|
|
|
|
display: none;
|
2014-05-15 12:52:36 +00:00
|
|
|
}
|
|
|
|
|
2014-05-16 15:11:51 +00:00
|
|
|
|
2014-06-04 13:46:36 +00:00
|
|
|
|
|
|
|
/* NAVIGATION --------------------------------------------------------------- */
|
|
|
|
|
2014-05-15 12:52:36 +00:00
|
|
|
#navigation {
|
2014-06-04 13:46:36 +00:00
|
|
|
position: fixed;
|
2015-03-25 16:39:50 +00:00
|
|
|
top: 45px;
|
2015-03-17 12:47:54 +00:00
|
|
|
left: 10px;
|
2014-05-16 15:41:31 +00:00
|
|
|
width: 265px;
|
|
|
|
max-height: 85%;
|
2014-05-15 12:52:36 +00:00
|
|
|
margin-top: 0;
|
2014-06-04 13:57:23 +00:00
|
|
|
padding-bottom: 10px;
|
2015-03-17 12:47:54 +00:00
|
|
|
background-color: rgba(0, 0, 0, .97);
|
2015-03-25 16:39:50 +00:00
|
|
|
box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
|
|
|
|
border-radius: 3px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2014-05-15 12:52:36 +00:00
|
|
|
display: none;
|
2015-03-17 12:47:54 +00:00
|
|
|
/*overflow-y: auto;
|
|
|
|
overflow-x: hidden;*/
|
2014-09-08 15:43:36 +00:00
|
|
|
z-index: 2000;
|
2014-05-15 12:52:36 +00:00
|
|
|
}
|
2015-03-17 12:47:54 +00:00
|
|
|
/* arrow look */
|
|
|
|
#navigation:after, #expanddiv:after {
|
|
|
|
bottom: 100%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
border-color: rgba(0, 0, 0, 0);
|
|
|
|
border-bottom-color: rgba(0, 0, 0, .97);
|
|
|
|
border-width: 10px;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
2015-03-26 09:28:49 +00:00
|
|
|
/* position of dropdown arrow */
|
2015-03-25 17:01:14 +00:00
|
|
|
#navigation:after {
|
|
|
|
left: 47%;
|
|
|
|
}
|
2015-03-17 12:47:54 +00:00
|
|
|
#expanddiv:after {
|
2015-03-25 17:01:14 +00:00
|
|
|
right: 15px;
|
2015-03-17 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2014-05-15 12:52:36 +00:00
|
|
|
#navigation, #navigation * {
|
2014-06-04 13:46:36 +00:00
|
|
|
box-sizing:border-box;
|
2014-05-15 12:52:36 +00:00
|
|
|
}
|
|
|
|
#navigation li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
#navigation a {
|
2014-06-04 13:07:15 +00:00
|
|
|
position: relative;
|
2014-05-15 12:52:36 +00:00
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
padding: 20px 0;
|
|
|
|
}
|
|
|
|
#navigation a span {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 13px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
width: 80px;
|
2014-06-04 13:46:36 +00:00
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
|
|
white-space:nowrap;
|
|
|
|
overflow:hidden;
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
}
|
|
|
|
/* icon opacity and hover effect */
|
|
|
|
#navigation a img,
|
|
|
|
#navigation a span {
|
2015-03-17 12:47:54 +00:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
|
|
|
opacity: .7;
|
2014-06-04 13:46:36 +00:00
|
|
|
}
|
2015-03-17 12:47:54 +00:00
|
|
|
#navigation a:hover img,
|
|
|
|
#navigation a:focus img,
|
|
|
|
#navigation a:hover span,
|
|
|
|
#navigation a:focus span,
|
2014-06-04 13:46:36 +00:00
|
|
|
#navigation a.active img,
|
|
|
|
#navigation a.active span {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigation .app-icon {
|
2014-05-15 12:52:36 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
2014-07-26 11:06:51 +00:00
|
|
|
max-height: 32px;
|
|
|
|
max-width: 32px;
|
2014-05-15 12:52:36 +00:00
|
|
|
}
|
2014-06-04 13:46:36 +00:00
|
|
|
|
|
|
|
/* Apps management */
|
2014-05-19 13:52:27 +00:00
|
|
|
#apps-management {
|
2014-06-04 13:46:36 +00:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
|
|
|
|
opacity: .6;
|
|
|
|
min-height: initial;
|
2014-05-15 12:52:36 +00:00
|
|
|
height: initial;
|
2014-06-04 13:46:36 +00:00
|
|
|
margin: 0;
|
2014-05-15 12:52:36 +00:00
|
|
|
}
|
|
|
|
|
2014-06-04 13:07:15 +00:00
|
|
|
|
|
|
|
/* loading feedback for apps */
|
|
|
|
#navigation .app-loading .icon-loading-dark {
|
|
|
|
display: inline !important;
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
left: 24px;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
2014-06-04 13:46:36 +00:00
|
|
|
#navigation .app-loading .app-icon {
|
2014-06-04 13:54:23 +00:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
|
|
|
|
opacity: .1;
|
2014-06-04 13:07:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-06-04 13:46:36 +00:00
|
|
|
|
|
|
|
|
2014-06-04 13:49:04 +00:00
|
|
|
/* USER MENU -----------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* info part on the right, used e.g. for info on who shared something */
|
|
|
|
.header-right {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
padding: 7px 5px;
|
|
|
|
color: #fff;
|
|
|
|
height: 100%;
|
2014-07-02 21:07:30 +00:00
|
|
|
max-width: 80%;
|
2014-06-04 13:49:04 +00:00
|
|
|
white-space: nowrap;
|
2014-07-02 21:07:30 +00:00
|
|
|
box-sizing: border-box;
|
2014-06-04 13:49:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Profile picture in header */
|
|
|
|
#header .avatardiv {
|
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
2015-03-25 23:35:47 +00:00
|
|
|
margin-right: 8px;
|
2014-07-04 11:22:59 +00:00
|
|
|
cursor: pointer;
|
2014-03-15 14:27:48 +00:00
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
2014-06-04 13:49:04 +00:00
|
|
|
}
|
|
|
|
#header .avatardiv img {
|
|
|
|
opacity: 1;
|
2014-07-04 11:22:59 +00:00
|
|
|
cursor: pointer;
|
2014-06-04 13:49:04 +00:00
|
|
|
}
|
|
|
|
|
2014-06-04 13:46:36 +00:00
|
|
|
#settings {
|
|
|
|
float: right;
|
|
|
|
color: #bbb;
|
2014-07-04 11:22:59 +00:00
|
|
|
cursor: pointer;
|
2014-06-04 13:46:36 +00:00
|
|
|
}
|
|
|
|
#expand {
|
|
|
|
display: block;
|
2015-08-25 16:46:43 +00:00
|
|
|
padding: 7px 30px 6px 10px;
|
2014-06-04 13:46:36 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-07-04 12:57:11 +00:00
|
|
|
#expand * {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-03-25 08:27:43 +00:00
|
|
|
#expand:hover,
|
|
|
|
#expand:focus,
|
|
|
|
#expand:active {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2015-03-25 17:01:14 +00:00
|
|
|
#expand img {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
2015-03-19 08:10:58 +00:00
|
|
|
opacity: .7;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
2015-03-25 17:01:14 +00:00
|
|
|
#expand:hover img,
|
|
|
|
#expand:focus img,
|
|
|
|
#expand:active img {
|
2015-03-19 08:10:58 +00:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
2015-03-25 17:01:14 +00:00
|
|
|
opacity: 1;
|
2015-03-19 08:10:58 +00:00
|
|
|
}
|
2014-06-04 13:46:36 +00:00
|
|
|
#expanddiv {
|
|
|
|
position: absolute;
|
2015-03-17 12:47:54 +00:00
|
|
|
right: 10px;
|
2015-03-25 16:39:50 +00:00
|
|
|
top: 45px;
|
2014-09-08 15:43:36 +00:00
|
|
|
z-index: 2000;
|
2014-06-04 13:46:36 +00:00
|
|
|
display: none;
|
2015-03-17 12:47:54 +00:00
|
|
|
background-color: rgba(0, 0, 0, .97);
|
2015-03-25 16:39:50 +00:00
|
|
|
box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
|
|
|
|
border-radius: 3px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2015-11-12 14:24:03 +00:00
|
|
|
box-sizing: border-box;
|
2014-06-04 13:46:36 +00:00
|
|
|
}
|
|
|
|
#expanddiv a {
|
|
|
|
display: block;
|
|
|
|
height: 40px;
|
|
|
|
color: #fff;
|
|
|
|
padding: 4px 12px 0;
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
|
|
|
opacity: .7;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#expanddiv a img {
|
|
|
|
margin-bottom: -3px;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2015-05-21 22:04:47 +00:00
|
|
|
#expanddiv a:hover,
|
|
|
|
#expanddiv a:focus,
|
2015-03-25 08:27:43 +00:00
|
|
|
#expanddiv a:active,
|
|
|
|
#expanddiv a.active {
|
2014-06-04 13:46:36 +00:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2015-10-30 03:47:00 +00:00
|
|
|
|
|
|
|
/* do not show display name when profile picture is present */
|
|
|
|
#header .avatardiv.avatardiv-shown + #expandDisplayName {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#header #expand {
|
|
|
|
display: block;
|
|
|
|
}
|