p5.js-web-editor/client/styles/components/_modal.scss

50 lines
961 B
SCSS
Raw Normal View History

.modal {
position: absolute;
top: #{66 / $base-font-size}rem;
right: #{400 / $base-font-size}rem;
z-index: 100;
}
.modal-content {
@extend %modal;
2016-07-15 23:05:18 +00:00
height: #{400 / $base-font-size}rem;
width: #{400 / $base-font-size}rem;
padding: #{20 / $base-font-size}rem;
2016-07-21 02:18:20 +00:00
.modal--reduced & {
height: #{150 / $base-font-size}rem;
}
}
2016-08-30 03:23:10 +00:00
.modal-content-folder {
@extend .modal-content;
height: #{150 / $base-font-size}rem;
}
.modal__exit-button {
@extend %icon;
}
.modal__header {
display: flex;
justify-content: space-between;
margin-bottom: #{20 / $base-font-size}rem;
}
2016-08-30 03:23:10 +00:00
.new-file-form__name-label, .new-folder-form__name-label {
@extend %hidden-element;
}
2016-08-30 03:23:10 +00:00
.new-file-form__name-input, .new-folder-form__name-input {
margin-right: #{10 / $base-font-size}rem;
2016-07-15 23:05:18 +00:00
}
.modal__divider {
text-align: center;
margin: #{20 / $base-font-size}rem 0;
}
.uploader {
height: #{200 / $base-font-size}rem;
width: 100%;
text-align: center;
}