home-assistant.io/sass/inuitcss/objects/_options.scss

47 lines
1021 B
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";
@if $use-options == true{
/*------------------------------------*\
$OPTIONS
\*------------------------------------*/
/**
* Link-group nav, used for displaying related options. Extends `.nav--block`
* but could also extend `.nav--fit`. Extend with colours and current states
* in your theme stylesheet.
*
<ul class="nav options">
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
</ul>
*
* Demo: jsfiddle.net/inuitcss/vwfaf
*
*/
.options{
@extend .nav--block;
> li{
> a{
border:0 solid $base-ui-color;
border-width:1px;
border-left-width:0;
}
&:first-child > a{
border-left-width:1px;
border-top-left-radius:$brand-round;
border-bottom-left-radius:$brand-round;
}
&:last-child > a{
border-top-right-radius:$brand-round;
border-bottom-right-radius:$brand-round;
}
}
}
}//endif