summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-18 13:12:03 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-19 23:53:19 +0200
commite5f08620d4bc285087704c9a018bd7fb0a28bdfb (patch)
treebffeb9cce8aea1da1faf3da52d557d2c593f5c78 /core/css
parent7fdba6f607a9d13284c09b4c8888b671ca07d517 (diff)
downloadnextcloud-server-e5f08620d4bc285087704c9a018bd7fb0a28bdfb.tar.gz
nextcloud-server-e5f08620d4bc285087704c9a018bd7fb0a28bdfb.zip
Better design for core search, fixes and style to scss
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/styles.scss47
1 files changed, 25 insertions, 22 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 736713c3e7a..57333689750 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -299,32 +299,35 @@ body {
overflow-x: auto;
}
-#emptycontent, .emptycontent {
+/* EMPTY CONTENT DISPLAY ------------------------------------------------------------ */
+
+#emptycontent,
+.emptycontent {
color: nc-lighten($color-main-text, 53%);
text-align: center;
margin-top: 30vh;
width: 100%;
-}
-
-#app-sidebar #emptycontent, #app-sidebar .emptycontent {
- margin-top: 10vh;
-}
-
-#emptycontent.emptycontent-search, .emptycontent.emptycontent-search {
- position: static;
-}
-
-#emptycontent h2, .emptycontent h2 {
- margin-bottom: 10px;
- line-height: 150%;
-}
-
-#emptycontent [class^='icon-'], .emptycontent [class^='icon-'], #emptycontent [class*=' icon-'], .emptycontent [class*=' icon-'] {
- background-size: 64px;
- height: 64px;
- width: 64px;
- margin: 0 auto 15px;
- opacity: .4;
+ #app-sidebar & {
+ margin-top: 10vh;
+ }
+ .emptycontent-search {
+ position: static;
+ }
+ h2 {
+ margin-bottom: 10px;
+ line-height: 150%;
+ }
+ [class^='icon-'],
+ [class*='icon-'] {
+ background-size: 64px;
+ height: 64px;
+ width: 64px;
+ margin: 0 auto 15px;
+ &:not([class^='icon-loading']),
+ &:not([class*='icon-loading']) {
+ opacity: .4;
+ }
+ }
}
/* LOG IN & INSTALLATION ------------------------------------------------------------ */