- Polish forms documentation
- Polish scss code
This commit is contained in:
Lucas 2019-12-10 14:56:52 +07:00
parent a6a0aab312
commit bcf6d7c779
8 changed files with 18 additions and 7 deletions

View file

@ -289,6 +289,10 @@ main > aside details[open] summary {
margin-top: 3rem;
}
#forms div.grid {
grid-row-gap: 0;
}
/**
* Docs: Typography
*/

File diff suppressed because one or more lines are too long

View file

@ -629,8 +629,7 @@
<button type="submit" aria-label="Example button">Submit</button>
</form>
<pre><code>
&lt;<b>form</b>&gt;
<pre><code>&lt;<b>form</b>&gt;
<em>&lt;!-- Grid --&gt;</em>
&lt;<b>div</b> <i>class</i>=<u>"grid"</u>&gt;

View file

@ -47,7 +47,6 @@ button.switcher {
}
&:hover {
&::after {
transform: rotate(180deg);
}

View file

@ -2,6 +2,6 @@
* Docs: Document
*/
html{
html {
scroll-behavior:smooth;
}

View file

@ -121,3 +121,12 @@
margin-top: $spacing-typography*2;
}
}
// Docs: Forms
//
#forms {
div.grid {
grid-row-gap: 0;
}
}

View file

@ -209,11 +209,13 @@ input[type="color"] {
// Select
select {
// Unstyle the caret on `<select>`s in IE10+.
&::-ms-expand {
border: 0;
background-color: transparent;
}
&:not([multiple]) {
// Source: https://feathericons.com/
$caret-icon-color: "808080"; // Without '#' !important
@ -236,7 +238,6 @@ input + small {
// Styles for Input inside a label
label {
& > input:not([type="checkbox"]):not([type="radio"]),
& > select,
& > textarea {

View file

@ -24,7 +24,6 @@ body {
> header,
> main,
> footer {
$padding-horizontal: $spacing-gutter !default;
$spacing-vertical: $spacing-block !default;
width: 100%;