2017-02-17 18:42:07 +03:00
|
|
|
.nc-theming-main-background {
|
|
|
|
background-color: $color-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nc-theming-main-text {
|
|
|
|
color: $color-primary-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nc-theming-contrast {
|
|
|
|
color: $color-primary-text;
|
|
|
|
}
|
|
|
|
|
2017-09-02 22:48:14 +03:00
|
|
|
@if (lightness($color-primary) > 55) {
|
2017-02-17 18:42:07 +03:00
|
|
|
.searchbox input[type="search"] {
|
2017-04-27 18:52:09 +03:00
|
|
|
background: transparent url('../../../core/img/actions/search.svg') no-repeat 6px center;
|
2017-02-17 18:42:07 +03:00
|
|
|
}
|
|
|
|
#appmenu li a img {
|
|
|
|
-webkit-filter: invert(1);
|
|
|
|
filter: invert(1);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1');
|
|
|
|
}
|
2017-08-03 18:27:24 +03:00
|
|
|
#contactsmenu .icon-contacts {
|
|
|
|
background-image: url('../../../core/img/places/contacts-dark.svg');
|
2017-04-27 18:52:09 +03:00
|
|
|
}
|
|
|
|
#settings .icon-settings-white {
|
|
|
|
background-image: url('../../../core/img/actions/settings-dark.svg');
|
|
|
|
}
|
2017-06-17 11:08:31 +03:00
|
|
|
#appmenu .icon-more-white {
|
|
|
|
background-image: url('../../../core/img/actions/more.svg');
|
|
|
|
}
|
2017-09-02 00:27:34 +03:00
|
|
|
|
|
|
|
#body-login {
|
|
|
|
|
2017-09-05 19:46:57 +03:00
|
|
|
input,
|
|
|
|
#alternative-logins li a {
|
2017-09-02 00:27:34 +03:00
|
|
|
border: 1px solid nc-lighten($color-primary-text, 50%);
|
|
|
|
}
|
2017-09-05 19:46:57 +03:00
|
|
|
input.primary,
|
|
|
|
#alternative-logins li a {
|
2017-09-02 00:27:34 +03:00
|
|
|
background-color: $color-primary;
|
|
|
|
}
|
2017-09-05 19:46:57 +03:00
|
|
|
a,
|
|
|
|
label,
|
|
|
|
p,
|
|
|
|
#alternative-logins legend {
|
2017-09-02 00:27:34 +03:00
|
|
|
color: $color-primary-text !important;
|
|
|
|
}
|
|
|
|
input[type='checkbox'].checkbox--white + label:before {
|
|
|
|
border-color: nc-darken($color-primary-element, 40%) !important;
|
|
|
|
}
|
|
|
|
input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
|
|
|
|
input[type='checkbox'].checkbox--white:focus + label:before {
|
|
|
|
border-color: nc-darken($color-primary-element, 30%) !important;
|
|
|
|
}
|
|
|
|
input[type='checkbox'].checkbox--white:checked + label:before {
|
|
|
|
border-color: nc-darken($color-primary-element, 30%) !important;
|
|
|
|
background-image: url('../../../core/img/actions/checkbox-mark.svg');
|
|
|
|
background-color: nc-darken($color-primary-element, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
2017-02-17 18:42:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Colorized svg images */
|
|
|
|
.icon-file, .icon-filetype-text {
|
2017-04-27 18:52:09 +03:00
|
|
|
background-image: url(./img/core/filetypes/text.svg?v=#{$theming-cachebuster});
|
2017-02-17 18:42:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-folder, .icon-filetype-folder {
|
|
|
|
background-image: url(./img/core/filetypes/folder.svg?v=#{$theming-cachebuster});
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-filetype-folder-drag-accept {
|
|
|
|
background-image: url(./img/core/filetypes/folder-drag-accept.svg?v=#{$theming-cachebuster}) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* override styles for login screen in guest.css */
|
2017-06-07 17:06:19 +03:00
|
|
|
#header .logo {
|
2017-05-05 06:32:32 +03:00
|
|
|
background-image: url(#{$image-logo});
|
2017-06-30 14:27:33 +03:00
|
|
|
@if $theming-logo-mime != '' {
|
|
|
|
background-size: contain;
|
|
|
|
}
|
2017-02-17 18:42:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#body-login,
|
2017-05-09 19:21:41 +03:00
|
|
|
#firstrunwizard .firstrunwizard-header,
|
|
|
|
#theming-preview {
|
2017-05-05 06:32:32 +03:00
|
|
|
background-image: url(#{$image-login-background});
|
2017-02-17 18:42:07 +03:00
|
|
|
background-color: $color-primary;
|
|
|
|
}
|
|
|
|
|
2017-09-05 19:46:57 +03:00
|
|
|
input.primary,
|
|
|
|
#alternative-logins li a {
|
2017-08-11 16:11:47 +03:00
|
|
|
background-color: $color-primary-element;
|
|
|
|
border: 1px solid $color-primary-text;
|
2017-02-17 18:42:07 +03:00
|
|
|
color: $color-primary-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
@if (lightness($color-primary) > 50) {
|
2017-08-03 20:18:17 +03:00
|
|
|
#body-login #submit-icon.icon-confirm-white {
|
2017-04-27 18:52:09 +03:00
|
|
|
background-image: url('../../../core/img/actions/confirm.svg');
|
2017-02-17 18:42:07 +03:00
|
|
|
}
|
2016-10-12 17:45:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// plain background color for login page
|
|
|
|
@if $image-login-plain == 'true' {
|
|
|
|
#body-login, #firstrunwizard .firstrunwizard-header, #theming-preview {
|
|
|
|
background-image: none !important;
|
|
|
|
background-color: $color-primary;
|
|
|
|
}
|
|
|
|
#body-login {
|
|
|
|
|
|
|
|
a, label, p {
|
|
|
|
color: $color-primary-text !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2017-05-16 16:53:54 +03:00
|
|
|
}
|
2017-08-11 12:04:22 +03:00
|
|
|
|
|
|
|
@if ($color-primary == #ffffff) {
|
|
|
|
/* show grey border below header */
|
|
|
|
#body-user #header,
|
|
|
|
#body-settings #header,
|
|
|
|
#body-public #header {
|
|
|
|
border-bottom: 1px solid #ebebeb;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* show triangle in header in grey */
|
|
|
|
#appmenu li a.active:before,
|
|
|
|
.header-right #settings #expand:before {
|
|
|
|
border-bottom-color:#ebebeb;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* show border around quota bar in files app */
|
|
|
|
.app-files #quota .quota-container {
|
|
|
|
border: 1px solid #ebebeb;
|
|
|
|
}
|
|
|
|
}
|