-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: changes layout from grid to flex * chore: style refactored; added esl-scrollbar to settings plugin * chore: lint fix * refactor: preview plugion minor style update * refactor: style updates according to request * refactor: separated methods in settings and editor plugins; minor style changes * refactor: inner container getter extracted to plugin component
- Loading branch information
1 parent
8e85b9a
commit 5721ed6
Showing
15 changed files
with
115 additions
and
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
.uip-plugin { | ||
position: relative; | ||
flex: 1 0 auto; | ||
margin-top: 30px; | ||
border: 1px solid @section-border; | ||
padding: 10px; | ||
background-color: transparent; | ||
|
||
&-inner { | ||
max-height: 500px; | ||
padding: 10px; | ||
border: 1px solid @section-border; | ||
} | ||
|
||
&[label]::before { | ||
content: attr(label); | ||
display: inline-block; | ||
position: absolute; | ||
left: 2px; | ||
top: -4px; | ||
|
||
transform: translateY(-100%); | ||
|
||
padding-left: 10px; | ||
font-size: 20px; | ||
line-height: 22px; | ||
font-weight: 500; | ||
transform: translateY(-100%); | ||
} | ||
} |
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,20 +1,8 @@ | ||
.uip-root { | ||
display: grid; | ||
gap: 20px; | ||
display: flex; | ||
align-content: flex-start; | ||
flex-wrap: wrap; | ||
min-height: 100vh; | ||
width: 100%; | ||
padding: 20px 75px; | ||
} | ||
|
||
@media @mobile { | ||
.uip-root { | ||
&.vertical-mode, &.horizontal-mode { | ||
grid-template-columns: 100%; | ||
grid-template-rows: auto auto auto 350px; | ||
padding: 20px 60px; | ||
|
||
&.settings-attached { | ||
grid-template-columns: 100%; | ||
grid-template-rows: auto auto auto auto 350px; | ||
} | ||
} | ||
} | ||
} | ||
} |
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,22 +1,8 @@ | ||
.uip-editor { | ||
display: block; | ||
width: 100%; | ||
|
||
.uip-editor-inner { | ||
display: block; | ||
height: 100%; | ||
} | ||
} | ||
|
||
@media @mobile { | ||
.uip-root.vertical-mode, .uip-root.horizontal-mode { | ||
.uip-editor { | ||
grid-column: 1 / 2; | ||
grid-row: 4 / 5; | ||
} | ||
|
||
&.settings-attached .uip-editor { | ||
grid-column: 1 / 2; | ||
grid-row: 5 / 6; | ||
} | ||
&-inner { | ||
min-height: 350px; | ||
} | ||
} |
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
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,3 +1,4 @@ | ||
.uip-text-setting input { | ||
display: block; | ||
max-width: 100%; | ||
} |
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,12 +1,15 @@ | ||
.uip-settings { | ||
padding: 10px; | ||
} | ||
width: 20%; | ||
min-width: 200px; | ||
|
||
&-inner { | ||
position: relative; | ||
height: 100%; | ||
} | ||
|
||
@media @mobile { | ||
.uip-root.vertical-mode, .uip-root.horizontal-mode { | ||
.uip-settings { | ||
grid-column: 1 / 2; | ||
grid-row: 4 / 5; | ||
} | ||
.settings-list { | ||
height: 100%; | ||
max-height: 500px; | ||
margin-right: 10px; | ||
} | ||
} |
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
Oops, something went wrong.