src/css/_tooltips.scss
Properties should be ordered cursor, display Open
Open
display: inline-block;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
max-width: 350px;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
padding: 8px 10px;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
line-height: 1.5;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
border-radius: 3px;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
&[x-placement^='right'] {
- Exclude checks
Properties should be ordered border-bottom-color, border-left-color, border-top-color, border-width, left, margin-left, margin-right, top Open
Open
border-width: $arrow-size $arrow-size $arrow-size 0;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
cursor: pointer;
- Exclude checks
Properties should be ordered height, margin, position, width Open
Open
width: 0;
- Exclude checks
Shorthand form for property border-width
should be written more concisely as $arrow-size $arrow-size 0
instead of $arrow-size $arrow-size 0 $arrow-size
Open
Open
border-width: $arrow-size $arrow-size 0 $arrow-size;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
font-size: 12px;
- Exclude checks
Color literals like rgba(0, 0, 0, 0.2)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
- Exclude checks
0.2
should be written without a leading zero as .2
Open
Open
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
- Exclude checks
Properties should be ordered border-bottom-color, border-left-color, border-right-color, border-width, bottom, left, margin-bottom, margin-top Open
Open
border-width: $arrow-size $arrow-size 0 $arrow-size;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
.tooltip-arrow {
- Exclude checks
Properties should be ordered border-bottom-color, border-right-color, border-top-color, border-width, margin-left, margin-right, right, top Open
Open
border-width: $arrow-size 0 $arrow-size $arrow-size;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
background: $tooltip-bg;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
border: solid $tooltip-bg;
- Exclude checks
Properties should be ordered border-left-color, border-right-color, border-top-color, border-width, left, margin-bottom, margin-top, top Open
Open
border-width: 0 $arrow-size $arrow-size $arrow-size;
- Exclude checks
Shorthand form for property border-width
should be written more concisely as 0 $arrow-size $arrow-size
instead of 0 $arrow-size $arrow-size $arrow-size
Open
Open
border-width: 0 $arrow-size $arrow-size $arrow-size;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
&[x-placement^='left'] {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
&[x-placement^='top'] {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
$arrow-size: 5px;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
cursor: initial;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
z-index: 1;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
display: inline-block;
- Exclude checks
Properties should be ordered background, border-radius, box-shadow, font-size, line-height, max-width, padding, z-index Open
Open
z-index: 20;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
&[x-placement^='bottom'] {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
z-index: 20;
- Exclude checks