2017-03-30 08:00:14 +03:00
|
|
|
fieldset {
|
2017-11-17 03:44:45 +03:00
|
|
|
padding: 0.5rem 2rem;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
2017-11-17 03:44:45 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 0.8em;
|
|
|
|
letter-spacing: 0.1rem;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
2017-11-17 03:44:45 +03:00
|
|
|
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]),
|
2017-03-30 08:00:14 +03:00
|
|
|
select,
|
|
|
|
textarea,
|
2017-11-17 03:44:45 +03:00
|
|
|
textarea[type="text"] {
|
|
|
|
font-family: inherit;
|
|
|
|
padding: 0.7rem 1rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid var(--lightGrey-color);
|
|
|
|
font-size: 1em;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]):hover,
|
2017-03-30 08:00:14 +03:00
|
|
|
select:hover,
|
|
|
|
textarea:hover,
|
2017-11-17 03:44:45 +03:00
|
|
|
textarea[type="text"]:hover {
|
|
|
|
border-color: #aaa;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
2017-11-17 03:44:45 +03:00
|
|
|
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]):focus,
|
2017-03-30 08:00:14 +03:00
|
|
|
select:focus,
|
|
|
|
textarea:focus,
|
2017-11-17 03:44:45 +03:00
|
|
|
textarea[type="text"]:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: var(--primary-color);
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
2017-11-17 03:44:45 +03:00
|
|
|
-webkit-appearance: none;
|
|
|
|
background: #fafafa no-repeat 100%;
|
|
|
|
background-size: 1ex;
|
|
|
|
background-origin: content-box;
|
|
|
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' fill='#555'><polygon points='0,0 60,0 30,40'/></svg>");
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
[type="checkbox"],
|
|
|
|
[type="radio"] {
|
2017-11-17 03:44:45 +03:00
|
|
|
width: 1.6rem;
|
|
|
|
height: 1.6rem;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* BUTTONS */
|
|
|
|
.button,
|
2017-11-17 03:44:45 +03:00
|
|
|
[type="button"],
|
|
|
|
[type="reset"],
|
|
|
|
[type="submit"],
|
2017-03-30 08:00:14 +03:00
|
|
|
button {
|
2017-11-17 03:44:45 +03:00
|
|
|
padding: 1rem 2.5rem;
|
|
|
|
color: #333;
|
|
|
|
background: #e6e6e6;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: none;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1;
|
|
|
|
text-align: center;
|
|
|
|
transition: opacity 0.2s ease;
|
|
|
|
text-decoration: none;
|
|
|
|
transform: scale(1);
|
|
|
|
display: inline-block;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button + .button {
|
2017-11-17 03:44:45 +03:00
|
|
|
margin-left: 1rem;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover,
|
2017-11-17 03:44:45 +03:00
|
|
|
[type="button"]:hover,
|
|
|
|
[type="reset"]:hover,
|
|
|
|
[type="submit"]:hover,
|
2017-03-30 08:00:14 +03:00
|
|
|
button:hover {
|
2017-11-17 03:44:45 +03:00
|
|
|
opacity: 0.8;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:active,
|
2017-11-17 03:44:45 +03:00
|
|
|
[type="button"]:active,
|
|
|
|
[type="reset"]:active,
|
|
|
|
[type="submit"]:active,
|
2017-03-30 08:00:14 +03:00
|
|
|
button:active {
|
2017-11-17 03:44:45 +03:00
|
|
|
transform: scale(0.98);
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
2017-04-02 09:05:23 +03:00
|
|
|
input[disabled],
|
|
|
|
button[disabled],
|
|
|
|
input[disabled]:hover,
|
|
|
|
button[disabled]:hover {
|
2017-11-17 03:44:45 +03:00
|
|
|
opacity: 0.4;
|
|
|
|
cursor: not-allowed;
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button.primary,
|
2017-11-17 03:44:45 +03:00
|
|
|
.button.secondary,
|
|
|
|
[type="submit"] {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #000;
|
|
|
|
background: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.secondary {
|
|
|
|
background: var(--darkGrey-color);
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button.outline {
|
2017-11-17 03:44:45 +03:00
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid var(--lightGrey-color);
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button.outline.primary {
|
2017-11-17 03:44:45 +03:00
|
|
|
border-color: var(--primary-color);
|
|
|
|
color: var(--primary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.outline.secondary {
|
|
|
|
border-color: var(--darkGrey-color);
|
|
|
|
color: var(--darkGrey-color);
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.button.clear {
|
2017-11-17 03:44:45 +03:00
|
|
|
background-color: transparent;
|
|
|
|
border-color: transparent;
|
|
|
|
color: var(--primary-color);
|
2017-03-30 08:00:14 +03:00
|
|
|
}
|