Open
Changes from 1 commit
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
PrevPrevious commit
Next Next commit
Fix scss indentation
  • Loading branch information
@davidangarita1
davidangarita1 committedJun 4, 2025
commit 363a87311b9362bacd2aea2f4586fab421ccaeba
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
.modebar {
position: absolute;
top: 2px;
right: 2px;
position: absolute;
top: 2px;
right: 2px;
}

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

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

&:hover .modebar--hover .modebar-group {
opacity: 1;
opacity: 1;
}

&:focus-within .modebar--hover .modebar-group {
opacity: 1;
opacity: 1;
}

.modebar-group {
float: left;
display: inline-block;
box-sizing: border-box;
padding-left: 8px;
position: relative;
vertical-align: middle;
white-space: nowrap;
float: left;
display: inline-block;
box-sizing: border-box;
padding-left: 8px;
position: relative;
vertical-align: middle;
white-space: nowrap;

a {
display: grid;
place-content: center;
}
a {
display: grid;
place-content: center;
}
}

.modebar-btn {
position: relative;
font-size: 16px;
padding: 3px 4px;
height: 22px;
/* display: inline-block; including this breaks 3d interaction in .embed mode. Chrome bug? */
cursor: pointer;
line-height: normal;
box-sizing: border-box;
border: none;
background: transparent;
position: relative;
font-size: 16px;
padding: 3px 4px;
height: 22px;
/* display: inline-block; including this breaks 3d interaction in .embed mode. Chrome bug? */
cursor: pointer;
line-height: normal;
box-sizing: border-box;
border: none;
background: transparent;

svg {
position: relative;
}
svg {
position: relative;
}

&:focus-visible {
outline: 1px solid black;
outline-offset: 1px;
border-radius: 3px;
}
&:focus-visible {
outline: 1px solid black;
outline-offset: 1px;
border-radius: 3px;
}

&.modebar-btn--logo {
}
&.modebar-btn--logo {
}
}

.modebar.vertical {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-content: flex-end;
max-height: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-content: flex-end;
max-height: 100%;

svg {
top: -1px;
}
.modebar-group {
display: block;
float: none;
padding-left: 0px;
padding-bottom: 8px;
svg {
top: -1px;
}
.modebar-group {
display: block;
float: none;
padding-left: 0px;
padding-bottom: 8px;

.modebar-btn {
display: block;
text-align: center;
}
}
.modebar-btn {
display: block;
text-align: center;
}
}
}