Skip to content

Commit

Permalink
assest/form_control: updating upload btn and bootstrap issues fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillippa committed Apr 27, 2020
1 parent f279d8c commit aa169bb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
</span>
{{ file_input }}
</div>

8 changes: 8 additions & 0 deletions euth_wagtail/assets/scss/components/_alerts.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.alert {
border-radius: 0;
}

.alert-text {
text-align: center;
}
Expand All @@ -6,6 +10,10 @@
@extend .alert-danger;
}

.alert--info {
@extend .alert-info;
}

.alert--success {
@extend .alert-success;
}
Expand Down
2 changes: 2 additions & 0 deletions euth_wagtail/assets/scss/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
list-style: none;
padding-left: 0;
overflow: hidden;
height: auto;
background-color: inherit;

> li {
padding: 4px 10px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
line-height: 48px;
}

.btn-secondary {
.btn-secondary,
.btn-default {
font-size: 24px;
width: 48px;
background: $brand-success;
background-color: $brand-success;
border: 0;
color: #fff;
padding: 0;
Expand Down
4 changes: 2 additions & 2 deletions euth_wagtail/assets/scss/components/forms/_general-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
margin-bottom: 40px;

label {
font-size: $font-size-small;
font-size: $font-size-base;
height: 16px;
font-weight: bold;
font-family: $font-family-sans-serif;
Expand Down Expand Up @@ -74,7 +74,7 @@

.form-help-text {
font-style: italic;
font-size: $font-size-small;
font-size: $font-size-base;
}

.form-hint {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2 class="dashboard-list-name">
</form>
</li>
<li class="dropdown-item">
<a href="#" class="dropdown-item u-fontweight-normal" data-toggle="modal" data-target="#project{{ project.pk }}DeleteModal">
<a href="#" class="u-fontweight-normal" data-toggle="modal" data-target="#project{{ project.pk }}DeleteModal">
<i class="fa fa-trash" aria-hidden="true"></i>
{% trans 'delete' %}
</a>
Expand Down

0 comments on commit aa169bb

Please sign in to comment.