diff options
Diffstat (limited to 'apps/workflowengine/src/styles/operation.scss')
-rw-r--r-- | apps/workflowengine/src/styles/operation.scss | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/apps/workflowengine/src/styles/operation.scss b/apps/workflowengine/src/styles/operation.scss new file mode 100644 index 00000000000..b62ac16d6b4 --- /dev/null +++ b/apps/workflowengine/src/styles/operation.scss @@ -0,0 +1,87 @@ +/*! + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +.actions__item { + display: flex; + flex-wrap: wrap; + flex-direction: column; + flex-grow: 1; + padding: 10px; + border-radius: var(--border-radius-large); + margin-inline: -1px 20px; + margin-bottom: 20px; +} + +.actions__item .icon { + display: block; + width: 100%; + height: 50px; + background-size: 50px 50px; + background-position: center center; + margin-top: 10px; + margin-bottom: 10px; + background-repeat: no-repeat; +} + +.actions__item__description { + text-align: center; + flex-grow: 1; + display: flex; + flex-direction: column; + align-items: center; +} + +.actions__item_options { + width: 100%; + margin-top: 10px; + padding-inline-start: 60px; +} + +h3, small { + padding: 6px; + display: block; +} + +h3 { + margin: 0; + padding: 0; + font-weight: 600; +} + +small { + font-size: 10pt; + flex-grow: 1; +} + +.colored:not(.more) { + background-color: var(--color-primary-element); + h3, small { + color: var(--color-primary-element-text) + } +} + +.actions__item:not(.colored) { + flex-direction: row; + + .actions__item__description { + padding-top: 5px; + text-align: start; + width: calc(100% - 105px); + small { + padding: 0; + } + } + .icon { + width: 50px; + margin: 0; + margin-inline-end: 10px; + &:not(.icon-invert) { + filter: var(--background-invert-if-bright); + } + } +} + +.colored .icon-invert { + filter: var(--background-invert-if-bright); +} |