portal-oddajanje-solar/static/css/header.css

292 lines
4.9 KiB
CSS
Raw Permalink Normal View History

2021-11-16 17:45:20 +00:00
@import url(https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,900,900italic,300italic,300,100italic,100);
html {
font-family: 'Roboto', sans-serif;
font-size: 16px;
2023-01-16 17:52:30 +00:00
color: #46535B;
}
2021-11-16 17:45:20 +00:00
body {
font-size: 16px;
padding: 0;
2023-01-16 17:52:30 +00:00
margin: 0;
}
2021-11-16 17:45:20 +00:00
h1 {
font-size: 30px;
font-style: normal;
font-weight: 300;
line-height: 35px;
2023-01-16 17:52:30 +00:00
color: #006CB7;
}
2021-11-16 17:45:20 +00:00
h2 {
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 21px;
text-transform: uppercase;
2023-01-16 17:52:30 +00:00
color: #006CB7;
}
2021-11-16 17:45:20 +00:00
h3 {
font-size: 18px;
font-style: normal;
font-weight: 300;
2023-01-16 17:52:30 +00:00
line-height: 21px;
}
2021-11-16 17:45:20 +00:00
em {
2023-01-16 17:52:30 +00:00
font-weight: 300;
}
2021-11-16 17:45:20 +00:00
.btn {
border: none;
line-height: 2.5rem;
padding: 0 2.5rem;
color: white;
background: #006CB7;
border-radius: 20px;
font-size: 1.125rem;
font-weight: 400;
cursor: pointer;
2023-01-16 17:52:30 +00:00
-webkit-transition: opacity 0.3s ease-out;
transition: opacity 0.3s ease-out;
}
.btn:hover {
opacity: 0.8;
}
.btn:disabled {
cursor: default;
opacity: 0.5;
}
2021-11-16 17:45:20 +00:00
.panel {
background: #F5F5F5;
padding: 40px 60px;
2021-11-26 12:50:32 +00:00
border-radius: 20px;
2023-01-16 17:52:30 +00:00
max-width: 30rem;
}
.panel .panel-logo {
position: absolute;
top: -60px;
left: 0;
right: 0;
display: block;
margin: auto;
background: #F5F5F5;
padding: 20px 30px;
width: 100px;
border-radius: 100%;
text-align: center;
}
2021-11-16 17:45:20 +00:00
.line {
background: #C4C4C4;
height: 2px;
width: 200px;
2023-01-16 17:52:30 +00:00
margin: auto;
}
2021-11-16 17:45:20 +00:00
.a-right {
display: block;
text-align: right;
font-size: 10px;
text-decoration: none;
color: #006CB7;
2023-01-16 17:52:30 +00:00
text-transform: uppercase;
}
2021-11-16 17:45:20 +00:00
.alert {
position: relative;
2021-11-26 12:50:32 +00:00
color: #8D3D3D;
2023-01-16 17:52:30 +00:00
margin-bottom: 2rem;
}
.alert.alert-success {
color: #88B52F;
}
.alert img {
position: relative;
top: 0.25rem;
width: 1.8rem;
}
.alert p {
position: absolute;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 2rem;
left: 3rem;
top: 0;
margin: 0;
text-transform: uppercase;
}
2021-11-16 17:45:20 +00:00
.submit-alert {
background: white;
border: 2px solid #B7DB70;
2023-01-16 17:52:30 +00:00
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-radius: 8px;
}
.submit-alert .btn {
margin-top: 0.5rem;
background: #88B52F;
border-radius: 4px;
}
2021-11-16 17:45:20 +00:00
body {
2023-01-16 17:52:30 +00:00
background: #F5F5F5;
}
2021-11-16 17:45:20 +00:00
header {
position: fixed;
top: 0;
width: 100%;
height: 4rem;
background: #006CB7;
z-index: 1000000;
2023-01-16 17:52:30 +00:00
-webkit-box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.2);
box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.2);
}
2021-11-16 17:45:20 +00:00
header .logo {
display: inline-block;
2023-01-16 17:52:30 +00:00
padding: 0.5rem 1.5rem;
}
header .logo img {
height: 3rem;
}
2021-11-16 17:45:20 +00:00
header .menu-items {
float: right;
padding: 1.5rem 1.5rem;
2023-01-16 17:52:30 +00:00
display: inline-block;
}
header .menu-items a {
margin-left: 2rem;
display: inline-block;
color: white;
text-decoration: none;
}
2021-11-16 17:45:20 +00:00
.tab-nav {
margin-top: 2rem;
2023-01-16 17:52:30 +00:00
border-bottom: 1px solid #848C90;
}
.tab-nav a {
position: relative;
top: 1px;
display: inline-block;
font-weight: 500;
text-transform: uppercase;
font-size: 1.125rem;
padding: 0.25rem 2rem;
text-decoration: none;
color: #848C90;
-webkit-transition: color 0.3s ease-out;
transition: color 0.3s ease-out;
}
.tab-nav a.active, .tab-nav a:hover {
color: #006CB7;
border-bottom: 4px solid #006CB7;
}
2021-11-16 17:45:20 +00:00
h1.title {
font-weight: 300;
font-size: 1.5rem;
line-height: 1.75rem;
margin: 0;
2023-01-16 17:52:30 +00:00
color: #006CB7;
}
2021-11-16 17:45:20 +00:00
p.subtitle {
font-size: 14px;
line-height: 150%;
2023-01-16 17:52:30 +00:00
margin-top: 0.5rem;
}
2021-11-16 17:45:20 +00:00
/* Style The Dropdown Button */
.dropbtn {
color: white;
line-height: 4rem;
border: none;
cursor: pointer;
background: none;
2023-01-16 17:52:30 +00:00
padding: 0 1rem;
}
.dropbtn img {
position: relative;
top: 0.75rem;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
margin-right: 1rem;
float: right;
display: inline-block;
2023-01-16 17:52:30 +00:00
position: relative;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: #f9f9f9;
min-width: 160px;
2023-01-16 17:52:30 +00:00
-webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: #848C90;
padding: 0.5rem 1rem;
text-decoration: none;
2023-01-16 17:52:30 +00:00
display: block;
}
.dropdown-content a:hover {
background-color: #f1f1f1;
cursor: pointer;
}
.dropdown-content hr {
margin-top: 0;
margin-bottom: 0;
2023-01-16 17:52:30 +00:00
border-top: 1px solid #B6BEC3;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
2023-01-16 17:52:30 +00:00
display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
2023-01-16 17:52:30 +00:00
background: rgba(0, 0, 0, 0.2);
}
/*# sourceMappingURL=header.css.map */