Small tweaks in UI

This commit is contained in:
Halfdan Mouritzen 2024-01-05 17:38:41 +01:00
parent 74013131b4
commit 73da307728
3 changed files with 22 additions and 24 deletions

View file

@ -26,11 +26,11 @@ p, h1, h2, h3, h4, h5, h6 {
:root {
/* Colors */
--light : #fff;
--light-dust : #fcfcfc;
--light-dust : #f6f6f6;
--dust : #f1f1f1;
--dark-dust : #bfbfbf;
--fade : #878787;
--twilight : #3c3c3c;
--twilight : #4a4a4a;
--dark : #2a2a2a;
--custard : #f0dcac;
--water : #a8f3f4;
@ -214,12 +214,9 @@ div.infobox {
justify-content : space-between;
}
/*
div.services > div:hover {
transform : scale(1.02);
transition : all 0.2s;
div.infobox button {
margin-top : var(--double-space);
}
*/
div.services > div > div.description {
margin-bottom : var(--double-space);
@ -263,9 +260,9 @@ form > div >label {
form > div > input[type="text"],
form > div > input[type="password"] {
border : 1px solid var(--twilight);
border-radius : 3px;
padding : 6px 12px;
border : 2px solid var(--twilight);
border-radius : 6px;
padding : 8px;
background : var(--light-dust);
width : 100%;
}
@ -279,14 +276,12 @@ form > div > input[type="password"] {
#loginbox {
border-radius : var(--space);
background : var(--dust);
border : 6px solid white;
width : 800px;
height : 500px;
display : flex;
flex-flow : row;
//justify-content : space-between;
}
#loginbox > div {
@ -299,19 +294,27 @@ form > div > input[type="password"] {
}
#loginbox > div.login {
background : var(--light-dust);
display: flex;
flex-flow: column;
justify-content: space-between;
}
#loginbox > div.signup {
border-radius : 0 var(--space) var(--space) 0;
background : var(--water);
display: flex;
flex-flow: column;
align-items: center;
}
#loginbox > div:first-child {
border-radius : var(--half-space) 0 0 var(--half-space);
}
#loginbox > div:last-child {
border-radius : 0 var(--half-space) var(--half-space) 0;
}
#loginbox > div:last-child > * {
flex : 1;
}
@ -333,13 +336,11 @@ form > div > input[type="password"] {
}
footer {
position : fixed;
bottom : 0;
left : 0;
right : 0;
margin : var(--space) var(--outer-space);
padding : var(--space);
border-radius : var(--quarter-space);
background : var(--dark);
color : var(--dust);
padding : 12px;
font-size : 0.78em;
opacity : 0.8;
}

View file

@ -35,8 +35,8 @@
</aside>
<nav>
<ol>
<li><a href="/">Dashboard</a></li>
<li><a href="/services" class="current">Services</a></li>
<li><a href="/" class="current">Dashboard</a></li>
<li><a href="/services">Services</a></li>
<li><a href="#">Payment</a></li>
<li><a href="/membership">Settings</a></li>
</ol>

View file

@ -7,12 +7,9 @@
{% block content %}
<div class="content-view">
<h2>Welcome {{ user }}!</h2>
<p>
Boink?
</p>
<div class="infobox">
<p>
To get started we need you to verify your email!
To get you started we need to verify your email!
</p>
<button>Verify email</button>
</div>