2014-06-26 11:39:52 -04:00
|
|
|
.toolbar {
|
|
|
|
height: 40px;
|
|
|
|
border-bottom: 1px solid @toolbar-border-color;
|
|
|
|
|
2016-02-02 09:48:22 -05:00
|
|
|
> a, .toolbar-right > a {
|
2014-07-17 06:05:08 -04:00
|
|
|
position: relative;
|
|
|
|
.label {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: .15em .6em .2em;
|
|
|
|
font-size: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-16 07:17:26 -05:00
|
|
|
> a:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2016-09-26 11:09:27 -04:00
|
|
|
> a:not(.btn),
|
|
|
|
.toolbar-left > a:not(.btn),
|
|
|
|
.toolbar-right > a:not(.btn) {
|
2014-06-26 11:39:52 -04:00
|
|
|
display: inline-block;
|
|
|
|
color: @gray-light;
|
2014-08-12 08:18:22 -04:00
|
|
|
padding: 4px 10px 5px;
|
|
|
|
margin: 1px 2px;
|
2014-06-29 09:22:08 -04:00
|
|
|
border-radius: @border-radius-small;
|
2014-06-26 11:39:52 -04:00
|
|
|
&:hover {
|
|
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
|
|
|
|
color: @gray-dark;
|
2014-06-29 09:22:08 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-08-12 08:18:22 -04:00
|
|
|
&.active, &:active {
|
|
|
|
.label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
color: white;
|
|
|
|
background-color: @link-color;
|
|
|
|
.box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225));
|
|
|
|
&:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2014-06-26 11:39:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-full-height {
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
border-right: 1px solid @toolbar-border-color;
|
|
|
|
color: @link-color;
|
2014-07-02 05:59:18 -04:00
|
|
|
padding: 3px 10px 5px;
|
|
|
|
font-size: 20px;
|
2014-06-26 11:39:52 -04:00
|
|
|
&:hover {
|
|
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
|
|
|
|
background-color: darken(white, 10%);
|
|
|
|
color: @link-hover-color;
|
|
|
|
}
|
|
|
|
&.active, &:active {
|
|
|
|
color: white;
|
|
|
|
background-color: @link-color;
|
|
|
|
.box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225));
|
|
|
|
}
|
2014-07-17 06:05:08 -04:00
|
|
|
.label {
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
|
|
|
}
|
2014-06-26 11:39:52 -04:00
|
|
|
}
|
2017-05-01 10:04:08 -04:00
|
|
|
.btn-full-height-no-border {
|
|
|
|
border-right: 0;
|
|
|
|
border-left: 0;
|
|
|
|
}
|
2014-06-26 11:39:52 -04:00
|
|
|
|
2016-09-26 11:09:27 -04:00
|
|
|
.toolbar-left {
|
|
|
|
float: left;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-06-26 11:39:52 -04:00
|
|
|
.toolbar-right {
|
|
|
|
float: right;
|
|
|
|
.btn-full-height {
|
|
|
|
border-right: 0;
|
|
|
|
border-left: 1px solid @toolbar-border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 11:18:49 -04:00
|
|
|
.toolbar-center {
|
|
|
|
width: 300px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -150px;
|
|
|
|
text-align: center;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2014-06-26 11:39:52 -04:00
|
|
|
&.toolbar-header {
|
|
|
|
box-shadow: 0 0 2px #ccc;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.toolbar-small {
|
|
|
|
height: 32px;
|
2016-02-02 09:48:22 -05:00
|
|
|
> a, .toolbar-right > a {
|
2016-02-24 11:36:55 -05:00
|
|
|
padding: 2px 4px 1px 4px;
|
2014-08-12 08:18:22 -04:00
|
|
|
margin: 0;
|
2016-02-24 11:36:55 -05:00
|
|
|
margin-top: 2px;
|
2016-02-02 09:48:22 -05:00
|
|
|
}
|
|
|
|
> a {
|
2016-02-24 11:36:55 -05:00
|
|
|
margin-left: 2px;
|
2014-06-26 11:39:52 -04:00
|
|
|
}
|
2016-02-02 09:48:22 -05:00
|
|
|
.toolbar-right > a {
|
|
|
|
margin-left: 0;
|
2016-02-24 11:36:55 -05:00
|
|
|
margin-right: 2px;
|
2014-06-26 11:39:52 -04:00
|
|
|
}
|
|
|
|
}
|
2014-06-28 07:07:18 -04:00
|
|
|
|
|
|
|
&.toolbar-tall {
|
2014-06-29 09:22:08 -04:00
|
|
|
height: 58px;
|
|
|
|
padding-top: 10px;
|
2016-02-02 09:48:22 -05:00
|
|
|
> a, .toolbar-right > a {
|
|
|
|
padding: 4px 10px 5px;
|
|
|
|
}
|
|
|
|
> a.btn, .toolbar-right > a.btn {
|
2014-07-28 12:24:43 -04:00
|
|
|
margin: 0 (@line-height-computed / 2);
|
|
|
|
}
|
2016-02-02 09:48:22 -05:00
|
|
|
.btn-group {
|
|
|
|
margin: 0 (@line-height-computed / 2);
|
|
|
|
> .btn-group {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-06-28 07:07:18 -04:00
|
|
|
}
|
|
|
|
}
|
2014-07-11 08:55:14 -04:00
|
|
|
|
|
|
|
&.toolbar-alt {
|
|
|
|
background-color: #fafafa;
|
|
|
|
}
|
2014-06-26 11:39:52 -04:00
|
|
|
}
|
2014-07-28 10:06:26 -04:00
|
|
|
|
2016-09-26 10:03:04 -04:00
|
|
|
.toolbar-label {
|
2016-11-22 05:59:20 -05:00
|
|
|
display: none;
|
2016-09-26 11:09:27 -04:00
|
|
|
margin: 0 4px;
|
|
|
|
font-size: 12px;
|
2016-09-28 04:31:59 -04:00
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 2px;
|
2016-09-26 11:09:27 -04:00
|
|
|
vertical-align: middle;
|
2016-11-22 05:59:20 -05:00
|
|
|
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-09-26 10:03:04 -04:00
|
|
|
}
|
|
|
|
|
2014-07-28 10:06:26 -04:00
|
|
|
.editor-dark {
|
|
|
|
.toolbar-alt {
|
|
|
|
background-color: darken(@editor-dark-background-color, 0%);
|
|
|
|
}
|
|
|
|
.toolbar {
|
|
|
|
border-color: @editor-dark-toolbar-border-color;
|
|
|
|
.btn-full-height {
|
|
|
|
border-color: @editor-dark-toolbar-border-color;
|
|
|
|
&:hover {
|
|
|
|
background-color: black;
|
|
|
|
color: lighten(@link-color, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.toolbar-header {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-02-02 09:48:22 -05:00
|
|
|
> a:not(.btn) {
|
2014-07-28 10:06:26 -04:00
|
|
|
color: @gray;
|
|
|
|
&:hover {
|
|
|
|
color: @gray-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|