debian-mirror-gitlab/app/assets/stylesheets/generic/buttons.scss

75 lines
941 B
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.btn {
2015-04-26 12:48:37 +05:30
@extend .btn-default;
2014-09-02 18:07:02 +05:30
&.btn-new {
@extend .btn-success;
}
&.btn-create {
@extend .btn-success;
}
&.btn-save {
@extend .btn-primary;
}
&.btn-remove {
@extend .btn-danger;
}
&.btn-cancel {
float: right;
}
&.btn-close {
2015-04-26 12:48:37 +05:30
color: $gl-danger;
border-color: $gl-danger;
2014-09-02 18:07:02 +05:30
&:hover {
color: #B94A48;
}
}
&.btn-reopen {
2015-04-26 12:48:37 +05:30
color: $gl-success;
border-color: $gl-success;
2014-09-02 18:07:02 +05:30
&:hover {
color: #468847;
}
}
&.btn-grouped {
margin-right: 7px;
float: left;
&:last-child {
margin-right: 0px;
}
}
2015-04-26 12:48:37 +05:30
&.btn-save {
@extend .btn-primary;
}
&.btn-new, &.btn-create {
@extend .btn-success;
}
2014-09-02 18:07:02 +05:30
}
.btn-block {
width: 100%;
margin: 0;
margin-bottom: 15px;
&.btn {
padding: 6px 0;
}
}
.btn-group {
&.btn-grouped {
margin-right: 7px;
float: left;
&:last-child {
margin-right: 0px;
}
}
}