2017-10-07 00:25:17 -04:00
|
|
|
@mixin btn-comment-icon {
|
|
|
|
border-radius: 50%;
|
2020-03-30 20:08:09 -04:00
|
|
|
background: $white;
|
2019-05-31 11:36:09 -04:00
|
|
|
padding: 1px;
|
2017-10-07 00:25:17 -04:00
|
|
|
font-size: 12px;
|
|
|
|
color: $blue-500;
|
2019-05-31 11:36:09 -04:00
|
|
|
border: 1px solid $blue-500;
|
2017-12-05 02:35:37 -05:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2017-10-07 00:25:17 -04:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.inverted {
|
|
|
|
background: $blue-500;
|
|
|
|
border-color: $blue-600;
|
2020-03-30 20:08:09 -04:00
|
|
|
color: $white;
|
2017-10-07 00:25:17 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-05 15:18:21 -04:00
|
|
|
@mixin btn-default {
|
2019-05-24 11:45:09 -04:00
|
|
|
border-radius: $border-radius-default;
|
2016-01-14 07:59:28 -05:00
|
|
|
font-size: $gl-font-size;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2019-07-16 12:03:29 -04:00
|
|
|
padding: $gl-vert-padding $gl-btn-padding;
|
2015-10-07 11:21:15 -04:00
|
|
|
|
2015-10-08 07:29:14 -04:00
|
|
|
&:focus,
|
2015-09-25 14:33:05 -04:00
|
|
|
&:active {
|
2016-04-01 15:27:39 -04:00
|
|
|
background-color: $btn-active-gray;
|
2019-12-18 13:08:04 -05:00
|
|
|
box-shadow: none;
|
2015-09-25 14:33:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin btn-middle {
|
2015-10-08 07:29:14 -04:00
|
|
|
@include btn-default;
|
2015-09-25 14:33:05 -04:00
|
|
|
}
|
|
|
|
|
2019-05-24 11:45:09 -04:00
|
|
|
@mixin btn-outline($background, $text, $border, $hover-background, $hover-text, $hover-border, $active-background, $active-border, $active-text) {
|
2016-05-31 13:14:55 -04:00
|
|
|
background-color: $background;
|
|
|
|
color: $text;
|
|
|
|
border-color: $border;
|
|
|
|
|
2019-01-29 11:29:21 -05:00
|
|
|
&.btn-border-color {
|
|
|
|
border-color: $border-color;
|
|
|
|
}
|
|
|
|
|
2017-06-07 09:17:03 -04:00
|
|
|
> .icon {
|
2017-06-07 06:18:35 -04:00
|
|
|
color: $text;
|
|
|
|
}
|
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: $hover-background;
|
|
|
|
border-color: $hover-border;
|
|
|
|
color: $hover-text;
|
2017-06-07 06:18:35 -04:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
> .icon {
|
|
|
|
color: $hover-text;
|
2017-06-07 06:18:35 -04:00
|
|
|
}
|
2019-07-16 12:03:29 -04:00
|
|
|
}
|
2016-11-28 11:38:05 -05:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 4px 1px $blue-300;
|
|
|
|
}
|
2019-05-24 11:45:09 -04:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&:active {
|
|
|
|
background-color: $active-background;
|
|
|
|
border-color: $active-border;
|
|
|
|
box-shadow: inset 0 2px 4px 0 rgba($black, 0.2);
|
|
|
|
color: $active-text;
|
2017-06-07 06:18:35 -04:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
> .icon {
|
2019-05-24 11:45:09 -04:00
|
|
|
color: $active-text;
|
2019-07-16 12:03:29 -04:00
|
|
|
}
|
2019-05-24 11:45:09 -04:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&:focus {
|
|
|
|
box-shadow: inset 0 2px 4px 0 rgba($black, 0.2);
|
2017-06-07 06:18:35 -04:00
|
|
|
}
|
2016-05-31 13:14:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
@mixin btn-color($light, $border-light, $normal, $border-normal, $dark, $border-dark, $color) {
|
2015-10-08 07:29:14 -04:00
|
|
|
background-color: $light;
|
|
|
|
border-color: $border-light;
|
|
|
|
color: $color;
|
2015-09-25 14:33:05 -04:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: $normal;
|
|
|
|
border-color: $border-normal;
|
|
|
|
color: $color;
|
|
|
|
}
|
2015-10-07 11:21:15 -04:00
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
background-color: $dark;
|
|
|
|
border-color: $border-dark;
|
|
|
|
color: $color;
|
2015-10-07 11:21:15 -04:00
|
|
|
}
|
|
|
|
}
|
2015-09-25 14:33:05 -04:00
|
|
|
|
2015-10-08 07:29:14 -04:00
|
|
|
@mixin btn-green {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-color($green-500, $green-600, $green-600, $green-700, $green-700, $green-800, $white);
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
2015-10-08 07:29:14 -04:00
|
|
|
@mixin btn-blue {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-color($blue-500, $blue-600, $blue-600, $blue-700, $blue-700, $blue-800, $white);
|
2015-12-22 16:33:46 -05:00
|
|
|
}
|
|
|
|
|
2015-10-08 07:29:14 -04:00
|
|
|
@mixin btn-orange {
|
2020-09-09 02:08:55 -04:00
|
|
|
@include btn-color($orange-500, $orange-600, $orange-500, $orange-600, $orange-600, $orange-800, $white);
|
2015-09-25 14:33:05 -04:00
|
|
|
}
|
|
|
|
|
2015-10-07 11:21:15 -04:00
|
|
|
@mixin btn-red {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-color($red-500, $red-600, $red-600, $red-700, $red-700, $red-800, $white);
|
2015-10-08 07:29:14 -04:00
|
|
|
}
|
2015-10-07 11:21:15 -04:00
|
|
|
|
2015-10-08 07:29:14 -04:00
|
|
|
@mixin btn-white {
|
2020-04-14 17:09:52 -04:00
|
|
|
@include btn-color($white, $border-color, $white-normal, $border-white-normal, $white-dark, $border-white-normal, $gl-text-color);
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
2016-06-08 11:06:28 -04:00
|
|
|
@mixin btn-with-margin {
|
|
|
|
margin-left: $btn-side-margin;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
&.inline {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-sm {
|
|
|
|
margin-left: $btn-sm-side-margin;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-28 14:07:25 -05:00
|
|
|
@mixin btn-svg {
|
|
|
|
height: $gl-padding;
|
|
|
|
width: $gl-padding;
|
|
|
|
top: 0;
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
|
2015-10-07 11:21:15 -04:00
|
|
|
.btn {
|
2015-10-05 15:18:21 -04:00
|
|
|
@include btn-default;
|
2015-10-07 11:21:15 -04:00
|
|
|
@include btn-white;
|
2015-10-05 15:18:21 -04:00
|
|
|
|
2016-02-19 21:46:18 -05:00
|
|
|
color: $gl-text-color;
|
2019-04-05 13:26:51 -04:00
|
|
|
white-space: nowrap;
|
2016-02-19 21:46:18 -05:00
|
|
|
|
2016-02-22 09:58:04 -05:00
|
|
|
&:focus:active {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-16 12:03:29 -04:00
|
|
|
&.btn-sm {
|
|
|
|
padding: 4px 10px;
|
|
|
|
font-size: $gl-btn-small-font-size;
|
|
|
|
line-height: $gl-btn-small-line-height;
|
2015-12-22 15:22:37 -05:00
|
|
|
}
|
2015-10-13 05:33:46 -04:00
|
|
|
|
2019-07-11 06:06:09 -04:00
|
|
|
&.btn-xs {
|
2019-07-16 12:03:29 -04:00
|
|
|
padding: 2px $gl-btn-padding;
|
|
|
|
font-size: $gl-btn-xs-font-size;
|
|
|
|
line-height: $gl-btn-xs-line-height;
|
2019-07-11 06:06:09 -04:00
|
|
|
}
|
|
|
|
|
2020-12-10 16:10:15 -05:00
|
|
|
&.btn-success {
|
2015-10-07 11:21:15 -04:00
|
|
|
@include btn-green;
|
|
|
|
}
|
2015-10-05 15:18:21 -04:00
|
|
|
|
2020-06-23 11:08:41 -04:00
|
|
|
&.btn-inverted:not(.disabled):not(:disabled) {
|
2018-09-18 05:58:22 -04:00
|
|
|
&.btn-success {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-outline($white, $green-600, $green-500, $green-100, $green-700, $green-500, $green-200, $green-600, $green-800);
|
2016-07-22 20:15:08 -04:00
|
|
|
}
|
2016-09-21 10:15:12 -04:00
|
|
|
|
2019-02-13 06:35:17 -05:00
|
|
|
&.btn-danger {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-outline($white, $red-500, $red-500, $red-100, $red-700, $red-500, $red-200, $red-600, $red-800);
|
2016-09-21 10:15:12 -04:00
|
|
|
}
|
2018-01-26 01:25:26 -05:00
|
|
|
|
2018-09-03 06:57:41 -04:00
|
|
|
&.btn-warning {
|
2020-09-09 02:08:55 -04:00
|
|
|
@include btn-outline($white, $orange-500, $orange-500, $orange-50, $orange-600, $orange-600, $orange-100, $orange-700, $orange-700);
|
2018-09-03 06:57:41 -04:00
|
|
|
}
|
|
|
|
|
2018-01-26 01:25:26 -05:00
|
|
|
&.btn-primary,
|
|
|
|
&.btn-info {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-outline($white, $blue-500, $blue-500, $blue-100, $blue-700, $blue-500, $blue-200, $blue-600, $blue-800);
|
2018-01-26 01:25:26 -05:00
|
|
|
}
|
2016-07-22 20:15:08 -04:00
|
|
|
}
|
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
&.btn-info,
|
2018-09-06 05:43:14 -04:00
|
|
|
&.btn-primary {
|
2015-10-08 07:29:14 -04:00
|
|
|
@include btn-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-warning {
|
|
|
|
@include btn-orange;
|
|
|
|
}
|
|
|
|
|
2020-12-10 16:10:15 -05:00
|
|
|
&.btn-danger {
|
2015-10-07 11:32:00 -04:00
|
|
|
@include btn-red;
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-grouped {
|
2016-06-08 11:06:28 -04:00
|
|
|
@include btn-with-margin;
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
2016-06-08 10:20:07 -04:00
|
|
|
|
2018-11-07 06:46:40 -05:00
|
|
|
&.btn-icon {
|
2020-08-20 14:10:16 -04:00
|
|
|
color: $gray-700;
|
2018-11-07 06:46:40 -05:00
|
|
|
}
|
|
|
|
|
2021-02-18 01:09:43 -05:00
|
|
|
// deprecated class
|
2018-11-08 02:58:45 -05:00
|
|
|
&.btn-text-field {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2020-10-07 08:09:12 -04:00
|
|
|
padding: 6px 16px;
|
|
|
|
border-color: $border-color;
|
|
|
|
color: $gray-darkest;
|
|
|
|
background-color: $white;
|
2018-11-08 02:58:45 -05:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
cursor: text;
|
2020-10-07 08:09:12 -04:00
|
|
|
box-shadow: none;
|
|
|
|
border-color: lighten($blue-300, 20%);
|
|
|
|
color: $gray-darkest;
|
2018-11-08 02:58:45 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-05 19:00:22 -05:00
|
|
|
&.dot-highlight::after {
|
|
|
|
content: '';
|
|
|
|
background-color: $blue-500;
|
|
|
|
width: $gl-padding * 0.5;
|
|
|
|
height: $gl-padding * 0.5;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
2017-09-19 13:40:03 -04:00
|
|
|
svg {
|
2019-07-16 12:03:29 -04:00
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
2017-09-19 13:40:03 -04:00
|
|
|
}
|
|
|
|
|
2020-12-10 10:10:12 -05:00
|
|
|
svg:not(:last-child) {
|
|
|
|
margin-right: 5px;
|
2016-08-04 18:37:32 -04:00
|
|
|
}
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
2016-03-11 11:14:29 -05:00
|
|
|
.btn-lg {
|
|
|
|
padding: 12px 20px;
|
|
|
|
}
|
|
|
|
|
2016-03-02 05:12:37 -05:00
|
|
|
.btn-transparent {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-03-02 05:12:37 -05:00
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-05 15:18:21 -04:00
|
|
|
.btn-block {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 15px;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2015-10-05 15:18:21 -04:00
|
|
|
&.btn {
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
&.btn-grouped {
|
2016-06-08 11:06:28 -04:00
|
|
|
@include btn-with-margin;
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-03 09:44:52 -05:00
|
|
|
.btn-clipboard {
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2016-01-14 07:59:28 -05:00
|
|
|
padding: 0 5px;
|
2018-07-23 10:58:21 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
top: auto;
|
2019-05-30 08:54:12 -04:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2018-07-23 10:58:21 -04:00
|
|
|
}
|
2016-01-14 07:59:28 -05:00
|
|
|
}
|
|
|
|
|
2018-04-12 16:49:37 -04:00
|
|
|
.input-group-prepend,
|
|
|
|
.input-group-append {
|
2016-01-14 07:59:28 -05:00
|
|
|
.btn {
|
|
|
|
@include btn-middle;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-clipboard {
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.active {
|
2016-09-09 12:59:36 -04:00
|
|
|
box-shadow: $gl-btn-active-background;
|
2016-01-14 07:59:28 -05:00
|
|
|
|
2020-04-14 17:09:52 -04:00
|
|
|
border: 1px solid $border-white-normal !important;
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $btn-active-gray-light !important;
|
2016-01-14 07:59:28 -05:00
|
|
|
}
|
2015-11-03 09:44:52 -05:00
|
|
|
}
|
2016-03-17 08:54:02 -04:00
|
|
|
|
|
|
|
.btn-loading {
|
2020-02-19 13:09:10 -05:00
|
|
|
&:not(.disabled) {
|
2021-04-29 17:10:03 -04:00
|
|
|
.gl-spinner {
|
2020-02-19 13:09:10 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2016-03-17 08:54:02 -04:00
|
|
|
}
|
|
|
|
}
|
2016-04-01 15:27:39 -04:00
|
|
|
|
2016-06-15 18:30:55 -04:00
|
|
|
.clone-dropdown-btn a {
|
2020-08-20 14:10:16 -04:00
|
|
|
color: $gray-700;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-06-15 18:30:55 -04:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2016-06-29 16:26:02 -04:00
|
|
|
|
2016-11-17 15:56:27 -05:00
|
|
|
.btn-inverted {
|
|
|
|
&-secondary {
|
2020-03-30 20:08:09 -04:00
|
|
|
@include btn-outline($white, $blue-500, $blue-500, $blue-100, $blue-700, $blue-500, $blue-200, $blue-600, $blue-800);
|
2016-11-17 15:56:27 -05:00
|
|
|
}
|
2016-11-10 17:53:32 -05:00
|
|
|
}
|
|
|
|
|
2017-03-24 12:17:38 -04:00
|
|
|
.btn-blank {
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
2017-11-10 18:41:04 -05:00
|
|
|
border-radius: 0;
|
2017-03-24 12:17:38 -04:00
|
|
|
|
2017-09-14 07:01:07 -04:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
2017-03-24 12:17:38 -04:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
2017-09-14 07:01:07 -04:00
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
2017-03-24 12:17:38 -04:00
|
|
|
}
|
|
|
|
}
|
2017-11-10 18:41:04 -05:00
|
|
|
|
2018-03-01 13:21:14 -05:00
|
|
|
.btn-link {
|
2018-04-07 01:16:51 -04:00
|
|
|
padding: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
color: $blue-600;
|
|
|
|
font-weight: normal;
|
|
|
|
border-radius: 0;
|
|
|
|
border-color: transparent;
|
2020-03-31 14:07:42 -04:00
|
|
|
border-width: 0;
|
2017-11-10 18:41:04 -05:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-04-07 01:16:51 -04:00
|
|
|
color: $blue-800;
|
|
|
|
text-decoration: underline;
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: transparent;
|
2017-11-10 18:41:04 -05:00
|
|
|
}
|
|
|
|
|
2019-03-20 07:28:24 -04:00
|
|
|
&.btn-secondary-hover-link,
|
|
|
|
&.btn-default-hover-link {
|
2018-04-09 11:20:39 -04:00
|
|
|
color: $gl-text-color-secondary;
|
2017-11-10 18:41:04 -05:00
|
|
|
|
2018-04-09 11:20:39 -04:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $blue-600;
|
2018-04-09 11:20:39 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-04-07 01:16:51 -04:00
|
|
|
}
|
|
|
|
|
2018-04-09 11:20:39 -04:00
|
|
|
&.btn-primary-hover-link {
|
|
|
|
color: inherit;
|
2018-04-09 12:29:24 -04:00
|
|
|
|
2018-04-09 11:20:39 -04:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $blue-600;
|
2018-04-09 11:20:39 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-11-10 18:41:04 -05:00
|
|
|
}
|
|
|
|
}
|
2017-11-28 14:07:25 -05:00
|
|
|
|
2020-07-22 02:09:44 -04:00
|
|
|
// The .btn-svg class is available for legacy icon buttons to
|
|
|
|
// preserve a 34px height and have 16x16 icons at the same time.
|
|
|
|
// Once a button is migrated (to the current 32px height)
|
|
|
|
// please remove this class from the new button.
|
2019-07-16 12:03:29 -04:00
|
|
|
.btn-svg svg {
|
|
|
|
@include btn-svg;
|
2017-11-28 14:07:25 -05:00
|
|
|
}
|
2018-01-16 14:31:17 -05:00
|
|
|
|
2018-01-17 12:58:45 -05:00
|
|
|
// All disabled buttons, regardless of color, type, etc
|
2018-01-16 14:31:17 -05:00
|
|
|
.btn.disabled,
|
|
|
|
.btn[disabled],
|
|
|
|
fieldset[disabled] .btn,
|
|
|
|
.dropdown-toggle[disabled],
|
|
|
|
[disabled].dropdown-menu-toggle {
|
2021-03-11 13:09:23 -05:00
|
|
|
&,
|
2018-01-17 12:58:45 -05:00
|
|
|
&:hover {
|
2021-03-11 13:09:23 -05:00
|
|
|
background-color: $gray-light;
|
|
|
|
border-color: $gray-100;
|
|
|
|
color: $gl-text-color-disabled;
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&.cursor-not-allowed {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
color: $gl-text-color-disabled;
|
|
|
|
}
|
2018-01-16 14:31:17 -05:00
|
|
|
}
|
2020-06-23 11:08:41 -04:00
|
|
|
|
|
|
|
&.btn-link {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2018-01-16 14:31:17 -05:00
|
|
|
}
|
2018-04-12 12:29:54 -04:00
|
|
|
|
2018-06-06 16:13:03 -04:00
|
|
|
[readonly] {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2018-04-12 12:29:54 -04:00
|
|
|
.btn-no-padding {
|
|
|
|
padding: 0;
|
2018-04-13 04:16:06 -04:00
|
|
|
}
|
2020-09-16 14:09:47 -04:00
|
|
|
|
|
|
|
// This class helps convert `.gl-button` children so that they consistently
|
|
|
|
// match the style of `.btn` elements which might be around them. Ideally we
|
|
|
|
// wouldn't need this class.
|
|
|
|
//
|
|
|
|
// Remove by upgrading all buttons in a container to use the new `.gl-button` style.
|
|
|
|
.gl-button-deprecated-adapter .gl-button {
|
|
|
|
box-shadow: none;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|