mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-29 00:17:48 +01:00
dark/light mode transition
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.separator {
|
||||
transition: 0.3s;
|
||||
margin: 2rem 0;
|
||||
width: 100%;
|
||||
border-bottom: 1px $light-gray1 dashed;
|
||||
@@ -22,15 +23,13 @@
|
||||
padding: 0rem;
|
||||
overflow: hidden;
|
||||
h4 {
|
||||
transition: 0.3s;
|
||||
padding: 1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
border-bottom: 1px $light-gray2 solid;
|
||||
box-shadow: 0 0 5px $light-gray3;
|
||||
.bp3-dark {
|
||||
box-shadow: 0 0 5px $dark-gray5;
|
||||
}
|
||||
}
|
||||
.textPreview {
|
||||
transition: 0.3s;
|
||||
padding: 0.5rem;
|
||||
color: $dark-gray5;
|
||||
}
|
||||
@@ -41,15 +40,17 @@
|
||||
.bp3-dark {
|
||||
#overview {
|
||||
.separator {
|
||||
transition: 0.3s;
|
||||
border-bottom: 1px $dark-gray5 dashed;
|
||||
}
|
||||
.list {
|
||||
.card {
|
||||
h4 {
|
||||
transition: 0.3s;
|
||||
border-bottom: 1px $dark-gray2 solid;
|
||||
box-shadow: 0 0 5px $dark-gray3;
|
||||
}
|
||||
.textPreview {
|
||||
transition: 0.3s;
|
||||
color: $light-gray1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,8 +15,23 @@
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
#mainContainer.bp3-dark {
|
||||
#mainContainer {
|
||||
transition: 0.3s;
|
||||
#MainScreen {
|
||||
transition: 0.3s;
|
||||
}
|
||||
.bp3-navbar {
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
#mainContainer.bp3-dark {
|
||||
transition: 0.3s;
|
||||
#MainScreen {
|
||||
transition: 0.3s;
|
||||
background: $dark-gray2;
|
||||
}
|
||||
.bp3-navbar {
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user