refactore of menus: classes and scss
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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')"
|
||||
>
|
||||
|
||||
@@ -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')"
|
||||
>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user