2014-09-03 22:22:03 -06:00
|
|
|
.button {
|
|
|
|
|
@extend %button;
|
2015-08-06 16:15:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.button-group {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
// real button
|
|
|
|
|
> .button:first-child:not(:last-child):not(.dropdown-toggle) {
|
2015-08-21 11:28:02 -06:00
|
|
|
border-top-right-radius: 0 !important;
|
|
|
|
|
border-bottom-right-radius: 0 !important;
|
2014-09-04 15:36:34 -06:00
|
|
|
}
|
2015-08-06 16:15:41 -07:00
|
|
|
|
|
|
|
|
> .button:first-child {
|
2015-08-21 11:28:02 -06:00
|
|
|
margin-left: 0 !important;
|
2015-08-06 16:15:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .button {
|
|
|
|
|
position: relative;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// toggle caret
|
|
|
|
|
> .button + .dropdown-toggle {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding-right: 8px;
|
|
|
|
|
padding-left: 8px;
|
|
|
|
|
|
|
|
|
|
i {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .button:last-child:not(:first-child), > .dropdown-toggle:not(:first-child) {
|
2015-08-21 11:28:02 -06:00
|
|
|
border-top-left-radius: 0 !important;
|
|
|
|
|
border-bottom-left-radius: 0 !important;
|
2015-08-06 16:15:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.button + .button, .button + .button-group, .button-group + .button, .button-group + .button-group {
|
|
|
|
|
margin-left: -1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 100%;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
display: none;
|
|
|
|
|
float: left;
|
|
|
|
|
min-width: 160px;
|
|
|
|
|
padding: 5px 0;
|
|
|
|
|
margin: 2px 0 0;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
list-style: none;
|
|
|
|
|
-webkit-background-clip: padding-box;
|
|
|
|
|
background-clip: padding-box;
|
|
|
|
|
border-radius: 4px;
|
2016-02-24 19:14:44 -07:00
|
|
|
|
2015-08-18 19:05:33 -06:00
|
|
|
&.language-switcher {
|
|
|
|
|
min-width: auto;
|
|
|
|
|
}
|
2015-08-06 16:15:41 -07:00
|
|
|
|
2015-08-21 17:20:44 -06:00
|
|
|
&.lang-switcher {
|
|
|
|
|
min-width: 150px;
|
|
|
|
|
left: inherit;
|
|
|
|
|
button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-06 16:15:41 -07:00
|
|
|
.divider {
|
|
|
|
|
height: 1px;
|
|
|
|
|
margin: 9px 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
li > a {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 3px 20px;
|
|
|
|
|
clear: both;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 1.42857143;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
&:focus, &:hover {
|
|
|
|
|
text-decoration: none;
|
2015-08-17 17:43:39 +02:00
|
|
|
}
|
|
|
|
|
}
|
2015-08-06 16:15:41 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.open > .dropdown-menu {
|
|
|
|
|
display: block;
|
2014-09-03 22:22:03 -06:00
|
|
|
}
|
|
|
|
|
|
2015-08-06 16:15:41 -07:00
|
|
|
.dropdown-backdrop {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 990;
|
2015-08-17 17:43:39 +02:00
|
|
|
}
|