diff --git a/customize.dist/main.css b/customize.dist/main.css index 2601444ac..76346f5ee 100644 --- a/customize.dist/main.css +++ b/customize.dist/main.css @@ -333,17 +333,17 @@ height: 100px; } /* The container
- needed to position the dropdown content */ -.cp .dropdown-bar { +.dropdown-bar { position: relative; display: inline-block; } -.cp .dropdown-bar .fa { +.dropdown-bar .fa { font-family: FontAwesome; } -.cp .dropdown-bar button .fa-caret-down { +.dropdown-bar button .fa-caret-down { margin-left: 5px; } -.cp .dropdown-bar .dropdown-bar-content { +.dropdown-bar .dropdown-bar-content { display: none; position: absolute; background-color: #f9f9f9; @@ -353,13 +353,13 @@ max-height: 300px; overflow-y: auto; } -.cp .dropdown-bar .dropdown-bar-content.left { +.dropdown-bar .dropdown-bar-content.left { right: 0; } -.cp .dropdown-bar .dropdown-bar-content:hover { +.dropdown-bar .dropdown-bar-content:hover { display: block; } -.cp .dropdown-bar .dropdown-bar-content a { +.dropdown-bar .dropdown-bar-content a { color: black !important; padding: 5px 16px; text-decoration: none; @@ -372,31 +372,31 @@ float: none; text-align: left; } -.cp .dropdown-bar .dropdown-bar-content a:hover { +.dropdown-bar .dropdown-bar-content a:hover { background-color: #f1f1f1; color: black !important; } -.cp .dropdown-bar .dropdown-bar-content hr { +.dropdown-bar .dropdown-bar-content hr { margin: 5px 0px; height: 1px; background: #bbb; } -.cp .dropdown-bar .dropdown-bar-content p { +.dropdown-bar .dropdown-bar-content p { min-width: 160px; padding: 5px; margin: 0; white-space: normal; text-align: left; } -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users { +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users { text-align: baseline; } -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .yourself, -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .anonymous, -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .viewer { +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .yourself, +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .anonymous, +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .viewer { font-style: italic; } -.cp .dropdown-bar .dropdown-bar-content p h2 { +.dropdown-bar .dropdown-bar-content p h2 { font-weight: bold; text-align: center; background-color: #EEEEEE; diff --git a/customize.dist/src/less/dropdown.less b/customize.dist/src/less/dropdown.less index 6ef22f6ee..0d915cf80 100644 --- a/customize.dist/src/less/dropdown.less +++ b/customize.dist/src/less/dropdown.less @@ -1,6 +1,6 @@ /* The container
- needed to position the dropdown content */ -.cp .dropdown-bar { +.dropdown-bar { position: relative; display: inline-block; diff --git a/customize.dist/toolbar.css b/customize.dist/toolbar.css index 6e993df9f..7c5052bfc 100644 --- a/customize.dist/toolbar.css +++ b/customize.dist/toolbar.css @@ -1,15 +1,15 @@ /* The container
- needed to position the dropdown content */ -.cp .dropdown-bar { +.dropdown-bar { position: relative; display: inline-block; } -.cp .dropdown-bar .fa { +.dropdown-bar .fa { font-family: FontAwesome; } -.cp .dropdown-bar button .fa-caret-down { +.dropdown-bar button .fa-caret-down { margin-left: 5px; } -.cp .dropdown-bar .dropdown-bar-content { +.dropdown-bar .dropdown-bar-content { display: none; position: absolute; background-color: #f9f9f9; @@ -19,13 +19,13 @@ max-height: 300px; overflow-y: auto; } -.cp .dropdown-bar .dropdown-bar-content.left { +.dropdown-bar .dropdown-bar-content.left { right: 0; } -.cp .dropdown-bar .dropdown-bar-content:hover { +.dropdown-bar .dropdown-bar-content:hover { display: block; } -.cp .dropdown-bar .dropdown-bar-content a { +.dropdown-bar .dropdown-bar-content a { color: black !important; padding: 5px 16px; text-decoration: none; @@ -38,31 +38,31 @@ float: none; text-align: left; } -.cp .dropdown-bar .dropdown-bar-content a:hover { +.dropdown-bar .dropdown-bar-content a:hover { background-color: #f1f1f1; color: black !important; } -.cp .dropdown-bar .dropdown-bar-content hr { +.dropdown-bar .dropdown-bar-content hr { margin: 5px 0px; height: 1px; background: #bbb; } -.cp .dropdown-bar .dropdown-bar-content p { +.dropdown-bar .dropdown-bar-content p { min-width: 160px; padding: 5px; margin: 0; white-space: normal; text-align: left; } -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users { +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users { text-align: baseline; } -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .yourself, -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .anonymous, -.cp .dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .viewer { +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .yourself, +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .anonymous, +.dropdown-bar .dropdown-bar-content p.cryptpad-dropdown-users .viewer { font-style: italic; } -.cp .dropdown-bar .dropdown-bar-content p h2 { +.dropdown-bar .dropdown-bar-content p h2 { font-weight: bold; text-align: center; background-color: #EEEEEE;