Commit 7ac8d834 authored by Simon Knox's avatar Simon Knox

Remove unused extends from some CSS pages

Dropdown one not needed
col-lg one I inlined classes
Others I inlined relevant rules
parent 5f62cd3e
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
<img :src="attachment.url" class="note-image-attach" /> <img :src="attachment.url" class="note-image-attach col-lg-4" />
</a> </a>
<div class="attachment"> <div class="attachment">
<a <a
......
...@@ -179,8 +179,9 @@ ...@@ -179,8 +179,9 @@
} }
input[type='submit'] { input[type='submit'] {
@extend .btn-block;
margin-bottom: 0; margin-bottom: 0;
display: block;
width: 100%;
} }
.devise-errors { .devise-errors {
......
...@@ -236,8 +236,8 @@ $tabs-holder-z-index: 250; ...@@ -236,8 +236,8 @@ $tabs-holder-z-index: 250;
} }
.label-branch { .label-branch {
@extend .ref-name; @include gl-font-monospace;
font-size: 95%;
color: $gl-text-color; color: $gl-text-color;
font-weight: normal; font-weight: normal;
overflow: hidden; overflow: hidden;
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
} }
.note-image-attach { .note-image-attach {
@extend .col-lg-4;
margin-left: 45px; margin-left: 45px;
float: none; float: none;
} }
......
.notification-list-item { .notification-list-item {
.dropdown-menu {
@extend .dropdown-menu-right;
}
@include media-breakpoint-down(sm) { @include media-breakpoint-down(sm) {
.notification-dropdown { .notification-dropdown {
width: 100%; width: 100%;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
- if note.attachment.url - if note.attachment.url
- if note.attachment.image? - if note.attachment.image?
= link_to note.attachment.url, target: '_blank' do = link_to note.attachment.url, target: '_blank' do
= image_tag note.attachment.url, class: 'note-image-attach' = image_tag note.attachment.url, class: 'note-image-attach col-lg-4'
- else - else
= link_to note.attachment.url, target: '_blank', class: 'note-file-attach' do = link_to note.attachment.url, target: '_blank', class: 'note-file-attach' do
= sprite_icon("paperclip") = sprite_icon("paperclip")
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
.note-attachment .note-attachment
- if note.attachment.image? - if note.attachment.image?
= link_to note.attachment.url, target: '_blank' do = link_to note.attachment.url, target: '_blank' do
= image_tag note.attachment.url, class: 'note-image-attach' = image_tag note.attachment.url, class: 'note-image-attach col-lg-4'
.attachment .attachment
= link_to note.attachment.url, target: '_blank' do = link_to note.attachment.url, target: '_blank' do
= sprite_icon('paperclip') = sprite_icon('paperclip')
......
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