2017-01-11 15:55:56 +03:00
|
|
|
/**
|
2017-01-25 16:13:28 +03:00
|
|
|
* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
* @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
|
|
|
|
* @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
|
|
|
|
* @copyright Copyright (c) 2016, pgys <info@pexlab.space>
|
|
|
|
* @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
|
|
|
|
* @copyright Copyright (c) 2016, Stefan Weil <sw@weilnetz.de>
|
|
|
|
* @copyright Copyright (c) 2016, Roeland Jago Douma <rullzer@owncloud.com>
|
|
|
|
* @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
|
|
|
|
* @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
|
|
|
|
* @copyright Copyright (c) 2015, Thomas Müller <thomas.mueller@tmit.eu>
|
|
|
|
* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
|
2017-03-27 12:23:33 +03:00
|
|
|
* @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
|
2017-01-11 15:55:56 +03:00
|
|
|
*
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2017-03-30 14:07:26 +03:00
|
|
|
/* BASE STYLING ---------------------------------------------------------- */
|
2017-01-11 15:44:36 +03:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 300;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
line-height: 140%;
|
|
|
|
}
|
2017-03-30 14:07:26 +03:00
|
|
|
|
2017-01-11 15:44:36 +03:00
|
|
|
h3 {
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 300;
|
|
|
|
margin: 12px 0;
|
|
|
|
}
|
2017-03-30 14:07:26 +03:00
|
|
|
|
2017-01-11 15:44:36 +03:00
|
|
|
/* do not use italic typeface style, instead lighter color */
|
|
|
|
em {
|
|
|
|
font-style: normal;
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
2017-03-30 14:07:26 +03:00
|
|
|
dl {
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt,
|
|
|
|
dd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 12px;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
width: 130px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
padding: 4px 10px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
|
|
|
|
border-radius: 3px;
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-12-22 13:16:32 +03:00
|
|
|
/* APP STYLING -------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#app {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* APP-NAVIGATION ------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Navigation: folder like structure */
|
|
|
|
|
|
|
|
#app-navigation {
|
|
|
|
width: 250px;
|
|
|
|
height: 100%;
|
|
|
|
float: left;
|
|
|
|
box-sizing: border-box;
|
2017-02-19 21:48:51 +03:00
|
|
|
background-color: $color-main-background;
|
2016-12-22 13:16:32 +03:00
|
|
|
padding-bottom: 44px;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2017-03-06 00:38:59 +03:00
|
|
|
border-right: 1px solid nc-darken($color-main-background, 8%);
|
2017-01-25 17:34:01 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-12-22 13:16:32 +03:00
|
|
|
> ul {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
width: inherit;
|
|
|
|
overflow: auto;
|
|
|
|
box-sizing: border-box;
|
2017-01-26 22:35:22 +03:00
|
|
|
> li {
|
|
|
|
&:focus,
|
|
|
|
&:hover,
|
|
|
|
&.active,
|
|
|
|
a.selected {
|
|
|
|
&,
|
|
|
|
> a {
|
|
|
|
opacity: 1;
|
2017-02-19 21:48:51 +03:00
|
|
|
box-shadow: inset 2px 0 $color-primary;
|
2017-01-26 22:35:22 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
&.without-app-settings {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
.active.with-menu > a,
|
|
|
|
.with-counter > a {
|
2016-12-22 13:16:32 +03:00
|
|
|
padding-right: 50px;
|
|
|
|
}
|
|
|
|
.active.with-menu.with-counter > a {
|
|
|
|
padding-right: 90px;
|
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
.with-icon a,
|
|
|
|
.app-navigation-entry-loading a {
|
2016-12-22 13:16:32 +03:00
|
|
|
padding-left: 44px;
|
|
|
|
background-size: 16px 16px;
|
|
|
|
background-position: 14px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
li > a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
line-height: 44px;
|
|
|
|
min-height: 44px;
|
|
|
|
padding: 0 12px;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2017-02-19 21:48:51 +03:00
|
|
|
color: $color-main-text;
|
2016-12-22 13:16:32 +03:00
|
|
|
opacity: .57;
|
|
|
|
}
|
2017-01-24 02:59:50 +03:00
|
|
|
li > a:first-child img {
|
|
|
|
margin-bottom: -3px;
|
|
|
|
margin-right: 11px;
|
|
|
|
width: 16px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
.collapse {
|
|
|
|
display: none;
|
|
|
|
/* hide collapse button initially */
|
|
|
|
}
|
|
|
|
.collapsible {
|
|
|
|
> .collapse {
|
|
|
|
position: absolute;
|
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
background-image: url('../img/actions/triangle-s.svg?v=1');
|
|
|
|
background-size: 16px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
outline: none !important;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
&:hover > a,
|
|
|
|
&:focus > a {
|
2016-12-22 13:16:32 +03:00
|
|
|
background-image: none;
|
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
> .collapse {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
.collapse {
|
|
|
|
-webkit-transform: rotate(-90deg);
|
|
|
|
-ms-transform: rotate(-90deg);
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
&.open {
|
|
|
|
.collapse {
|
|
|
|
-webkit-transform: rotate(0);
|
|
|
|
-ms-transform: rotate(0);
|
|
|
|
transform: rotate(0);
|
|
|
|
}
|
2017-03-06 00:38:59 +03:00
|
|
|
background-image: linear-gradient(top, nc-darken($color-main-background, 8%) 0%, nc-darken($color-main-background, 3%) 100%);
|
|
|
|
background-image: -webkit-linear-gradient(top, nc-darken($color-main-background, 8%) 0%, nc-darken($color-main-background, 3%) 100%);
|
|
|
|
background-image: -ms-linear-gradient(top, nc-darken($color-main-background, 8%) 0%, nc-darken($color-main-background, 3%) 100%);
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
> {
|
2017-01-11 15:44:36 +03:00
|
|
|
/* Second level nesting for lists */
|
2016-12-22 13:16:32 +03:00
|
|
|
ul ul {
|
|
|
|
display: none;
|
|
|
|
li > a {
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.with-icon ul li {
|
2017-01-11 16:03:24 +03:00
|
|
|
> a,
|
|
|
|
&.app-navigation-entry-loading > a {
|
2016-12-22 13:16:32 +03:00
|
|
|
padding-left: 68px;
|
|
|
|
background-position: 44px center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> ul .collapsible.open {
|
2017-01-11 16:03:24 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-02-21 19:19:23 +03:00
|
|
|
box-shadow: inset 0 0 3px $color-box-shadow;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-01-11 15:44:36 +03:00
|
|
|
/* Deleted entries with undo button */
|
2016-12-22 13:16:32 +03:00
|
|
|
.app-navigation-entry-deleted {
|
|
|
|
display: inline-block;
|
|
|
|
height: 44px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.app-navigation-entry-deleted-description {
|
|
|
|
padding-left: 12px;
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
width: calc(100% - 49px);
|
|
|
|
line-height: 44px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.app-navigation-entry-deleted-button {
|
|
|
|
margin: 0;
|
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
|
|
|
line-height: 44px;
|
|
|
|
border: 0;
|
|
|
|
display: inline-block;
|
|
|
|
background-color: transparent;
|
|
|
|
opacity: .5;
|
|
|
|
&:hover, &:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-01-11 15:44:36 +03:00
|
|
|
/* counter and actions, legacy code */
|
2016-12-22 13:16:32 +03:00
|
|
|
.utils {
|
|
|
|
position: absolute;
|
|
|
|
padding: 7px 7px 0 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
font-size: 12px;
|
2017-01-22 19:57:10 +03:00
|
|
|
button,
|
|
|
|
.counter {
|
2016-12-22 13:16:32 +03:00
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
padding-top: 12px;
|
|
|
|
}
|
|
|
|
}
|
2017-01-11 15:44:36 +03:00
|
|
|
/* drag and drop */
|
2016-12-22 13:16:32 +03:00
|
|
|
.drag-and-drop {
|
|
|
|
-webkit-transition: padding-bottom 500ms ease 0s;
|
|
|
|
transition: padding-bottom 500ms ease 0s;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
}
|
|
|
|
.error {
|
2017-02-19 21:48:51 +03:00
|
|
|
color: $color-error;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
.app-navigation-separator {
|
2017-03-06 00:38:59 +03:00
|
|
|
border-bottom: 1px solid nc-lighten($color-main-text, 86%);
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
2017-01-11 15:44:36 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* App navigation utils, buttons and counters for drop down menu
|
|
|
|
*/
|
2016-12-22 13:16:32 +03:00
|
|
|
.app-navigation-entry-utils {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 105;
|
|
|
|
ul {
|
2017-01-11 23:01:54 +03:00
|
|
|
display: flex !important;
|
2017-01-13 17:31:42 +03:00
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
li {
|
|
|
|
width: 44px !important;
|
|
|
|
height: 44px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.active > .app-navigation-entry-utils li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.app-navigation-entry-utils button {
|
2017-01-11 23:01:54 +03:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2017-01-22 19:57:10 +03:00
|
|
|
box-shadow: none;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
.app-navigation-entry-utils-menu-button {
|
|
|
|
button {
|
|
|
|
border: 0;
|
|
|
|
opacity: .5;
|
|
|
|
background-color: transparent;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-image: url('../img/actions/more.svg?v=1');
|
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
&:hover button,
|
|
|
|
&:focus button {
|
2016-12-22 13:16:32 +03:00
|
|
|
background-color: transparent;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.app-navigation-entry-utils-counter {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: hidden;
|
|
|
|
text-align: right;
|
|
|
|
font-size: 9pt;
|
|
|
|
width: 38px;
|
|
|
|
line-height: 44px;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
.app-navigation-entry-utils ul, .app-navigation-entry-menu ul {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
2017-01-19 03:49:54 +03:00
|
|
|
|
2017-01-11 15:44:36 +03:00
|
|
|
/* editing an entry */
|
|
|
|
.app-navigation-entry-edit {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
height: 39px;
|
|
|
|
width: 100%;
|
|
|
|
input {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
width: calc(100% - 36px);
|
|
|
|
padding: 5px;
|
|
|
|
margin-right: 0;
|
|
|
|
height: 38px;
|
|
|
|
float: left;
|
2017-03-06 00:38:59 +03:00
|
|
|
border: 1px solid rgba(nc-lighten($color-main-text, 73%), 0.9);
|
2017-01-11 15:44:36 +03:00
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
button,
|
|
|
|
input[type='submit'] {
|
2017-01-11 15:44:36 +03:00
|
|
|
width: 36px;
|
|
|
|
height: 38px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.icon-checkmark {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* APP-CONTENT ---------------------------------------------------------------*/
|
|
|
|
/* Part where the content will be loaded into */
|
|
|
|
#app-content {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
2017-01-11 15:44:36 +03:00
|
|
|
/* no top border for first settings item */
|
|
|
|
> .section:first-child {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
&.with-app-sidebar {
|
|
|
|
margin-right: 27%;
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#app-content-wrapper {
|
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* APP-SIDEBAR ----------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
Sidebar: a sidebar to be used within #app-content
|
|
|
|
have it as first element within app-content in order to shrink other
|
|
|
|
sibling containers properly. Compare Files app for example.
|
|
|
|
*/
|
|
|
|
#app-sidebar {
|
|
|
|
position: fixed;
|
|
|
|
top: 45px;
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
bottom: 0;
|
|
|
|
width: 27%;
|
|
|
|
min-width: 300px;
|
|
|
|
display: block;
|
2017-02-19 21:48:51 +03:00
|
|
|
background: $color-main-background;
|
2017-03-06 00:38:59 +03:00
|
|
|
border-left: 1px solid nc-darken($color-main-background, 8%);
|
2016-12-22 13:16:32 +03:00
|
|
|
-webkit-transition: margin-right 300ms;
|
|
|
|
transition: margin-right 300ms;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
visibility: visible;
|
|
|
|
z-index: 500;
|
2017-01-11 15:44:36 +03:00
|
|
|
&.disappear {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* APP-SETTINGS ---------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* settings area */
|
|
|
|
#app-settings {
|
|
|
|
position: fixed;
|
|
|
|
width: 250px;
|
|
|
|
/* change to 100% when layout positions are absolute */
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 140;
|
2017-01-11 16:03:24 +03:00
|
|
|
&.open #app-settings-content,
|
|
|
|
&.opened #app-settings-content {
|
2016-12-22 13:16:32 +03:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-settings-content {
|
|
|
|
display: none;
|
|
|
|
padding: 10px;
|
2017-02-19 21:48:51 +03:00
|
|
|
background-color: $color-main-background;
|
2016-12-22 13:16:32 +03:00
|
|
|
/* restrict height of settings and make scrollable */
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
2017-03-06 00:38:59 +03:00
|
|
|
border-right: 1px solid nc-darken($color-main-background, 8%);
|
2016-12-22 13:16:32 +03:00
|
|
|
width: 250px;
|
|
|
|
box-sizing: border-box;
|
2017-01-11 15:44:36 +03:00
|
|
|
|
|
|
|
/* display input fields at full width */
|
|
|
|
input[type='text'] {
|
|
|
|
width: 93%;
|
|
|
|
}
|
2017-02-15 21:17:55 +03:00
|
|
|
|
|
|
|
.info-text {
|
|
|
|
padding: 5px 0 7px 22px;
|
2017-02-19 21:48:51 +03:00
|
|
|
color: rgba($color-main-text, .4);
|
2017-02-15 21:17:55 +03:00
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#app-settings-header {
|
2017-03-06 00:38:59 +03:00
|
|
|
border-right: 1px solid nc-darken($color-main-background, 8%);
|
2016-12-22 13:16:32 +03:00
|
|
|
width: 250px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-button {
|
|
|
|
display: block;
|
|
|
|
height: 44px;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-02-19 21:48:51 +03:00
|
|
|
background-color: $color-main-background;
|
2016-12-22 13:16:32 +03:00
|
|
|
background-image: url('../img/actions/settings.svg?v=1');
|
|
|
|
background-position: 14px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 42px;
|
2017-04-07 21:31:26 +03:00
|
|
|
font-weight: 300;
|
2017-01-11 16:03:24 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-02-19 21:48:51 +03:00
|
|
|
background-color: $color-main-background;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
&.opened {
|
|
|
|
&:hover, &:focus {
|
2017-02-19 21:48:51 +03:00
|
|
|
background-color: $color-main-background;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-11 16:03:24 +03:00
|
|
|
/* GENERAL SECTION ---------------------------------------------------------- */
|
2016-12-22 13:16:32 +03:00
|
|
|
.section {
|
|
|
|
display: block;
|
|
|
|
padding: 30px;
|
2017-03-06 00:38:59 +03:00
|
|
|
color: nc-lighten($color-main-text, 33%);
|
2016-12-22 13:16:32 +03:00
|
|
|
margin-bottom: 24px;
|
|
|
|
&.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2017-01-11 16:03:24 +03:00
|
|
|
/* slight position correction of checkboxes and radio buttons */
|
|
|
|
input {
|
|
|
|
&[type='checkbox'],
|
|
|
|
&[type='radio'] {
|
|
|
|
vertical-align: -2px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
.sub-section {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: 27px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.appear {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transition: opacity 500ms ease 0s;
|
|
|
|
-moz-transition: opacity 500ms ease 0s;
|
|
|
|
-ms-transition: opacity 500ms ease 0s;
|
|
|
|
-o-transition: opacity 500ms ease 0s;
|
|
|
|
transition: opacity 500ms ease 0s;
|
|
|
|
&.transparent {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-11 16:03:24 +03:00
|
|
|
/* DROPDOWN ----------------------------------------------------------------- */
|
2016-12-22 13:16:32 +03:00
|
|
|
.dropdown {
|
2017-03-06 00:38:59 +03:00
|
|
|
background: nc-darken($color-main-background, 8%);
|
2016-12-22 13:16:32 +03:00
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
2017-02-21 19:19:23 +03:00
|
|
|
box-shadow: 0 1px 1px $color-box-shadow;
|
2016-12-22 13:16:32 +03:00
|
|
|
display: block;
|
|
|
|
margin-right: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
width: 420px;
|
|
|
|
z-index: 500;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
2017-01-11 16:03:24 +03:00
|
|
|
/* TABS --------------------------------------------------------------------- */
|
2016-12-22 13:16:32 +03:00
|
|
|
.tabHeaders {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 15px;
|
|
|
|
.tabHeader {
|
|
|
|
float: left;
|
|
|
|
padding: 5px;
|
|
|
|
cursor: pointer;
|
2017-03-06 00:38:59 +03:00
|
|
|
color: nc-lighten($color-main-text, 33%);
|
2016-12-22 13:16:32 +03:00
|
|
|
margin-bottom: 1px;
|
|
|
|
a {
|
2017-03-06 00:38:59 +03:00
|
|
|
color: nc-lighten($color-main-text, 33%);
|
2016-12-22 13:16:32 +03:00
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
|
|
|
&.selected {
|
|
|
|
font-weight: 600;
|
2017-03-06 00:38:59 +03:00
|
|
|
border-bottom: 1px solid nc-lighten($color-main-text, 20%);
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
&:hover {
|
2017-03-06 00:38:59 +03:00
|
|
|
border-bottom: 1px solid nc-lighten($color-main-text, 20%);
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
&.selected, &:hover {
|
|
|
|
margin-bottom: 0px;
|
2017-02-19 21:48:51 +03:00
|
|
|
color: $color-main-text;
|
2016-12-22 13:16:32 +03:00
|
|
|
a {
|
|
|
|
margin-bottom: 0px;
|
2017-02-19 21:48:51 +03:00
|
|
|
color: $color-main-text;
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabsContainer {
|
|
|
|
clear: left;
|
|
|
|
.tab {
|
|
|
|
padding: 0 15px 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-11 15:44:36 +03:00
|
|
|
/* POPOVER MENU ------------------------------------------------------------- */
|
2017-01-11 13:59:37 +03:00
|
|
|
.ie,
|
|
|
|
.edge {
|
|
|
|
.bubble, .bubble:after,
|
|
|
|
.popovermenu, .popovermenu:after,
|
|
|
|
#app-navigation .app-navigation-entry-menu,
|
|
|
|
#app-navigation .app-navigation-entry-menu:after {
|
2017-03-06 00:38:59 +03:00
|
|
|
border: 1px solid nc-darken($color-main-background, 8%);
|
2017-01-11 13:59:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble,
|
|
|
|
.app-navigation-entry-menu,
|
2016-12-22 13:16:32 +03:00
|
|
|
.popovermenu {
|
2017-01-11 13:59:37 +03:00
|
|
|
position: absolute;
|
2017-02-19 21:48:51 +03:00
|
|
|
background-color: $color-main-background;
|
2017-03-06 00:38:59 +03:00
|
|
|
color: nc-lighten($color-main-text, 20%);
|
2017-01-11 13:59:37 +03:00
|
|
|
border-radius: 3px;
|
|
|
|
z-index: 110;
|
|
|
|
margin: 5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
right: 0;
|
2017-02-19 21:48:51 +03:00
|
|
|
-webkit-filter: drop-shadow(0 0 5px $color-box-shadow);
|
|
|
|
-moz-filter: drop-shadow(0 0 5px $color-box-shadow);
|
|
|
|
-ms-filter: drop-shadow(0 0 5px $color-box-shadow);
|
|
|
|
-o-filter: drop-shadow(0 0 5px $color-box-shadow);
|
|
|
|
filter: drop-shadow(0 0 5px $color-box-shadow);
|
2017-01-11 13:59:37 +03:00
|
|
|
display: none;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
bottom: 100%;
|
2017-01-11 23:01:54 +03:00
|
|
|
/* Min-width of popover is 36px and arrow width is 20px
|
|
|
|
wich leaves us 8px right and 8px left */
|
|
|
|
right: 8px;
|
2017-01-11 13:59:37 +03:00
|
|
|
/* change this to adjust the arrow position */
|
|
|
|
border: solid transparent;
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2017-02-19 21:48:51 +03:00
|
|
|
border-bottom-color: $color-main-background;
|
2017-01-11 13:59:37 +03:00
|
|
|
border-width: 10px;
|
|
|
|
}
|
|
|
|
/* Center the popover */
|
2017-01-13 17:31:42 +03:00
|
|
|
&.menu-center {
|
2017-01-11 13:59:37 +03:00
|
|
|
transform: translateX(50%);
|
|
|
|
right: 50%;
|
|
|
|
margin-right: 0;
|
|
|
|
&:after {
|
|
|
|
right: 50%;
|
|
|
|
transform: translateX(50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Align the popover to the left */
|
2017-01-13 17:31:42 +03:00
|
|
|
&.menu-left {
|
2017-01-11 13:59:37 +03:00
|
|
|
right: auto;
|
|
|
|
left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
&:after {
|
|
|
|
left: 6px;
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-01-11 15:44:36 +03:00
|
|
|
|
2017-01-11 13:59:37 +03:00
|
|
|
ul {
|
2017-01-11 15:44:36 +03:00
|
|
|
/* Overwrite #app-navigation > ul ul */
|
|
|
|
display: flex !important;
|
2017-01-11 13:59:37 +03:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
> button,
|
2017-01-17 12:11:08 +03:00
|
|
|
> a,
|
|
|
|
> .menuitem {
|
2016-12-22 13:16:32 +03:00
|
|
|
cursor: pointer;
|
2017-01-11 13:59:37 +03:00
|
|
|
line-height: 36px;
|
|
|
|
border: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2017-01-11 20:37:59 +03:00
|
|
|
margin: 0;
|
2017-04-07 21:31:26 +03:00
|
|
|
font-weight: 300;
|
2017-01-22 19:30:38 +03:00
|
|
|
box-shadow: none;
|
2017-01-11 13:59:37 +03:00
|
|
|
/* prevent .action class to break the design */
|
|
|
|
&.action {
|
|
|
|
padding: inherit !important;
|
|
|
|
}
|
|
|
|
> span {
|
|
|
|
cursor: pointer;
|
2017-01-21 21:02:48 +03:00
|
|
|
white-space: nowrap;
|
2017-01-11 13:59:37 +03:00
|
|
|
}
|
|
|
|
> p {
|
|
|
|
width: 150px;
|
|
|
|
line-height: 1.6em;
|
|
|
|
padding: 8px 0;
|
|
|
|
}
|
|
|
|
/* Add padding if contains icon+text */
|
|
|
|
&:not(:empty) {
|
2017-01-11 20:37:59 +03:00
|
|
|
padding: 0 !important;
|
2017-01-11 13:59:37 +03:00
|
|
|
padding-right: 10px !important;
|
|
|
|
}
|
|
|
|
> img {
|
|
|
|
width: 16px;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
2017-03-26 23:09:22 +03:00
|
|
|
.menuitem {
|
2017-03-27 12:23:33 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)' !important;
|
|
|
|
filter: alpha(opacity = 50) !important;
|
|
|
|
opacity: .5 !important;
|
|
|
|
&:hover, &:focus, &.active {
|
2017-03-26 23:09:22 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)' !important;
|
|
|
|
filter: alpha(opacity = 100) !important;
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
}
|
2017-01-11 14:02:41 +03:00
|
|
|
[class^='icon-'],
|
|
|
|
[class*=' icon-']{
|
2017-01-11 13:59:37 +03:00
|
|
|
/* Keep padding to define the width to
|
|
|
|
assure correct position of a possible text */
|
|
|
|
padding: 18px 0 18px 36px;
|
|
|
|
min-width: 0; /* Overwrite icons*/
|
|
|
|
min-height: 0;
|
2017-01-25 17:22:51 +03:00
|
|
|
background-position: 10px center;
|
|
|
|
opacity: 0.7; /* Default button icon override */
|
2016-12-22 13:16:32 +03:00
|
|
|
}
|
|
|
|
}
|
2017-01-11 15:55:56 +03:00
|
|
|
}
|