| 1 |
/*! |
| 2 |
* VisualEditor AuthorInterface AuthorItemWidget styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
*/ |
| 6 |
|
| 7 |
.ve-ui-authorItemWidget { |
| 8 |
position: relative; |
| 9 |
margin: 0.2em 0; |
| 10 |
padding-left: 2.5em; |
| 11 |
line-height: 2em; |
| 12 |
|
| 13 |
&-color { |
| 14 |
position: absolute; |
| 15 |
width: 2em; |
| 16 |
height: 2em; |
| 17 |
left: 0; |
| 18 |
|
| 19 |
.ve-ui-authorItemWidget-editable & { |
| 20 |
cursor: pointer; |
| 21 |
outline: 1px solid #ccc; |
| 22 |
outline-offset: 1px; |
| 23 |
top: 2px; /* outline + outline-offset */ |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
&-colorPicker { |
| 28 |
margin-top: 3em; |
| 29 |
|
| 30 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 31 |
.color-picker-control { |
| 32 |
border-color: #ccc; |
| 33 |
padding: 3px; |
| 34 |
background: #fff; |
| 35 |
} |
| 36 |
} |
| 37 |
} |