mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
Polish
- Polish forms documentation - Polish scss code
This commit is contained in:
parent
a6a0aab312
commit
bcf6d7c779
8 changed files with 18 additions and 7 deletions
|
@ -289,6 +289,10 @@ main > aside details[open] summary {
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#forms div.grid {
|
||||||
|
grid-row-gap: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Docs: Typography
|
* Docs: Typography
|
||||||
*/
|
*/
|
||||||
|
|
2
docs/css/pico.docs.min.css
vendored
2
docs/css/pico.docs.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -629,8 +629,7 @@
|
||||||
<button type="submit" aria-label="Example button">Submit</button>
|
<button type="submit" aria-label="Example button">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<pre><code>
|
<pre><code><<b>form</b>>
|
||||||
<<b>form</b>>
|
|
||||||
|
|
||||||
<em><!-- Grid --></em>
|
<em><!-- Grid --></em>
|
||||||
<<b>div</b> <i>class</i>=<u>"grid"</u>>
|
<<b>div</b> <i>class</i>=<u>"grid"</u>>
|
||||||
|
|
|
@ -47,7 +47,6 @@ button.switcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
* Docs: Document
|
* Docs: Document
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html{
|
html {
|
||||||
scroll-behavior:smooth;
|
scroll-behavior:smooth;
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,3 +121,12 @@
|
||||||
margin-top: $spacing-typography*2;
|
margin-top: $spacing-typography*2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Docs: Forms
|
||||||
|
// ––––––––––––––––––––
|
||||||
|
|
||||||
|
#forms {
|
||||||
|
div.grid {
|
||||||
|
grid-row-gap: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -209,11 +209,13 @@ input[type="color"] {
|
||||||
|
|
||||||
// Select
|
// Select
|
||||||
select {
|
select {
|
||||||
|
|
||||||
// Unstyle the caret on `<select>`s in IE10+.
|
// Unstyle the caret on `<select>`s in IE10+.
|
||||||
&::-ms-expand {
|
&::-ms-expand {
|
||||||
border: 0;
|
border: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not([multiple]) {
|
&:not([multiple]) {
|
||||||
// Source: https://feathericons.com/
|
// Source: https://feathericons.com/
|
||||||
$caret-icon-color: "808080"; // Without '#' !important
|
$caret-icon-color: "808080"; // Without '#' !important
|
||||||
|
@ -236,7 +238,6 @@ input + small {
|
||||||
|
|
||||||
// Styles for Input inside a label
|
// Styles for Input inside a label
|
||||||
label {
|
label {
|
||||||
|
|
||||||
& > input:not([type="checkbox"]):not([type="radio"]),
|
& > input:not([type="checkbox"]):not([type="radio"]),
|
||||||
& > select,
|
& > select,
|
||||||
& > textarea {
|
& > textarea {
|
||||||
|
|
|
@ -24,7 +24,6 @@ body {
|
||||||
> header,
|
> header,
|
||||||
> main,
|
> main,
|
||||||
> footer {
|
> footer {
|
||||||
|
|
||||||
$padding-horizontal: $spacing-gutter !default;
|
$padding-horizontal: $spacing-gutter !default;
|
||||||
$spacing-vertical: $spacing-block !default;
|
$spacing-vertical: $spacing-block !default;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue