summaryrefslogtreecommitdiffstats
path: root/core/modules/contextual/css/contextual.toolbar.css
blob: 3c82a1503a48a33b76b0082e12ca5da36143c2e1 (plain)
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
/**
 * @file
 * Styling for contextual module's toolbar tab.
 */

/* Tab appearance. */
.toolbar .toolbar-bar .contextual-toolbar-tab.toolbar-tab {
  float: right; /* LTR */
}
[dir="rtl"] .toolbar .toolbar-bar .contextual-toolbar-tab.toolbar-tab {
  float: left;
}
.toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item {
  margin: 0;
  /* Hide tab text. */
  padding-left: 1.3333em; /* LTR */
  text-indent: -9999px;
}
[dir="rtl"] .toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item {
  padding-right: 1.3333em;
}
.toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item.is-active {
  background-image:-webkit-linear-gradient(rgb(78,159,234) 0%, rgb(69,132,221) 100%);
  background-image:linear-gradient(rgb(78,159,234) 0%,rgb(69,132,221) 100%);
}

/* @todo get rid of this declaration by making toolbar.module's CSS less specific */
.toolbar .toolbar-bar .contextual-toolbar-tab.toolbar-tab.hidden {
  display: none;
}