home-assistant.io/sass/inuitcss/generic/_reset.scss

82 lines
1.3 KiB
SCSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

@charset "UTF-8";
/*------------------------------------*\
$RESET
\*------------------------------------*/
/**
* A more considered reset; more of a restart...
* As per: csswizardry.com/2011/10/reset-restarted
*/
@if $global-border-box == true{
/**
* Lets make the box model all nice, shall we...?
*/
*{
&,
&:before,
&:after{
@include vendor(box-sizing, border-box);
}
}
}
/**
* The usual...
*/
h1,h2,h3,h4,h5,h6,
p,blockquote,pre,
dl,dd,ol,ul,
form,fieldset,legend,
table,th,td,caption,
hr{
margin:0;
padding:0;
}
/**
* Give a help cursor to elements that give extra info on `:hover`.
*/
abbr[title],dfn[title]{
cursor:help;
}
/**
* Remove underlines from potentially troublesome elements.
*/
u,ins{
text-decoration:none;
}
/**
* Apply faux underline via `border-bottom`.
*/
ins{
border-bottom:1px solid;
}
/**
* So that `alt` text is visually offset if images dont load.
*/
img{
font-style:italic;
}
/**
* Give form elements some cursor interactions...
*/
label,
input,
textarea,
button,
select,
option{
cursor:pointer;
}
.text-input:active,
.text-input:focus,
textarea:active,
textarea:focus{
cursor:text;
outline:none;
}