2012-03-06 17:35:57 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Styling for contextual module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Contextual links wrappers.
|
|
|
|
*/
|
2013-02-01 16:24:51 +00:00
|
|
|
.contextual {
|
|
|
|
position: absolute;
|
|
|
|
right: 0; /* LTR */
|
|
|
|
top: 2px;
|
|
|
|
z-index: 999;
|
|
|
|
}
|
2012-03-06 17:35:57 +00:00
|
|
|
.contextual-region-active {
|
|
|
|
outline: 1px dashed #d6d6d6;
|
|
|
|
outline-offset: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Contextual trigger.
|
|
|
|
*/
|
|
|
|
.contextual .trigger {
|
2013-02-01 16:24:51 +00:00
|
|
|
background: transparent url("images/gear-select.png") no-repeat 2px 0;
|
2012-03-06 17:35:57 +00:00
|
|
|
border: 1px solid transparent;
|
2013-02-01 16:24:51 +00:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
/* Override the .element-focusable height: auto */
|
|
|
|
height: 18px !important;
|
|
|
|
float: right; /* LTR */
|
2012-03-06 17:35:57 +00:00
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 2px;
|
2013-02-01 16:24:51 +00:00
|
|
|
position: relative;
|
|
|
|
width: 34px;
|
|
|
|
text-indent: -9999px;
|
|
|
|
z-index: 2;
|
2012-03-06 17:35:57 +00:00
|
|
|
}
|
2012-12-19 22:16:22 +00:00
|
|
|
.no-touch .contextual .trigger:hover,
|
2013-02-01 16:24:51 +00:00
|
|
|
.contextual-links-active .trigger {
|
2012-03-06 17:35:57 +00:00
|
|
|
background-position: 2px -18px;
|
|
|
|
}
|
2013-02-01 16:24:51 +00:00
|
|
|
.contextual-links-active .trigger {
|
|
|
|
background-color: #fff;
|
2012-03-06 17:35:57 +00:00
|
|
|
border-bottom: none;
|
|
|
|
border-color: #d6d6d6;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Contextual links.
|
2013-02-01 16:24:51 +00:00
|
|
|
*
|
|
|
|
* The following selectors are heavy to discourage theme overriding.
|
2012-03-06 17:35:57 +00:00
|
|
|
*/
|
2013-02-01 16:24:51 +00:00
|
|
|
.contextual-region .contextual .contextual-links {
|
2012-03-06 17:35:57 +00:00
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #d6d6d6;
|
|
|
|
border-radius: 4px 0 4px 4px; /* LTR */
|
2013-02-01 16:24:51 +00:00
|
|
|
clear: both;
|
|
|
|
float: right; /* LTR */
|
2012-03-06 17:35:57 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0.25em 0;
|
2013-02-01 16:24:51 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: left; /* LTR */
|
|
|
|
top: -1px;
|
2012-03-06 17:35:57 +00:00
|
|
|
white-space: nowrap;
|
2013-02-01 16:24:51 +00:00
|
|
|
z-index: 1;
|
2012-03-06 17:35:57 +00:00
|
|
|
}
|
|
|
|
.contextual-region .contextual .contextual-links li {
|
|
|
|
background-color: #fff;
|
|
|
|
border: none;
|
|
|
|
list-style: none;
|
|
|
|
list-style-image: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-02-01 16:24:51 +00:00
|
|
|
line-height: 100%;
|
2012-03-06 17:35:57 +00:00
|
|
|
}
|
|
|
|
.contextual-region .contextual .contextual-links a {
|
2013-02-01 16:24:51 +00:00
|
|
|
background-color: #fff;
|
|
|
|
/* This is an unforetunately necessary use of !important to prevent white
|
|
|
|
* links on a white background or some similar illegible combination. */
|
|
|
|
color: #333 !important;
|
2012-03-06 17:35:57 +00:00
|
|
|
display: block;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: small;
|
|
|
|
line-height: 0.8em;
|
|
|
|
margin: 0.25em 0;
|
2013-02-01 16:24:51 +00:00
|
|
|
padding: 0.4em 0.6em;
|
2012-03-06 17:35:57 +00:00
|
|
|
}
|
|
|
|
.contextual-region .contextual .contextual-links a,
|
2013-02-01 16:24:51 +00:00
|
|
|
.contextual-region .contextual .contextual-links a:hover {
|
2012-03-06 17:35:57 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2012-12-19 22:16:22 +00:00
|
|
|
.no-touch .contextual-region .contextual .contextual-links li a:hover {
|
2012-03-06 17:35:57 +00:00
|
|
|
background-color: #bfdcee;
|
|
|
|
}
|