glide-design-system
Version:
Glide design system is an open-source React component library. It offers numerous benefits that make them essential tools for design and development teams.
74 lines (65 loc) • 1.28 kB
CSS
.modal-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 12;
}
.modal {
background-color: white;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
min-width: 600px;
height: auto;
}
.modal-content {
padding: 10px;
width: 100%;
box-sizing: border-box;
}
.modal-close {
position: absolute;
top: 10px;
right: 10px;
border: none;
background: none;
font-size: 24px;
font-weight: 900;
cursor: pointer;
}
.title {
justify-content: space-between;
padding: 10px;
color: rgb(51, 51, 51);
font-weight: 700;
font-family: 'Roboto', sans-serif;
font-size: 18px;
display: flex;
flex-direction: row;
background-color: #f2f2f2;
width: 100%;
height: 40px;
align-items: center;
box-sizing: border-box;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.modal-actions {
padding: 10px;
width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
box-sizing: border-box;
/* background-color: #2196f3; */
/* padding: 10px; */
/* justify-content: space-between; */
/* width: 70%; */
/* float: right; */
}