diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-02 08:49:30 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | 64c2e946f4d17e877105116ddc6e02f9c2aa042b (patch) | |
tree | 370cd51990d5e4ab6fea6860bb146acc0e85e319 /settings/css | |
parent | b4a7be20c8837d2ce74b082a6668b8896cf3318f (diff) | |
download | nextcloud-server-64c2e946f4d17e877105116ddc6e02f9c2aa042b.tar.gz nextcloud-server-64c2e946f4d17e877105116ddc6e02f9c2aa042b.zip |
Some code cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/css')
-rw-r--r-- | settings/css/settings.scss | 70 |
1 files changed, 42 insertions, 28 deletions
diff --git a/settings/css/settings.scss b/settings/css/settings.scss index 484e62592ac..99bd4c56922 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -784,12 +784,34 @@ span.version { .app-score-image { height: 14px; } + .actions { + margin-top: 10px; + } } #app-sidebar #app-details-view { - .app-description p { + h2 { + .icon-settings-dark, + svg { + display: inline-block; + width: 16px; + height: 16px; + margin-right: 10px; + opacity: .7; + } + } + .app-level { margin-bottom: 10px; } + .app-author, .app-licence { + color: $color-text-details; + } + .app-dependencies { + margin: 10px 0; + } + .app-description p { + margin: 10px 0; + } .close { position: absolute; top: 0; @@ -797,6 +819,9 @@ span.version { padding: 14px; opacity: 0.5; z-index: 1; + }. + .actions { + display: flex; } } @@ -842,7 +867,7 @@ span.version { } } /* hide app version and level on narrower screens */ -@media only screen and (max-width: 768px) { +@media only screen and (max-width: 900px) { #apps-list.installed { .app-version, .app-level { display: none !important; @@ -850,7 +875,7 @@ span.version { } } -@media only screen and (max-width: 700px) { +@media only screen and (max-width: 500px) { #apps-list.installed .app-groups { display: none !important; } @@ -932,30 +957,15 @@ span.version { list-style-position: inside; } -/* Transition to complete width! */ - -.app { - &:hover, &:active { - max-width: inherit; - } -} - .appslink { text-decoration: underline; } -.score { - color: #666; - font-weight: bold; - font-size: 0.8em; -} - -.appinfo .documentation { - margin-top: 1em; - margin-bottom: 1em; -} #apps-list, #apps-list-search { + .section { + cursor: pointer; + } &.installed { display: table; width: 100%; @@ -974,6 +984,9 @@ span.version { padding: 6px; box-sizing: border-box; } + &.selected { + background-color: nc-darken($color-main-background, 3%); + } } .groups-enable { margin-top: 0; @@ -995,6 +1008,14 @@ span.version { background-size: cover; display: inline-block; } + .actions { + text-align: right; + .icon-loading-small { + display: inline-block; + top: 4px; + margin-right: 10px; + } + } } &:not(.installed) .app-image-icon svg { position: absolute; @@ -1014,9 +1035,6 @@ span.version { position: relative; flex: 0 0 auto; - &.selected { - background-color: nc-darken($color-main-background, 6%); - } h2.app-name { display: block; margin: 8px 0; @@ -1072,10 +1090,6 @@ span.version { } } -.installed .actions { - text-align: right; -} - /* LOG */ #log { white-space: normal; |