Spaces:
Sleeping
Sleeping
* { | |
box-sizing: border-box; | |
} | |
body { | |
margin: 0; | |
font-family: Arial; | |
} | |
#logo { | |
width: 100%; | |
top: 10px; | |
z-index: 1; | |
} | |
.title_print, .reporting_period { | |
text-align: center; | |
} | |
.header { | |
text-align: center; | |
padding: 0.05%; | |
background: #053067; | |
color: white; | |
} | |
.row { | |
display: flex; | |
flex-wrap: wrap; | |
padding: 48px 0; | |
} | |
/* Create four equal columns that sits next to each other */ | |
.column { | |
flex: 25%; | |
max-width: 25%; | |
padding: 0 2px; | |
} | |
.column img { | |
margin-top: 2px; | |
vertical-align: middle; | |
} | |
.column:active img { | |
-webkit-transform: scale(2); | |
transform: scale(2); | |
cursor: zoom-out; | |
} | |
/* Responsive layout - makes a two column-layout instead of four columns */ | |
@media screen and (max-width: 800px) { | |
.column { | |
flex: 50%; | |
max-width: 50%; | |
} | |
} | |
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ | |
@media screen and (max-width: 600px) { | |
.column { | |
flex: 100%; | |
max-width: 100%; | |
} | |
} | |
#popupbox { | |
margin: 0; | |
margin-left: 40%; | |
margin-right: 40%; | |
margin-top: 50px; | |
padding-top: 10px; | |
width: 20%; | |
height: 150px; | |
position: fixed; | |
background: #FBFBF0; | |
border: solid #000000 2px; | |
z-index: 9; | |
font-family: arial; | |
visibility: hidden; | |
} | |
#ocorrencia { | |
margin: 0; | |
margin-left: 25%; | |
margin-right: 25%; | |
margin-top: 12%; | |
padding-top: 10px; | |
width: 50%; | |
height: 50%; | |
position: fixed; | |
background: white; | |
border: solid black 2px; | |
z-index: 9; | |
font-family: arial; | |
visibility: hidden; | |
} | |
.topnav { | |
position: fixed; | |
top: 0; | |
width: 100%; | |
overflow: hidden; | |
background-color: #333; | |
} | |
.topnav a { | |
float: left; | |
display: block; | |
color: #f2f2f2; | |
text-align: center; | |
padding: 14px 16px; | |
text-decoration: none; | |
font-size: 17px; | |
} | |
.active { | |
background-color: #4CAF50; | |
color: white; | |
} | |
.topnav .icon { | |
display: none; | |
} | |
.dropdown { | |
float: left; | |
overflow: hidden; | |
} | |
.dropdown .dropbtn { | |
font-size: 17px; | |
border: none; | |
outline: none; | |
color: white; | |
padding: 14px 16px; | |
background-color: inherit; | |
font-family: inherit; | |
margin: 0; | |
} | |
.dropdown-content { | |
display: none; | |
position: fixed; | |
background-color: #f9f9f9; | |
min-width: 160px; | |
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | |
z-index: 1; | |
} | |
.dropdown-content a { | |
float: none; | |
color: black; | |
padding: 12px 16px; | |
text-decoration: none; | |
display: block; | |
text-align: left; | |
} | |
.topnav a:hover, .dropdown:hover .dropbtn { | |
background-color: #555; | |
color: white; | |
} | |
.dropdown-content a:hover { | |
background-color: #ddd; | |
color: black; | |
} | |
.dropdown:hover .dropdown-content { | |
display: block; | |
} | |
@media screen and (max-width: 600px) { | |
.topnav a:not(:first-child), .dropdown .dropbtn { | |
display: none; | |
} | |
.topnav a.icon { | |
float: right; | |
display: block; | |
} | |
} | |
@media screen and (max-width: 600px) { | |
.topnav.responsive { | |
position: relative; | |
} | |
.topnav.responsive .icon { | |
position: absolute; | |
right: 0; | |
top: 0; | |
} | |
.topnav.responsive a { | |
float: none; | |
display: block; | |
text-align: left; | |
} | |
.topnav.responsive .dropdown { | |
float: none; | |
} | |
.topnav.responsive .dropdown-content { | |
position: relative; | |
} | |
.topnav.responsive .dropdown .dropbtn { | |
display: block; | |
width: 100%; | |
text-align: left; | |
} | |
} | |
/* | |
novo popup | |
*/ | |
/* Button used to open the contact form - fixed at the bottom of the page */ | |
.open-button { | |
background-color: #555; | |
color: white; | |
padding: 16px 20px; | |
border: none; | |
cursor: pointer; | |
opacity: 0.8; | |
position: fixed; | |
bottom: 23px; | |
right: 28px; | |
width: 280px; | |
} | |
/* The popup form - hidden by default */ | |
.form-popup { | |
display: none; | |
position: fixed; | |
bottom: 0; | |
right: 15px; | |
border: 3px solid #f1f1f1; | |
z-index: 9; | |
} | |
/* Add styles to the form container */ | |
.form-container { | |
max-width: 300px; | |
padding: 10px; | |
background-color: white; | |
} | |
/* Full-width input fields */ | |
.form-container input[type=text], .form-container input[type=password] { | |
width: 100%; | |
padding: 15px; | |
margin: 5px 0 22px 0; | |
border: none; | |
background: #f1f1f1; | |
} | |
/* When the inputs get focus, do something */ | |
.form-container input[type=text]:focus, .form-container input[type=password]:focus { | |
background-color: #ddd; | |
outline: none; | |
} | |
/* Set a style for the submit/login button */ | |
.form-container .btn { | |
background-color: #4CAF50; | |
color: white; | |
padding: 16px 20px; | |
border: none; | |
cursor: pointer; | |
width: 100%; | |
margin-bottom: 10px; | |
opacity: 0.8; | |
} | |
/* Add a red background color to the cancel button */ | |
.form-container .cancel { | |
background-color: red; | |
} | |
/* Add some hover effects to buttons */ | |
.form-container .btn:hover, .open-button:hover { | |
opacity: 1; | |
} | |
</style > | |