UI updates
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<script>
|
||||
import '../sass/sass.js'
|
||||
import AppNavigation from 'zero/navigation.vue'
|
||||
import AppNavigation from './navigation.vue'
|
||||
import AppBar from 'zero/bar.vue'
|
||||
import AppLogin from 'zero/pages/login/login.vue'
|
||||
import AppOverlays from 'zero/components/overlays/overlay-holder.vue'
|
||||
|
||||
@@ -105,9 +105,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ui-property.is-text > .ui-property-content
|
||||
.ui-property.is-text
|
||||
{
|
||||
margin-top: 2px;
|
||||
grid-gap: 2px;
|
||||
}
|
||||
|
||||
.ui-property.full-width > .ui-property-content,
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<p v-localize:html="config.text"></p>
|
||||
<ui-error ref="error" style="margin-top: 25px;" />
|
||||
<div class="app-confirm-buttons">
|
||||
<ui-button type="light" :label="config.closeLabel" :disabled="state == 'loading'" @click="config.close"></ui-button>
|
||||
<ui-button :type="config.confirmType" :state="state" :label="config.confirmLabel" @click="confirm"></ui-button>
|
||||
<ui-button type="light" :label="config.closeLabel" :disabled="state == 'loading'" @click="config.close"></ui-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -70,7 +70,7 @@
|
||||
<style lang="scss">
|
||||
.app-confirm-buttons
|
||||
{
|
||||
margin-top: 30px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.app-confirm p
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<transition-group name="overlay" :duration="600">
|
||||
<div class="app-overlay-outer" :display="instance.display" v-for="(instance, index) in instances" :key="instance.id" :style="{ transform: instance.display !== 'editor' ? null : 'translateX(' + (editorLength - index - 1) * -60 + 'px)' }">
|
||||
<div class="app-overlay-bg" @click="close(instance)"></div>
|
||||
<dialog open class="app-overlay" :data-alias="instance.alias" :style="{ width: instance.width ? (instance.width + 'px') : null }" :class="'theme-' + instance.theme" :display="instance.display">
|
||||
<div open class="app-overlay" :data-alias="instance.alias" :style="{ width: instance.width ? (instance.width + 'px') : null }" :class="'theme-' + instance.theme" :display="instance.display">
|
||||
<component :is="instance.component" :model.sync="instance.model" :config="instance" v-bind="instance"></component>
|
||||
</dialog>
|
||||
</div>
|
||||
</div>
|
||||
</transition-group>
|
||||
</div>
|
||||
@@ -57,7 +57,7 @@
|
||||
bottom: 0;
|
||||
z-index: 5;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
transition: transform 0.4s ease-out;
|
||||
|
||||
& + .app-overlay-outer .app-overlay
|
||||
@@ -83,11 +83,13 @@
|
||||
width: auto;
|
||||
height: auto;
|
||||
background: var(--color-overlay);
|
||||
border-radius: var(--radius);
|
||||
border-bottom-right-radius: var(--radius);
|
||||
border-bottom-left-radius: var(--radius);
|
||||
border: none !important;
|
||||
box-shadow: var(--shadow-overlay-dialog);
|
||||
padding: var(--padding);
|
||||
text-align: center;
|
||||
padding-top: 40px;
|
||||
text-align: left;
|
||||
position: relative;
|
||||
-webkit-backface-visibility: hidden;
|
||||
z-index: 3;
|
||||
@@ -104,6 +106,11 @@
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.app-overlay .ui-headline
|
||||
{
|
||||
margin-bottom: 0.4em;
|
||||
}
|
||||
|
||||
.app-overlay[display="dialog"] .ui-form-loading
|
||||
{
|
||||
height: 200px;
|
||||
@@ -153,7 +160,7 @@
|
||||
.app-overlay
|
||||
{
|
||||
opacity: 0;
|
||||
transform: scale(0.95);
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
|
||||
.app-overlay[display="editor"]
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<img class="-image" v-if="userAvatar" :src="userAvatar" :alt="user.name" />
|
||||
<span class="-image" v-if="!userAvatar"><i class="fth-user"></i></span>
|
||||
<p class="-text"><strong>{{user.name}}</strong></p>
|
||||
<ui-icon symbol="fth-chevron-down" class="-arrow" />
|
||||
<ui-icon symbol="fth-more-horizontal" class="-arrow" />
|
||||
</button>
|
||||
</template>
|
||||
<ui-dropdown-button label="Edit" icon="fth-edit-2" @click="editUser" />
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 360px;
|
||||
background: var(--color-bg-shade-2);
|
||||
background: var(--color-bg-shade-3);
|
||||
z-index: -1;
|
||||
margin-left: 0;
|
||||
display: flex;
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
&.is-active
|
||||
{
|
||||
background: var(--color-bg-shade-3);
|
||||
background: var(--color-bg-shade-4);
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 var(--padding-m);
|
||||
margin: -3px 0 0;
|
||||
margin: 0;
|
||||
|
||||
.theme-rounded &
|
||||
{
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
img
|
||||
{
|
||||
height: 28px;
|
||||
height: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
{
|
||||
margin-bottom: var(--padding-s);
|
||||
border-bottom: 1px solid var(--color-line-onbg);
|
||||
background: var(--color-bg-shade-2);
|
||||
background: var(--color-bg-shade-3);
|
||||
|
||||
.ui-button.type-light
|
||||
{
|
||||
@@ -262,8 +262,9 @@ a.app-nav-child
|
||||
|
||||
.app-nav-account
|
||||
{
|
||||
padding: var(--padding);
|
||||
padding-top: var(--padding-xs);
|
||||
padding: var(--padding-m);
|
||||
border-top: 1px solid var(--color-line-onbg);
|
||||
//padding-top: var(--padding-xs);
|
||||
}
|
||||
|
||||
.app-nav-account-button
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
$color-bg-shade-7: #878787;
|
||||
|
||||
// misc colors
|
||||
$color-overlay-shade: rgba(0, 0, 0, 0.15);
|
||||
$color-overlay-shade: rgba(0, 0, 0, 0.2);
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user