]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListItemWidget.less
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / resources / src / mediawiki.rcfilters / styles / mw.rcfilters.ui.SavedLinksListItemWidget.less
1 .mw-rcfilters-ui-savedLinksListItemWidget {
2         padding: 0 0.5em;
3         line-height: normal;
4
5         &:hover {
6                 // Mimicking optionWidget styles
7                 background-color: #eaecf0;
8                 color: #000;
9         }
10
11         .mw-rcfilters-ui-cell {
12                 vertical-align: middle;
13         }
14
15         .mw-rcfilters-ui-savedLinksListItemWidget-icon .oo-ui-iconElement-icon {
16                 // Since we made the rows narrower (height smaller than usual)
17                 // then the icon needs to be slightly smaller as well, so that
18                 // when we toggle 'default' the icon doesn't bounce the option
19                 // height up a little
20                 width: 1.2em;
21                 height: 1.2em;
22                 min-width: 16px;
23                 min-height: 16px;
24                 opacity: 0.5;
25         }
26
27         &-icon span {
28                 display: inline-block;
29         }
30
31         &-input {
32                 display: inline-block;
33                 margin-right: 0;
34                 width: 15em;
35         }
36
37         &-label {
38                 max-width: 15em;
39                 display: inline-block;
40                 vertical-align: middle;
41                 text-overflow: ellipsis;
42                 overflow: hidden;
43                 cursor: pointer;
44                 margin-left: 0.5px;
45                 color: #36c; // Accent50;
46         }
47
48         &-icon,
49         &-button {
50                 width: 2em;
51         }
52
53         &-content {
54                 width: 100%;
55                 line-height: normal;
56         }
57
58 }