617f00653c
* init v2 * make replay work * fix a failing scenary of react-frame * fix some bugs * delete/comment some files * remove * fix some bugs && remove more comments * remove unnecessary lines * minor tweak * fix some bugs * try to hook iframe using webpack * update * changes according to cassie * minor tweak * fix lint * extract sass * add icons * update webpack config * update webpack configuration * update * tweak * fix a small bug
39 lines
798 B
SCSS
39 lines
798 B
SCSS
.preview-frame {
|
|
min-height: 100%;
|
|
min-width: 100%;
|
|
position: absolute;
|
|
border-width: 0;
|
|
}
|
|
|
|
|
|
.preview-frame-overlay {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
z-index: 10;
|
|
display: none;
|
|
}
|
|
|
|
.preview-frame-placeholder {
|
|
width: #{400 / $base-font-size}rem;
|
|
height: #{400 / $base-font-size}rem;
|
|
position: absolute;
|
|
@include themify() {
|
|
background: getThemifyVariable('preview-placeholder-color');
|
|
}
|
|
}
|
|
|
|
.preview-frame__header {
|
|
height: #{29 / $base-font-size}rem;
|
|
}
|
|
|
|
.preview-frame__title {
|
|
@include themify() {
|
|
color: getThemifyVariable('secondary-text-color');
|
|
}
|
|
height: #{29 / $base-font-size}rem;
|
|
padding-top: #{7 / $base-font-size}rem;
|
|
padding-left: #{5 / $base-font-size}rem;
|
|
font-size: #{12 / $base-font-size}rem;
|
|
font-weight: normal;
|
|
}
|