chore: Remove bourbon dependancy (#5215)
This commit is contained in:
parent
20f3568583
commit
d8de16fd70
@ -1,11 +1,9 @@
|
|||||||
/* Enter and leave animations can use different */
|
|
||||||
/* durations and timing functions. */
|
|
||||||
.slide-fade-enter-active {
|
.slide-fade-enter-active {
|
||||||
transition: all .3s $ease-in-cubic;
|
transition: all 0.3s var(--ease-in-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-fade-leave-active {
|
.slide-fade-leave-active {
|
||||||
transition: all .3s $ease-out-cubic;
|
transition: all 0.3s var(--ease-out-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-fade-enter,
|
.slide-fade-enter,
|
||||||
@ -24,7 +22,7 @@
|
|||||||
|
|
||||||
.conversations-list-enter-active,
|
.conversations-list-enter-active,
|
||||||
.conversations-list-leave-active {
|
.conversations-list-leave-active {
|
||||||
transition: all .25s $ease-out-cubic;
|
transition: all 0.25s var(--ease-out-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversations-list-enter,
|
.conversations-list-enter,
|
||||||
@ -35,11 +33,10 @@
|
|||||||
|
|
||||||
.menu-list-enter-active,
|
.menu-list-enter-active,
|
||||||
.menu-list-leave-active {
|
.menu-list-leave-active {
|
||||||
transition: opacity .3s $ease-out-cubic,
|
transition: opacity 0.3s var(--ease-out-cubic),
|
||||||
transform .2s $ease-out-cubic;
|
transform 0.2s var(--ease-out-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.menu-list-leave-to {
|
.menu-list-leave-to {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -52,23 +49,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slide-up-enter-active {
|
.slide-up-enter-active {
|
||||||
transition: all .3s $ease-in-cubic;
|
transition: all 0.3s var(--ease-in-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-up-leave-active {
|
.slide-up-leave-active {
|
||||||
transition: all .3s $ease-out-cubic;
|
transition: all 0.3s var(--ease-out-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-up-enter,
|
.slide-up-enter,
|
||||||
.slide-up-leave-to {
|
.slide-up-leave-to {
|
||||||
transform: translateY(-$space-medium);
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
transform: translateY(-$space-medium);
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-slide-enter-active,
|
.menu-slide-enter-active,
|
||||||
.menu-slide-leave-active {
|
.menu-slide-leave-active {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
transition: transform 0.25s $ease-in-cubic, opacity 0.15s $ease-in-cubic;
|
transition: transform 0.25s var(--ease-in-cubic),
|
||||||
|
opacity 0.15s var(--ease-in-cubic);
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-slide-enter,
|
.menu-slide-enter,
|
||||||
@ -77,13 +75,12 @@
|
|||||||
transform: translateY($space-small);
|
transform: translateY($space-small);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.toast-fade-enter-active {
|
.toast-fade-enter-active {
|
||||||
transition: all .3s $ease-in-sine;
|
transition: all 0.3s var(--ease-in-sine);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast-fade-leave-active {
|
.toast-fade-leave-active {
|
||||||
transition: all .1s $ease-out-sine;
|
transition: all 0.1s var(--ease-out-sine);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast-fade-enter,
|
.toast-fade-enter,
|
||||||
@ -93,11 +90,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-fade-enter-active {
|
.modal-fade-enter-active {
|
||||||
transition: all .3s $ease-in-sine;
|
transition: all 0.3s var(--ease-in-sine);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-fade-leave-active {
|
.modal-fade-leave-active {
|
||||||
transition: all .1s $ease-out-sine;
|
transition: all 0.1s var(--ease-out-sine);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-fade-enter,
|
.modal-fade-enter,
|
||||||
@ -106,15 +103,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.network-notification-fade-enter-active {
|
.network-notification-fade-enter-active {
|
||||||
transition: all .1s $ease-in-sine;
|
transition: all 0.1s var(--ease-in-sine);
|
||||||
}
|
}
|
||||||
|
|
||||||
.network-notification-fade-leave-active {
|
.network-notification-fade-leave-active {
|
||||||
transition: all .1s $ease-out-sine;
|
transition: all 0.1s var(--ease-out-sine);
|
||||||
}
|
}
|
||||||
|
|
||||||
.network-notification-fade-enter,
|
.network-notification-fade-enter,
|
||||||
.network-notification-fade-leave-to {
|
.network-notification-fade-leave-to {
|
||||||
transform: translateY(-$space-small);
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
transform: translateY(-$space-small);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,24 +41,22 @@ is-closed .app-root {
|
|||||||
|
|
||||||
.view-box {
|
.view-box {
|
||||||
@include full-height;
|
@include full-height;
|
||||||
@include margin(0);
|
|
||||||
@include space-between-column;
|
@include space-between-column;
|
||||||
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-panel {
|
.view-panel {
|
||||||
@include margin($zero);
|
|
||||||
@include padding($space-normal);
|
|
||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
padding: $space-normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-box {
|
.content-box {
|
||||||
@include padding($space-normal);
|
|
||||||
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
padding: $space-normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-button {
|
.back-button {
|
||||||
@ -91,8 +89,7 @@ is-closed .app-root {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@include padding($space-one);
|
|
||||||
|
|
||||||
max-width: $space-mega;
|
max-width: $space-mega;
|
||||||
|
padding: $space-one;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
@import 'shared/assets/fonts/inter';
|
@import 'shared/assets/fonts/inter';
|
||||||
|
@import 'shared/assets/stylesheets/animations';
|
||||||
@import 'shared/assets/stylesheets/colors';
|
@import 'shared/assets/stylesheets/colors';
|
||||||
@import 'shared/assets/stylesheets/spacing';
|
@import 'shared/assets/stylesheets/spacing';
|
||||||
@import 'shared/assets/stylesheets/font-size';
|
@import 'shared/assets/stylesheets/font-size';
|
||||||
@ -16,7 +17,6 @@
|
|||||||
@import 'date-picker';
|
@import 'date-picker';
|
||||||
|
|
||||||
@import 'foundation-sites/scss/foundation';
|
@import 'foundation-sites/scss/foundation';
|
||||||
@import '~bourbon/core/bourbon';
|
|
||||||
|
|
||||||
@include foundation-everything($flex: true);
|
@include foundation-everything($flex: true);
|
||||||
|
|
||||||
|
|||||||
@ -16,11 +16,11 @@
|
|||||||
margin-bottom: var(--space-normal);
|
margin-bottom: var(--space-normal);
|
||||||
|
|
||||||
&.multiselect--disabled {
|
&.multiselect--disabled {
|
||||||
opacity: .8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.multiselect--active {
|
.multiselect--active {
|
||||||
>.multiselect__tags {
|
> .multiselect__tags {
|
||||||
border-color: $color-woot;
|
border-color: $color-woot;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -96,9 +96,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.multiselect__tags {
|
.multiselect__tags {
|
||||||
@include margin(0);
|
|
||||||
border: 1px solid $color-border;
|
border: 1px solid $color-border;
|
||||||
border-color: $color-border;
|
border-color: $color-border;
|
||||||
|
margin: 0;
|
||||||
min-height: 4.4rem;
|
min-height: 4.4rem;
|
||||||
padding-top: $zero;
|
padding-top: $zero;
|
||||||
}
|
}
|
||||||
@ -130,10 +130,10 @@
|
|||||||
|
|
||||||
.multiselect__input {
|
.multiselect__input {
|
||||||
@include ghost-input;
|
@include ghost-input;
|
||||||
@include padding($zero);
|
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
height: 4.4rem;
|
height: 4.4rem;
|
||||||
margin-bottom: $zero;
|
margin-bottom: $zero;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.multiselect__single {
|
.multiselect__single {
|
||||||
@ -145,7 +145,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-labels-wrap {
|
.sidebar-labels-wrap {
|
||||||
|
|
||||||
&.has-edited,
|
&.has-edited,
|
||||||
&:hover {
|
&:hover {
|
||||||
.multiselect {
|
.multiselect {
|
||||||
@ -154,15 +153,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.multiselect {
|
.multiselect {
|
||||||
>.multiselect__select {
|
> .multiselect__select {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
>.multiselect__tags {
|
> .multiselect__tags {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.multiselect--active>.multiselect__tags {
|
&.multiselect--active > .multiselect__tags {
|
||||||
border-color: $color-woot;
|
border-color: $color-woot;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
@import 'shared/assets/fonts/inter';
|
@import 'shared/assets/fonts/inter';
|
||||||
|
@import 'shared/assets/stylesheets/animations';
|
||||||
@import 'shared/assets/stylesheets/colors';
|
@import 'shared/assets/stylesheets/colors';
|
||||||
@import 'shared/assets/stylesheets/spacing';
|
@import 'shared/assets/stylesheets/spacing';
|
||||||
@import 'shared/assets/stylesheets/font-size';
|
@import 'shared/assets/stylesheets/font-size';
|
||||||
@ -17,8 +18,6 @@
|
|||||||
@import 'foundation-sites/scss/foundation';
|
@import 'foundation-sites/scss/foundation';
|
||||||
|
|
||||||
@include foundation-prototype-spacing;
|
@include foundation-prototype-spacing;
|
||||||
@import '~bourbon/core/bourbon';
|
|
||||||
|
|
||||||
@include foundation-everything($flex: true);
|
@include foundation-everything($flex: true);
|
||||||
|
|
||||||
@import 'typography';
|
@import 'typography';
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
$channel-hover-color: rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
.channels {
|
.channels {
|
||||||
margin-top: $space-medium;
|
margin-top: $space-medium;
|
||||||
|
|
||||||
@ -7,14 +9,14 @@
|
|||||||
|
|
||||||
.channel {
|
.channel {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include padding($space-normal $zero);
|
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@include border-light;
|
@include border-light;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: -1px;
|
margin: -1px;
|
||||||
transition: all 0.200s ease-in;
|
padding: $space-normal $zero;
|
||||||
|
transition: all 0.2s ease-in;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
@include border-light;
|
@include border-light;
|
||||||
@ -22,16 +24,16 @@
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid $primary-color;
|
border: 1px solid $primary-color;
|
||||||
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 8px $channel-hover-color;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
opacity: .6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@include margin($space-normal auto);
|
margin: $space-normal auto;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,8 +45,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
width: 100%;
|
|
||||||
color: $medium-gray;
|
color: $medium-gray;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,33 +4,33 @@
|
|||||||
|
|
||||||
// Conversation header - Light BG
|
// Conversation header - Light BG
|
||||||
.settings-header {
|
.settings-header {
|
||||||
@include padding($space-small $space-normal);
|
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align($x: justify, $y: middle);
|
@include flex-align($x: justify, $y: middle);
|
||||||
border-bottom: 1px solid var(--s-50);
|
border-bottom: 1px solid var(--s-50);
|
||||||
height: $header-height;
|
height: $header-height;
|
||||||
min-height: $header-height;
|
min-height: $header-height;
|
||||||
|
padding: $space-small $space-normal;
|
||||||
|
|
||||||
// Resolve Button
|
// Resolve Button
|
||||||
.button {
|
.button {
|
||||||
@include margin(0);
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// User thumbnail and text
|
// User thumbnail and text
|
||||||
.page-title {
|
.page-title {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align($x: center, $y: middle);
|
@include flex-align($x: center, $y: middle);
|
||||||
@include margin($zero);
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.wizard-box {
|
.wizard-box {
|
||||||
.item {
|
.item {
|
||||||
@include padding($space-normal $space-normal $space-normal $space-medium);
|
|
||||||
@include background-light;
|
@include background-light;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding: $space-normal $space-normal $space-normal $space-medium;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&::before,
|
&::before,
|
||||||
@ -128,89 +128,27 @@
|
|||||||
|
|
||||||
.wizard-body {
|
.wizard-body {
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@include padding($space-medium);
|
|
||||||
@include border-light;
|
@include border-light;
|
||||||
@include full-height();
|
@include full-height();
|
||||||
|
padding: $space-medium;
|
||||||
|
|
||||||
&.height-auto {
|
&.height-auto {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inoboxes-list {
|
|
||||||
.inbox-item {
|
|
||||||
@include margin($space-normal);
|
|
||||||
@include flex;
|
|
||||||
@include flex-shrink;
|
|
||||||
@include padding($space-normal $space-normal);
|
|
||||||
@include border-light-bottom();
|
|
||||||
|
|
||||||
background: $color-white;
|
|
||||||
cursor: pointer;
|
|
||||||
flex-direction: column;
|
|
||||||
float: left;
|
|
||||||
min-height: 10rem;
|
|
||||||
width: 20%;
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
@include border-nil;
|
|
||||||
|
|
||||||
margin-bottom: $zero;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include background-gray;
|
|
||||||
|
|
||||||
.arrow {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translateX($space-small);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.switch {
|
|
||||||
align-self: center;
|
|
||||||
margin-bottom: $zero;
|
|
||||||
margin-right: $space-normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item--details {
|
|
||||||
@include padding($space-normal $zero);
|
|
||||||
|
|
||||||
.item--name {
|
|
||||||
font-size: $font-size-large;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item--sub {
|
|
||||||
font-size: $font-size-small;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.arrow {
|
|
||||||
align-self: center;
|
|
||||||
color: $medium-gray;
|
|
||||||
font-size: $font-size-small;
|
|
||||||
opacity: 0.7;
|
|
||||||
transform: translateX(0);
|
|
||||||
transition: opacity 0.1s ease-in 0s, transform 0.2s ease-in 0.03s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings--content {
|
.settings--content {
|
||||||
@include margin($space-small $space-large);
|
margin: $space-small $space-large;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-weight: $font-weight-medium;
|
font-weight: $font-weight-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
.code {
|
.code {
|
||||||
@include padding($space-one);
|
|
||||||
|
|
||||||
background: $color-background;
|
background: $color-background;
|
||||||
max-height: $space-mega;
|
max-height: $space-mega;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
padding: $space-one;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
code {
|
code {
|
||||||
@ -225,7 +163,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@include padding($space-medium);
|
padding: $space-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
> a > img {
|
> a > img {
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
@keyframes left-shift-animation {
|
@keyframes left-shift-animation {
|
||||||
|
|
||||||
0%,
|
0%,
|
||||||
100% {
|
100% {
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
@ -13,15 +12,15 @@
|
|||||||
.conversation {
|
.conversation {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-shrink;
|
@include flex-shrink;
|
||||||
@include padding(0 0 0 $space-normal);
|
|
||||||
border-bottom: 1px solid transparent;
|
border-bottom: 1px solid transparent;
|
||||||
border-left: $space-micro solid transparent;
|
border-left: $space-micro solid transparent;
|
||||||
border-top: 1px solid transparent;
|
border-top: 1px solid transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding: 0 0 0 $space-normal;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
animation: left-shift-animation .25s $swift-ease-out-function;
|
animation: left-shift-animation 0.25s $swift-ease-out-function;
|
||||||
background: $color-background;
|
background: $color-background;
|
||||||
border-bottom-color: $color-border-light;
|
border-bottom-color: $color-border-light;
|
||||||
border-left-color: $color-woot;
|
border-left-color: $color-woot;
|
||||||
@ -31,7 +30,7 @@
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
+.conversation .conversation--details {
|
+ .conversation .conversation--details {
|
||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -48,13 +47,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.conversation--details {
|
.conversation--details {
|
||||||
@include margin(0 0 0 $space-one);
|
|
||||||
@include border-light-bottom;
|
@include border-light-bottom;
|
||||||
@include border-light-top;
|
@include border-light-top;
|
||||||
@include padding($space-slab 0);
|
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
|
margin: 0 0 0 $space-one;
|
||||||
|
padding: $space-slab 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversation--user {
|
.conversation--user {
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
|
// scss-lint:disable MergeableSelector
|
||||||
|
|
||||||
@mixin bubble-with-types {
|
@mixin bubble-with-types {
|
||||||
@include padding($space-small $space-normal);
|
padding: $space-small $space-normal;
|
||||||
@include margin($zero);
|
margin: 0;
|
||||||
background: $color-woot;
|
background: $color-woot;
|
||||||
border-radius: $space-one;
|
border-radius: $space-one;
|
||||||
color: var(--white);
|
color: var(--white);
|
||||||
@ -37,7 +39,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background-image: linear-gradient(-180deg, transparent 3%, $color-heading 130%);
|
background-image: linear-gradient(
|
||||||
|
-180deg,
|
||||||
|
transparent 3%,
|
||||||
|
$color-heading 130%
|
||||||
|
);
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
content: '';
|
content: '';
|
||||||
height: 20%;
|
height: 20%;
|
||||||
@ -75,16 +81,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.conversations-list {
|
.conversations-list {
|
||||||
@include flex-weight(1);
|
|
||||||
@include scroll-on-hover;
|
@include scroll-on-hover;
|
||||||
|
flex: 1 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-list__top {
|
.chat-list__top {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include padding($zero $zero $space-micro $zero);
|
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
padding: $zero $zero $space-micro;
|
||||||
|
|
||||||
.page-title {
|
.page-title {
|
||||||
margin-bottom: $zero;
|
margin-bottom: $zero;
|
||||||
@ -92,13 +97,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.status--filter {
|
.status--filter {
|
||||||
@include padding($zero null $zero $space-normal);
|
|
||||||
@include margin($zero);
|
|
||||||
background-color: $color-background-light;
|
background-color: $color-background-light;
|
||||||
border: 1px solid $color-border;
|
border: 1px solid $color-border;
|
||||||
float: right;
|
float: right;
|
||||||
font-size: $font-size-mini;
|
font-size: $font-size-mini;
|
||||||
height: $space-medium;
|
height: $space-medium;
|
||||||
|
margin: 0;
|
||||||
|
padding: $zero null $zero $space-normal;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -110,19 +115,19 @@
|
|||||||
|
|
||||||
.conversation-panel {
|
.conversation-panel {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-weight(1 1 1px);
|
flex: 1 1 1px;
|
||||||
@include margin($zero);
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding-bottom: var(--space-normal);
|
padding-bottom: var(--space-normal);
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversation-panel>li {
|
.conversation-panel > li {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-shrink;
|
@include flex-shrink;
|
||||||
@include margin($zero $zero $space-micro);
|
margin: $zero $zero $space-micro;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
@ -134,11 +139,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.unread--toast {
|
&.unread--toast {
|
||||||
+.right {
|
+ .right {
|
||||||
margin-bottom: var(--space-micro);
|
margin-bottom: var(--space-micro);
|
||||||
}
|
}
|
||||||
|
|
||||||
+.left {
|
+ .left {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,9 +170,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
|
|
||||||
.bubble {
|
.bubble {
|
||||||
@include border-normal;
|
@include border-normal;
|
||||||
background: $white;
|
background: $white;
|
||||||
@ -198,10 +201,9 @@
|
|||||||
color: $color-primary-dark;
|
color: $color-primary-dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+.right {
|
+ .right {
|
||||||
margin-top: $space-one;
|
margin-top: $space-one;
|
||||||
|
|
||||||
.bubble {
|
.bubble {
|
||||||
@ -209,8 +211,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+.unread--toast {
|
+ .unread--toast {
|
||||||
+.right {
|
+ .right {
|
||||||
margin-top: $space-one;
|
margin-top: $space-one;
|
||||||
|
|
||||||
.bubble {
|
.bubble {
|
||||||
@ -218,7 +220,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+.left {
|
+ .left {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -264,7 +266,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+.left {
|
+ .left {
|
||||||
margin-top: $space-one;
|
margin-top: $space-one;
|
||||||
|
|
||||||
.bubble {
|
.bubble {
|
||||||
@ -272,8 +274,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+.unread--toast {
|
+ .unread--toast {
|
||||||
+.left {
|
+ .left {
|
||||||
margin-top: $space-one;
|
margin-top: $space-one;
|
||||||
|
|
||||||
.bubble {
|
.bubble {
|
||||||
@ -281,11 +283,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+.right {
|
+ .right {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.center {
|
&.center {
|
||||||
@ -293,9 +294,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
@include margin($zero $space-normal);
|
|
||||||
|
|
||||||
--bubble-max-width: 49.6rem;
|
--bubble-max-width: 49.6rem;
|
||||||
|
margin: $zero $space-normal;
|
||||||
max-width: Min(var(--bubble-max-width), 84%);
|
max-width: Min(var(--bubble-max-width), 84%);
|
||||||
|
|
||||||
.sender--name {
|
.sender--name {
|
||||||
@ -320,7 +320,8 @@
|
|||||||
font-size: var(--font-size-small);
|
font-size: var(--font-size-small);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: var(--space-smaller) 0;
|
margin: var(--space-smaller) 0;
|
||||||
padding: var(--space-smaller) var(--space-micro) var(--space-smaller) var(--space-one);
|
padding: var(--space-smaller) var(--space-micro) var(--space-smaller)
|
||||||
|
var(--space-one);
|
||||||
|
|
||||||
.is-text {
|
.is-text {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
@ -371,7 +372,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.left .bubble .text-content {
|
.left .bubble .text-content {
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
@ -400,7 +400,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.right .bubble .text-content {
|
.right .bubble .text-content {
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
|||||||
@ -1,5 +1,22 @@
|
|||||||
|
// scss-lint:disable QualifyingElement
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
#{$all-text-inputs},
|
input[type='color'],
|
||||||
|
input[type='date'],
|
||||||
|
input[type='datetime'],
|
||||||
|
input[type='datetime-local'],
|
||||||
|
input[type='email'],
|
||||||
|
input[type='month'],
|
||||||
|
input[type='number'],
|
||||||
|
input[type='password'],
|
||||||
|
input[type='search'],
|
||||||
|
input[type='tel'],
|
||||||
|
input[type='text'],
|
||||||
|
input[type='time'],
|
||||||
|
input[type='url'],
|
||||||
|
input[type='week'],
|
||||||
|
input:not([type]),
|
||||||
|
textarea,
|
||||||
select,
|
select,
|
||||||
.multiselect > .multiselect__tags {
|
.multiselect > .multiselect__tags {
|
||||||
@include thin-border(var(--r-400));
|
@include thin-border(var(--r-400));
|
||||||
|
|||||||
@ -30,11 +30,9 @@
|
|||||||
.login-box {
|
.login-box {
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@include border-normal;
|
@include border-normal;
|
||||||
@include border-top-radius($space-smaller);
|
|
||||||
@include border-right-radius($space-smaller);
|
|
||||||
@include border-bottom-radius($space-smaller);
|
|
||||||
@include border-left-radius($space-smaller);
|
|
||||||
@include elegant-card;
|
@include elegant-card;
|
||||||
|
|
||||||
|
border-radius: $space-smaller;
|
||||||
padding: $space-large;
|
padding: $space-large;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
@ -61,7 +59,7 @@
|
|||||||
font-size: $font-size-default;
|
font-size: $font-size-default;
|
||||||
padding: $space-medium;
|
padding: $space-medium;
|
||||||
|
|
||||||
>a {
|
> a {
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page-top-bar {
|
.page-top-bar {
|
||||||
@include padding($space-large $space-large $zero);
|
padding: $space-large $space-large $zero;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: 6rem;
|
max-height: 6rem;
|
||||||
@ -53,8 +53,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content-box {
|
.content-box {
|
||||||
@include padding($zero);
|
|
||||||
height: auto;
|
height: auto;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@ -64,29 +64,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@include margin($zero);
|
|
||||||
@include padding($zero);
|
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
@include padding($space-large);
|
padding: $space-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
form,
|
form,
|
||||||
.modal-content {
|
.modal-content {
|
||||||
@include padding($space-large);
|
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
padding: $space-large;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@include padding($space-normal);
|
padding: $space-normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align($x: flex-start, $y: middle);
|
@include flex-align($x: flex-start, $y: middle);
|
||||||
@include padding($space-small $zero);
|
padding: $space-small $zero;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
@ -98,10 +98,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.delete-item {
|
.delete-item {
|
||||||
@include padding($space-large);
|
padding: $space-large;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@include margin($zero);
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,14 +1,12 @@
|
|||||||
.reply-box {
|
.reply-box {
|
||||||
transition: box-shadow .35s $swift-ease-out-function,
|
transition: box-shadow 0.35s $swift-ease-out-function,
|
||||||
height 2s $swift-ease-out-function;
|
height 2s $swift-ease-out-function;
|
||||||
|
|
||||||
|
|
||||||
&.is-focused {
|
&.is-focused {
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reply-box__top {
|
.reply-box__top {
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
color: $medium-gray;
|
color: $medium-gray;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -20,7 +18,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.attachment {
|
.attachment {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: $space-one;
|
margin-right: $space-one;
|
||||||
@ -37,13 +34,12 @@
|
|||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
>textarea {
|
> textarea {
|
||||||
@include ghost-input();
|
@include ghost-input();
|
||||||
@include margin(0);
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
// Override min-height : 50px in foundation
|
margin: 0;
|
||||||
//
|
|
||||||
max-height: $space-mega * 2.4;
|
max-height: $space-mega * 2.4;
|
||||||
|
// Override min-height : 50px in foundation
|
||||||
min-height: 4.8rem;
|
min-height: 4.8rem;
|
||||||
padding: var(--space-normal) 0 0;
|
padding: var(--space-normal) 0 0;
|
||||||
resize: none;
|
resize: none;
|
||||||
@ -56,10 +52,9 @@
|
|||||||
.reply-box__top {
|
.reply-box__top {
|
||||||
background: var(--y-50);
|
background: var(--y-50);
|
||||||
|
|
||||||
>input {
|
> input {
|
||||||
background: var(--y-50);
|
background: var(--y-50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
.report-card {
|
.report-card {
|
||||||
@include padding($space-normal $space-small $space-normal $space-two);
|
|
||||||
@include margin($zero);
|
|
||||||
cursor: pointer;
|
|
||||||
@include custom-border-top(3px, transparent);
|
@include custom-border-top(3px, transparent);
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
margin: 0;
|
||||||
|
padding: $space-normal $space-small $space-normal $space-two;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
@include custom-border-top(3px, $color-woot);
|
@include custom-border-top(3px, $color-woot);
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@ -14,12 +15,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
@include margin($zero);
|
align-items: center;
|
||||||
font-size: $font-size-small;
|
|
||||||
font-weight: $font-weight-bold;
|
|
||||||
color: $color-heading;
|
color: $color-heading;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
font-size: $font-size-small;
|
||||||
|
font-weight: $font-weight-bold;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-icon {
|
.info-icon {
|
||||||
@ -52,31 +53,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.desc {
|
.desc {
|
||||||
@include margin($zero);
|
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
|
margin: 0;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.report-bar {
|
.report-bar {
|
||||||
@include margin(-1px $zero);
|
|
||||||
@include background-white;
|
@include background-white;
|
||||||
@include border-light;
|
@include border-light;
|
||||||
@include padding($space-small $space-medium);
|
margin: -1px $zero;
|
||||||
|
padding: $space-small $space-medium;
|
||||||
|
|
||||||
.chart-container {
|
.chart-container {
|
||||||
@include flex;
|
@include flex;
|
||||||
flex-direction: column;
|
|
||||||
@include flex-align(center, middle);
|
@include flex-align(center, middle);
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
div {
|
div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-state {
|
.empty-state {
|
||||||
@include margin($space-jumbo);
|
|
||||||
font-size: $font-size-default;
|
|
||||||
color: $color-gray;
|
color: $color-gray;
|
||||||
|
font-size: $font-size-default;
|
||||||
|
margin: $space-jumbo;
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-hours {
|
.business-hours {
|
||||||
|
|||||||
@ -1,17 +1,18 @@
|
|||||||
.search {
|
.search {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align($x: left, $y: middle);
|
@include flex-align($x: left, $y: middle);
|
||||||
@include padding($space-one $space-normal);
|
|
||||||
@include flex-shrink;
|
@include flex-shrink;
|
||||||
transition: all .3s $ease-in-out-quad;
|
|
||||||
|
padding: $space-one $space-normal;
|
||||||
|
transition: all 0.3s var(--ease-in-out-quad);
|
||||||
|
|
||||||
> .icon {
|
> .icon {
|
||||||
font-size: $font-size-medium;
|
|
||||||
color: $medium-gray;
|
color: $medium-gray;
|
||||||
|
font-size: $font-size-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
> input {
|
> input {
|
||||||
@include ghost-input();
|
@include ghost-input();
|
||||||
@include margin(0);
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,8 +11,8 @@
|
|||||||
//logo
|
//logo
|
||||||
.logo {
|
.logo {
|
||||||
img {
|
img {
|
||||||
@include padding($woot-logo-padding);
|
|
||||||
max-height: 108px;
|
max-height: 108px;
|
||||||
|
padding: $woot-logo-padding;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,9 +36,9 @@
|
|||||||
.bottom-nav {
|
.bottom-nav {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include space-between-column;
|
@include space-between-column;
|
||||||
@include padding($space-one $space-normal $space-one $space-one);
|
|
||||||
@include border-normal-top;
|
@include border-normal-top;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding: $space-one $space-normal $space-one $space-one;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@ -11,7 +11,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui-snackbar {
|
.ui-snackbar {
|
||||||
@include padding($space-slab $space-medium);
|
|
||||||
@include shadow;
|
@include shadow;
|
||||||
background-color: $woot-snackbar-bg;
|
background-color: $woot-snackbar-bg;
|
||||||
border-radius: $space-smaller;
|
border-radius: $space-smaller;
|
||||||
@ -20,6 +19,7 @@
|
|||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
min-height: 3rem;
|
min-height: 3rem;
|
||||||
min-width: 24rem;
|
min-width: 24rem;
|
||||||
|
padding: $space-slab $space-medium;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,12 +34,12 @@
|
|||||||
padding-left: 3rem;
|
padding-left: 3rem;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@include margin(0);
|
|
||||||
@include padding(0);
|
|
||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
color: $woot-snackbar-button;
|
color: $woot-snackbar-button;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
.status-bar {
|
.status-bar {
|
||||||
@include flex;
|
@include flex;
|
||||||
flex-direction: column;
|
|
||||||
@include flex-align($x: center, $y: middle);
|
@include flex-align($x: center, $y: middle);
|
||||||
background: lighten($warning-color, 36%);
|
background: lighten($warning-color, 36%);
|
||||||
// @include elegant-card();
|
flex-direction: column;
|
||||||
@include margin($zero);
|
margin: 0;
|
||||||
@include padding($space-normal $space-smaller);
|
padding: $space-normal $space-smaller;
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
font-weight: $font-weight-medium;
|
font-weight: $font-weight-medium;
|
||||||
@ -13,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
@include margin($space-smaller $zero $zero);
|
margin: $space-smaller $zero $zero;
|
||||||
padding: $space-small $space-normal;
|
padding: $space-small $space-normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,14 +22,18 @@
|
|||||||
.button {
|
.button {
|
||||||
// Default and disabled states
|
// Default and disabled states
|
||||||
&,
|
&,
|
||||||
&.disabled, &[disabled],
|
&.disabled,
|
||||||
&.disabled:hover, &[disabled]:hover,
|
&[disabled],
|
||||||
&.disabled:focus, &[disabled]:focus {
|
&.disabled:hover,
|
||||||
|
&[disabled]:hover,
|
||||||
|
&.disabled:focus,
|
||||||
|
&[disabled]:focus {
|
||||||
background-color: $alert-color;
|
background-color: $alert-color;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover, &:focus {
|
&:hover,
|
||||||
|
&:focus {
|
||||||
background-color: darken($alert-color, 7%);
|
background-color: darken($alert-color, 7%);
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,12 +7,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
@include padding($zero $space-normal);
|
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
min-width: var(--space-mega);
|
min-width: var(--space-mega);
|
||||||
|
padding: $zero $space-normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs--with-scroll {
|
.tabs--with-scroll {
|
||||||
@ -46,8 +46,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabs-title {
|
.tabs-title {
|
||||||
@include margin($zero $space-slab);
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
margin: $zero $space-slab;
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
background: $color-background;
|
background: $color-background;
|
||||||
@ -75,14 +75,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@include position(relative, 1px null null null);
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: 2px solid transparent;
|
border-bottom: 2px solid transparent;
|
||||||
color: $medium-gray;
|
color: $medium-gray;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
transition: border-color .15s $swift-ease-out-function;
|
position: relative;
|
||||||
|
top: 1px;
|
||||||
|
transition: border-color 0.15s $swift-ease-out-function;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-active {
|
&.is-active {
|
||||||
|
|||||||
@ -15,7 +15,7 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
@include padding($space-one $space-small);
|
padding: $space-one $space-small;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -54,6 +54,6 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
@include margin($zero);
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
11
app/javascript/shared/assets/stylesheets/animations.scss
Normal file
11
app/javascript/shared/assets/stylesheets/animations.scss
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
// Taken from thoughtbot/bourbon library timing functions
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--ease-in-cubic: cubic-bezier(0.17, 0.67, 0.83, 0.67);
|
||||||
|
--ease-in-sine: cubic-bezier(0.47, 0, 0.745, 0.715);
|
||||||
|
|
||||||
|
--ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||||
|
--ease-out-sine: cubic-bezier(0.39, 0.575, 0.565, 1);
|
||||||
|
|
||||||
|
--ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
|
||||||
|
}
|
||||||
@ -1,8 +1,8 @@
|
|||||||
// scss-lint:disable PseudoElement SpaceBeforeBrace VendorPrefix
|
// scss-lint:disable PseudoElement SpaceBeforeBrace VendorPrefix
|
||||||
$shadow-color-1: rgba(50, 50, 93, 0.08);
|
$shadow-color-1: rgba(50, 50, 93, 0.08);
|
||||||
$shadow-color-2: rgba(0, 0, 0, 0.07);
|
$shadow-color-2: rgba(0, 0, 0, 0.07);
|
||||||
$shadow-color-3: rgba(50, 50, 93, .08);
|
$shadow-color-3: rgba(50, 50, 93, 0.08);
|
||||||
$shadow-color-4: rgba(0, 0, 0, .05);
|
$shadow-color-4: rgba(0, 0, 0, 0.05);
|
||||||
|
|
||||||
$color-shadow-medium: rgba(50, 50, 93, 0.08);
|
$color-shadow-medium: rgba(50, 50, 93, 0.08);
|
||||||
$color-shadow-light: rgba(50, 50, 93, 0.04);
|
$color-shadow-light: rgba(50, 50, 93, 0.04);
|
||||||
@ -10,7 +10,8 @@ $color-shadow-large: rgba(50, 50, 93, 0.25);
|
|||||||
$color-shadow-outline: rgba(66, 153, 225, 0.5);
|
$color-shadow-outline: rgba(66, 153, 225, 0.5);
|
||||||
|
|
||||||
@mixin normal-shadow {
|
@mixin normal-shadow {
|
||||||
box-shadow: 0 $space-small $space-normal $shadow-color-1, 0 $space-smaller $space-slab $shadow-color-2;
|
box-shadow: 0 $space-small $space-normal $shadow-color-1,
|
||||||
|
0 $space-smaller $space-slab $shadow-color-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin light-shadow {
|
@mixin light-shadow {
|
||||||
@ -19,19 +20,19 @@ $color-shadow-outline: rgba(66, 153, 225, 0.5);
|
|||||||
|
|
||||||
@mixin placeholder {
|
@mixin placeholder {
|
||||||
&::-webkit-input-placeholder {
|
&::-webkit-input-placeholder {
|
||||||
@content
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:-moz-placeholder {
|
&:-moz-placeholder {
|
||||||
@content
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-moz-placeholder {
|
&::-moz-placeholder {
|
||||||
@content
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:-ms-input-placeholder {
|
&:-ms-input-placeholder {
|
||||||
@content
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -40,25 +41,21 @@ $color-shadow-outline: rgba(66, 153, 225, 0.5);
|
|||||||
0 1px 5px 1px $color-shadow-light;
|
0 1px 5px 1px $color-shadow-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@mixin shadow-medium {
|
@mixin shadow-medium {
|
||||||
box-shadow: 0 4px 24px 4px $color-shadow-medium,
|
box-shadow: 0 4px 24px 4px $color-shadow-medium,
|
||||||
0 2px 16px 2px $color-shadow-light;
|
0 2px 16px 2px $color-shadow-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@mixin shadow-large {
|
@mixin shadow-large {
|
||||||
box-shadow: 0 10px 15px -16px $color-shadow-medium,
|
box-shadow: 0 10px 15px -16px $color-shadow-medium,
|
||||||
0 4px 6px -8px $color-shadow-light;
|
0 4px 6px -8px $color-shadow-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@mixin shadow-big {
|
@mixin shadow-big {
|
||||||
box-shadow: 0 20px 25px -20px $color-shadow-medium,
|
box-shadow: 0 20px 25px -20px $color-shadow-medium,
|
||||||
0 10px 10px -10px $color-shadow-light;
|
0 10px 10px -10px $color-shadow-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@mixin shadow-mega {
|
@mixin shadow-mega {
|
||||||
box-shadow: 0 25px 50px -12px $color-shadow-big;
|
box-shadow: 0 25px 50px -12px $color-shadow-big;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -65,8 +65,8 @@ $spinkit-size: 1.6rem !default;
|
|||||||
$woot-snackbar-bg: #323232;
|
$woot-snackbar-bg: #323232;
|
||||||
$woot-snackbar-button: #ffeb3b;
|
$woot-snackbar-button: #ffeb3b;
|
||||||
|
|
||||||
$swift-ease-out-duration: .4s !default;
|
$swift-ease-out-duration: 0.4s !default;
|
||||||
$swift-ease-out-timing-function: cubic-bezier(.25, .8, .25, 1) !default;
|
$swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
||||||
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
||||||
|
|
||||||
$border-radius: 0.1875px;
|
$border-radius: 0.1875px;
|
||||||
@ -74,20 +74,8 @@ $line-height: 1;
|
|||||||
$footer-height: 11.2rem;
|
$footer-height: 11.2rem;
|
||||||
$header-expanded-height: $space-medium * 10;
|
$header-expanded-height: $space-medium * 10;
|
||||||
|
|
||||||
$font-family: 'Inter',
|
$font-family: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI',
|
||||||
-apple-system,
|
Roboto, 'Helvetica Neue', Tahoma, Arial, sans-serif;
|
||||||
system-ui,
|
|
||||||
BlinkMacSystemFont,
|
|
||||||
"Segoe UI",
|
|
||||||
Roboto,
|
|
||||||
"Helvetica Neue",
|
|
||||||
Tahoma,
|
|
||||||
Arial,
|
|
||||||
sans-serif;
|
|
||||||
|
|
||||||
// Break points
|
// Break points
|
||||||
$break-point-medium: 667px;
|
$break-point-medium: 667px;
|
||||||
|
|
||||||
// Timing functions
|
|
||||||
|
|
||||||
$ease-in-cubic: cubic-bezier(.17, .67, .83, .67);
|
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
@import 'shared/assets/stylesheets/animations';
|
||||||
|
|
||||||
@import 'reset';
|
@import 'reset';
|
||||||
@import 'tailwindcss/base';
|
@import 'tailwindcss/base';
|
||||||
@import 'tailwindcss/components';
|
@import 'tailwindcss/components';
|
||||||
@ -45,7 +47,6 @@ body {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.message-content {
|
.message-content {
|
||||||
ul {
|
ul {
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
|
|||||||
@ -111,7 +111,7 @@ export default {
|
|||||||
border: 0;
|
border: 0;
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
font-size: $font-size-medium;
|
font-size: $font-size-medium;
|
||||||
transition: all 0.3s $ease-in-cubic;
|
transition: all 0.3s var(--ease-in-cubic);
|
||||||
margin-left: $space-smaller;
|
margin-left: $space-smaller;
|
||||||
padding-right: $space-one;
|
padding-right: $space-one;
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ export default {
|
|||||||
border: 0;
|
border: 0;
|
||||||
font-weight: $font-weight-medium;
|
font-weight: $font-weight-medium;
|
||||||
font-size: $font-size-mini;
|
font-size: $font-size-mini;
|
||||||
transition: all 0.3s $ease-in-cubic;
|
transition: all 0.3s var(--ease-in-cubic);
|
||||||
margin-bottom: $space-slab;
|
margin-bottom: $space-slab;
|
||||||
border-radius: $space-normal;
|
border-radius: $space-normal;
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
"axios": "^0.21.2",
|
"axios": "^0.21.2",
|
||||||
"babel-plugin-syntax-jsx": "^6.18.0",
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
||||||
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
||||||
"bourbon": "^6.0.0",
|
|
||||||
"chart.js": "~2.9.4",
|
"chart.js": "~2.9.4",
|
||||||
"core-js": "3.11.0",
|
"core-js": "3.11.0",
|
||||||
"date-fns": "2.21.1",
|
"date-fns": "2.21.1",
|
||||||
|
|||||||
@ -4546,11 +4546,6 @@ boolbase@^1.0.0, boolbase@~1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||||
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
|
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
|
||||||
|
|
||||||
bourbon@^6.0.0:
|
|
||||||
version "6.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/bourbon/-/bourbon-6.0.0.tgz#41ad318371128888261a390bebe0e9e89daaa01e"
|
|
||||||
integrity sha512-Skds0R1+GY3c1oBddh9BggYVq39Uo4ySvW33zttPk+4+nfGYpbZqwaDwENkbtV7PYhCk0ctTFkzfTNFv5365ag==
|
|
||||||
|
|
||||||
boxen@^5.1.2:
|
boxen@^5.1.2:
|
||||||
version "5.1.2"
|
version "5.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50"
|
resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user