blob: 06a6728be396dbdc081f49c3f6e81b01cabf2ca8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
/**
* @file
* Styling for contextual module.
*/
/**
* Contextual links wrappers.
*/
.contextual {
position: absolute;
z-index: 500;
top: 6px;
right: 0; /* LTR */
}
[dir="rtl"] .contextual {
right: auto;
left: 0;
}
/**
* Contextual region.
*/
.contextual-region.focus {
outline: 1px dashed #d6d6d6;
outline-offset: 1px;
}
/**
* Contextual trigger.
*/
.contextual .trigger {
position: relative;
right: 6px; /* LTR */
float: right; /* LTR */
overflow: hidden;
margin: 0;
padding: 0 2px;
cursor: pointer;
border: 1px solid #ccc;
border-radius: 13px;
background-color: #fff;
background-attachment: scroll;
}
[dir="rtl"] .contextual .trigger {
right: auto;
left: 6px;
float: left;
}
.contextual.open .trigger {
z-index: 2;
border: 1px solid #ccc;
border-bottom-color: transparent;
border-radius: 13px 13px 0 0;
box-shadow: none;
}
/**
* Contextual links.
*
* The following selectors are heavy to discourage theme overriding.
*/
.contextual-region .contextual .contextual-links {
position: relative;
top: -1px;
right: 6px; /* LTR */
float: right; /* LTR */
clear: both;
margin: 0;
padding: 0.25em 0;
text-align: left; /* LTR */
white-space: nowrap;
border: 1px solid #ccc;
border-radius: 4px 0 4px 4px; /* LTR */
background-color: #fff;
}
[dir="rtl"] .contextual-region .contextual .contextual-links {
right: auto;
left: 6px;
float: left;
text-align: right;
border-radius: 0 4px 4px 4px;
}
.contextual-region .contextual .contextual-links li {
margin: 0;
padding: 0;
list-style: none;
list-style-image: none;
border: none;
background-color: #fff;
line-height: 100%;
}
.contextual-region .contextual .contextual-links a {
display: block;
margin: 0.25em 0;
padding: 0.4em 0.6em;
color: #333;
background-color: #fff;
font-family: sans-serif;
font-size: small;
font-weight: normal;
line-height: 0.8em;
}
.touchevents .contextual-region .contextual .contextual-links a {
font-size: large;
}
.contextual-region .contextual .contextual-links a,
.contextual-region .contextual .contextual-links a:hover {
text-decoration: none;
}
.no-touchevents .contextual-region .contextual .contextual-links li a:hover {
color: #000;
background: #f7fcff;
}
|