debian-mirror-gitlab/app/assets/stylesheets/framework/gfm.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
/**
* Styles that apply to all GFM related forms.
*/
2015-09-11 14:41:01 +05:30
2017-09-10 17:25:29 +05:30
.gfm-commit,
2016-09-29 09:46:39 +05:30
.gfm-commit_range {
2021-09-04 01:27:46 +05:30
@include gl-font-monospace;
font-size: 95%;
2015-09-11 14:41:01 +05:30
}
2018-03-17 18:26:18 +05:30
.gfm-project_member {
padding: 0 2px;
2018-11-18 11:00:15 +05:30
background-color: $blue-100;
border-radius: $border-radius-default;
2018-12-05 23:21:45 +05:30
&.current-user {
2020-11-24 15:15:51 +05:30
background-color: $orange-50;
2018-12-05 23:21:45 +05:30
}
2018-03-17 18:26:18 +05:30
}
.gfm-color_chip {
display: inline-block;
2018-11-08 19:23:39 +05:30
line-height: 1;
2018-03-17 18:26:18 +05:30
margin: 0 0 2px 4px;
vertical-align: middle;
border-radius: 3px;
$chip-size: 0.9em;
$bg-size: $chip-size / 0.9;
$bg-pos: $bg-size / 2;
width: $chip-size;
height: $chip-size;
2020-04-22 19:07:51 +05:30
background: $white;
2018-03-17 18:26:18 +05:30
background-image: linear-gradient(135deg, $gray-dark 25%, transparent 0%, transparent 75%, $gray-dark 0%),
2019-07-07 11:18:12 +05:30
linear-gradient(135deg, $gray-dark 25%, transparent 0%, transparent 75%, $gray-dark 0%);
2018-03-17 18:26:18 +05:30
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;
}
}