some CSS
This commit is contained in:
Родитель
84e3ed228a
Коммит
327fccc552
|
@ -142,12 +142,9 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.title {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.description {
|
||||
white-space: pre-wrap;
|
||||
// white-space: pre-wrap;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
:root {
|
||||
--color-background-error: #f9c5c5;
|
||||
--color-background-success: #d6fdda;
|
||||
--color-polls-foreground-yes: #49bc49;
|
||||
--color-polls-foreground-no: #f45573;
|
||||
--color-polls-foreground-maybe: #ffc107;
|
||||
--color-polls-background-yes: #ebf5d6;
|
||||
--color-polls-background-no: #ffede9;
|
||||
--color-polls-background-maybe: #fcf7e1;
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
// experimental colored background in the main area
|
||||
|
||||
[class*='area__'] {
|
||||
padding: 8px;
|
||||
background-color: var(--color-main-background);
|
||||
border-radius: var(--border-radius);
|
||||
margin: 12px 6px;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.experimental {
|
||||
&.app-polls.bgcolored {
|
||||
.app-navigation {
|
||||
border-right: 0px;
|
||||
box-shadow: 2px 0 6px var(--color-box-shadow);
|
||||
}
|
||||
.app-content {
|
||||
background-color: var(--color-primary-light);
|
||||
[class*='area__'] {
|
||||
box-shadow: 2px 2px 6px var(--color-box-shadow);
|
||||
margin: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// experimental background image
|
||||
&.app-polls.bgimage {
|
||||
.glassy {
|
||||
backdrop-filter: blur(10px);
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.app-navigation {
|
||||
border-right: 0px;
|
||||
box-shadow: 2px 0 6px var(--color-box-shadow);
|
||||
}
|
||||
.app-content {
|
||||
background-color: transparent;
|
||||
}
|
||||
[class*='area__'] {
|
||||
box-shadow: 2px 2px 6px var(--color-box-shadow);
|
||||
margin: 12px;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
:root {
|
||||
--polls-vote-rows: 1;
|
||||
--polls-vote-columns: 1;
|
||||
--color-background-error: #f9c5c5;
|
||||
--color-background-success: #d6fdda;
|
||||
--color-polls-foreground-yes: #49bc49;
|
||||
--color-polls-foreground-no: #f45573;
|
||||
--color-polls-foreground-maybe: #ffc107;
|
||||
--color-polls-background-yes: #ebf5d6;
|
||||
--color-polls-background-no: #ffede9;
|
||||
--color-polls-background-maybe: #fcf7e1;
|
||||
--icon-polls: url('../icons/polls.svg');
|
||||
--icon-circles: url('../icons/circles.svg');
|
||||
--icon-polls-back: url('../icons/back.svg');
|
||||
--icon-polls-confirmed: url('../icons/confirmed.svg');
|
||||
--icon-polls-unconfirmed: url('../icons/unconfirmed.svg');
|
||||
--icon-polls-clone: url('../icons/clone.svg');
|
||||
--icon-polls-move: url('../icons/move.svg');
|
||||
--icon-polls-yes: url('../icons/yes-vote.svg');
|
||||
--icon-polls-no: url('../icons/no-vote.svg');
|
||||
--icon-polls-maybe: url('../icons/maybe-vote.svg');
|
||||
--icon-polls-handle: url('../icons/handle.svg');
|
||||
--icon-polls-mail: url('../icons/mail.svg');
|
||||
--icon-polls-sidebar-toggle: url('../icons/sidebar-toggle.svg');
|
||||
--icon-polls-loading: url('../icons/loading-small.gif');
|
||||
--icon-polls-open: url('../icons/open.svg');
|
||||
--icon-polls-closed: url('../icons/closed.svg');
|
||||
--icon-polls-public-poll: url('../icons/visible.svg');
|
||||
--icon-polls-hidden-poll: url('../icons/invisible.svg');
|
||||
|
||||
// filters to colorize background svg from black
|
||||
// generated with https://codepen.io/jsm91/embed/ZEEawyZ?height=600&default-tab=result&embed-version=2
|
||||
--color-polls-foreground-filter-yes: invert(74%) sepia(7%) saturate(3830%) hue-rotate(68deg) brightness(85%) contrast(85%);
|
||||
--color-polls-foreground-filter-no: invert(43%) sepia(100%) saturate(1579%) hue-rotate(318deg) brightness(99%) contrast(94%);
|
||||
--color-polls-foreground-filter-maybe: invert(81%) sepia(22%) saturate(3383%) hue-rotate(353deg) brightness(101%) contrast(101%);
|
||||
}
|
||||
|
||||
.icon-polls {
|
||||
background-image: var(--icon-polls);
|
||||
}
|
||||
|
||||
.icon-circles {
|
||||
background-image: var(--icon-circles);
|
||||
}
|
||||
|
||||
.icon-polls-back {
|
||||
background-image: var(--icon-polls-back);
|
||||
}
|
||||
|
||||
.icon-polls-confirmed {
|
||||
background-image: var(--icon-polls-confirmed);
|
||||
}
|
||||
|
||||
.icon-polls-unconfirmed {
|
||||
background-image: var(--icon-polls-unconfirmed);
|
||||
}
|
||||
|
||||
.icon-polls-move {
|
||||
background-image: var(--icon-polls-move);
|
||||
}
|
||||
|
||||
.icon-polls-clone {
|
||||
background-image: var(--icon-polls-clone);
|
||||
}
|
||||
|
||||
.icon-polls-yes {
|
||||
background-image: var(--icon-polls-yes);
|
||||
}
|
||||
|
||||
.icon-polls-no {
|
||||
background-image: var(--icon-polls-no);
|
||||
}
|
||||
|
||||
.icon-polls-maybe {
|
||||
background-image: var(--icon-polls-maybe);
|
||||
}
|
||||
|
||||
.icon-polls-mail {
|
||||
background-image: var(--icon-polls-mail);
|
||||
}
|
||||
|
||||
.icon-polls-open {
|
||||
background-image: var(--icon-polls-open);
|
||||
}
|
||||
|
||||
.icon-polls-closed {
|
||||
background-image: var(--icon-polls-closed);
|
||||
}
|
||||
|
||||
.icon-polls-public-poll {
|
||||
background-image: var(--icon-polls-public-poll);
|
||||
}
|
||||
|
||||
.icon-polls-hidden-poll {
|
||||
background-image: var(--icon-polls-hidden-poll);
|
||||
}
|
||||
|
||||
.icon-polls-sidebar-toggle {
|
||||
background-image: var(--icon-polls-sidebar-toggle);
|
||||
}
|
||||
|
||||
.icon-handle {
|
||||
background-image: var(--icon-polls-handle);
|
||||
}
|
|
@ -99,20 +99,6 @@
|
|||
background-image: var(--icon-polls-sidebar-toggle);
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.description {
|
||||
white-space: pre-wrap;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.linkified {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.icon-handle {
|
||||
background-image: var(--icon-polls-handle);
|
||||
}
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
.transitions-active {
|
||||
.list-enter-active,
|
||||
.list-leave-active {
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
|
||||
.list-enter,
|
||||
.list-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.list-move {
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
.fade-leave-active .fade-enter-active{
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
.fade-enter, .fade-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
|
@ -189,7 +189,7 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
.area__header {
|
||||
margin-top: 52px;
|
||||
margin-left: 33px !important;
|
||||
}
|
||||
|
||||
.poll-list__list {
|
||||
|
|
Загрузка…
Ссылка в новой задаче