From f108ff87f30477f97a05a50b2e82a07243b19cda Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Fri, 14 Aug 2020 17:02:29 -0500 Subject: [UI] Show all body tags --- .../styles/monsterfork/components/status.scss | 84 ++++++++++++++-------- 1 file changed, 55 insertions(+), 29 deletions(-) (limited to 'app/javascript/flavours/glitch/styles/monsterfork/components') diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss index 2976f6807..562be1975 100644 --- a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss +++ b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss @@ -2,7 +2,8 @@ margin-bottom: 1em; } -.status__notice-wrapper:empty { +.status__notice-wrapper:empty, +.status__footers:empty { display: none; } @@ -23,45 +24,70 @@ } } -.status__permissions { +.status__footers { font-size: 12px; margin-top: 1em; - & > summary { - font-size: 12px; - - &:focus, &:active { - outline: none; + & > details { + & > summary { + &:focus, &:active { + outline: none; + } + } + + & > summary > span, + & > ul > li > span, + & > ul > li > a { + color: lighten($dark-text-color, 4%); + padding-left: 8px; } } - & > summary > span, - & > ul > li > span { - color: lighten($dark-text-color, 4%); - padding-left: 8px; - } - - & > ul > li > span > span:first-child { - display: inline-block; - text-transform: capitalize; - min-width: 5em; - } + .status__tags { + & > ul { + display: flex; + flex-direction: row; + flex-wrap: wrap; + } - & > summary > i { - color: #999966; - } + & > ul > li { + list-style: none; + display: inline-block; + width: 50%; + } - & > ul > li.permission-status > i { - color: #99cccc; + & > summary > i, + & > ul > li > i { + color: #669999; + } } - & > ul > li.permission-account > i { - color: #cc99cc; - } + .status__permissions { + & > summary > i { + color: #999966; + } - & > ul > li > span > span, - & > ul > li > span > code { - color: lighten($primary-text-color, 30%); + & > ul > li { + &.permission-status > i { + color: #99cccc; + } + + &.permission-account > i { + color: #cc99cc; + } + + & > span { + & > span, & > code { + color: lighten($primary-text-color, 30%); + } + + & > span:first-child { + display: inline-block; + text-transform: capitalize; + min-width: 5em; + } + } + } } } -- cgit