Skip to content

Commit 904e64a

Browse files
Fix indentation for spaces
1 parent 165dffe commit 904e64a

File tree

1 file changed

+59
-59
lines changed

1 file changed

+59
-59
lines changed

src/css/_modebar.scss

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
11
.modebar {
2-
position: absolute;
3-
top: 2px;
4-
right: 2px;
2+
position: absolute;
3+
top: 2px;
4+
right: 2px;
55
}
66

77
.ease-bg {
8-
@include vendor('transition', background-color 0.3s ease 0s);
8+
@include vendor('transition', background-color 0.3s ease 0s);
99
}
1010

11-
.modebar--hover > :not(.watermark) {
12-
opacity: 0;
13-
@include vendor('transition', opacity 0.3s ease 0s);
11+
.modebar--hover> :not(.watermark) {
12+
opacity: 0;
13+
@include vendor('transition', opacity 0.3s ease 0s);
1414
}
1515

1616
&:hover .modebar--hover .modebar-group {
17-
opacity: 1;
17+
opacity: 1;
1818
}
1919

2020
&:focus-within .modebar--hover .modebar-group {
21-
opacity: 1;
21+
opacity: 1;
2222
}
2323

2424
.modebar-group {
25-
float: left;
26-
display: inline-block;
27-
box-sizing: border-box;
28-
padding-left: 8px;
29-
position: relative;
30-
vertical-align: middle;
31-
white-space: nowrap;
25+
float: left;
26+
display: inline-block;
27+
box-sizing: border-box;
28+
padding-left: 8px;
29+
position: relative;
30+
vertical-align: middle;
31+
white-space: nowrap;
3232

33-
a {
34-
display: grid;
35-
place-content: center;
36-
}
33+
a {
34+
display: grid;
35+
place-content: center;
36+
}
3737
}
3838

3939
.modebar-btn {
40-
position: relative;
41-
font-size: 16px;
42-
padding: 3px 4px;
43-
height: 22px;
44-
/* display: inline-block; including this breaks 3d interaction in .embed mode. Chrome bug? */
45-
cursor: pointer;
46-
line-height: normal;
47-
box-sizing: border-box;
48-
border: none;
49-
background: transparent;
40+
position: relative;
41+
font-size: 16px;
42+
padding: 3px 4px;
43+
height: 22px;
44+
/* display: inline-block; including this breaks 3d interaction in .embed mode. Chrome bug? */
45+
cursor: pointer;
46+
line-height: normal;
47+
box-sizing: border-box;
48+
border: none;
49+
background: transparent;
5050

51-
svg {
52-
position: relative;
53-
}
51+
svg {
52+
position: relative;
53+
}
5454

55-
&:focus-visible {
56-
outline: 1px solid black;
57-
outline-offset: 1px;
58-
border-radius: 3px;
59-
}
55+
&:focus-visible {
56+
outline: 1px solid black;
57+
outline-offset: 1px;
58+
border-radius: 3px;
59+
}
6060

61-
&.modebar-btn--logo {
62-
}
61+
&.modebar-btn--logo {}
6362
}
6463

6564
.modebar.vertical {
66-
display: flex;
67-
flex-direction: column;
68-
flex-wrap: wrap;
69-
align-content: flex-end;
70-
max-height: 100%;
65+
display: flex;
66+
flex-direction: column;
67+
flex-wrap: wrap;
68+
align-content: flex-end;
69+
max-height: 100%;
7170

72-
svg {
73-
top: -1px;
74-
}
75-
.modebar-group {
76-
display: block;
77-
float: none;
78-
padding-left: 0px;
79-
padding-bottom: 8px;
71+
svg {
72+
top: -1px;
73+
}
8074

81-
.modebar-btn {
82-
display: block;
83-
text-align: center;
84-
}
85-
}
86-
}
75+
.modebar-group {
76+
display: block;
77+
float: none;
78+
padding-left: 0px;
79+
padding-bottom: 8px;
80+
81+
.modebar-btn {
82+
display: block;
83+
text-align: center;
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)