refactor css for visibility tray

This commit is contained in:
taehoon 2019-05-15 16:51:30 -04:00
parent facf076d47
commit 9e6a91e755
3 changed files with 21 additions and 20 deletions

View file

@ -626,18 +626,11 @@ nav {
}
.visibility-tray {
font-size: 1.2em;
cursor: pointer;
.selected {
color: $fallback--lightText;
color: var(--lightText, $fallback--lightText);
}
div {
display: flex;
justify-content: space-between;
flex-direction: row-reverse;
padding-top: 5px;
}
}
.visibility-notice {
padding: .5em;

View file

@ -147,14 +147,6 @@
}
}
.post-status-form {
.visibility-tray {
display: flex;
justify-content: space-between;
flex-direction: row-reverse;
}
}
.post-status-form, .login {
.form-bottom {
display: flex;

View file

@ -1,5 +1,5 @@
<template>
<div v-if="!showNothing">
<div v-if="!showNothing" class="scope-selector">
<i class="icon-mail-alt"
:class="css.direct"
:title="$t('post_status.scope.direct')"
@ -28,3 +28,19 @@
</template>
<script src="./scope_selector.js"></script>
<style lang="scss">
@import '../../_variables.scss';
.scope-selector {
i {
font-size: 1.2em;
cursor: pointer;
&.selected {
color: $fallback--lightText;
color: var(--lightText, $fallback--lightText);
}
}
}
</style>