0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-16 19:25:29 +00:00
nextcloud_server/apps/workflowengine/src/styles/operation.scss
Ferdinand Thiessen f6e6ba4851 refactor(styles): Adjust code style in SCSS sources to match our stylelint config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00

87 lines
1.4 KiB
SCSS

/*!
* 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);
}