feat: updated nav buttons look

This commit is contained in:
NGPixel 2017-05-26 23:01:32 -04:00
parent 6f59ee4d52
commit 6faf058c21
2 changed files with 46 additions and 53 deletions

View File

@ -1,8 +1,11 @@
<template lang="pug"> <template lang="pug">
.modal(v-bind:class='{ "is-active": isShown }') transition(:duration="400")
.modal-background .modal(v-show='isShown', v-cloak)
transition(name='modal-background')
.modal-background(v-show='isShown')
.modal-container .modal-container
.modal-content transition(name='modal-content')
.modal-content(v-show='isShown')
header.is-blue header.is-blue
span Create / Authorize User span Create / Authorize User
p.modal-notify(v-bind:class='{ "is-active": loading }'): i p.modal-notify(v-bind:class='{ "is-active": loading }'): i

View File

@ -68,6 +68,11 @@
flex-grow: 1; flex-grow: 1;
justify-content: flex-end; justify-content: flex-end;
} }
.nav-item {
align-items: stretch;
padding: 0 0 0 10px;
}
} }
.nav-item { .nav-item {
@ -123,40 +128,25 @@
// BUTTONS // BUTTONS
.button { .button {
border: 1px solid mc($primary, '900'); border: none;
background-color: mc($primary, '800'); background-color: mc($primary, '600');
transition: all .4s ease; transition: all .4s ease;
color: #FFF; color: #FFF;
border-radius: 0; border-radius: 0;
height: auto;
&:first-child {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
&:last-child {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
&.is-outlined { &.is-outlined {
background-color: mc($primary, '600'); background-color: mc($primary, '500');
border-color: mc($primary, '800');
color: mc($primary, '100'); color: mc($primary, '100');
} }
&:hover { &:hover {
border-color: mc($primary, '900'); background-color: mc($primary, '700');
background-color: mc($primary, '900');
color: #FFF; color: #FFF;
} }
} }
.button + .button {
margin-left: 1px;
}
// INPUTS // INPUTS
.control { .control {