Commit dd4d824f authored by Simon Knox's avatar Simon Knox Committed by Phil Hughes

Removed some unused @extends

The chained and :focus ones had no impact, other than adding margin
bottom to card-body when it is also a card, which is odd.
The description-block appears to be unused (file not in startupcss)
parent d9e94018
// Custom Font Awesome styles that render emojis in asciidoc
.md {
.fa {
display: inline-block;
font-style: normal;
font-size: 14px;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fa-2x {
font-size: 2em;
}
.fa-exclamation-triangle::before {
content: '⚠';
}
.fa-exclamation-circle::before {
content: '❗';
}
.fa-lightbulb-o::before {
content: '💡';
}
.fa-thumb-tack::before {
content: '📌';
}
.fa-fire::before {
content: '🔥';
}
.fa-square-o::before {
content: '\2610';
}
.fa-check-square-o::before {
content: '\2611';
}
}
...@@ -292,11 +292,6 @@ img.emoji { ...@@ -292,11 +292,6 @@ img.emoji {
} }
} }
.search_box {
@extend .card.card-body;
text-align: center;
}
.dropzone .dz-preview .dz-progress { .dropzone .dz-preview .dz-progress {
border-color: $border-color !important; border-color: $border-color !important;
......
...@@ -204,10 +204,6 @@ ...@@ -204,10 +204,6 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
&:hover {
@extend .form-control:hover;
}
&.focus, &.focus,
&.focus:hover { &.focus:hover {
border-color: $blue-300; border-color: $blue-300;
......
...@@ -94,14 +94,6 @@ body.modal-open { ...@@ -94,14 +94,6 @@ body.modal-open {
padding-right: 0 !important; padding-right: 0 !important;
} }
.modal-no-backdrop {
@extend .modal-dialog;
.modal-content {
box-shadow: none;
}
}
.modal { .modal {
background-color: $black-transparent; background-color: $black-transparent;
......
...@@ -32,8 +32,10 @@ ...@@ -32,8 +32,10 @@
} }
.avatar { .avatar {
@extend .avatar-inline; float: none;
margin-left: 0; display: inline-block;
margin-left: 2px;
flex-shrink: 0;
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
margin-left: 4px; margin-left: 4px;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
max-width: #{$max + '%'}; max-width: #{$max + '%'};
} }
.gl-responsive-table-row,
.gl-responsive-table-row-layout { .gl-responsive-table-row-layout {
width: 100%; width: 100%;
...@@ -17,7 +18,6 @@ ...@@ -17,7 +18,6 @@
} }
.gl-responsive-table-row { .gl-responsive-table-row {
@extend .gl-responsive-table-row-layout;
margin-top: 10px; margin-top: 10px;
border: 1px solid $border-color; border: 1px solid $border-color;
color: $gray-500; color: $gray-500;
......
// Custom Fontawesome icons
@import 'fontawesome_custom';
/** /**
* Apply Markup (Markdown/AsciiDoc) typography * Apply Markup (Markdown/AsciiDoc) typography
* *
...@@ -435,7 +432,9 @@ ...@@ -435,7 +432,9 @@
} }
} }
a.with-attachment-icon { a.with-attachment-icon,
a[href*='/uploads/'],
a[href*='storage.googleapis.com/google-code-attachments/'] {
&::before { &::before {
margin-right: 4px; margin-right: 4px;
...@@ -449,8 +448,6 @@ ...@@ -449,8 +448,6 @@
a[href*='/uploads/'], a[href*='/uploads/'],
a[href*='storage.googleapis.com/google-code-attachments/'] { a[href*='storage.googleapis.com/google-code-attachments/'] {
@extend .with-attachment-icon;
&.no-attachment-icon { &.no-attachment-icon {
&::before { &::before {
display: none; display: none;
...@@ -507,32 +504,56 @@ ...@@ -507,32 +504,56 @@
text-decoration: line-through; text-decoration: line-through;
} }
.admonitionblock td.icon { // Custom Font Awesome styles that render emojis in asciidoc
width: 1%; .fa {
display: inline-block;
font-style: normal;
font-size: 14px;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fa-2x,
.admonitionblock td.icon [class^='fa icon-'] {
font-size: 2em;
}
[class^='fa icon-'] { .fa-exclamation-triangle::before,
@extend .fa-2x; .admonitionblock td.icon .icon-warning::before {
content: '⚠';
} }
.icon-note { .fa-exclamation-circle::before,
@extend .fa-thumb-tack; .admonitionblock td.icon .icon-important::before {
content: '❗';
} }
.icon-tip { .fa-lightbulb-o::before,
@extend .fa-lightbulb-o; .admonitionblock td.icon .icon-tip::before {
content: '💡';
} }
.icon-warning { .fa-thumb-tack::before,
@extend .fa-exclamation-triangle; .admonitionblock td.icon .icon-note::before {
content: '📌';
} }
.icon-caution { .fa-fire::before,
@extend .fa-fire; .admonitionblock td.icon .icon-caution::before {
content: '🔥';
} }
.icon-important { .fa-square-o::before {
@extend .fa-exclamation-circle; content: '\2610';
} }
.fa-check-square-o::before {
content: '\2611';
}
.admonitionblock td.icon {
width: 1%;
} }
.metrics-embed { .metrics-embed {
...@@ -640,12 +661,13 @@ code { ...@@ -640,12 +661,13 @@ code {
.commit-sha, .commit-sha,
.ref-name, .ref-name,
.pipeline-number { .pipeline-number {
@extend .monospace; font-family: $monospace-font;
font-size: 95%; font-size: 95%;
} }
.git-revision-dropdown .dropdown-content ul li a { .git-revision-dropdown .dropdown-content ul li a {
@extend .ref-name; font-family: $monospace-font;
font-size: 95%;
word-break: break-all; word-break: break-all;
} }
......
%main{ :role => "main" } %main{ :role => "main" }
.modal-no-backdrop.modal-doorkeepr-auth .modal-dialog.modal-doorkeepr-auth
.modal-content .modal-content.gl-shadow-none
.modal-header .modal-header
%h3.page-title %h3.page-title
- link_to_client = link_to(@pre_auth.client.name, @pre_auth.redirect_uri, target: '_blank', rel: 'noopener noreferrer') - link_to_client = link_to(@pre_auth.client.name, @pre_auth.redirect_uri, target: '_blank', rel: 'noopener noreferrer')
......
.search_box.gl-my-8 .search_box.gl-my-8.gl-text-center
.search_glyph .search_glyph
%h4 %h4
= sprite_icon('search', size: 24, css_class: 'gl-vertical-align-text-bottom') = sprite_icon('search', size: 24, css_class: 'gl-vertical-align-text-bottom')
......
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