Debian Codegraph @

extensions/VisualEditor/lib/ve/src/ui/styles/widgets/ve.ui.ContextOptionWidget.less

raw
1 /*!
2 * VisualEditor UserInterface ContextOptionWidget styles.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 .ve-ui-contextOptionWidget {
8 padding: 0.5em 1em 0.5em 3em;
9
10 .oo-ui-labelElement-label {
11 color: #54595d;
12 /* Size required to match menu and inspector widths */
13 max-width: 19.4em;
14 text-overflow: ellipsis;
15 overflow: hidden;
16 }
17
18 .oo-ui-iconElement-icon {
19 opacity: 0.8;
20 }
21
22 &.oo-ui-optionWidget-highlighted,
23 &.oo-ui-optionWidget-selected,
24 &.oo-ui-optionWidget-pressed {
25 background-color: transparent;
26 }
27
28 &.oo-ui-optionWidget-highlighted .oo-ui-iconElement-icon {
29 opacity: 1;
30 }
31 }