diff options
author | Ivan Sein <ivan@nextcloud.com> | 2019-10-04 16:34:21 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-10-07 14:23:54 +0300 |
commit | 5e9124f2e6c1457ff833caf6c429d677e480ec3a (patch) | |
tree | 6a8e743bc243eec27d25c013ce4e2e465ad8b26f /css | |
parent | 034f2b6e32db5f239b7bbe65102c0bad2922a847 (diff) |
Add lobby checkbox instead of radio buttons for enabling lobby
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/publicshare.scss | 2 | ||||
-rw-r--r-- | css/style.scss | 20 |
2 files changed, 20 insertions, 2 deletions
diff --git a/css/publicshare.scss b/css/publicshare.scss index 3c925ea51..e8cc68bb8 100644 --- a/css/publicshare.scss +++ b/css/publicshare.scss @@ -390,7 +390,7 @@ input[type="password"] { /* The specific locator is needed to have higher priority than other * important rules set in the server. */ - input.checkbox + label.link-checkbox-label, + input.checkbox + label.checkbox-label, input.radio + label { /* If ".icon-loading-small" is set hide the checkbox and show a * loading icon instead. */ diff --git a/css/style.scss b/css/style.scss index 84571777f..c4ab5a6ba 100644 --- a/css/style.scss +++ b/css/style.scss @@ -1065,6 +1065,24 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g } } + li.item-has-details { + flex-direction: column; + + > .menuitem-details { + /* Show it closer to its menu item, but further away than the + * following menu item. */ + margin-top: -($outter-margin - 2px); // minus the input margin + margin-bottom: $outter-margin - 2px; // minus the input margin + + /* Lower size and opacity than regular menu items. */ + font-size: small; + opacity: 0.5; + + /* Padding based on the icon. */ + padding-left: $popoveritem-height; + } + } + .menuitem.caption, .menuitem.caption > span { /* Override rule for menu items from server, as in this case the @@ -1110,7 +1128,7 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g /* The specific locator is needed to have higher priority than other * important rules set in the server. */ - input.checkbox + label.link-checkbox-label, + input.checkbox + label.checkbox-label, input.radio + label { /* If ".icon-loading-small" is set hide the checkbox and show a * loading icon instead. */ |