Ghost/ghost/admin/app/styles/components/splitbuttons.css

74 lines
1.5 KiB
CSS
Raw Normal View History

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 */
}
.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
// top so overlap from .gh-btn + btn. invisible */
2015-05-14 16:45:37 +03:00
}
.splitbtn .gh-btn + .gh-btn {
2015-05-14 16:45:37 +03:00
margin-left: -1px;
}
.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;
}
.splitbtn .gh-btn:first-child {
2015-05-14 16:45:37 +03:00
margin-left: 0;
}
.splitbtn .gh-btn:first-child:not(:last-child):not(.dropdown-toggle) {
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. */
}
.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;
height: 31px;
2015-05-14 16:45:37 +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
}
.splitbtn .dropdown-toggle svg {
height: 10px;
fill: #fff;
}
.splitbtn .dropdown-toggle svg path {
stroke: #fff;
stroke-width: 2px;
}