diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2018-08-10 09:38:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-10 09:38:27 +0200 |
commit | 3254b85c123d84276dca3c66883343d7af45a851 (patch) | |
tree | f9adf6a490b9fcec2d419b707109f16b61f07fb2 /settings/css | |
parent | 103a2c30fb29b0d0f026d56eaa58d50cb68323ed (diff) | |
parent | 4ba40385a460cba20784196b1960e4a14aa48b22 (diff) | |
download | nextcloud-server-3254b85c123d84276dca3c66883343d7af45a851.tar.gz nextcloud-server-3254b85c123d84276dca3c66883343d7af45a851.zip |
Merge pull request #10546 from nextcloud/popover-tokens
Popovermenu fix and token settings design fixes
Diffstat (limited to 'settings/css')
-rw-r--r-- | settings/css/settings.scss | 52 |
1 files changed, 13 insertions, 39 deletions
diff --git a/settings/css/settings.scss b/settings/css/settings.scss index 72e69fa240d..f3d51217f01 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -410,6 +410,7 @@ table.nostyle { } } +/* Devices & sessions access & tokens */ #security { table { width: 100%; @@ -420,12 +421,6 @@ table.nostyle { opacity: .5; padding: 10px 10px 10px 0; } - td { - padding: 10px 10px 10px 0; - &:first-child { - padding: 10px; - } - } } .token-list td { &%icon { @@ -441,8 +436,8 @@ table.nostyle { div { opacity: 0.57; - width: inherit; - padding-top: 5px; + width: 44px; + height: 44px; } } border-top: 1px solid var(--color-border); @@ -450,48 +445,27 @@ table.nostyle { max-width: 200px; white-space: nowrap; overflow: hidden; - vertical-align: top; + vertical-align: middle; position: relative; } tr > *:nth-child(3) { text-align: right; } .token-list { - td > a.icon { - + td > a.icon-more { transition: opacity 0.5s; } - a.icon { - margin-top: 4px; + a.icon-more { + padding: 14px; display: block; + width: 44px; + height: 44px; + opacity: .5; } tr { - &:hover td > a.icon, &.active td > a.icon { - opacity: 0.6; - } - } - td div.configure { - display: none; - } - tr.active div.configure { - display: block; - position: absolute; - top: 45px; - right: -5px; - padding: 10px; - } - div.configure:after { - right: 13px; - } - tr.active { - div.configure > * { - margin-top: 5px; - margin-bottom: 5px; - display: inline-block; - } - a.icon-delete { - background-position: left; - padding-left: 20px; + &:hover td > a.icon, + &.active td > a.icon { + opacity: 0.7; } } } |