2012-08-29 18:23:43 +00:00
|
|
|
/** COLORS **/
|
2018-08-22 16:40:38 +00:00
|
|
|
.cgray { color: $gl-text-color; }
|
2016-11-30 13:25:25 +00:00
|
|
|
.clgray { color: $common-gray-light; }
|
2018-08-22 16:40:38 +00:00
|
|
|
.cred { color: $red-500; }
|
|
|
|
.cgreen { color: $green-600; }
|
2016-11-30 13:25:25 +00:00
|
|
|
.cdark { color: $common-gray-dark; }
|
2017-11-23 05:04:22 +00:00
|
|
|
|
2020-03-31 00:08:09 +00:00
|
|
|
.fwhite { fill: $white; }
|
2020-08-17 21:09:56 +00:00
|
|
|
.fgray { fill: $gray-500; }
|
2019-05-20 17:08:37 +00:00
|
|
|
|
2017-11-23 05:04:22 +00:00
|
|
|
.text-plain,
|
|
|
|
.text-plain:hover {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2017-11-23 10:13:57 +00:00
|
|
|
|
2017-10-24 13:48:41 +00:00
|
|
|
.text-secondary {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
2012-08-29 18:23:43 +00:00
|
|
|
|
2018-03-06 22:54:19 +00:00
|
|
|
.text-tertiary {
|
|
|
|
color: $gl-text-color-tertiary;
|
|
|
|
}
|
|
|
|
|
2017-11-23 05:07:13 +00:00
|
|
|
.text-primary,
|
|
|
|
.text-primary:hover {
|
|
|
|
color: $brand-primary;
|
|
|
|
}
|
|
|
|
|
2017-11-23 05:04:22 +00:00
|
|
|
.text-success,
|
|
|
|
.text-success:hover {
|
|
|
|
color: $brand-success;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-danger,
|
|
|
|
.text-danger:hover {
|
|
|
|
color: $brand-danger;
|
|
|
|
}
|
|
|
|
|
2018-11-07 17:20:17 +00:00
|
|
|
.text-danger-muted,
|
|
|
|
.text-danger-muted:hover {
|
|
|
|
color: $red-300;
|
|
|
|
}
|
|
|
|
|
2017-11-23 05:04:22 +00:00
|
|
|
.text-warning,
|
|
|
|
.text-warning:hover {
|
|
|
|
color: $brand-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-info,
|
|
|
|
.text-info:hover {
|
|
|
|
color: $brand-info;
|
|
|
|
}
|
|
|
|
|
2019-05-07 17:46:33 +00:00
|
|
|
.bg-gray-light {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
|
2020-01-15 00:09:05 +00:00
|
|
|
.bg-white {
|
|
|
|
background-color: $white;
|
|
|
|
}
|
|
|
|
|
2019-10-04 12:06:14 +00:00
|
|
|
.bg-line-target-blue {
|
|
|
|
background: $line-target-blue;
|
|
|
|
}
|
|
|
|
|
2019-01-28 03:35:23 +00:00
|
|
|
.text-break-word {
|
2019-02-13 14:25:30 +00:00
|
|
|
word-break: break-all;
|
2019-01-28 03:35:23 +00:00
|
|
|
}
|
|
|
|
|
2019-02-21 14:21:14 +00:00
|
|
|
.text-underline,
|
|
|
|
.text-underline:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2019-02-25 19:03:21 +00:00
|
|
|
.hint {
|
|
|
|
font-style: italic;
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-200;
|
2019-02-25 19:03:21 +00:00
|
|
|
}
|
|
|
|
|
2018-08-22 16:40:38 +00:00
|
|
|
.light { color: $gl-text-color; }
|
2012-11-29 16:09:27 +00:00
|
|
|
|
2013-08-04 10:16:27 +00:00
|
|
|
.slead {
|
2018-08-22 16:40:38 +00:00
|
|
|
color: $gl-text-color;
|
2016-12-02 19:43:33 +00:00
|
|
|
font-size: 14px;
|
2013-08-04 10:16:27 +00:00
|
|
|
margin-bottom: 12px;
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2013-08-04 10:16:27 +00:00
|
|
|
line-height: 24px;
|
|
|
|
}
|
2012-09-19 06:14:07 +00:00
|
|
|
|
2017-04-19 16:43:57 +00:00
|
|
|
.bold {
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2017-04-19 16:43:57 +00:00
|
|
|
}
|
|
|
|
|
2013-03-14 09:31:33 +00:00
|
|
|
.tab-content {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2013-04-26 19:12:43 +00:00
|
|
|
|
2014-02-20 11:51:22 +00:00
|
|
|
pre {
|
|
|
|
&.clean {
|
|
|
|
background: none;
|
2017-11-02 23:59:51 +00:00
|
|
|
border: 0;
|
2014-02-20 11:51:22 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-10-16 17:42:42 +00:00
|
|
|
}
|
|
|
|
|
2016-12-20 22:58:04 +00:00
|
|
|
&.wrap {
|
|
|
|
word-break: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2013-10-16 17:42:42 +00:00
|
|
|
}
|
2013-11-14 15:57:09 +00:00
|
|
|
|
2015-12-02 13:46:15 +00:00
|
|
|
hr {
|
2017-04-25 17:13:59 +00:00
|
|
|
margin: 24px 0;
|
2020-06-11 15:08:36 +00:00
|
|
|
border-top: 1px solid $gray-darker;
|
2015-12-02 13:46:15 +00:00
|
|
|
}
|
|
|
|
|
2014-01-08 10:42:57 +00:00
|
|
|
.str-truncated {
|
2014-05-26 20:26:41 +00:00
|
|
|
@include str-truncated;
|
2017-07-12 09:50:26 +00:00
|
|
|
|
2019-02-05 23:12:02 +00:00
|
|
|
&-30 {
|
|
|
|
@include str-truncated(30%);
|
|
|
|
}
|
|
|
|
|
2017-07-12 09:50:26 +00:00
|
|
|
&-60 {
|
|
|
|
@include str-truncated(60%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&-100 {
|
|
|
|
@include str-truncated(100%);
|
|
|
|
}
|
2014-01-08 10:42:57 +00:00
|
|
|
}
|
2014-01-10 12:14:55 +00:00
|
|
|
|
2016-12-20 22:58:04 +00:00
|
|
|
.block-truncated {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2020-06-12 12:08:56 +00:00
|
|
|
> div:not(.block):not(.select2-display-none),
|
2016-12-20 22:58:04 +00:00
|
|
|
.str-truncated {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-24 14:13:24 +00:00
|
|
|
.item-title { font-weight: $gl-font-weight-bold; }
|
2016-01-15 10:10:55 +00:00
|
|
|
|
2017-05-09 04:15:34 +00:00
|
|
|
.author-link {
|
2018-08-14 16:44:08 +00:00
|
|
|
color: $blue-600;
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
|
2018-08-14 18:33:49 +00:00
|
|
|
.author-link:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2017-07-12 09:50:26 +00:00
|
|
|
table {
|
|
|
|
a code {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.loading {
|
|
|
|
margin: 20px auto;
|
|
|
|
height: 40px;
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-700;
|
2014-02-05 18:30:57 +00:00
|
|
|
font-size: 32px;
|
|
|
|
text-align: center;
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p.time {
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-200;
|
2014-01-10 12:14:55 +00:00
|
|
|
font-size: 90%;
|
|
|
|
margin: 30px 3px 3px 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-02-25 19:03:21 +00:00
|
|
|
.thin-area {
|
2014-01-10 12:14:55 +00:00
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fix issue with notes & lists creating a bunch of bottom borders.
|
|
|
|
li.note {
|
2016-10-14 20:39:08 +00:00
|
|
|
img { max-width: 100%; }
|
2019-02-25 19:03:21 +00:00
|
|
|
|
2014-01-10 12:14:55 +00:00
|
|
|
.note-title {
|
|
|
|
li {
|
2017-11-02 23:59:51 +00:00
|
|
|
border-bottom: 0 !important;
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown {
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-24 20:22:06 +00:00
|
|
|
.wiki_content code,
|
|
|
|
.readme code {
|
2014-01-10 12:14:55 +00:00
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-message {
|
|
|
|
padding: 10px;
|
2018-08-16 19:31:53 +00:00
|
|
|
background: $red-400;
|
2014-01-10 12:14:55 +00:00
|
|
|
margin: 0;
|
2020-03-31 00:08:09 +00:00
|
|
|
color: $white;
|
2014-01-10 12:14:55 +00:00
|
|
|
|
|
|
|
a {
|
2020-03-31 00:08:09 +00:00
|
|
|
color: $white;
|
2014-01-10 12:14:55 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-15 13:25:48 +00:00
|
|
|
@mixin message($background-color, $border-color, $text-color) {
|
|
|
|
border-left: 4px solid $border-color;
|
|
|
|
color: $text-color;
|
2019-10-04 12:06:14 +00:00
|
|
|
padding: $gl-padding $gl-padding-24;
|
|
|
|
margin-bottom: $gl-padding-12;
|
|
|
|
background-color: $background-color;
|
2014-01-10 12:14:55 +00:00
|
|
|
|
|
|
|
&.centered {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-10-04 12:06:14 +00:00
|
|
|
|
|
|
|
.close {
|
|
|
|
svg {
|
|
|
|
width: $gl-font-size-large;
|
|
|
|
height: $gl-font-size-large;
|
|
|
|
}
|
|
|
|
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
|
2019-04-15 13:25:48 +00:00
|
|
|
.warning_message {
|
2020-09-09 06:08:55 +00:00
|
|
|
@include message($orange-50, $orange-200, $gray-900);
|
2019-04-15 13:25:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.danger_message {
|
|
|
|
@include message($red-100, $red-200, $red-900);
|
|
|
|
}
|
|
|
|
|
2014-01-10 12:14:55 +00:00
|
|
|
.gitlab-promo {
|
|
|
|
a {
|
2020-08-20 18:10:16 +00:00
|
|
|
color: $gray-300;
|
2014-01-10 12:14:55 +00:00
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.milestone {
|
|
|
|
.progress {
|
|
|
|
margin-top: 4px;
|
2017-01-31 21:26:32 +00:00
|
|
|
box-shadow: none;
|
|
|
|
background-color: $border-gray-light;
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
height: 20px;
|
2016-08-25 14:53:42 +00:00
|
|
|
vertical-align: top;
|
2014-01-10 12:14:55 +00:00
|
|
|
width: 20px;
|
2016-12-08 13:35:17 +00:00
|
|
|
margin-top: 1px;
|
2014-01-10 12:14:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.chart {
|
|
|
|
overflow: hidden;
|
|
|
|
height: 220px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description-block {
|
|
|
|
@extend .light-well;
|
|
|
|
@extend .light;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2015-03-10 00:06:08 +00:00
|
|
|
.footer-links {
|
|
|
|
margin-bottom: 20px;
|
2016-10-14 20:39:08 +00:00
|
|
|
|
2015-03-10 00:06:08 +00:00
|
|
|
a {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2014-07-11 14:37:20 +00:00
|
|
|
}
|
2014-07-30 22:07:40 +00:00
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.card.card-body {
|
2015-12-08 11:53:02 +00:00
|
|
|
margin-bottom: $gl-padding;
|
2016-11-18 22:46:57 +00:00
|
|
|
|
|
|
|
hr {
|
|
|
|
border-color: $gray-darker;
|
|
|
|
}
|
2015-11-11 15:26:12 +00:00
|
|
|
}
|
|
|
|
|
2014-07-30 22:07:40 +00:00
|
|
|
.search_box {
|
2018-04-09 15:26:28 +00:00
|
|
|
@extend .card.card-body;
|
2014-07-30 22:07:40 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-09-15 12:56:42 +00:00
|
|
|
.dropzone .dz-preview .dz-progress {
|
|
|
|
border-color: $border-color !important;
|
|
|
|
|
2017-07-12 09:50:26 +00:00
|
|
|
.dz-upload {
|
2018-08-21 17:52:31 +00:00
|
|
|
background: $green-500 !important;
|
2017-07-12 09:50:26 +00:00
|
|
|
}
|
|
|
|
|
2015-09-15 12:56:42 +00:00
|
|
|
}
|
2015-10-05 19:18:21 +00:00
|
|
|
|
2017-07-16 23:35:00 +00:00
|
|
|
.dz-message {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-05 19:18:21 +00:00
|
|
|
.space-right {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2015-12-02 13:46:15 +00:00
|
|
|
|
2018-07-25 21:06:03 +00:00
|
|
|
.alert {
|
2015-12-02 13:46:15 +00:00
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
2015-12-07 16:12:04 +00:00
|
|
|
|
2018-07-25 21:06:03 +00:00
|
|
|
.progress {
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
2016-01-15 09:13:12 +00:00
|
|
|
.project-item-select-holder {
|
|
|
|
.project-item-select {
|
2016-03-24 13:43:35 +00:00
|
|
|
min-width: 250px;
|
2015-12-07 16:12:04 +00:00
|
|
|
}
|
|
|
|
}
|
2015-12-10 18:04:58 +00:00
|
|
|
|
2016-11-17 14:03:23 +00:00
|
|
|
.gl-accessibility {
|
2016-11-17 22:07:13 +00:00
|
|
|
&:focus {
|
2017-09-07 04:48:40 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2016-11-17 22:07:13 +00:00
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
width: auto;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0 10px;
|
|
|
|
clip: auto;
|
|
|
|
text-decoration: none;
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2016-11-17 22:07:13 +00:00
|
|
|
background: $gray-light;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2016-11-17 14:03:23 +00:00
|
|
|
}
|
2016-12-05 15:26:22 +00:00
|
|
|
|
2017-05-02 08:05:43 +00:00
|
|
|
.bordered-box {
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
}
|
|
|
|
|
2017-02-25 07:33:15 +00:00
|
|
|
.tooltip {
|
|
|
|
.tooltip-inner {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
2017-05-15 22:12:43 +00:00
|
|
|
|
|
|
|
.disabled-content {
|
|
|
|
pointer-events: none;
|
2019-02-25 19:03:21 +00:00
|
|
|
opacity: 0.5;
|
2017-05-15 22:12:43 +00:00
|
|
|
}
|
2017-11-02 06:54:08 +00:00
|
|
|
|
2018-03-21 14:51:45 +00:00
|
|
|
.break-word {
|
2018-03-20 17:26:30 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2018-10-01 14:16:27 +00:00
|
|
|
.checkbox-icon-inline-wrapper {
|
|
|
|
.checkbox {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-19 23:53:32 +00:00
|
|
|
.outline-0 {
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-02 06:54:08 +00:00
|
|
|
/** COMMON CLASSES **/
|
2020-05-13 18:08:47 +00:00
|
|
|
/**
|
|
|
|
🚨 Do not use these classes — they are deprecated and being removed. 🚨
|
|
|
|
See https://gitlab.com/gitlab-org/gitlab/-/issues/217418 for more details.
|
|
|
|
**/
|
2017-11-02 06:54:08 +00:00
|
|
|
.prepend-top-15 { margin-top: 15px; }
|
|
|
|
.prepend-top-20 { margin-top: 20px; }
|
2019-03-20 09:43:41 +00:00
|
|
|
.prepend-left-15 { margin-left: 15px; }
|
2017-11-02 06:54:08 +00:00
|
|
|
.prepend-left-20 { margin-left: 20px; }
|
|
|
|
.append-right-20 { margin-right: 20px; }
|
|
|
|
.append-bottom-20 { margin-bottom: 20px; }
|
2020-04-30 09:09:39 +00:00
|
|
|
.ml-10 { margin-left: 4.5rem; }
|
2017-11-02 06:54:08 +00:00
|
|
|
.inline { display: inline-block; }
|
|
|
|
.center { text-align: center; }
|
2019-03-20 09:43:41 +00:00
|
|
|
.block { display: block; }
|
|
|
|
.flex { display: flex; }
|
2019-06-11 04:15:08 +00:00
|
|
|
.vertical-align-top { vertical-align: top; }
|
2019-12-13 21:07:41 +00:00
|
|
|
.vertical-align-text-top { vertical-align: text-top; }
|
2017-11-02 06:54:08 +00:00
|
|
|
.vertical-align-middle { vertical-align: middle; }
|
2019-01-25 16:03:51 +00:00
|
|
|
.vertical-align-sub { vertical-align: sub; }
|
2018-08-01 14:57:05 +00:00
|
|
|
.flex-align-self-center { align-self: center; }
|
2018-08-07 23:23:23 +00:00
|
|
|
.flex-grow { flex-grow: 1; }
|
|
|
|
.flex-no-shrink { flex-shrink: 0; }
|
2018-10-19 23:53:32 +00:00
|
|
|
.ws-initial { white-space: initial; }
|
2019-03-05 18:33:10 +00:00
|
|
|
.ws-normal { white-space: normal; }
|
2019-01-02 19:27:15 +00:00
|
|
|
.overflow-auto { overflow: auto; }
|
2019-11-29 12:10:06 +00:00
|
|
|
.overflow-visible { overflow: visible; }
|
2019-02-25 19:03:21 +00:00
|
|
|
|
2019-03-26 16:01:47 +00:00
|
|
|
.d-flex-center {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-01-02 19:27:15 +00:00
|
|
|
/** COMMON SIZING CLASSES **/
|
|
|
|
.w-0 { width: 0; }
|
2019-07-22 13:14:10 +00:00
|
|
|
.w-8em { width: 8em; }
|
2019-10-14 15:06:07 +00:00
|
|
|
.w-15p { width: 15%; }
|
2020-01-17 15:08:37 +00:00
|
|
|
.w-30p { width: 30%; }
|
2020-01-17 21:08:29 +00:00
|
|
|
.w-60p { width: 60%; }
|
2019-02-04 05:53:34 +00:00
|
|
|
|
|
|
|
.h-12em { height: 12em; }
|
2019-08-20 14:51:56 +00:00
|
|
|
.h-32-px { height: 32px;}
|
2019-02-04 05:53:34 +00:00
|
|
|
|
2019-01-02 19:27:15 +00:00
|
|
|
.mw-460 { max-width: 460px; }
|
|
|
|
.mw-6em { max-width: 6em; }
|
2019-04-05 22:25:54 +00:00
|
|
|
.mw-70p { max-width: 70%; }
|
2019-07-26 12:12:31 +00:00
|
|
|
.mw-90p { max-width: 90%; }
|
2019-02-04 05:53:34 +00:00
|
|
|
|
2020-04-08 09:09:43 +00:00
|
|
|
// By default flex items don't shrink below their minimum content size.
|
|
|
|
// To change this, these clases set a min-width or min-height
|
|
|
|
.min-width-0 { min-width: 0; }
|
2018-12-07 16:29:32 +00:00
|
|
|
.min-height-0 { min-height: 0; }
|
2018-12-12 09:01:59 +00:00
|
|
|
|
2019-04-09 17:14:39 +00:00
|
|
|
.svg-w-100 {
|
|
|
|
svg {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-30 15:09:46 +00:00
|
|
|
|
2019-01-24 17:47:25 +00:00
|
|
|
/**
|
|
|
|
* Removes browser specific clear icon from input fields in
|
|
|
|
* Internet Explorer 10, Internet Explorer 11, and Microsoft Edge.
|
|
|
|
* This is intended for elements which add a customized clear icon.
|
|
|
|
*
|
|
|
|
* see also https://developer.mozilla.org/en-US/docs/Web/CSS/::-ms-clear
|
|
|
|
*/
|
|
|
|
.ms-no-clear ::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-01-31 10:28:26 +00:00
|
|
|
|
|
|
|
/** COMMON POSITIONING CLASSES */
|
2019-03-26 20:29:44 +00:00
|
|
|
.position-bottom-0 { bottom: 0 !important; }
|
|
|
|
.position-left-0 { left: 0 !important; }
|
|
|
|
.position-right-0 { right: 0 !important; }
|
|
|
|
.position-top-0 { top: 0 !important; }
|
2019-02-15 10:25:33 +00:00
|
|
|
|
|
|
|
.drag-handle {
|
|
|
|
width: 4px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $white-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-dragging {
|
2020-08-03 18:10:05 +00:00
|
|
|
background-color: $gray-400;
|
2019-02-15 10:25:33 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-26 16:21:04 +00:00
|
|
|
|
|
|
|
.cursor-pointer {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-06-06 14:44:13 +00:00
|
|
|
|
2020-03-11 15:09:37 +00:00
|
|
|
.cursor-not-allowed { cursor: not-allowed; }
|
|
|
|
|
2019-12-11 09:08:12 +00:00
|
|
|
// this needs to use "!important" due to some very specific styles
|
|
|
|
// around buttons
|
|
|
|
.cursor-default {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
2019-06-06 14:44:13 +00:00
|
|
|
// Make buttons/dropdowns full-width on mobile
|
|
|
|
.full-width-mobile {
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
> .dropdown-menu,
|
|
|
|
> .btn {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-07 07:31:40 +00:00
|
|
|
|
2020-04-30 15:09:46 +00:00
|
|
|
.gl-font-sm { font-size: $gl-font-size-small; }
|
|
|
|
.gl-font-lg { font-size: $gl-font-size-large; }
|
|
|
|
.gl-font-base { font-size: $gl-font-size-14; }
|
2019-11-15 06:06:13 +00:00
|
|
|
|
2020-02-10 12:08:59 +00:00
|
|
|
.gl-font-size-0 { font-size: 0; }
|
2019-11-06 00:06:13 +00:00
|
|
|
.gl-font-size-28 { font-size: $gl-font-size-28; }
|
|
|
|
.gl-font-size-42 { font-size: $gl-font-size-42; }
|
2019-11-15 18:06:24 +00:00
|
|
|
|
|
|
|
.border-section {
|
|
|
|
@include gl-py-6;
|
|
|
|
@include gl-m-0;
|
|
|
|
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
2020-03-30 18:08:07 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
🚨 Do not use these classes — they clash with the Gitlab UI design system and will be removed. 🚨
|
|
|
|
See https://gitlab.com/gitlab-org/gitlab/issues/36857 for more details.
|
|
|
|
**/
|
|
|
|
.gl-line-height-14 { line-height: $gl-line-height-14; }
|