Skip to content

Commit 9e3c4bf

Browse files
committed
put meta-button attributes in one place
1 parent 3c6cf44 commit 9e3c4bf

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

src/styles/metafields.scss

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -136,21 +136,8 @@
136136
top: 4px;
137137
right: 0;
138138
z-index: 8;
139-
.meta-button {
140-
color: #9098A3;
141-
font-size: 13px;
142-
width: 23px;
143-
height: 23px;
144-
line-height: 1;
145-
border-radius: 50%;
146-
display: inline-block;
147-
text-align: center;
148-
outline: 0;
149-
i {
150-
margin: 0;
151-
}
152-
}
153-
.meta-button.move {
139+
span.move {
140+
color: $inactive-gray;
154141
cursor: move;
155142
&:hover, &:focus {
156143
color: $dark-orange;
@@ -161,7 +148,14 @@
161148
position: relative;
162149
.meta-button {
163150
border: 2px solid #d4d7d9;
164-
padding: 3px 0;
151+
padding: 2px 0;
152+
color: $inactive-gray;
153+
font-size: 13px;
154+
width: 23px;
155+
height: 23px;
156+
display: inline-block;
157+
text-align: center;
158+
outline: none;
165159
@include border-radius(50%);
166160
&:hover, &:focus {
167161
border-color: $dark-orange;
@@ -171,6 +165,9 @@
171165
&:focus + .dropdown-wrap {
172166
display: block;
173167
}
168+
i {
169+
margin: 0;
170+
}
174171
}
175172
.dropdown-wrap {
176173
&:before {

0 commit comments

Comments
 (0)