mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -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;
|
||||
}
|
||||
|
||||
#forms div.grid {
|
||||
grid-row-gap: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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>
|
||||
</form>
|
||||
|
||||
<pre><code>
|
||||
<<b>form</b>>
|
||||
<pre><code><<b>form</b>>
|
||||
|
||||
<em><!-- Grid --></em>
|
||||
<<b>div</b> <i>class</i>=<u>"grid"</u>>
|
||||
|
|
|
@ -47,7 +47,6 @@ button.switcher {
|
|||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
&::after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
* Docs: Document
|
||||
*/
|
||||
|
||||
html{
|
||||
html {
|
||||
scroll-behavior:smooth;
|
||||
}
|
||||
|
|
|
@ -121,3 +121,12 @@
|
|||
margin-top: $spacing-typography*2;
|
||||
}
|
||||
}
|
||||
|
||||
// Docs: Forms
|
||||
// ––––––––––––––––––––
|
||||
|
||||
#forms {
|
||||
div.grid {
|
||||
grid-row-gap: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -24,7 +24,6 @@ body {
|
|||
> header,
|
||||
> main,
|
||||
> footer {
|
||||
|
||||
$padding-horizontal: $spacing-gutter !default;
|
||||
$spacing-vertical: $spacing-block !default;
|
||||
width: 100%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue