Tweak styles based on design feedback

pull/6257/head
Dan Braghis 2020-06-18 17:18:08 +01:00 zatwierdzone przez Matt Westcott
rodzic b08dcd6125
commit e0c6aab536
8 zmienionych plików z 53 dodań i 22 usunięć

Wyświetl plik

@ -27,6 +27,8 @@
// stylelint-disable-next-line property-no-vendor-prefix
-moz-appearance: none;
transition: background-color 0.1s ease;
&:hover {
color: $color-teal;
}

Wyświetl plik

@ -13,11 +13,30 @@ footer {
li {
float: left;
margin-right: 1em;
li, // dropdown li
&:last-child {
margin-right: 0;
}
}
.actions {
width: 250px;
margin-right: 1em;
&--primary {
width: 350px;
}
.dropdown {
input[type=submit],
input[type=reset],
input[type=button],
button,
.button {
padding-right: 2.6em;
}
}
}
.preview .dropdown {
@ -65,11 +84,11 @@ footer {
}
@include media-breakpoint-up(sm) {
margin-left: $desktop-nice-padding;
margin-left: calc(#{$desktop-nice-padding} - 0.75em);
margin-right: $desktop-nice-padding;
width: auto;
position: fixed;
bottom: 0;
padding: 1em;
padding: 0.75em;
}
}

Wyświetl plik

@ -29,7 +29,7 @@
font-weight: 600;
text-decoration: none;
display: block;
padding: 0.7em;
padding: 0.6em 0.7em 0.8em;
color: $color-white;
border-top: 0.3em solid $color-teal-darker;
max-height: 1.44em;

Wyświetl plik

@ -27,7 +27,7 @@ h1 {
font-size: 1.5em;
text-transform: uppercase;
color: $color-grey-1;
font-weight: 600;
font-weight: 700;
span {
text-transform: none;

Wyświetl plik

@ -134,12 +134,6 @@ header {
display: flex;
flex-flow: row-reverse wrap;
thead {
display: table-caption;
height: $object-title-height;
margin-bottom: 2em;
}
.listing--push-top {
margin-top: 3em;
@ -148,6 +142,14 @@ header {
margin-bottom: 0;
}
}
.listing {
margin-bottom: 0;
}
.listing tbody {
border-bottom: 0;
}
}
.task .icon {

Wyświetl plik

@ -60,12 +60,12 @@
float: left;
height: 1.5em;
line-height: 2em;
margin: 1em 0 1.5em;
margin: 1em 0.75em 1.5em 0;
.icon {
@include svg-icon(1.25em, text-bottom);
margin-right: 0.4em;
margin-right: 0.2em;
}
.icon-warning {
@ -83,6 +83,7 @@
.button {
font-size: 1em;
font-weight: 600;
margin-top: -0.25em; // Account for the button border
overflow: initial;
height: 2.5em;
@ -93,7 +94,7 @@
font-weight: 600;
span {
font-weight: 500;
font-weight: 300;
}
}
@ -409,8 +410,8 @@
.full .halloeditor {
@include nice-padding;
border-radius: 0;
padding-top: 2em;
padding-bottom: 2em;
padding-top: 1.5em;
padding-bottom: 1.5em;
font-size: 1.2em;
line-height: 1.6em;
}
@ -423,6 +424,13 @@
}
// Footer control bar for perfoming actions on the page
footer .actions {
.button {
font-weight: 600;
text-overflow: ellipsis;
}
}
footer .preview {
button,
.button {

Wyświetl plik

@ -25,7 +25,7 @@
<footer>
<nav aria-label="{% trans 'Actions' %}">
<ul>
<li class="actions">
<li class="actions actions--primary">
<div class="dropdown dropup dropdown-button dropdown-button--white match-width {% if is_revision %}warning{% endif %}">
{{ action_menu.render_html }}
</div>

Wyświetl plik

@ -49,7 +49,7 @@
<footer>
<nav aria-label="{% trans 'Actions' %}">
<ul>
<li class="actions">
<li class="actions actions--primary">
<div class="dropdown dropup dropdown-button match-width {% if is_revision %}warning{% endif %}">
{{ action_menu.render_html }}
</div>