forked from GitHub/gf-core
translator.css: factor out div.overlay styles to a separate file overlay.css
This commit is contained in:
20
src/www/translator/overlay.css
Normal file
20
src/www/translator/overlay.css
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
div.overlay {
|
||||
display: none;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%; height: 100%;
|
||||
background: white; /* fallback */
|
||||
background: rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
div.overlay > div {
|
||||
margin: 5em 3em;
|
||||
background: white; /* fallback */
|
||||
background: rgba(255,255,255,0.95);
|
||||
padding: 1em;
|
||||
box-shadow: 4px 4px 12px rgba(0,0,0,0.33);
|
||||
/*border-radius: 5px;*/
|
||||
}
|
||||
Reference in New Issue
Block a user