1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 01:39:50 +02:00

🚿 再開発

This commit is contained in:
BcRikko
2018-11-18 09:54:03 +09:00
parent 8c62eee7a6
commit db0ac66528
32 changed files with 324 additions and 2016 deletions

View File

@@ -1,4 +0,0 @@
@charset "utf-8";
@import "input.scss";
@import "group.scss";

View File

@@ -1,14 +0,0 @@
.group {
display: flex;
align-items: center;
justify-content: flex-start;
margin: 1rem 0;
&.-center {
justify-content: center;
}
&.-right {
justify-content: flex-end;
}
}

View File

@@ -1,47 +0,0 @@
.field {
margin-bottom: 1rem;
.label {
display: block;
margin-bottom: 0.5rem;
}
.input {
position: relative;
width: 100%;
padding: 1rem 1rem 0.5rem;
background-color: $background-color;
border: 4px solid $black;
&::placeholder {
font-weight: lighter;
color: rgba($black, 0.3);
}
&.-success {
border-color: $success-background-color;
}
&.-warning {
color: $warning-shadow-color;
border-color: $warning-background-color;
}
&.-error {
color: $error-background-color;
border-color: $error-background-color;
}
}
&.-inline {
display: flex;
align-items: baseline;
.label {
width: 20rem;
margin: 0;
margin-right: 1rem;
text-align: right;
}
}
}