-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(core): text + symplify & modulify
- Loading branch information
Showing
8 changed files
with
77 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.DropWrapper { | ||
flex-direction: column; | ||
align-items: stretch; | ||
} | ||
|
||
.DragButton { cursor: grab !important; } | ||
.DragButton:active { cursor: grabbing !important; } | ||
|
||
.DragZone { | ||
height: 4px; | ||
background: transparent; | ||
transition: 80ms ease-out all; | ||
position: relative; | ||
margin: 10px auto; | ||
width: 150px; | ||
|
||
&.top { margin-top: -24px; } | ||
&.visible { | ||
background-color: rgba(black, 0.1); | ||
margin: 20px auto; | ||
} | ||
&.active { | ||
background-color: cyan; | ||
z-index: 2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
input[type='text'] { | ||
border-bottom: 2px solid rgba(black, .1); | ||
border: 1px solid rgba(black, .1); | ||
padding: 5px 3px; | ||
transition: border-bottom-color 150ms ease-in; | ||
transition: border-color 150ms ease-in; | ||
line-height: 1.5em; | ||
&:focus { | ||
border-bottom-color: rgba($blue, .8); | ||
border-color: rgba($blue, .8); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.f { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
} | ||
|
||
.fac { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.z { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.za { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.s { | ||
border: 2px solid transparent; | ||
&:active { | ||
border-color: $cb15; | ||
&:focus { border-color: $cb1; } | ||
} | ||
&:focus { | ||
border-color: $cb2; | ||
} | ||
} | ||
|
||
@keyframes blink { | ||
50% { opacity: 0; } | ||
} | ||
|
||
.blink { | ||
animation: blink 1s step-start 0s infinite; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
} | ||
|
||
input[type=text] { | ||
width: 90%; | ||
width: 100%; | ||
} | ||
|
||
} | ||
|