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

91 lines
1.2 KiB
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 {
2015-09-25 12:07:36 +05:30
@extend .btn-success;
2014-09-02 18:07:02 +05:30
}
&.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;
}
}
}
2015-09-25 12:07:36 +05:30
.btn-group-next {
.btn {
padding: 9px 0px;
font-size: 15px;
color: #7f8fa4;
border-color: #e7e9ed;
width: 140px;
&.active {
border-color: $gl-info;
background: $gl-info;
color: #fff;
}
}
}