| 1 |
/*! |
| 2 |
* VisualEditor UserInterface Table Context styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
*/ |
| 6 |
|
| 7 |
@contextThickness: 1em; |
| 8 |
@contextSpacing: 0.2em; |
| 9 |
|
| 10 |
.ve-ui-tableLineContext { |
| 11 |
/* Ensure it is placed above the table context */ |
| 12 |
z-index: 3; |
| 13 |
|
| 14 |
> .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon { |
| 15 |
position: absolute; |
| 16 |
display: block; |
| 17 |
background-color: #d3e5fd; |
| 18 |
box-sizing: border-box; |
| 19 |
cursor: pointer; |
| 20 |
margin: 0; |
| 21 |
} |
| 22 |
|
| 23 |
&-col > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon { |
| 24 |
width: 100%; |
| 25 |
height: @contextThickness; |
| 26 |
min-height: auto; |
| 27 |
top: -( @contextThickness + @contextSpacing ); |
| 28 |
border-bottom: 0; |
| 29 |
} |
| 30 |
|
| 31 |
&-row > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon { |
| 32 |
width: @contextThickness; |
| 33 |
min-width: auto; |
| 34 |
left: -( @contextThickness + @contextSpacing ); |
| 35 |
border-right: 0; |
| 36 |
} |
| 37 |
|
| 38 |
&-table > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon { |
| 39 |
height: @contextThickness; |
| 40 |
width: @contextThickness; |
| 41 |
min-width: auto; |
| 42 |
min-height: auto; |
| 43 |
top: -( @contextThickness + @contextSpacing ); |
| 44 |
left: -( @contextThickness + @contextSpacing ); |
| 45 |
border-bottom: 0; |
| 46 |
border-right: 0; |
| 47 |
} |
| 48 |
|
| 49 |
.ve-ce-tableNodeOverlay-deactivated & > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon { |
| 50 |
background-color: #ddd; |
| 51 |
} |
| 52 |
|
| 53 |
&-menu { |
| 54 |
z-index: 2; |
| 55 |
} |
| 56 |
} |