Files
coriolis/app/less/modal.less
2015-05-08 21:16:14 -07:00

62 lines
858 B
Plaintext

.modal-bg {
z-index: 2;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0,0,0,0.5);
.user-select-none();
}
.modal {
position: absolute;
left:50%; top:50%;
transform:translate(-50%,-50%);
-webkit-transform:translate(-50%,-50%);
max-width: 75%;
padding: 3em;
background-color: @bgBlack;
border: 1px solid @primary;
h1 {
margin: 0.2em 0;
}
h2 {
margin: 0;
}
p {
text-align: justify;
}
}
textarea {
background: @primary-bg;
border: none;
outline: none;
color: @primary-disabled;
&.json {
display:block;
width:40em;
height: 10em;
resize: vertical;
margin:2em 0;
}
}
input {
background: @primary-bg;
border: 1px solid @primary-disabled;
color: @secondary-disabled;
outline: none;
}
.dismiss {
background-color: @primary-bg;
}