UNPKG

@nextcloud/vue

Version:
22 lines (21 loc) 6.25 kB
@charset "UTF-8";/** * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com> * * @author John Molakvoæ <skjnldsv@protonmail.com> * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */.material-design-icon[data-v-a6f82e18]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-radio-switch[data-v-a6f82e18]{display:flex;align-items:center}.checkbox-radio-switch__input[data-v-a6f82e18]{position:absolute;z-index:-1;opacity:0!important;width:var(--icon-size);height:var(--icon-size);margin:4px 14px}.checkbox-radio-switch__input:focus-visible+label[data-v-a6f82e18]{outline:2px solid var(--color-primary-element)!important}.checkbox-radio-switch__label[data-v-a6f82e18]{display:flex;align-items:center;flex-direction:row;gap:4px;-webkit-user-select:none;user-select:none;min-height:44px;border-radius:44px;padding:4px 14px;width:100%;max-width:fit-content}.checkbox-radio-switch__label[data-v-a6f82e18],.checkbox-radio-switch__label *[data-v-a6f82e18]{cursor:pointer}.checkbox-radio-switch__label-text[data-v-a6f82e18]:empty{display:none}.checkbox-radio-switch__icon>*[data-v-a6f82e18]{color:var(--color-primary-element);width:var(--icon-size);height:var(--icon-size)}.checkbox-radio-switch--disabled .checkbox-radio-switch__label[data-v-a6f82e18]{opacity:.5}.checkbox-radio-switch--disabled .checkbox-radio-switch__label .checkbox-radio-switch__icon>*[data-v-a6f82e18]{color:var(--color-main-text)}.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__label[data-v-a6f82e18],.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked) .checkbox-radio-switch__label[data-v-a6f82e18]:hover{background-color:var(--color-background-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__label[data-v-a6f82e18],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__label[data-v-a6f82e18]:hover{background-color:var(--color-primary-element-light-hover)}.checkbox-radio-switch-switch:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*[data-v-a6f82e18]{color:var(--color-text-maxcontrast)}.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked .checkbox-radio-switch__icon>*[data-v-a6f82e18]{color:var(--color-primary-element-light)}.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-a6f82e18]{border:2px solid var(--color-border-maxcontrast);overflow:hidden}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-a6f82e18]{font-weight:700}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked label[data-v-a6f82e18]{background-color:var(--color-primary-element-light)}.checkbox-radio-switch--button-variant .checkbox-radio-switch__label-text[data-v-a6f82e18]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.checkbox-radio-switch--button-variant:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*[data-v-a6f82e18]{color:var(--color-main-text)}.checkbox-radio-switch--button-variant .checkbox-radio-switch__icon[data-v-a6f82e18]:empty{display:none}.checkbox-radio-switch--button-variant[data-v-a6f82e18]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),.checkbox-radio-switch--button-variant .checkbox-radio-switch__label[data-v-a6f82e18]{border-radius:calc(var(--default-clickable-area) / 2)}.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__label[data-v-a6f82e18]{flex-basis:100%;max-width:unset}.checkbox-radio-switch--button-variant-v-grouped[data-v-a6f82e18]:first-of-type{border-top-left-radius:calc(var(--default-clickable-area) / 2 + 2px);border-top-right-radius:calc(var(--default-clickable-area) / 2 + 2px)}.checkbox-radio-switch--button-variant-v-grouped[data-v-a6f82e18]:last-of-type{border-bottom-left-radius:calc(var(--default-clickable-area) / 2 + 2px);border-bottom-right-radius:calc(var(--default-clickable-area) / 2 + 2px)}.checkbox-radio-switch--button-variant-v-grouped[data-v-a6f82e18]:not(:last-of-type){border-bottom:0!important}.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__label[data-v-a6f82e18]{margin-bottom:2px}.checkbox-radio-switch--button-variant-v-grouped[data-v-a6f82e18]:not(:first-of-type){border-top:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-a6f82e18]:first-of-type{border-top-left-radius:calc(var(--default-clickable-area) / 2 + 2px);border-bottom-left-radius:calc(var(--default-clickable-area) / 2 + 2px)}.checkbox-radio-switch--button-variant-h-grouped[data-v-a6f82e18]:last-of-type{border-top-right-radius:calc(var(--default-clickable-area) / 2 + 2px);border-bottom-right-radius:calc(var(--default-clickable-area) / 2 + 2px)}.checkbox-radio-switch--button-variant-h-grouped[data-v-a6f82e18]:not(:last-of-type){border-right:0!important}.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__label[data-v-a6f82e18]{margin-right:2px}.checkbox-radio-switch--button-variant-h-grouped[data-v-a6f82e18]:not(:first-of-type){border-left:0!important}.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__label-text[data-v-a6f82e18]{text-align:center}.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__label[data-v-a6f82e18]{flex-direction:column;justify-content:center;width:100%;margin:0;gap:0}