-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathworkbench-tabs.css
More file actions
143 lines (124 loc) · 3.07 KB
/
Copy pathworkbench-tabs.css
File metadata and controls
143 lines (124 loc) · 3.07 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/**
* @file workbench-tabs.css
* CSS for displaying local task tabs below the core toolbar.
*/
/* Container */
.workbench-tabs {
background-color: #FFFFFF;
}
/* Tabs Container */
.workbench-tabs__tabs {
position: relative;
min-height: 33px;
background-color: #F5F5F5;
box-shadow: 0px 2px 10px #888888 inset;
}
/* Tabs lists */
.workbench-tabs__tabs > ul {
list-style: none;
margin: 0;
padding: 0;
text-align: right;
}
/* Tabs Lists Items */
.workbench-tabs__tabs > ul > li {
display: inline-block;
}
/* Primary Tabs default */
.primary-tabs > li > a {
display: inline-block;
padding: 10px 25px;
}
/* Primary Tabs hover and focus */
.primary-tabs > li > a:active,
.primary-tabs > li > a:hover,
.primary-tabs > li > a:focus {
background-color: #FFFFFF;
text-decoration: none;
color: #0032a0; /*Drupal Link color*/
transition: all 0.15s ease-out;
}
/* Primary Tabs Active */
.primary-tabs > li > a.is-active {
background-color: #FFFFFF;
color: #0C2240; /*Drupal hover color*/
box-shadow: 2px 2px 2px #888888;
}
/* Secondary Tabs List (ul) */
.secondary-tabs {
display: block;
border-top: 1px solid #b5b5b5;
background-color: #EBEBEB;
box-shadow: 0px 2px 10px rgba(181, 181, 181, 0.5) inset;
}
/* Secondary Tabs default link */
.secondary-tabs > li > a {
display: inline-block;
padding: 5px 15px;
}
/* Secondary Tabs hover */
.secondary-tabs > li > a:active,
.secondary-tabs > li > a:hover,
.secondary-tabs > li > a:focus {
background-color: rgba(181, 181, 181, 0.5);
color: #0032a0; /*Drupal Link color*/
}
/* Secondary Tabs Active */
.secondary-tabs > li > a.is-active {
background-color: rgba(181, 181, 181, 0.5);
color: #0C2240; /*Drupal hover color*/
}
/* Messages Container */
.workbench-tabs__message {
padding: 10px 20px;
}
/* Messages Container, closed */
.workbench-tabs__message.is-closed {
display: none;
padding: 10px 20px;
}
/* Zap toolbar link styling within the message area. */
.workbench-tabs.toolbar .workbench-tabs__message a {
display: inline;
line-height: inherit;
}
/* Open/Close Messages Trigger */
.workbench-tabs__trigger {
position: absolute;
top: 0;
left: 20px;
display: inline-block;
border-left: 1px solid #b5b5b5;
border-right: 1px solid #b5b5b5;
padding: 8px 25px;
color: #0032a0;
}
/* Place "Hide" in for messaging when the drawer is open */
.workbench-tabs__trigger > .show {
display: none;
}
.workbench-tabs__trigger > .hide {
display: inline;
}
/* Place "Show" in for messaging when the drawer is closed */
.workbench-tabs__trigger.is-closed > .show {
display: inline;
}
.workbench-tabs__trigger.is-closed > .hide {
display: none;
}
/* add in an arrow indicator to the message */
.workbench-tabs__trigger:after {
content: url('../images/icon-arrow.png');
position: relative;
top: 2px;
display: inline-block;
margin-left: 10px;
}
/* Rotate the arrow indicator when the drawer is closed */
.workbench-tabs__trigger.is-closed:after {
-ms-transform: rotate(180deg); /* IE 9 */
-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
transform: rotate(180deg);
top: -.5px;
}