-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make preview and load draggable (#3146)
- Loading branch information
Showing
2 changed files
with
27 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
.aside { | ||
grid-column: 2 / 3; | ||
position: relative; | ||
min-width: 0; | ||
grid-row: span 2; | ||
padding: 0; | ||
display: grid; | ||
grid-template-rows: min-content 1fr min-content; | ||
grid-column: 2 / 3; | ||
position: relative; | ||
min-width: 0; | ||
grid-row: span 2; | ||
padding: 0; | ||
display: grid; | ||
grid-template-rows: min-content 1fr min-content; | ||
} | ||
|
||
.aside header { | ||
-webkit-app-region: drag; | ||
} | ||
|
||
.formTitle { | ||
user-select: none; | ||
margin: 2rem auto 1em auto; | ||
padding: 0 calc(18px + var(--form-border-radius)); | ||
font-size: 20px; | ||
font-weight: 900; | ||
text-align: center; | ||
width: max-content; | ||
user-select: none; | ||
margin: 2rem auto 1em auto; | ||
padding: 0 calc(18px + var(--form-border-radius)); | ||
font-size: 20px; | ||
font-weight: 900; | ||
text-align: center; | ||
width: max-content; | ||
} | ||
|
||
.formTitle hr { | ||
border: none; | ||
border-top: 2px solid var(--primary-color); | ||
border: none; | ||
border-top: 2px solid var(--primary-color); | ||
} | ||
|
||
.sidebarDragAnchor { | ||
background-color: transparent; | ||
transition: all 0ms; | ||
background-color: transparent; | ||
transition: all 0ms; | ||
} | ||
|
||
.sidebarDragAnchor:hover { | ||
transition: all 500ms 200ms; | ||
background-color: var(--primary-color); | ||
transition: all 500ms 200ms; | ||
background-color: var(--primary-color); | ||
} | ||
|
||
.sidebarDragAnchor:active { | ||
transition: all 0s; | ||
background-color: var(--primary-color-dark); | ||
transition: all 0s; | ||
background-color: var(--primary-color-dark); | ||
} |