mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00

- Updated tooltips to go multiline, max width of 250px. -Updated card footer, to remove the margin from the last element if they are buttons or groups when in the footer - Made container, grid, and row classes to have a parent class, so they will not effect rest of page. This will only work if you use that style css. - Added tabs - Added floating labels - Added responsive nav hamburger menu Let me know if you find any bugs or have ideas for improvements!
33 lines
791 B
SCSS
33 lines
791 B
SCSS
@use "sass:map";
|
|
@use "../settings" as *;
|
|
|
|
@if map.get($modules, "layout/container") and $enable-classes {
|
|
/**
|
|
* Container
|
|
*/
|
|
|
|
#{$parent-selector} .container,
|
|
#{$parent-selector} .container-fluid {
|
|
width: 100%;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
padding-right: var(#{$css-var-prefix}spacing);
|
|
padding-left: var(#{$css-var-prefix}spacing);
|
|
}
|
|
|
|
#{$parent-selector} .container {
|
|
$first-breakpoint: true;
|
|
@each $key, $values in $breakpoints {
|
|
@if $values {
|
|
@media (min-width: map.get($values, "breakpoint")) {
|
|
max-width: map.get($values, "viewport");
|
|
@if $first-breakpoint {
|
|
$first-breakpoint: false;
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|