chore(stylelint): fix lint errors

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
Grigorii K. Shartsev 2025-01-21 21:22:34 +01:00
parent e9a6d12940
commit 565e684888
17 changed files with 11 additions and 29 deletions

View file

@ -273,6 +273,7 @@ body .modal-wrapper * {
footer {
transition: width var(--animation-quick);
}
#content-vue:has(#talk-sidebar) ~ footer {
width: calc(100% - 2 * var(--body-container-margin) - clamp(300px, 27vw, 500px));
}

View file

@ -169,13 +169,13 @@ export default {
&__number-input {
display: block;
margin-bottom: calc(var(--default-grid-baseline)*4);
margin-bottom: calc(var(--default-grid-baseline) * 4);
}
&__caption {
font-weight: bold;
display: block;
margin: calc(var(--default-grid-baseline)*3) 0 calc(var(--default-grid-baseline)*2) 0;
margin: calc(var(--default-grid-baseline) * 3) 0 calc(var(--default-grid-baseline) * 2) 0;
}
&__error-hint {

View file

@ -1011,7 +1011,6 @@ export default {
outline: 1px solid #00FF41;
color: #00FF41;
}
position: relative;
img {

View file

@ -157,7 +157,3 @@ export default {
},
}
</script>
<style lang="scss" scoped>
</style>

View file

@ -121,6 +121,3 @@ export default {
},
}
</script>
<style lang="scss" scoped>
</style>

View file

@ -131,6 +131,3 @@ export default {
}
</script>
<style lang="scss" scoped>
</style>

View file

@ -109,6 +109,3 @@ export default {
},
}
</script>
<style lang="scss" scoped>
</style>

View file

@ -84,6 +84,8 @@ export default {
</script>
<style lang="scss" scoped>
@use 'sass:math';
.media-devices-checker {
display: flex;
gap: var(--default-grid-baseline);
@ -117,7 +119,7 @@ export default {
@keyframes equalizer {
@for $i from 0 through 15 {
#{4*$i}% { height: random(70) + 20%; }
#{4 * $i}% { height: math.random(70) + 20%; }
}
}
</style>

View file

@ -150,6 +150,3 @@ export default {
},
}
</script>
<style lang="scss" scoped>
</style>

View file

@ -280,7 +280,6 @@ export default {
.reactions-wrapper {
--minimal-button-width: 48px;
--font-family-emoji: 'Segoe UI Emoji', 'Segoe UI Symbol', 'Segoe UI', 'Apple Color Emoji', 'Twemoji Mozilla', 'Noto Color Emoji', 'EmojiOne Color', 'Android Emoji';
display: flex;
flex-wrap: wrap;
gap: var(--default-grid-baseline);

View file

@ -990,7 +990,6 @@ export default {
.new-message-form {
--emoji-button-size: calc(var(--default-clickable-area) - var(--border-width-input-focused, 2px) * 2);
--emoji-button-radius: calc(var(--border-radius-element, calc(var(--button-size) / 2)) - var(--border-width-input-focused, 2px));
align-items: flex-end;
display: flex;
gap: var(--default-grid-baseline);

View file

@ -215,7 +215,7 @@ export default {
&__title {
overflow: hidden;
// also count preview border
max-width: calc(var(--width) + 2*2px);
max-width: calc(var(--width) + 2 * 2px);
padding: var(--margin);
white-space: nowrap;
text-overflow: ellipsis;

View file

@ -246,7 +246,7 @@ export default {
<style lang="scss" scoped>
.breakout-room-item {
margin-top: calc(var(--default-grid-baseline)*5);
margin-top: calc(var(--default-grid-baseline) * 5);
font-weight: bold;
&__wrapper {

View file

@ -226,10 +226,12 @@ export default {
.solid {
margin: 0;
}
.call-duration-hint {
display: flex;
padding: calc(var(--default-grid-baseline) * 2);
}
.call-time {
display: flex;
justify-content: center;

View file

@ -314,7 +314,6 @@ export default {
<style lang="scss" scoped>
.top-bar {
--border-width: 1px;
display: flex;
flex-wrap: wrap;
gap: 3px;

View file

@ -50,6 +50,3 @@ const removeLabel = computed(() => t('spreed', 'Remove participant {name}', { na
</template>
</NcChip>
</template>
<style lang="scss" scoped>
</style>

View file

@ -6,7 +6,7 @@ const stylelintConfig = require('@nextcloud/stylelint-config')
stylelintConfig.rules['at-rule-no-unknown'] = [
true, {
ignoreAtRules: ['include', 'mixin', 'use'],
ignoreAtRules: ['include', 'mixin', 'use', 'for'],
},
]