Rename .noshadow to .has-no-shadow
This commit is contained in:
parent
e960202607
commit
4f872c92d8
18 changed files with 48 additions and 43 deletions
|
@ -44,7 +44,7 @@
|
||||||
<img :src="userAvatar" alt="" class="avatar"/>
|
<img :src="userAvatar" alt="" class="avatar"/>
|
||||||
<div class="dropdown is-right is-active">
|
<div class="dropdown is-right is-active">
|
||||||
<div class="dropdown-trigger">
|
<div class="dropdown-trigger">
|
||||||
<button @click.stop="userMenuActive = !userMenuActive" class="button noshadow">
|
<button @click.stop="userMenuActive = !userMenuActive" class="button has-no-shadow">
|
||||||
<span class="username">{{ userInfo.name !== '' ? userInfo.name : userInfo.username }}</span>
|
<span class="username">{{ userInfo.name !== '' ? userInfo.name : userInfo.username }}</span>
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="chevron-down"/>
|
<icon icon="chevron-down"/>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="update-notification" v-if="updateAvailable">
|
<div class="update-notification" v-if="updateAvailable">
|
||||||
<p>There is an update for Vikunja available!</p>
|
<p>There is an update for Vikunja available!</p>
|
||||||
<a @click="refreshApp()" class="button is-primary noshadow">Update Now</a>
|
<a @click="refreshApp()" class="button is-primary has-no-shadow">Update Now</a>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
</p>
|
</p>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button @click="migrate" class="button is-primary">I am sure, please start migrating now!</button>
|
<button @click="migrate" class="button is-primary">I am sure, please start migrating now!</button>
|
||||||
<router-link :to="{name: 'home'}" class="button is-text has-text-danger is-inverted noshadow underline-none">Cancel</router-link>
|
<router-link :to="{name: 'home'}" class="button is-text has-text-danger is-inverted has-no-shadow underline-none">Cancel</router-link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<button
|
<button
|
||||||
:key="'action_'+i"
|
:key="'action_'+i"
|
||||||
@click="action.callback"
|
@click="action.callback"
|
||||||
class="button noshadow is-small" v-for="(action, i) in props.item.data.actions">
|
class="button has-no-shadow is-small" v-for="(action, i) in props.item.data.actions">
|
||||||
{{ action.title }}
|
{{ action.title }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<slot name="text"></slot>
|
<slot name="text"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button @click="$emit('close')" class="button is-text has-text-danger is-inverted noshadow underline-none">Cancel</button>
|
<button @click="$emit('close')" class="button is-text has-text-danger is-inverted has-no-shadow underline-none">Cancel</button>
|
||||||
<button @click="$emit('submit')" class="button is-primary noshadow">Do it!</button>
|
<button @click="$emit('submit')" class="button is-primary has-no-shadow">Do it!</button>
|
||||||
</div>
|
</div>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<input :value="getShareLink(s.hash)" class="input" readonly type="text"/>
|
<input :value="getShareLink(s.hash)" class="input" readonly type="text"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<a @click="copy(getShareLink(s.hash))" class="button is-primary noshadow" v-tooltip="'Copy to clipboard'">
|
<a @click="copy(getShareLink(s.hash))" class="button is-primary has-no-shadow" v-tooltip="'Copy to clipboard'">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<icon icon="paste"/>
|
<icon icon="paste"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
v-model="newTaskTitle"
|
v-model="newTaskTitle"
|
||||||
/>
|
/>
|
||||||
</transition>
|
</transition>
|
||||||
<button @click="showCreateNewTask" class="button is-primary noshadow">
|
<button @click="showCreateNewTask" class="button is-primary has-no-shadow">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -58,19 +58,6 @@
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.noshadow {
|
|
||||||
&,
|
|
||||||
&.is-hovered,
|
|
||||||
&:hover,
|
|
||||||
&.is-active,
|
|
||||||
&.is-focused,
|
|
||||||
&:active,
|
|
||||||
&:focus,
|
|
||||||
&:focus:not(:active) {
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.is-small {
|
&.is-small {
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
@import '../../../node_modules/bulma/bulma';
|
@import "../../../node_modules/bulma/bulma";
|
||||||
|
|
||||||
@import 'fonts';
|
@import "fonts";
|
||||||
|
|
||||||
@import 'variables-derived';
|
@import "variables-derived";
|
||||||
|
|
||||||
*, *:hover, *:active, *:focus {
|
*,
|
||||||
|
*:hover,
|
||||||
|
*:active,
|
||||||
|
*:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,12 +19,13 @@
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
:focus-visible, :-moz-focusring {
|
:focus-visible,
|
||||||
|
:-moz-focusring {
|
||||||
box-shadow: 0 0 0 2px rgba($primary, 0.5);
|
box-shadow: 0 0 0 2px rgba($primary, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: url('../../public/images/llama.svg') no-repeat bottom left fixed $light-background;
|
background: url("../../public/images/llama.svg") no-repeat bottom left fixed $light-background;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
@media screen and (max-width: $tablet) {
|
||||||
|
@ -31,13 +35,17 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
font-family: $vikunja-font;
|
font-family: $vikunja-font;
|
||||||
font-weight: 400 !important;
|
font-weight: 400 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|
||||||
padding-left: 2rem !important;
|
padding-left: 2rem !important;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
@ -81,7 +89,8 @@ button.table {
|
||||||
.pagination {
|
.pagination {
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
|
|
||||||
.pagination-previous, .pagination-next {
|
.pagination-previous,
|
||||||
|
.pagination-next {
|
||||||
&:not(:disabled):hover {
|
&:not(:disabled):hover {
|
||||||
background: $button-background-color;
|
background: $button-background-color;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -96,8 +105,17 @@ button.table {
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-no-shadow {
|
.has-no-shadow {
|
||||||
|
&,
|
||||||
|
&.is-hovered,
|
||||||
|
&:hover,
|
||||||
|
&.is-active,
|
||||||
|
&.is-focused,
|
||||||
|
&:active,
|
||||||
|
&:focus,
|
||||||
|
&:focus:not(:active) {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.is-fullwidth {
|
.is-fullwidth {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
v-model="label.title"/>
|
v-model="label.title"/>
|
||||||
</p>
|
</p>
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<button class="button is-primary noshadow" type="submit">
|
<button class="button is-primary has-no-shadow" type="submit">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
v-model="list.title"/>
|
v-model="list.title"/>
|
||||||
</p>
|
</p>
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<button :disabled="list.title === ''" @click="newList()" class="button is-primary noshadow">
|
<button :disabled="list.title === ''" @click="newList()" class="button is-primary has-no-shadow">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a
|
<a
|
||||||
@click="toggleShowNewTaskInput(bucket.id)"
|
@click="toggleShowNewTaskInput(bucket.id)"
|
||||||
class="button noshadow is-transparent is-fullwidth has-text-centered"
|
class="button has-no-shadow is-transparent is-fullwidth has-text-centered"
|
||||||
v-if="!showNewTaskInput[bucket.id]">
|
v-if="!showNewTaskInput[bucket.id]">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
|
@ -224,7 +224,7 @@
|
||||||
/>
|
/>
|
||||||
<a
|
<a
|
||||||
@click="() => showNewBucketInput = true"
|
@click="() => showNewBucketInput = true"
|
||||||
class="button noshadow is-transparent is-fullwidth has-text-centered" v-if="!showNewBucketInput">
|
class="button has-no-shadow is-transparent is-fullwidth has-text-centered" v-if="!showNewBucketInput">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<button
|
<button
|
||||||
:class="{'is-loading': taskCollectionService.loading}"
|
:class="{'is-loading': taskCollectionService.loading}"
|
||||||
@click="searchTasks"
|
@click="searchTasks"
|
||||||
class="button noshadow is-primary">
|
class="button has-no-shadow is-primary">
|
||||||
Search
|
Search
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
v-model="namespace.title"/>
|
v-model="namespace.title"/>
|
||||||
</p>
|
</p>
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<button :disabled="namespace.title === ''" @click="newNamespace()" class="button is-primary noshadow">
|
<button :disabled="namespace.title === ''" @click="newNamespace()" class="button is-primary has-no-shadow">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
/>
|
/>
|
||||||
</h3>
|
</h3>
|
||||||
<div v-if="!showAll">
|
<div v-if="!showAll">
|
||||||
<a @click="showTodaysTasks()" class="button noshadow mr-2">Today</a>
|
<a @click="showTodaysTasks()" class="button has-no-shadow mr-2">Today</a>
|
||||||
<a @click="setDatesToNextWeek()" class="button noshadow mr-2">Next Week</a>
|
<a @click="setDatesToNextWeek()" class="button has-no-shadow mr-2">Next Week</a>
|
||||||
<a @click="setDatesToNextMonth()" class="button noshadow">Next Month</a>
|
<a @click="setDatesToNextMonth()" class="button has-no-shadow">Next Month</a>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="!taskService.loading && (!hasUndoneTasks || !tasks || tasks.length === 0)">
|
<template v-if="!taskService.loading && (!hasUndoneTasks || !tasks || tasks.length === 0)">
|
||||||
<h3 class="nothing">Nothing to do - Have a nice day!</h3>
|
<h3 class="nothing">Nothing to do - Have a nice day!</h3>
|
||||||
|
|
|
@ -319,7 +319,7 @@
|
||||||
<span class="icon is-small"><icon icon="fill-drip"/></span>
|
<span class="icon is-small"><icon icon="fill-drip"/></span>
|
||||||
Set task color
|
Set task color
|
||||||
</a>
|
</a>
|
||||||
<a @click="showDeleteModal = true" class="button is-danger is-outlined noshadow has-no-border">
|
<a @click="showDeleteModal = true" class="button is-danger is-outlined has-no-shadow has-no-border">
|
||||||
<span class="icon is-small"><icon icon="trash-alt"/></span>
|
<span class="icon is-small"><icon icon="trash-alt"/></span>
|
||||||
Delete task
|
Delete task
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
v-model="team.name"/>
|
v-model="team.name"/>
|
||||||
</p>
|
</p>
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<button class="button is-primary noshadow" type="submit">
|
<button class="button is-primary has-no-shadow" type="submit">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -248,7 +248,7 @@
|
||||||
<input type="text" v-model="caldavUrl" class="input" readonly/>
|
<input type="text" v-model="caldavUrl" class="input" readonly/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<a @click="copy(caldavUrl)" class="button is-primary noshadow" v-tooltip="'Copy to clipboard'">
|
<a @click="copy(caldavUrl)" class="button is-primary has-no-shadow" v-tooltip="'Copy to clipboard'">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<icon icon="paste"/>
|
<icon icon="paste"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Add table
Reference in a new issue