mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 23:38:06 +08:00
Design tweaks to frontend components
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
<style lang="scss">
|
||||
.number-input {
|
||||
width: 64px;
|
||||
height: 22px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
border: 1px solid #888;
|
||||
border-radius: 2px;
|
||||
background: #111;
|
||||
overflow: hidden;
|
||||
|
||||
input {
|
||||
width: calc(100% - 8px);
|
||||
@@ -42,15 +42,25 @@
|
||||
top: 0;
|
||||
outline: none;
|
||||
border: none;
|
||||
background: #333;
|
||||
background: none;
|
||||
padding: 9px 0;
|
||||
|
||||
&:hover {
|
||||
background: #666;
|
||||
|
||||
&.right::before {
|
||||
border-color: transparent transparent transparent #fff;
|
||||
}
|
||||
|
||||
&.left::after {
|
||||
border-color: transparent #fff transparent transparent;
|
||||
}
|
||||
}
|
||||
|
||||
&.right {
|
||||
right: 0;
|
||||
padding: 8px 6px 8px 7px;
|
||||
padding-left: 7px;
|
||||
padding-right: 6px;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
@@ -65,7 +75,8 @@
|
||||
|
||||
&.left {
|
||||
left: 0;
|
||||
padding: 8px 7px 8px 6px;
|
||||
padding-left: 6px;
|
||||
padding-right: 7px;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
font-size: 0;
|
||||
|
||||
button {
|
||||
fill: #fff;
|
||||
fill: #ddd;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
&.active {
|
||||
background: #3194d6;
|
||||
fill: #fff;
|
||||
}
|
||||
|
||||
& + .icon-button {
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
<style lang="scss">
|
||||
.shelf-item {
|
||||
padding: 4px;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
font-size: 0;
|
||||
|
||||
&:hover {
|
||||
background: #666;
|
||||
|
||||
Reference in New Issue
Block a user