diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-10-24 16:01:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 16:01:13 -0400 |
commit | 9e9bd0dcf6b356d926ff46dc57b76b0d3734d8a6 (patch) | |
tree | ebe2f14944c9e1e0a42b24575989c820aa823315 /ext/bg/css/settings.css | |
parent | 4188adae28a95efc361f00873589beb138514f11 (diff) |
Profile controller refactor (#953)
* Udpate selectors
* Optional remove button
* Add menu
* Refactor ProfileController
* Fix selector
Diffstat (limited to 'ext/bg/css/settings.css')
-rw-r--r-- | ext/bg/css/settings.css | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/ext/bg/css/settings.css b/ext/bg/css/settings.css index fbea04c0..5d522209 100644 --- a/ext/bg/css/settings.css +++ b/ext/bg/css/settings.css @@ -66,66 +66,66 @@ html:root:not([data-options-general-result-output-mode=merge]) #dictionary-main- display: flex; -flex-wrap: wrap; } -.condition-input { +.profile-condition-input-container { flex: 1 1 auto; } -.condition-line-break { +.profile-condition-line-break { flex: 1 0 100%; display: none; } .condition>.input-group-btn { width: auto; } -.condition>.condition-prefix:after { +.condition>.profile-condition-prefix:after { content: "IF"; } -.condition:nth-child(n+2)>.condition-prefix:after { +.condition:nth-child(n+2)>.profile-condition-prefix:after { content: "AND"; } -.condition-prefix { +.profile-condition-prefix { flex: 0 0 auto; } -.condition-prefix, -.condition-group-separator-label { +.profile-condition-prefix, +.profile-condition-group-separator-label { width: 60px; text-align: center; } -.condition-group-separator-label { +.profile-condition-group-separator-label { padding: 6px 12px; font-weight: bold; display: inline-block; } -.condition-type, -.condition-operator { +.profile-condition-type, +.profile-condition-operator { width: auto; text-align: center; text-align-last: center; } -.condition-list>.condition>*:first-child, +.profile-condition-list>.condition>*:first-child, .audio-source-list>.audio-source>*:first-child { border-bottom-left-radius: 0; } -.condition-list>.condition:nth-child(n+2)>*:first-child, +.profile-condition-list>.condition:nth-child(n+2)>*:first-child, .audio-source-list>.audio-source:nth-child(n+2)>*:first-child { border-top-left-radius: 0; } -.condition-list>.condition:nth-child(n+2)>div:last-child>button, +.profile-condition-list>.condition:nth-child(n+2)>div:last-child>button, .audio-source-list>.audio-source:nth-child(n+2)>*:last-child>button { border-top-right-radius: 0; } -.condition-list>.condition:nth-last-child(n+2)>div:last-child>button, +.profile-condition-list>.condition:nth-last-child(n+2)>div:last-child>button, .audio-source-list>.audio-source:nth-last-child(n+2)>*:last-child>button { border-bottom-right-radius: 0; } -.condition-group-options>.condition-add, +.profile-condition-group-options>.profile-condition-add-button, .audio-source-options>.audio-source-add { border-top-left-radius: 0; border-top-right-radius: 0; } -.condition-groups>.condition-group:last-child>.condition-group-separator-label { +.profile-condition-groups>.profile-condition-group:last-child>.profile-condition-group-separator-label { display: none; } @@ -438,10 +438,10 @@ html:root[data-operating-system=openbsd] [data-hide-for-operating-system~=openbs .condition { flex-wrap: wrap; } - .condition-input { + .profile-condition-input-container { order: 2; } - .condition-line-break { + .profile-condition-line-break { display: block; order: 1; } |