Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-25 22:08:57 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-28 11:09:38 +0300
commit26838111eef0d4880e34e94fe73d1c7c43d41b30 (patch)
tree6e82f64009333f3361b7a1979f7f0dba2990ab11 /css
parentb7b6c9e907165a446b8e8ae2a792888f31c1e6e2 (diff)
Move checkbox to change between public and group room to a menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/style.scss71
1 files changed, 40 insertions, 31 deletions
diff --git a/css/style.scss b/css/style.scss
index 8b9779fe6..493f12761 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -937,6 +937,7 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g
.call-controls-container {
display: flex;
+ align-items: center;
.call-button,
.share-link-options {
@@ -972,40 +973,32 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g
}
}
+ .room-moderation-button {
+ /* Needed for proper positioning of the menu. */
+ position: relative;
+ }
+
+ .share-link-options .button,
+ .room-moderation-button .button {
+ cursor: pointer;
+ width: 44px;
+ height: 44px;
+ display: block;
+ background-color: transparent;
+ border: none;
+ margin: 0;
+ opacity: .5;
+
+ &:hover,
+ &:focus,
+ &:active {
+ opacity: 1;
+ }
+ }
+
.share-link-options {
display: flex;
align-items: center;
- .link-checkbox-label {
- white-space: nowrap;
- padding: 12px;
-
- /* If ".icon-loading-small" is set hide the checkbox and show a
- * loading icon instead */
- &.icon-loading-small:before {
- background-image: none !important;
- background-color: transparent !important;
- border-color: transparent !important;
- }
- &.icon-loading-small:after {
- top: 21px;
- left: 23px;
- }
- }
- .button {
- cursor: pointer;
- width: 44px;
- height: 44px;
- display: block;
- background-color: transparent;
- border: none;
- margin: 0;
- opacity: .5;
- &:hover,
- &:focus,
- &:active {
- opacity: 1;
- }
- }
.password-button {
position: relative;
@@ -1034,6 +1027,22 @@ 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 {
+ /* If ".icon-loading-small" is set hide the checkbox and show a
+ * loading icon instead. */
+ &.icon-loading-small:before {
+ background-image: none !important;
+ background-color: transparent !important;
+ border-color: transparent !important;
+ }
+ &.icon-loading-small:after {
+ top: 22px;
+ left: 21px;
+ }
+ }
}
/**