diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-10 21:45:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 21:45:59 +0200 |
commit | bf54d0f40db6aa94201243a69cccb18046e5e087 (patch) | |
tree | 1b8105648c384b745aebb8fc52417db32bd6ee0f /apps | |
parent | 996120bab85a65fad9755fcafc2bb8ad4a6b2984 (diff) | |
parent | 89ca22b17006adf033ab1fdff2b0e6353545e54b (diff) | |
download | nextcloud-server-bf54d0f40db6aa94201243a69cccb18046e5e087.tar.gz nextcloud-server-bf54d0f40db6aa94201243a69cccb18046e5e087.zip |
Merge pull request #16324 from nextcloud/bugfix/noid/workflow-dark-theme
Improve dark theme handling in workflow apps
Diffstat (limited to 'apps')
-rw-r--r-- | apps/workflowengine/css/admin.css | 75 | ||||
-rw-r--r-- | apps/workflowengine/css/admin.scss | 86 |
2 files changed, 86 insertions, 75 deletions
diff --git a/apps/workflowengine/css/admin.css b/apps/workflowengine/css/admin.css deleted file mode 100644 index 0c34ffc8097..00000000000 --- a/apps/workflowengine/css/admin.css +++ /dev/null @@ -1,75 +0,0 @@ -.workflowengine .operation { - padding: 5px; - padding-bottom: 20px; - margin-bottom: 20px; - border-bottom: #eee 1px solid; - border-left: rgba(0,0,0,0) 1px solid; -} -.workflowengine .operation.modified { - border-left: rgb(255, 94, 32) 1px solid; -} -.workflowengine .operation button { - margin-bottom: 0; -} -.workflowengine .operation-name { - width: 100%; - max-width: 500px; -} -.workflowengine .operation span.info { - padding: 7px; - color: #eee; -} -.workflowengine .rules .operation:nth-last-child(2) { - margin-bottom: 5px; -} - -.workflowengine .pull-right { - float: right -} - -.workflowengine .operation .msg { - border-radius: 3px; - margin: 3px 3px 3px 0; - padding: 5px; - transition: opacity .5s; -} - -.workflowengine .operation .check:hover { - background-color: #f8f8f8; -} - -.workflowengine .operation-header .operation-name { - align-self: flex-start; - padding: 10px; -} -.workflowengine .operation-header { - display: flex; -} -.workflowengine .operation-header .select2-container { - align-self: flex-end; -} -.workflowengine .operation-header .icon-delete { - margin-left: auto; -} -.workflowengine .operation .button-delete, -.workflowengine .operation .button-delete-check { - opacity: 0.5; - padding: 11px; -} -.workflowengine .operation .button-delete:hover, -.workflowengine .operation .button-delete:focus, -.workflowengine .operation .button-delete-check:hover, -.workflowengine .operation .button-delete-check:focus { - opacity: 1; - cursor: pointer; -} - -.workflowengine .rules .icon-loading-small { - display: inline-block; - margin-right: 5px; -} - -.workflowengine .invalid-input { - border-color: #aa0000; -} - diff --git a/apps/workflowengine/css/admin.scss b/apps/workflowengine/css/admin.scss new file mode 100644 index 00000000000..523bb7f8ba6 --- /dev/null +++ b/apps/workflowengine/css/admin.scss @@ -0,0 +1,86 @@ +.workflowengine { + .pull-right { + float: right + } + + .invalid-input { + border-color: var(--color-error); + } + + .operation { + padding: 5px 5px 20px; + margin-bottom: 20px; + border-bottom: var(--color-border) 1px solid; + border-left: rgba(0, 0, 0, 0) 2px solid; + + &.modified { + border-left: var(--color-warning) 2px solid; + } + + button { + margin-bottom: 0; + } + + span.info { + padding: 7px; + color: var(--color-border); + } + + .msg { + border-radius: 3px; + margin: 3px 3px 3px 0; + padding: 5px; + transition: opacity .5s; + } + + .check { + padding-left: 5px; + &:hover { + background-color: var(--color-background-dark); + } + } + + .button-delete, + .button-delete-check { + opacity: 0.5; + padding: 11px; + + &:hover, + &:focus { + opacity: 1; + cursor: pointer; + } + } + } + + .rules { + .icon-loading-small { + display: inline-block; + margin-right: 5px; + } + + .operation:nth-last-child(2) { + margin-bottom: 5px; + } + } + + .operation-header { + display: flex; + margin-left: 5px; + + .operation-name { + width: 100%; + max-width: 500px; + align-self: flex-start; + padding: 10px; + } + + .select2-container { + align-self: flex-end; + } + + .icon-delete { + margin-left: auto; + } + } +} |