summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-03 05:48:23 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-03 05:48:23 +0200
commit305a06b1e702ea262402391c80dfd72466581f86 (patch)
tree4687545b9758d74db48ee86b3b8ecb40edebfcf6 /core/css
parent7bac8a32b4e2dc41bd81445330acce82e0456a99 (diff)
downloadnextcloud-server-305a06b1e702ea262402391c80dfd72466581f86.tar.gz
nextcloud-server-305a06b1e702ea262402391c80dfd72466581f86.zip
Jquery ocdialogs to scss and variables implementation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/jquery.ocdialog.scss (renamed from core/css/jquery.ocdialog.css)11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/css/jquery.ocdialog.css b/core/css/jquery.ocdialog.scss
index 2100a3db7a6..efb2cc2f2e3 100644
--- a/core/css/jquery.ocdialog.css
+++ b/core/css/jquery.ocdialog.scss
@@ -1,7 +1,8 @@
.oc-dialog {
- background: #fff;
- color: #333;
- border-radius: 3px; box-shadow: 0 0 7px #888;
+ background: $color-main-background;
+ color: nc-darken($color-main-text, 20%);
+ border-radius: 3px;
+ box-shadow: 0 0 7px $color-box-shadow;
padding: 15px;
z-index: 10000;
font-size: 100%;
@@ -17,7 +18,7 @@
overflow: auto;
}
.oc-dialog-title {
- background: #fff;
+ background: $color-main-background;
margin-left: 12px;
}
.oc-dialog-buttonrow {
@@ -30,7 +31,7 @@
padding-bottom: 0;
box-sizing: border-box;
width: 100%;
- background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
+ background-image: linear-gradient(transparent, $color-main-background);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}