refactore of menus: classes and scss

This commit is contained in:
Simon Vieille
2025-04-14 20:16:54 +02:00
parent c4a92dbbc3
commit c32d1fffec
19 changed files with 358 additions and 353 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ 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/>.
-->
<template>
<div class="side-menu-search">
<div class="cm-search">
<input
v-model="model"
type="text"
+1 -1
View File
@@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<button
class="side-menu-opener side-menu-closer"
class="cm-opener cm-closer"
:arial-label="t('side_menu', 'Close the menu')"
@click="$emit('click')"
>
+1 -1
View File
@@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<button
class="side-menu-opener"
class="cm-opener"
:arial-label="label"
@click="$emit('click')"
>
+2 -2
View File
@@ -15,9 +15,9 @@ 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/>.
-->
<template>
<div id="side-menu-loader">
<div class="cm-loader">
<div
id="side-menu-loader-bar"
class="cm-loader-bar"
:style="createStyle(width)"
></div>
</div>
+1 -1
View File
@@ -15,7 +15,7 @@ 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/>.
-->
<template>
<div class="side-menu-settings">
<div class="cm-setting">
<a :href="href">
<!--
{{ label }}
+2 -2
View File
@@ -22,11 +22,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:title="label"
>
<img
class="side-menu-app-icon"
class="cm-app-icon"
:src="icon"
:alt="label"
/>
<span class="side-menu-app-text">{{ label }}</span>
<span class="cm-app-text">{{ label }}</span>
</a>
</li>
</template>
+2 -2
View File
@@ -22,11 +22,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:title="label"
>
<img
class="side-menu-app-icon"
class="cm-app-icon"
:src="icon"
:alt="label"
/>
<span class="side-menu-app-text">{{ label }}</span>
<span class="cm-app-text">{{ label }}</span>
</a>
</li>
</template>
+1 -1
View File
@@ -16,8 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<FormSelect
class="cm-settings-form-opener"
v-model="model"
class="cm-settings-form-opener"
:options="options"
/>
</template>
+1 -1
View File
@@ -17,8 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<template>
<div class="cm-settings-form-range">
<em
class="cm-settings-form-range-prepend"
v-if="prepend"
class="cm-settings-form-range-prepend"
>{{ t('side_menu', prepend) }}</em
>
+1 -1
View File
@@ -16,8 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<FormSelect
class="cm-settings-form-size"
v-model="model"
class="cm-settings-form-size"
:options="options"
/>
</template>
+1 -1
View File
@@ -16,8 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<NcCheckboxRadioSwitch
class="cm-settings-form-yesno"
v-model="model"
class="cm-settings-form-yesno"
type="switch"
/>
</template>