Variety of style fixes

- Modal button position tweaked, removed extraneous margin
- Fix user profile full name field and mobile profile-picture
- Added chevron to tag settings men, corrected chevron colour
- Fixed regression in delete-tag button caused by removing flexbox from buttons
- Fixed regression in button positioning on about-ghost page caused by removing flexbox from buttons

See #5652
This commit is contained in:
John O'Nolan 2015-08-13 10:04:45 +02:00
parent 7969d06057
commit 98f140dd19
6 changed files with 27 additions and 33 deletions

View File

@ -152,6 +152,10 @@
text-align: center; text-align: center;
} }
.modal-footer button:first-of-type {
margin-left: 0;
}
/* Modifiers /* Modifiers
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */

View File

@ -24,6 +24,7 @@
} }
.gh-env-help .btn { .gh-env-help .btn {
display: block;
margin: 5px 0; margin: 5px 0;
} }
@ -36,6 +37,9 @@
margin: 1em 0; margin: 1em 0;
max-width: none; max-width: none;
} }
.gh-env-help .btn {
display: inline-block;
}
} }
.gh-credits { .gh-credits {

View File

@ -63,8 +63,8 @@
.user-cover-edit { .user-cover-edit {
position: absolute; position: absolute;
right: 35px; top: 30px;
bottom: 29px; left: 35px;
z-index: 2; z-index: 2;
min-height: 37px; min-height: 37px;
height: 37px; height: 37px;
@ -75,12 +75,6 @@
transition: color 0.3s ease, background 0.3s ease; transition: color 0.3s ease, background 0.3s ease;
} }
@media (max-width: 1000px) {
.user-cover-edit {
right: 15px;
}
}
.user-cover-edit:hover { .user-cover-edit:hover {
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
color: #fff; color: #fff;
@ -90,26 +84,13 @@
/* Edit user /* Edit user
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.first-form-group {
max-width: 500px;
}
@media (min-width: 651px) { @media (min-width: 651px) {
.first-form-group { .first-form-group {
left: 40px; margin-right: 20px;
min-width: 285px; padding-left: 40px;
} }
} .first-form-group input {
max-width: 100%;
@media (min-width: 651px) and (max-width: 1000px) {
.first-form-group {
width: calc(100% - 201px);
}
}
@media (min-width: 1001px) {
.first-form-group {
width: calc(100% - 181px);
} }
} }
@ -141,12 +122,6 @@
} }
} }
@media (min-width: 901px) {
.user-details-top .user-name {
width: calc(100% - 20px);
}
}
.user-profile { .user-profile {
position: relative; position: relative;
z-index: 1; z-index: 1;
@ -154,6 +129,7 @@
@media (min-width: 651px) { @media (min-width: 651px) {
.user-profile { .user-profile {
padding-right: 20px;
padding-left: 143px; padding-left: 143px;
} }
} }
@ -203,8 +179,10 @@
@media (max-width: 650px) { @media (max-width: 650px) {
.user-image { .user-image {
top: -159px; top: -135px;
left: 21px; left: 50%;
margin-right: 0;
margin-left: -63px;
} }
} }

View File

@ -59,6 +59,11 @@ fieldset[disabled] .btn {
pointer-events: none; pointer-events: none;
} }
.btn i {
display: inline-block;
vertical-align: middle;
}
/* Blue button /* Blue button
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */

View File

@ -22,6 +22,7 @@
.nav-list-item:hover { .nav-list-item:hover {
background: color(#dfe1e3 lightness(+10%)); background: color(#dfe1e3 lightness(+10%));
cursor: pointer;
} }
.nav-list-item:first-of-type { .nav-list-item:first-of-type {
@ -65,5 +66,6 @@
top: 50%; top: 50%;
right: 10px; right: 10px;
margin-top: -0.9rem; margin-top: -0.9rem;
color: var(--midgrey);
font-size: 1.4rem; font-size: 1.4rem;
} }

View File

@ -32,6 +32,7 @@
<b>Meta Data</b> <b>Meta Data</b>
<span>Extra content for SEO and social media.</span> <span>Extra content for SEO and social media.</span>
</button> </button>
<i class="icon-arrow-right"></i>
{{/gh-tab}} {{/gh-tab}}
</ul> </ul>