Files
scratch-gui/src/components/browser-modal/browser-modal.css
T
chrisgarrity 1f65bb078f Improve performance and cosmetics
- reduced the load time of the preview modal assets
- changed cursor to ‘pointer’ for modal buttons
2018-01-04 15:29:01 -05:00

72 lines
1.3 KiB
CSS

@import "../../css/colors.css";
@import "../../css/units.css";
@import "../../css/typography.css";
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
background-color: hsla(215, 100%, 65%, .9);
}
.modal-content {
margin: 100px auto;
outline: none;
border: .25rem solid hsla(0, 100%, 100%, .25);
padding: 0;
border-radius: $space;
user-select: none;
width: 500px;
color: $text-primary;
overflow: hidden;
}
.illustration {
width: 100%;
height: 208px;
background-color: $motion-primary;
background-image: url('./unsupported.png');
background-size: cover;
}
.body {
background: $ui-pane-gray;
padding: 1.5rem 2.25rem;
text-align: center;
}
/* Confirmation buttons at the bottom of the modal */
.button-row {
margin: 1.5rem 0;
font-weight: bolder;
text-align: right;
display: flex;
justify-content: center;
}
.button-row button {
border: 1px solid $motion-primary;
border-radius: 0.25rem;
padding: 0.5rem 2rem;
background: $motion-primary;
color: white;
font-weight: bold;
font-size: 0.875rem;
cursor: pointer;
}
.faq-link-text {
margin: 2rem 0 .5rem 0;
font-size: .875rem;
color: $text-primary;
}
.faq-link {
color: $motion-primary;
text-decoration: none;
}