mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
Fixes
- Grid - Transitions .switcher - theme-switcher.js - Hide examples
This commit is contained in:
parent
73237bdcd4
commit
c3f9d8d8c8
9 changed files with 18 additions and 26 deletions
|
@ -507,7 +507,7 @@ button.switcher i {
|
|||
|
||||
button.switcher:hover, button.switcher:focus {
|
||||
max-width: 100%;
|
||||
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
||||
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
button.switcher:hover::after {
|
||||
|
|
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
|
@ -25,7 +25,7 @@
|
|||
<li>Documentation</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="#" class="secondary">Examples</a></li>
|
||||
<!--<li><a href="https://picocss.com#examples" class="secondary">Examples</a></li>-->
|
||||
<li><a href="#docs" class="secondary">Docs</a></li>
|
||||
<li>
|
||||
<a href="https://github.com/picocss/pico" class="contrast" aria-label="Pico GitHub repository">
|
||||
|
|
2
docs/js/pico.docs.min.js
vendored
2
docs/js/pico.docs.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -66,7 +66,6 @@
|
|||
|
||||
// Click Listener on Switcher
|
||||
var switchers = document.querySelectorAll(switcher.selector);
|
||||
console.log(switchers);
|
||||
for (var i = 0; i < switchers.length; i++) {
|
||||
switchers[i].addEventListener('click', function(event) {
|
||||
|
||||
|
|
|
@ -39,8 +39,11 @@ button.switcher {
|
|||
&:hover,
|
||||
&:focus {
|
||||
max-width: 100%;
|
||||
transition: background-color $transition,
|
||||
color $transition;
|
||||
transition:
|
||||
background-color $transition,
|
||||
border-color $transition,
|
||||
color $transition,
|
||||
box-shadow $transition;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue