Commit 8a0329d7 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'cngo-delete-unused-framework-css' into 'master'

Delete unused framework css

See merge request gitlab-org/gitlab!71564
parents 41d77b21 3ed2adf5
.centered-light-block {
text-align: center;
color: $gl-text-color;
margin: 20px;
}
.nothing-here-block {
text-align: center;
padding: 16px;
......@@ -83,22 +77,6 @@
> p:last-child {
margin-bottom: 0;
}
.block-controls {
display: flex;
justify-content: flex-end;
flex: 1;
.control {
float: left;
margin-left: 10px;
}
}
&.build-content {
background-color: $white;
border-top: 0;
}
}
.sub-header-block {
......@@ -169,31 +147,6 @@
}
}
&.groups-cover-block {
background: $white;
border-bottom: 1px solid $border-color;
text-align: left;
padding: 24px 0;
.group-info {
.cover-title {
margin-top: 9px;
}
p {
margin-bottom: 0;
}
}
@include media-breakpoint-down(xs) {
text-align: center;
.avatar {
float: none;
}
}
}
&.user-cover-block {
padding: 24px 0 0;
......@@ -214,19 +167,6 @@
margin-right: auto;
}
}
.group-info {
h1 {
display: inline;
font-weight: $gl-font-weight-normal;
font-size: 24px;
color: $gl-text-color;
}
}
}
.block-connector {
margin-top: -1px;
}
.content-block {
......@@ -332,10 +272,6 @@
}
}
.flex-right {
margin-left: auto;
}
.code-block {
white-space: pre;
overflow-x: auto;
......
......@@ -247,13 +247,6 @@
}
}
.btn-terminal {
svg {
height: 14px;
width: $default-icon-size;
}
}
.btn-lg {
padding: 12px 20px;
}
......@@ -281,12 +274,6 @@
}
}
.btn-align-content {
display: flex;
justify-content: center;
align-items: center;
}
.btn-group {
&.btn-grouped {
@include btn-with-margin;
......@@ -347,16 +334,6 @@
}
}
.btn-static {
background-color: $gray-light !important;
border: 1px solid $border-gray-normal;
cursor: default;
&:active {
box-shadow: inset 0 0 0 $white;
}
}
.btn-inverted {
&-secondary {
@include btn-outline($white, $blue-500, $blue-500, $blue-100, $blue-700, $blue-500, $blue-200, $blue-600, $blue-800);
......
......@@ -175,10 +175,6 @@ p.time {
text-shadow: none;
}
.thin-area {
height: 150px;
}
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
img { max-width: 100%; }
......@@ -298,10 +294,6 @@ img.emoji {
margin: 0;
}
.space-right {
margin-right: 10px;
}
.alert {
margin-bottom: $gl-padding;
}
......@@ -363,14 +355,6 @@ img.emoji {
}
}
.outline-0 {
outline: 0;
&:focus {
outline: 0;
}
}
/** COMMON CLASSES **/
/**
🚨 Do not use these classes — they are deprecated and being removed. 🚨
......
......@@ -425,21 +425,10 @@
}
}
.dropdown-menu-drop-up {
top: auto;
bottom: 100%;
}
.dropdown-menu-large {
width: 340px;
}
.dropdown-menu-no-wrap {
a {
white-space: normal;
}
}
.dropdown-menu-full-width {
width: 100%;
}
......@@ -662,13 +651,6 @@
padding-right: 10px;
}
.dropdown-due-date-footer {
padding-top: 0;
margin-left: 10px;
margin-right: 10px;
border-top: 0;
}
.dropdown-footer-list {
font-size: 14px;
......@@ -742,24 +724,6 @@
}
}
.dropdown-menu-due-date {
.dropdown-content {
max-height: 230px;
}
.pika-single {
position: relative !important;
top: 0 !important;
border: 0;
box-shadow: none;
}
.pika-lendar {
margin-top: -5px;
margin-bottom: 0;
}
}
.dropdown-menu-inner-title {
display: block;
color: $gl-text-color;
......
......@@ -42,10 +42,6 @@
}
}
.log-duration-badge {
background: $gray-300;
}
.loader-animation {
@include build-loader-animation;
}
......@@ -6,7 +6,3 @@
.media-body {
flex: 1;
}
.media-body-wrap {
flex-grow: 1;
}
.modal-xl {
max-width: 98%;
}
.modal-1040 {
@include media-breakpoint-up(xl) {
max-width: 1040px;
}
}
.modal-header {
background-color: $modal-body-bg;
......@@ -111,30 +101,3 @@ body.modal-open {
}
}
}
.recaptcha-modal .recaptcha-form {
display: inline-block;
.recaptcha {
margin: 0;
}
}
.issues-import-modal,
.issuable-export-modal {
.modal-body {
padding: 0;
.modal-subheader {
justify-content: flex-start;
align-items: center;
border-bottom: 1px solid $modal-border-color;
padding: 14px;
}
.modal-text {
padding: $gl-padding-24 $gl-padding;
min-height: $modal-body-height;
}
}
}
......@@ -39,10 +39,6 @@
}
}
.card-empty-heading {
border-bottom: 0;
}
.card-body {
padding: $gl-padding;
......
......@@ -50,18 +50,6 @@
}
}
.namespace-result {
.namespace-kind {
color: $gray-300;
font-weight: $gl-font-weight-normal;
}
.namespace-path {
margin-left: 10px;
font-weight: $gl-font-weight-bold;
}
}
.ajax-users-dropdown {
min-width: 250px !important;
}
......@@ -16,21 +16,6 @@
transition: padding $sidebar-transition-duration;
}
.nav-header-btn {
padding: 10px $gl-sidebar-padding;
color: inherit;
transition-duration: 0.3s;
position: absolute;
top: 0;
cursor: pointer;
&:hover,
&:focus {
color: $white;
text-decoration: none;
}
}
.right-sidebar-collapsed {
padding-right: 0;
......
......@@ -4,11 +4,6 @@
font-weight: $gl-font-weight-bold;
}
.snippet-filename {
color: $gl-text-color-secondary;
font-weight: normal;
}
.snippet-info {
color: $gl-text-color-secondary;
}
......
......@@ -36,61 +36,6 @@
}
}
.related-issues-list-item {
.card-body,
.issuable-info-container {
padding: $gl-padding-4 $gl-padding-4 $gl-padding-4 $gl-padding;
.block-truncated {
padding: $gl-padding-8 0;
line-height: $gl-btn-line-height;
}
@include media-breakpoint-down(md) {
padding-left: $gl-padding;
.block-truncated {
flex-direction: column-reverse;
padding: $gl-padding-4 0;
.text-secondary {
margin-top: $gl-padding-4;
}
.issue-token-title-text {
display: block;
}
}
.issue-item-remove-button {
align-self: baseline;
}
}
@include media-breakpoint-only(md) {
.block-truncated .issue-token-title-text {
white-space: nowrap;
}
.issue-item-remove-button {
align-self: center;
}
}
@include media-breakpoint-down(sm) {
padding-left: $gl-padding-8;
.block-truncated .issue-token-title-text {
white-space: normal;
}
}
}
&.is-dragging {
padding: 0;
}
}
.is-dragging {
// Important because plugin sets inline CSS
opacity: 1 !important;
......
......@@ -40,15 +40,6 @@
border: 0;
}
.zen-control-full {
color: $gl-text-color-secondary;
&:hover {
color: $blue-600;
text-decoration: none;
}
}
.zen-control-leave {
display: none;
color: $gl-text-color;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment