Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
.preview-toolbar__toolbar {
// Move spinner to the bottom of browser header
& ~ hr.spinner-line {
width: calc(100% - 1px);
top: 16px;
left: 50%;
transform: translateX(-50%);
@include break-small {
top: 82px;
}
}
.preview-toolbar__browser-header,
& ~ hr.spinner-line {
.is-tablet & {
max-width: 783px;
}
.is-phone & {
max-width: 460px;
}
}
}
.preview-toolbar__devices {
display: flex;
justify-content: center;
margin-bottom: 25px;
}
// Need the extra specificity here to override core
.button.preview-toolbar__button {
height: auto;
margin: 0 9px;
transition: color 0.1s ease-in-out;
svg {
color: var(--studio-gray-10);
fill: currentColor;
}
&.is-selected,
&:hover,
&:focus {
svg {
color: var(--studio-black);
}
}
}
.preview-toolbar__browser-header {
position: relative;
max-width: 100%;
height: 40px;
margin: 0 auto;
transition: max-width 0.2s ease-out;
svg {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
fill: rgba(0, 0, 0, 0.12);
}
}
.preview-toolbar__browser-header-content {
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: 100%;
height: 100%;
background-color: #fff;
z-index: 1;
&::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
border: 1px solid rgba(0, 0, 0, 0.12);
/* stylelint-disable-next-line scales/radii */
border-radius: 6px 6px 0 0;
box-sizing: content-box;
}
}
.preview-toolbar__browser-url {
display: none;
width: 60%;
height: 24px;
line-height: 24px;
padding: 0 8px;
border-radius: 8px; /* stylelint-disable-line scales/radii */
color: #000;
background: #f6f6f7;
font-size: $font-body-extra-small;
font-weight: normal;
text-align: center;
cursor: default;
overflow: hidden;
text-overflow: ellipsis;
&::before {
content: "https://";
color: #8c8f94;
}
@include break-small {
display: block;
}
}