2015-05-14 16:45:37 +03:00
|
|
|
/* Splitbuttons
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.splitbtn {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
/* Flatten out the right side */
|
|
|
|
/* Flatten out the left side */
|
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .gh-btn {
|
2015-05-14 16:45:37 +03:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
/* Prevent double border between buttons */
|
|
|
|
/* Make sure the hovered element is always on
|
2017-02-16 22:50:05 +03:00
|
|
|
// top so overlap from .gh-btn + btn. invisible */
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .gh-btn + .gh-btn {
|
2015-05-14 16:45:37 +03:00
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .gh-btn:hover,
|
|
|
|
.splitbtn .gh-btn:focus,
|
|
|
|
.splitbtn .gh-btn:active,
|
|
|
|
.splitbtn .gh-btn.active {
|
2015-05-14 16:45:37 +03:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .gh-btn:first-child {
|
2015-05-14 16:45:37 +03:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .gh-btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
2016-08-06 10:04:06 +03:00
|
|
|
height: 31px;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitbtn .dropdown-toggle {
|
|
|
|
padding-right: 12px;
|
2015-05-16 14:43:12 +03:00
|
|
|
padding-left: 12px;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
/* This is the additional dropdown arrow, to the right of the button. */
|
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .dropdown-toggle.gh-btn-sm {
|
2015-05-14 16:45:37 +03:00
|
|
|
padding-right: 10px;
|
2015-05-16 14:43:12 +03:00
|
|
|
padding-left: 10px;
|
2015-08-25 14:58:24 +03:00
|
|
|
height: 31px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-16 22:50:05 +03:00
|
|
|
.splitbtn .dropdown-toggle.gh-btn-lg {
|
2015-05-14 16:45:37 +03:00
|
|
|
padding-right: 16px;
|
2015-05-16 14:43:12 +03:00
|
|
|
padding-left: 16px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.splitbtn .dropdown-toggle .options {
|
|
|
|
color: #fff;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-align: center;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
2017-04-07 18:23:45 +03:00
|
|
|
|
|
|
|
.splitbtn .dropdown-toggle svg {
|
|
|
|
height: 10px;
|
|
|
|
fill: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitbtn .dropdown-toggle svg path {
|
|
|
|
stroke: #fff;
|
|
|
|
stroke-width: 2px;
|
|
|
|
}
|