editor/launcher: update form style

This commit is contained in:
jean-emmanuel 2016-11-19 08:55:41 +01:00
parent 1a287eb385
commit 933bdcdf86
3 changed files with 81 additions and 29 deletions

View file

@ -1,23 +1,37 @@
.form {
line-height: 18rem;
.input-wrapper {
display: flex;
margin-bottom:4rem;
// margin-bottom:4rem;
margin-top: -1rem;
// box-shadow: 0 0 0 1 var(--color-bg);
background:var(--color-bg);
align-items: center;
z-index: 1;
border-bottom: 1rem solid var(--color-bg);
&:last-child {
margin-bottom:0;
}
label {
background: var(--color-fg);
background: var(--color-raised);
flex-shrink: 0;
padding: 5rem;
border:1rem solid var(--color-bg);
padding: 6rem 5rem 4rem;
// border:1rem solid var(--color-bg);
// border-bottom: 1rem solid var(--color-bg);
min-width: 25%;
box-shadow: 1rem 0 0 0 var(--color-bg) inset;
// margin-top: -1rem;
}
.input, input {
background: var(--color-bg);
width:100%;
padding:5rem;
border-top:1rem solid var(--color-fg);
}
&.column {
flex-direction: column;
@ -43,9 +57,6 @@
font:inherit;
color:var(--color-text);
width:100%;
&:focus {
border-color:var(--color-accent);
}
.btn {
background:var(--color-raised);
box-shadow: 0 0 0 1rem var(--color-bg);
@ -54,6 +65,9 @@
.checkbox {
background:var(--color-raised);
cursor: pointer;
&[value="true"] {
color: var(--color-accent)
}
}
.select-wrapper {
position: relative;
@ -66,6 +80,14 @@
right:0;
top:0;
font-size: 20rem;
line-height: 15rem;
}
// border-top:1rem solid var(--color-fg);
.input {
line-height: 15rem;
border:0;
}
}
select {
@ -77,17 +99,19 @@
.separator {
line-height: 30rem;
height: 30rem;
margin-bottom: 5rem;
margin-top: 10rem;
position: relative;
display: flex;
align-items: center;
&:before, &:after {
content:"";
top:14rem;
width: 100%;
height: 1rem;
background: var(--color-text-fade);
}
background: var(--color-faded);
border: 1rem solid var(--color-bg);
// &:before, &:after {
// content:"";
// top:14rem;
// width: 100%;
// height: 1rem;
// background: var(--color-text-fade);
// }
span {
font-variant: small-caps;
position: relative;

View file

@ -185,12 +185,16 @@ i {
}
}
.item-wrapper {
margin-bottom:4rem;
// margin-bottom:4rem;
label {
min-width:90rem;
padding-left: 7rem;
}
.input-wrapper {
position: relative;
height: 28rem;
overflow: hidden;
margin: 0;
// height: 28rem;
// overflow: hidden;
// margin: 0;
.clear {
padding:0;
height:26rem;
@ -199,9 +203,13 @@ i {
text-align: center;
position: absolute;
right:1rem;
top:1rem;
top:2rem;
background: none;
opacity: .7;
}
input {
padding-right:35rem;
}
padding-right:35rem;
input[disabled] {
color:var(--color-accent);
}
@ -211,21 +219,23 @@ i {
height: 0rem;
white-space:normal;
padding: 0 4rem;
margin-left:1rem;
}
&.error {
.error-msg {
height: 28rem;
line-height: 28rem;
background: rgba(red,0.25)
}
box-shadow: 0 0 1rem 0 rgba(red,1);
}
}
.title {
background: var(--color-faded);
border: 1rem solid var(--color-bg);
margin-bottom: -1rem;
color: var(--color-accent);
margin-bottom: 4rem;
cursor: default;
cursor: default;z-index: 2;
#new-version {
color:yellow;
cursor: pointer;
@ -235,6 +245,17 @@ i {
.start {
border: 1rem solid var(--color-bg);
z-index: 1;
margin-top: 5rem;
&:after {
content:"";
position: absolute;
top:0;
left:0;
right: 0;
bottom:0;
box-shadow: 0 0 1rem 0 var(--color-text-fade) inset;
}
&.disabled {
opacity: .5;
}