2012-08-29 14:23:43 -04:00
|
|
|
/** COLORS **/
|
2018-08-22 12:40:38 -04:00
|
|
|
.cgray { color: $gl-text-color; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.clgray { color: $common-gray-light; }
|
2018-08-22 12:40:38 -04:00
|
|
|
.cred { color: $red-500; }
|
|
|
|
.cgreen { color: $green-600; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.cdark { color: $common-gray-dark; }
|
2017-11-23 00:04:22 -05:00
|
|
|
|
2019-05-20 13:08:37 -04:00
|
|
|
.fwhite { fill: $white-light; }
|
|
|
|
.fgray { fill: $gray-700; }
|
|
|
|
|
2017-11-23 00:04:22 -05:00
|
|
|
.text-plain,
|
|
|
|
.text-plain:hover {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2017-11-23 05:13:57 -05:00
|
|
|
|
2017-10-24 09:48:41 -04:00
|
|
|
.text-secondary {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
2012-08-29 14:23:43 -04:00
|
|
|
|
2018-03-06 17:54:19 -05:00
|
|
|
.text-tertiary {
|
|
|
|
color: $gl-text-color-tertiary;
|
|
|
|
}
|
|
|
|
|
2017-11-23 00:07:13 -05:00
|
|
|
.text-primary,
|
|
|
|
.text-primary:hover {
|
|
|
|
color: $brand-primary;
|
|
|
|
}
|
|
|
|
|
2017-11-23 00:04:22 -05:00
|
|
|
.text-success,
|
|
|
|
.text-success:hover {
|
|
|
|
color: $brand-success;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-danger,
|
|
|
|
.text-danger:hover {
|
|
|
|
color: $brand-danger;
|
|
|
|
}
|
|
|
|
|
2018-11-07 12:20:17 -05:00
|
|
|
.text-danger-muted,
|
|
|
|
.text-danger-muted:hover {
|
|
|
|
color: $red-300;
|
|
|
|
}
|
|
|
|
|
2017-11-23 00:04:22 -05:00
|
|
|
.text-warning,
|
|
|
|
.text-warning:hover {
|
|
|
|
color: $brand-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-info,
|
|
|
|
.text-info:hover {
|
|
|
|
color: $brand-info;
|
|
|
|
}
|
|
|
|
|
2019-05-07 13:46:33 -04:00
|
|
|
.bg-gray-light {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
|
2019-10-04 08:06:14 -04:00
|
|
|
.bg-line-target-blue {
|
|
|
|
background: $line-target-blue;
|
|
|
|
}
|
|
|
|
|
2019-01-27 22:35:23 -05:00
|
|
|
.text-break-word {
|
2019-02-13 09:25:30 -05:00
|
|
|
word-break: break-all;
|
2019-01-27 22:35:23 -05:00
|
|
|
}
|
|
|
|
|
2019-02-21 09:21:14 -05:00
|
|
|
.text-underline,
|
|
|
|
.text-underline:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
.hint {
|
|
|
|
font-style: italic;
|
|
|
|
color: $gl-gray-400;
|
|
|
|
}
|
|
|
|
|
2018-08-22 12:40:38 -04:00
|
|
|
.light { color: $gl-text-color; }
|
2012-11-29 11:09:27 -05:00
|
|
|
|
2013-08-04 06:16:27 -04:00
|
|
|
.slead {
|
2018-08-22 12:40:38 -04:00
|
|
|
color: $gl-text-color;
|
2016-12-02 14:43:33 -05:00
|
|
|
font-size: 14px;
|
2013-08-04 06:16:27 -04:00
|
|
|
margin-bottom: 12px;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2013-08-04 06:16:27 -04:00
|
|
|
line-height: 24px;
|
|
|
|
}
|
2012-09-19 02:14:07 -04:00
|
|
|
|
2017-04-19 12:43:57 -04:00
|
|
|
.bold {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2017-04-19 12:43:57 -04:00
|
|
|
}
|
|
|
|
|
2013-03-14 05:31:33 -04:00
|
|
|
.tab-content {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2013-04-26 15:12:43 -04:00
|
|
|
|
2014-02-20 06:51:22 -05:00
|
|
|
pre {
|
|
|
|
&.clean {
|
|
|
|
background: none;
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2014-02-20 06:51:22 -05:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-10-16 13:42:42 -04:00
|
|
|
}
|
|
|
|
|
2016-12-20 17:58:04 -05:00
|
|
|
&.wrap {
|
|
|
|
word-break: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2013-10-16 13:42:42 -04:00
|
|
|
}
|
2013-11-14 10:57:09 -05:00
|
|
|
|
2015-12-02 08:46:15 -05:00
|
|
|
hr {
|
2017-04-25 13:13:59 -04:00
|
|
|
margin: 24px 0;
|
2016-12-27 16:54:56 -05:00
|
|
|
border-top: 1px solid darken($gray-normal, 8%);
|
2015-12-02 08:46:15 -05:00
|
|
|
}
|
|
|
|
|
2014-01-08 05:42:57 -05:00
|
|
|
.str-truncated {
|
2014-05-26 16:26:41 -04:00
|
|
|
@include str-truncated;
|
2017-07-12 05:50:26 -04:00
|
|
|
|
2019-02-05 18:12:02 -05:00
|
|
|
&-30 {
|
|
|
|
@include str-truncated(30%);
|
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
&-60 {
|
|
|
|
@include str-truncated(60%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&-100 {
|
|
|
|
@include str-truncated(100%);
|
|
|
|
}
|
2014-01-08 05:42:57 -05:00
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
|
2016-12-20 17:58:04 -05:00
|
|
|
.block-truncated {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2019-03-20 05:43:41 -04:00
|
|
|
> div:not(.block),
|
2016-12-20 17:58:04 -05:00
|
|
|
.str-truncated {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-24 10:13:24 -04:00
|
|
|
.item-title { font-weight: $gl-font-weight-bold; }
|
2016-01-15 05:10:55 -05:00
|
|
|
|
2017-05-09 00:15:34 -04:00
|
|
|
.author-link {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $blue-600;
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
2018-08-14 14:33:49 -04:00
|
|
|
.author-link:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
table {
|
|
|
|
a code {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.loading {
|
|
|
|
margin: 20px auto;
|
|
|
|
height: 40px;
|
2018-08-24 12:29:44 -04:00
|
|
|
color: $gl-gray-700;
|
2014-02-05 13:30:57 -05:00
|
|
|
font-size: 32px;
|
|
|
|
text-align: center;
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
p.time {
|
2018-08-24 12:29:44 -04:00
|
|
|
color: $gl-gray-400;
|
2014-01-10 07:14:55 -05:00
|
|
|
font-size: 90%;
|
|
|
|
margin: 30px 3px 3px 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
.thin-area {
|
2014-01-10 07:14:55 -05:00
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fix issue with notes & lists creating a bunch of bottom borders.
|
|
|
|
li.note {
|
2016-10-14 16:39:08 -04:00
|
|
|
img { max-width: 100%; }
|
2019-02-25 14:03:21 -05:00
|
|
|
|
2014-01-10 07:14:55 -05:00
|
|
|
.note-title {
|
|
|
|
li {
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0 !important;
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown {
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.wiki_content code,
|
|
|
|
.readme code {
|
2014-01-10 07:14:55 -05:00
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-message {
|
|
|
|
padding: 10px;
|
2018-08-16 15:31:53 -04:00
|
|
|
background: $red-400;
|
2014-01-10 07:14:55 -05:00
|
|
|
margin: 0;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $white-light;
|
2014-01-10 07:14:55 -05:00
|
|
|
|
|
|
|
a {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $white-light;
|
2014-01-10 07:14:55 -05:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-15 09:25:48 -04:00
|
|
|
@mixin message($background-color, $border-color, $text-color) {
|
|
|
|
border-left: 4px solid $border-color;
|
|
|
|
color: $text-color;
|
2019-10-04 08:06:14 -04:00
|
|
|
padding: $gl-padding $gl-padding-24;
|
|
|
|
margin-bottom: $gl-padding-12;
|
|
|
|
background-color: $background-color;
|
2014-01-10 07:14:55 -05:00
|
|
|
|
|
|
|
&.centered {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-10-04 08:06:14 -04:00
|
|
|
|
|
|
|
.close {
|
|
|
|
svg {
|
|
|
|
width: $gl-font-size-large;
|
|
|
|
height: $gl-font-size-large;
|
|
|
|
}
|
|
|
|
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
2019-04-15 09:25:48 -04:00
|
|
|
.warning_message {
|
2019-10-04 08:06:14 -04:00
|
|
|
@include message($orange-100, $orange-200, $orange-800);
|
2019-04-15 09:25:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.danger_message {
|
|
|
|
@include message($red-100, $red-200, $red-900);
|
|
|
|
}
|
|
|
|
|
2014-01-10 07:14:55 -05:00
|
|
|
.gitlab-promo {
|
|
|
|
a {
|
2018-08-24 12:29:44 -04:00
|
|
|
color: $gl-gray-350;
|
2014-01-10 07:14:55 -05:00
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.milestone {
|
|
|
|
.progress {
|
|
|
|
margin-top: 4px;
|
2017-01-31 16:26:32 -05:00
|
|
|
box-shadow: none;
|
|
|
|
background-color: $border-gray-light;
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
height: 20px;
|
2016-08-25 10:53:42 -04:00
|
|
|
vertical-align: top;
|
2014-01-10 07:14:55 -05:00
|
|
|
width: 20px;
|
2016-12-08 08:35:17 -05:00
|
|
|
margin-top: 1px;
|
2014-01-10 07:14:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.chart {
|
|
|
|
overflow: hidden;
|
|
|
|
height: 220px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description-block {
|
|
|
|
@extend .light-well;
|
|
|
|
@extend .light;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2015-03-09 20:06:08 -04:00
|
|
|
.footer-links {
|
|
|
|
margin-bottom: 20px;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2015-03-09 20:06:08 -04:00
|
|
|
a {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2014-07-11 10:37:20 -04:00
|
|
|
}
|
2014-07-30 18:07:40 -04:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
.card.card-body {
|
2015-12-08 06:53:02 -05:00
|
|
|
margin-bottom: $gl-padding;
|
2016-11-18 17:46:57 -05:00
|
|
|
|
|
|
|
hr {
|
|
|
|
border-color: $gray-darker;
|
|
|
|
}
|
2015-11-11 10:26:12 -05:00
|
|
|
}
|
|
|
|
|
2014-07-30 18:07:40 -04:00
|
|
|
.search_box {
|
2018-04-09 11:26:28 -04:00
|
|
|
@extend .card.card-body;
|
2014-07-30 18:07:40 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-09-15 08:56:42 -04:00
|
|
|
.dropzone .dz-preview .dz-progress {
|
|
|
|
border-color: $border-color !important;
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.dz-upload {
|
2018-08-21 13:52:31 -04:00
|
|
|
background: $green-500 !important;
|
2017-07-12 05:50:26 -04:00
|
|
|
}
|
|
|
|
|
2015-09-15 08:56:42 -04:00
|
|
|
}
|
2015-10-05 15:18:21 -04:00
|
|
|
|
2017-07-16 19:35:00 -04:00
|
|
|
.dz-message {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-05 15:18:21 -04:00
|
|
|
.space-right {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2015-12-02 08:46:15 -05:00
|
|
|
|
2018-07-25 17:06:03 -04:00
|
|
|
.alert {
|
2015-12-02 08:46:15 -05:00
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
2015-12-07 11:12:04 -05:00
|
|
|
|
2018-07-25 17:06:03 -04:00
|
|
|
.progress {
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
2016-01-15 04:13:12 -05:00
|
|
|
.project-item-select-holder {
|
2016-02-23 03:44:18 -05:00
|
|
|
display: inline-block;
|
2015-12-07 11:12:04 -05:00
|
|
|
position: relative;
|
|
|
|
|
2016-01-15 04:13:12 -05:00
|
|
|
.project-item-select {
|
2015-12-07 11:12:04 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2016-03-24 09:43:35 -04:00
|
|
|
min-width: 250px;
|
2015-12-07 11:12:04 -05:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
2015-12-10 13:04:58 -05:00
|
|
|
|
2016-11-17 09:03:23 -05:00
|
|
|
.gl-accessibility {
|
2016-11-17 17:07:13 -05:00
|
|
|
&:focus {
|
2017-09-07 00:48:40 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2016-11-17 17:07:13 -05:00
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
width: auto;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0 10px;
|
|
|
|
clip: auto;
|
|
|
|
text-decoration: none;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-11-17 17:07:13 -05:00
|
|
|
background: $gray-light;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2016-11-17 09:03:23 -05:00
|
|
|
}
|
2016-12-05 10:26:22 -05:00
|
|
|
|
2017-05-02 04:05:43 -04:00
|
|
|
.bordered-box {
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
}
|
|
|
|
|
2017-02-25 02:33:15 -05:00
|
|
|
.tooltip {
|
|
|
|
.tooltip-inner {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
2017-05-15 18:12:43 -04:00
|
|
|
|
|
|
|
.disabled-content {
|
|
|
|
pointer-events: none;
|
2019-02-25 14:03:21 -05:00
|
|
|
opacity: 0.5;
|
2017-05-15 18:12:43 -04:00
|
|
|
}
|
2017-11-02 02:54:08 -04:00
|
|
|
|
2018-03-21 10:51:45 -04:00
|
|
|
.break-word {
|
2018-03-20 13:26:30 -04:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2018-10-01 10:16:27 -04:00
|
|
|
.checkbox-icon-inline-wrapper {
|
|
|
|
.checkbox {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-19 19:53:32 -04:00
|
|
|
.outline-0 {
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-02 02:54:08 -04:00
|
|
|
/** COMMON CLASSES **/
|
|
|
|
.prepend-top-0 { margin-top: 0; }
|
2018-05-02 04:08:16 -04:00
|
|
|
.prepend-top-2 { margin-top: 2px; }
|
2018-11-07 12:20:17 -05:00
|
|
|
.prepend-top-4 { margin-top: $gl-padding-4; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.prepend-top-5 { margin-top: 5px; }
|
2017-11-20 13:34:22 -05:00
|
|
|
.prepend-top-8 { margin-top: $grid-size; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.prepend-top-10 { margin-top: 10px; }
|
|
|
|
.prepend-top-15 { margin-top: 15px; }
|
|
|
|
.prepend-top-default { margin-top: $gl-padding !important; }
|
2018-02-01 09:19:27 -05:00
|
|
|
.prepend-top-16 { margin-top: 16px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.prepend-top-20 { margin-top: 20px; }
|
2019-03-12 10:20:52 -04:00
|
|
|
.prepend-top-32 { margin-top: 32px; }
|
2019-09-23 08:06:20 -04:00
|
|
|
.prepend-left-2 { margin-left: 2px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.prepend-left-4 { margin-left: 4px; }
|
|
|
|
.prepend-left-5 { margin-left: 5px; }
|
2018-02-01 09:19:27 -05:00
|
|
|
.prepend-left-8 { margin-left: 8px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.prepend-left-10 { margin-left: 10px; }
|
2019-03-20 05:43:41 -04:00
|
|
|
.prepend-left-15 { margin-left: 15px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.prepend-left-default { margin-left: $gl-padding; }
|
|
|
|
.prepend-left-20 { margin-left: 20px; }
|
2019-03-12 10:20:52 -04:00
|
|
|
.prepend-left-32 { margin-left: 32px; }
|
2019-09-04 12:48:07 -04:00
|
|
|
.prepend-left-64 { margin-left: 64px; }
|
2018-08-07 19:23:23 -04:00
|
|
|
.append-right-4 { margin-right: 4px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.append-right-5 { margin-right: 5px; }
|
|
|
|
.append-right-8 { margin-right: 8px; }
|
|
|
|
.append-right-10 { margin-right: 10px; }
|
2019-03-20 05:43:41 -04:00
|
|
|
.append-right-15 { margin-right: 15px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.append-right-default { margin-right: $gl-padding; }
|
|
|
|
.append-right-20 { margin-right: 20px; }
|
2019-09-04 12:48:07 -04:00
|
|
|
.append-right-32 { margin-right: 32px; }
|
|
|
|
.append-right-48 { margin-right: 48px; }
|
2019-03-12 10:20:52 -04:00
|
|
|
.prepend-right-32 { margin-right: 32px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.append-bottom-0 { margin-bottom: 0; }
|
2018-11-07 12:20:17 -05:00
|
|
|
.append-bottom-4 { margin-bottom: $gl-padding-4; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.append-bottom-5 { margin-bottom: 5px; }
|
2018-04-19 07:04:49 -04:00
|
|
|
.append-bottom-8 { margin-bottom: $grid-size; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.append-bottom-10 { margin-bottom: 10px; }
|
|
|
|
.append-bottom-15 { margin-bottom: 15px; }
|
|
|
|
.append-bottom-20 { margin-bottom: 20px; }
|
|
|
|
.append-bottom-default { margin-bottom: $gl-padding; }
|
2019-03-12 10:20:52 -04:00
|
|
|
.prepend-bottom-32 { margin-bottom: 32px; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.inline { display: inline-block; }
|
|
|
|
.center { text-align: center; }
|
2019-03-20 05:43:41 -04:00
|
|
|
.block { display: block; }
|
|
|
|
.flex { display: flex; }
|
2019-06-11 00:15:08 -04:00
|
|
|
.vertical-align-top { vertical-align: top; }
|
2017-11-02 02:54:08 -04:00
|
|
|
.vertical-align-middle { vertical-align: middle; }
|
2019-01-25 11:03:51 -05:00
|
|
|
.vertical-align-sub { vertical-align: sub; }
|
2018-08-01 10:57:05 -04:00
|
|
|
.flex-align-self-center { align-self: center; }
|
2018-08-07 19:23:23 -04:00
|
|
|
.flex-grow { flex-grow: 1; }
|
|
|
|
.flex-no-shrink { flex-shrink: 0; }
|
2018-10-19 19:53:32 -04:00
|
|
|
.ws-initial { white-space: initial; }
|
2019-03-05 13:33:10 -05:00
|
|
|
.ws-normal { white-space: normal; }
|
2019-10-16 05:07:51 -04:00
|
|
|
.ws-pre-wrap { white-space: pre-wrap; }
|
2019-01-02 14:27:15 -05:00
|
|
|
.overflow-auto { overflow: auto; }
|
2019-02-25 14:03:21 -05:00
|
|
|
|
2019-03-26 12:01:47 -04:00
|
|
|
.d-flex-center {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-01-02 14:27:15 -05:00
|
|
|
/** COMMON SIZING CLASSES **/
|
|
|
|
.w-0 { width: 0; }
|
2019-07-22 09:14:10 -04:00
|
|
|
.w-8em { width: 8em; }
|
2019-07-31 10:38:23 -04:00
|
|
|
.w-3rem { width: 3rem; }
|
2019-10-14 11:06:07 -04:00
|
|
|
.w-15p { width: 15%; }
|
|
|
|
.w-70p { width: 70%; }
|
2019-02-04 00:53:34 -05:00
|
|
|
|
|
|
|
.h-12em { height: 12em; }
|
2019-08-20 10:51:56 -04:00
|
|
|
.h-32-px { height: 32px;}
|
2019-02-04 00:53:34 -05:00
|
|
|
|
2019-01-02 14:27:15 -05:00
|
|
|
.mw-460 { max-width: 460px; }
|
|
|
|
.mw-6em { max-width: 6em; }
|
2019-04-05 18:25:54 -04:00
|
|
|
.mw-70p { max-width: 70%; }
|
2019-07-26 08:12:31 -04:00
|
|
|
.mw-90p { max-width: 90%; }
|
2019-02-04 00:53:34 -05:00
|
|
|
|
2018-12-07 11:29:32 -05:00
|
|
|
.min-height-0 { min-height: 0; }
|
2018-12-12 04:01:59 -05:00
|
|
|
|
2019-04-09 13:14:39 -04:00
|
|
|
.svg-w-100 {
|
|
|
|
svg {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-02 14:27:15 -05:00
|
|
|
/** COMMON SPACING CLASSES **/
|
2019-05-07 13:46:33 -04:00
|
|
|
@each $index, $padding in $spacing-scale {
|
|
|
|
#{'.gl-p-#{$index}'} { padding: $padding; }
|
|
|
|
#{'.gl-pl-#{$index}'} { padding-left: $padding; }
|
|
|
|
#{'.gl-pr-#{$index}'} { padding-right: $padding; }
|
|
|
|
#{'.gl-pt-#{$index}'} { padding-top: $padding; }
|
|
|
|
#{'.gl-pb-#{$index}'} { padding-bottom: $padding; }
|
|
|
|
}
|
2019-01-24 12:47:25 -05: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 05:28:26 -05:00
|
|
|
|
|
|
|
/** COMMON POSITIONING CLASSES */
|
2019-03-26 16:29:44 -04: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 05:25:33 -05:00
|
|
|
|
|
|
|
.drag-handle {
|
|
|
|
width: 4px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $white-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-dragging {
|
|
|
|
background-color: $gray-600;
|
|
|
|
}
|
|
|
|
}
|
2019-02-26 11:21:04 -05:00
|
|
|
|
|
|
|
.cursor-pointer {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-06-06 10:44:13 -04: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 03:31:40 -04:00
|
|
|
|
|
|
|
.onboarding-helper-container {
|
|
|
|
bottom: 40px;
|
|
|
|
right: 40px;
|
|
|
|
font-size: $gl-font-size-small;
|
|
|
|
background: $gray-100;
|
|
|
|
width: 200px;
|
|
|
|
border-radius: 24px;
|
|
|
|
box-shadow: 0 2px 4px $issue-boards-card-shadow;
|
|
|
|
z-index: 10000;
|
|
|
|
|
|
|
|
.collapsible {
|
|
|
|
max-height: 0;
|
|
|
|
transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.expanded {
|
|
|
|
border-bottom-right-radius: $border-radius-default;
|
|
|
|
border-bottom-left-radius: $border-radius-default;
|
|
|
|
|
|
|
|
.collapsible {
|
|
|
|
max-height: 1000px;
|
|
|
|
transition: max-height 1s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
border-color: darken($gray-normal, 10%);
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|