Settings CSS Cleanup
The Settings UI needed some responsive polish, so that's been given a bit more love.
This commit is contained in:
parent
a9c88f1430
commit
8461d88dd6
3 changed files with 28 additions and 16 deletions
|
@ -109,7 +109,6 @@
|
||||||
<i class="ti ti-mailbox"></i>
|
<i class="ti ti-mailbox"></i>
|
||||||
<span>TEST MAIL</span>
|
<span>TEST MAIL</span>
|
||||||
</button>
|
</button>
|
||||||
<br/><br/>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label>API KEY</label>
|
<label>API KEY</label>
|
||||||
|
|
|
@ -98,6 +98,7 @@ header > nav > div > div[role="mobile-menu"] {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
left: 0;
|
left: 0;
|
||||||
transition: all 0.2s linear;
|
transition: all 0.2s linear;
|
||||||
|
background: var(--white);
|
||||||
}
|
}
|
||||||
|
|
||||||
header > nav > div[role="nav-right"] button {
|
header > nav > div[role="nav-right"] button {
|
||||||
|
|
|
@ -26,10 +26,6 @@ section[role="member-settings"] {
|
||||||
margin: 10px auto;
|
margin: 10px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
section[role="member-settings"] > div:nth-child(1) {
|
section[role="member-settings"] > div:nth-child(1) {
|
||||||
grid-column: 1/2;
|
grid-column: 1/2;
|
||||||
grid-row: 1/3;
|
grid-row: 1/3;
|
||||||
|
@ -85,13 +81,13 @@ section[role="member-settings"] div input[type="file"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] div input[type="text"] {
|
section[role="member-settings"] div input[type="text"] {
|
||||||
width: 100%;
|
width: 98.4%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] div textarea {
|
section[role="member-settings"] div textarea {
|
||||||
width: 99%;
|
width: 98.4%;
|
||||||
height: 63%;
|
height: 63%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,9 +159,9 @@ section[role="member-settings"] > div[role="mail"] div[data-enabled="false"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] > div[role="mail"] input {
|
section[role="member-settings"] > div[role="mail"] input {
|
||||||
width: 96%;
|
width: 98.4%;
|
||||||
height: 30px;
|
height: 40px;
|
||||||
padding: 5px;
|
padding-left: 5px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,19 +173,29 @@ section[role="data-settings"] {
|
||||||
main > article[role="settings"] {
|
main > article[role="settings"] {
|
||||||
width: 97%;
|
width: 97%;
|
||||||
}
|
}
|
||||||
|
|
||||||
main > article[role="settings"] > section[role="member-settings"] {
|
|
||||||
width: 97.5%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 650px) {
|
@media only screen and (max-width: 650px) {
|
||||||
|
section[role="member-settings"] div input[type="text"] {
|
||||||
|
width: 99.3%;
|
||||||
|
height: 40px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
section[role="member-settings"] {
|
section[role="member-settings"] {
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
section[role="member-settings"] > div[role="mail"] input {
|
||||||
|
width: 97.7%;
|
||||||
|
height: 40px;
|
||||||
|
padding-left: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
section[role="member-settings"] div textarea {
|
section[role="member-settings"] div textarea {
|
||||||
height: 80px;
|
height: 80px;
|
||||||
|
width: 99.3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] > div:nth-child(1) {
|
section[role="member-settings"] > div:nth-child(1) {
|
||||||
|
@ -231,8 +237,12 @@ section[role="data-settings"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 530px) {
|
@media only screen and (max-width: 530px) {
|
||||||
|
section[role="member-settings"] > div[role="mail"] input {
|
||||||
|
width: 98.5%;
|
||||||
|
}
|
||||||
|
|
||||||
section[role="member-settings"] {
|
section[role="member-settings"] {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] div textarea {
|
section[role="member-settings"] div textarea {
|
||||||
|
@ -246,6 +256,8 @@ section[role="data-settings"] {
|
||||||
|
|
||||||
section[role="member-settings"] > div:nth-child(2) {
|
section[role="member-settings"] > div:nth-child(2) {
|
||||||
grid-row: 3/5;
|
grid-row: 3/5;
|
||||||
|
grid-column: 1;
|
||||||
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section[role="member-settings"] > div:nth-child(3) {
|
section[role="member-settings"] > div:nth-child(3) {
|
||||||
|
@ -258,6 +270,6 @@ section[role="data-settings"] {
|
||||||
section[role="member-settings"] > div:nth-child(6),
|
section[role="member-settings"] > div:nth-child(6),
|
||||||
section[role="member-settings"] > div:nth-child(7),
|
section[role="member-settings"] > div:nth-child(7),
|
||||||
section[role="member-settings"] > div:nth-child(8) {
|
section[role="member-settings"] > div:nth-child(8) {
|
||||||
grid-column: 1/3;
|
grid-column: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue