2014-06-04 17:46:36 +04:00
|
|
|
/* prevent ugly selection effect on accidental selection */
|
|
|
|
#header,
|
|
|
|
#navigation,
|
|
|
|
#expanddiv {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-04 17:49:04 +04:00
|
|
|
/* HEADERS ------------------------------------------------------------------ */
|
|
|
|
|
|
|
|
#body-user #header,
|
|
|
|
#body-settings #header,
|
|
|
|
#body-public #header {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-09-08 19:43:36 +04:00
|
|
|
z-index: 2000;
|
2014-06-04 17:49:04 +04:00
|
|
|
height: 45px;
|
|
|
|
line-height: 2.5em;
|
|
|
|
background-color: #1d2d44;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-06-04 17:46:36 +04:00
|
|
|
|
|
|
|
/* LOGO and APP NAME -------------------------------------------------------- */
|
|
|
|
|
2014-06-04 17:49:04 +04:00
|
|
|
#owncloud {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2014-06-06 17:58:30 +04:00
|
|
|
padding: 5px;
|
2014-06-04 17:49:04 +04:00
|
|
|
padding-bottom: 0;
|
|
|
|
height: 45px; /* header height */
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2014-06-04 13:17:18 +04:00
|
|
|
#header .logo {
|
2014-09-16 13:22:54 +04:00
|
|
|
background-image: url(../img/logo.svg);
|
|
|
|
background-repeat: no-repeat;
|
2014-06-06 17:54:19 +04:00
|
|
|
width: 252px;
|
|
|
|
height: 120px;
|
2014-06-04 13:17:18 +04:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2014-05-16 19:11:51 +04:00
|
|
|
#header .logo-wide {
|
2014-06-04 13:17:18 +04:00
|
|
|
background-image: url(../img/logo-wide.svg);
|
|
|
|
background-repeat: no-repeat;
|
2014-06-06 17:54:19 +04:00
|
|
|
width: 150px;
|
|
|
|
height: 34px;
|
2014-06-04 13:17:18 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#header .logo-icon {
|
|
|
|
/* display logo so appname can be shown next to it */
|
2014-05-16 19:11:51 +04:00
|
|
|
display: inline-block;
|
2014-06-04 13:17:18 +04:00
|
|
|
background-image: url(../img/logo-icon.svg);
|
|
|
|
background-repeat: no-repeat;
|
2014-06-06 17:54:19 +04:00
|
|
|
width: 62px;
|
|
|
|
height: 34px;
|
2014-05-16 19:11:51 +04:00
|
|
|
}
|
2014-06-04 13:17:18 +04:00
|
|
|
|
2014-06-04 15:17:47 +04:00
|
|
|
#header .menutoggle {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
left: 70px;
|
2014-06-04 17:07:15 +04:00
|
|
|
height: 27px;
|
|
|
|
padding-top: 18px;
|
|
|
|
padding-right: 10px;
|
2014-06-04 15:17:47 +04:00
|
|
|
}
|
2014-06-04 13:17:18 +04:00
|
|
|
|
2014-06-04 18:33:12 +04:00
|
|
|
/* hover effect for app switcher label */
|
|
|
|
.menutoggle .header-appname,
|
|
|
|
.menutoggle .icon-caret {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
.menutoggle:hover .header-appname,
|
|
|
|
.menutoggle:hover .icon-caret,
|
|
|
|
.menutoggle:focus .header-appname
|
|
|
|
.menutoggle:focus .icon-caret
|
|
|
|
.menutoggle.active .header-appname
|
|
|
|
.menutoggle.active .icon-caret {
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2014-05-16 19:11:51 +04:00
|
|
|
/* show appname next to logo */
|
|
|
|
.header-appname {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
color: #fff;
|
2014-06-04 13:17:18 +04:00
|
|
|
font-size: 16px;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: -24px;
|
|
|
|
padding: 7px 0 7px 5px;
|
|
|
|
vertical-align: middle;
|
2014-05-16 19:11:51 +04:00
|
|
|
}
|
2014-05-15 16:52:36 +04:00
|
|
|
/* show caret indicator next to logo to make clear it is tappable */
|
2014-05-16 19:11:51 +04:00
|
|
|
#header .icon-caret {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
2014-06-04 13:17:18 +04:00
|
|
|
height: 12px;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: -21px;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: middle;
|
2014-05-16 19:11:51 +04:00
|
|
|
}
|
2014-05-15 16:52:36 +04:00
|
|
|
/* do not show menu toggle on public share links as there is no menu */
|
2014-05-16 19:11:51 +04:00
|
|
|
#body-public #header .icon-caret {
|
|
|
|
display: none;
|
2014-05-15 16:52:36 +04:00
|
|
|
}
|
|
|
|
|
2014-05-16 19:11:51 +04:00
|
|
|
|
2014-06-04 17:46:36 +04:00
|
|
|
|
|
|
|
/* NAVIGATION --------------------------------------------------------------- */
|
|
|
|
|
2014-05-15 16:52:36 +04:00
|
|
|
#navigation {
|
2014-06-04 17:46:36 +04:00
|
|
|
position: fixed;
|
2014-05-15 16:52:36 +04:00
|
|
|
top: 45px;
|
2014-05-16 19:41:31 +04:00
|
|
|
width: 265px;
|
|
|
|
max-height: 85%;
|
2014-05-15 16:52:36 +04:00
|
|
|
margin-top: 0;
|
2014-06-04 17:57:23 +04:00
|
|
|
padding-bottom: 10px;
|
2014-05-15 16:52:36 +04:00
|
|
|
background-color: rgba(36, 40, 47, .97);
|
|
|
|
border-bottom-right-radius: 7px;
|
|
|
|
box-shadow: 0 0 7px rgba(29,45,68,.97);
|
|
|
|
display: none;
|
2014-06-04 17:46:36 +04:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2014-09-08 19:43:36 +04:00
|
|
|
z-index: 2000;
|
2014-05-15 16:52:36 +04:00
|
|
|
}
|
|
|
|
#navigation, #navigation * {
|
2014-06-04 17:46:36 +04:00
|
|
|
-moz-box-sizing:border-box;
|
|
|
|
box-sizing:border-box;
|
2014-05-15 16:52:36 +04:00
|
|
|
}
|
|
|
|
#navigation li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
#navigation a {
|
2014-06-04 17:07:15 +04:00
|
|
|
position: relative;
|
2014-05-15 16:52:36 +04: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 17:46:36 +04: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 {
|
|
|
|
/* 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,
|
2014-08-20 21:34:02 +04:00
|
|
|
#navigation a:hover span, #navigation a:focus span,
|
2014-06-04 17:46:36 +04:00
|
|
|
#navigation a.active img,
|
|
|
|
#navigation a.active span {
|
2014-08-20 21:34:02 +04:00
|
|
|
/* full opacity for the active app or when hovered/focused */
|
2014-06-04 17:46:36 +04:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigation .app-icon {
|
2014-05-15 16:52:36 +04:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
2014-07-26 15:06:51 +04:00
|
|
|
max-height: 32px;
|
|
|
|
max-width: 32px;
|
2014-05-15 16:52:36 +04:00
|
|
|
}
|
2014-06-04 17:46:36 +04:00
|
|
|
|
|
|
|
/* Apps management */
|
2014-05-19 17:52:27 +04:00
|
|
|
#apps-management {
|
2014-06-04 17:46:36 +04:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
|
|
|
|
filter: alpha(opacity=60);
|
|
|
|
opacity: .6;
|
|
|
|
min-height: initial;
|
2014-05-15 16:52:36 +04:00
|
|
|
height: initial;
|
2014-06-04 17:46:36 +04:00
|
|
|
margin: 0;
|
2014-05-15 16:52:36 +04:00
|
|
|
}
|
|
|
|
|
2014-06-04 17:07:15 +04: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 17:46:36 +04:00
|
|
|
#navigation .app-loading .app-icon {
|
2014-06-04 17:54:23 +04:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
|
|
|
|
filter: alpha(opacity=10);
|
|
|
|
opacity: .1;
|
2014-06-04 17:07:15 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-06-04 17:46:36 +04:00
|
|
|
|
|
|
|
|
2014-06-04 17:49:04 +04: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-03 01:07:30 +04:00
|
|
|
max-width: 80%;
|
2014-06-04 17:49:04 +04:00
|
|
|
white-space: nowrap;
|
2014-07-03 01:07:30 +04:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2014-06-04 17:49:04 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Profile picture in header */
|
|
|
|
#header .avatardiv {
|
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2014-07-04 15:22:59 +04:00
|
|
|
cursor: pointer;
|
2014-06-04 17:49:04 +04:00
|
|
|
}
|
|
|
|
#header .avatardiv img {
|
|
|
|
opacity: 1;
|
2014-07-04 15:22:59 +04:00
|
|
|
cursor: pointer;
|
2014-06-04 17:49:04 +04:00
|
|
|
}
|
|
|
|
|
2014-06-04 17:46:36 +04:00
|
|
|
#settings {
|
|
|
|
float: right;
|
|
|
|
color: #bbb;
|
2014-07-04 15:22:59 +04:00
|
|
|
cursor: pointer;
|
2014-06-04 17:46:36 +04:00
|
|
|
}
|
|
|
|
#expand {
|
|
|
|
display: block;
|
|
|
|
padding: 7px 12px 6px 7px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-07-04 16:57:11 +04:00
|
|
|
#expand * {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-06-04 17:46:36 +04:00
|
|
|
#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;
|
2014-09-08 19:43:36 +04:00
|
|
|
z-index: 2000;
|
2014-06-04 17:46:36 +04:00
|
|
|
display: none;
|
|
|
|
background-color: #383c43;
|
|
|
|
border-bottom-left-radius:7px; border-bottom:1px #333 solid; border-left:1px #333 solid;
|
|
|
|
box-shadow:0 0 7px rgb(29,45,68);
|
|
|
|
-moz-box-sizing: border-box; box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#expanddiv a {
|
|
|
|
display: block;
|
|
|
|
height: 40px;
|
|
|
|
color: #fff;
|
|
|
|
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;
|
|
|
|
}
|