2014-10-01 03:10:13 -04:00
|
|
|
/**
|
|
|
|
* Styles that apply to all GFM related forms.
|
|
|
|
*/
|
2015-06-30 22:08:10 -04:00
|
|
|
|
2017-05-11 11:47:44 -04:00
|
|
|
.gfm-commit,
|
2016-08-15 14:41:55 -04:00
|
|
|
.gfm-commit_range {
|
2017-05-11 11:47:44 -04:00
|
|
|
@extend .commit-sha;
|
2015-06-30 22:08:10 -04:00
|
|
|
}
|
2017-10-04 15:29:41 -04:00
|
|
|
|
|
|
|
.gfm-project_member {
|
|
|
|
padding: 0 2px;
|
2018-07-17 10:25:43 -04:00
|
|
|
background-color: $blue-100;
|
|
|
|
border-radius: $border-radius-default;
|
2018-08-28 12:19:52 -04:00
|
|
|
|
|
|
|
&.current-user {
|
|
|
|
background-color: $orange-100;
|
|
|
|
}
|
2017-10-04 15:29:41 -04:00
|
|
|
}
|
2017-12-20 06:39:40 -05:00
|
|
|
|
|
|
|
.gfm-color_chip {
|
|
|
|
display: inline-block;
|
2018-06-12 02:27:00 -04:00
|
|
|
line-height: 1;
|
2018-02-01 05:35:03 -05:00
|
|
|
margin: 0 0 2px 4px;
|
2017-12-20 06:39:40 -05:00
|
|
|
vertical-align: middle;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
2018-02-01 05:35:03 -05:00
|
|
|
$chip-size: 0.9em;
|
|
|
|
$bg-size: $chip-size / 0.9;
|
2017-12-20 06:39:40 -05:00
|
|
|
$bg-pos: $bg-size / 2;
|
|
|
|
|
2018-02-01 05:35:03 -05:00
|
|
|
width: $chip-size;
|
|
|
|
height: $chip-size;
|
2017-12-20 06:39:40 -05:00
|
|
|
background: $white-light;
|
2018-02-01 05:35:03 -05:00
|
|
|
background-image: linear-gradient(135deg, $gray-dark 25%, transparent 0%, transparent 75%, $gray-dark 0%),
|
2019-02-25 14:03:21 -05:00
|
|
|
linear-gradient(135deg, $gray-dark 25%, transparent 0%, transparent 75%, $gray-dark 0%);
|
2017-12-20 06:39:40 -05:00
|
|
|
background-size: $bg-size $bg-size;
|
|
|
|
background-position: 0 0, $bg-pos $bg-pos;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid $black-transparent;
|
|
|
|
}
|
|
|
|
}
|