summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-10-04 11:28:43 +0200
committerGitHub <noreply@github.com>2017-10-04 11:28:43 +0200
commite95e7dca277d9d2112149b84c6547acb1a37b5fd (patch)
tree78a2575c186ee01a878093a7bbb93996fa5100c0
parent3d981c0d4091c685b32eb686b81b2ff512a802fa (diff)
parent305a06b1e702ea262402391c80dfd72466581f86 (diff)
downloadnextcloud-server-e95e7dca277d9d2112149b84c6547acb1a37b5fd.tar.gz
nextcloud-server-e95e7dca277d9d2112149b84c6547acb1a37b5fd.zip
Merge pull request #6733 from nextcloud/jquery-dialogs-to-scss
Jquery ocdialogs to scss and variables implementation
-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;
}