Files
muntadas-app/assets/css/app.scss
T

91 lines
1.5 KiB
SCSS

@import './base/reset';
@import './base/variables';
@import './base/colors';
@import './base/grid-flex';
@import './base/layout';
@import './base/fonts';
@import './base/transitions';
body{
color: #1a1a1a;
}
#root{
}
.red{
background-color: red;
color:white;
}
header[role="banner"]{
padding:1em;
pointer-events: none;
h1{
font-weight: 400;
font-size: 1em;
}
}
section[role="main-content"]{
#content{
position: absolute;
left: 0; top:0;
width: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.6);
>.wrapper{
position: relative;
margin:5% 10%;
padding:1em;
overflow-y: hidden;
background-color: #fff;
border-radius: 5px;
height: 80%;
box-sizing:border-box;
}
>.wrapper{
display: flex;
flex-direction: column;
>header{
padding:0.5em 0;
h1{
font-size: 1.323em;
font-weight: normal;
margin: 0
}
.close-btn{
display: block;
width:1em; height:1em;
position: absolute;
top:1em; right:1em;
background-color: #1a1a1a;
cursor: pointer;
text-align: center;
border-radius: 5px;
font-weight: bold;
line-height: 1;
color: #fff;
}
}
>section{
overflow-y: auto;
div.text{
white-space: pre-wrap;
font-weight: 300;
line-height: 1.2;
}
img{
max-width:100%;
}
}
}
}
}