client/app/styles/dre.css
/* COLORS
- DARK PRIMARY COLOR #455A64
- PRIMARY COLOR #607D8B
- LIGHT PRIMARY COLOR #CFD8DC
- TEXT / ICONS #FFFFFF
- ACCENT COLOR #009688
- PRIMARY TEXT #212121
- SECONDARY TEXT #727272
- DIVIDER COLOR #B6B6B6
*/
body {
padding-top: 45px;
color: #212121;
}
.splash-layer {
background-color: rgba(96, 125, 139, 0.7);
position: absolute;
top: 0;
left: 0;
width: 100%;
}
#search {
margin-bottom: 25px;
width: 100%;
}
#search-wrapper {
margin-bottom: 100px;
}
#intro-row {
padding-top: 50px;
margin-bottom: 100px;
}
#intro-row h3 {
font-size: 60px;
letter-spacing: 3px;
font-weight: bold;
}
.mc {
width: auto;
height: 175px;
border-radius: 3px;
}
.mc-text {
text-align: center;
font-size: 24px;
color: #212121;
word-wrap: break-word;
text-transform: uppercase;
}
.mc-text-back {
color: #212121;
word-wrap: break-word;
}
.term-container {
height: auto;
padding-top: 5px;
padding-right: 10px;
padding-left: 10px;
padding-bottom: 5px;
border-bottom: 3px solid #ffffff;
font-weight: 600;
}
.term-percentage {
font-size: 18px;
}
.def-container {
height: 125px;
}
.def-content {
height: inherit;
}
.def {
padding-bottom: 10px;
}
.mc-default {
background-color: #F2F1EF;
border: 2px #e9e8e4 solid;
}
.flex-center {
display: flex;
flex-direction: column;
justify-content: center;
overflow: auto;
padding: 10px;
}
.demo-placeholder {
width: 100%;
height: 350px;
}
.gender-font {
font-size: 3em;
font-weight: 600;
}
.gender-term {
font-size: 1.25em;
}
.severity-count {
font-size: 3.5em;
font-weight: 600;
}
.severity-term {
font-size: 1.25em;
}
.severity-serious {
background-color: #F7464A;
color: #ffffff;
}
.severity-non-serious {
background-color: #FDB45C;
color: #ffffff;
}
.male-color {
color: #2574A9;
}
.female-color {
color: #E26A6A;
}
/* DRE COLOR PALETTE */
.primary-color {
color: #607D8B;
}
.primary-color-dark {
color: #455A64;
}
.primary-color-light {
color: #CFD8DC;
}
.text-icons {
color: #ffffff;
}
.accent-color {
color: #009688;
}
.primary-text {
color: #212121;
}
.secondary-text {
color: #727272;
}
.divider-color {
color: #B6B6B6;
}
.btn-dre {
color: #ffffff;
background-color: #607D8B;
border-color: #455A64;
}
.label-dre {
background-color: #009688;
color: #ffffff;
}
.voter {
cursor: pointer;
color: #009688;
}
.source-text {
font-size: 10px;
position: absolute;
bottom: 0;
right: 0;
}
.full {
width: 100%;
}
.def-info-container {
position: relative;
padding-left: 20px;
}
/* CSS FLIP CARD */
.flip {
-webkit-perspective: 800;
-ms-perspective: 800;
-moz-perspective: 800;
-o-perspective: 800;
perspective: 800;
position: relative;
}
.flip .card.flipped {
-webkit-transform: rotatex(-180deg);
-ms-transform: rotatex(-180deg);
-moz-transform: rotatex(-180deg);
-o-transform: rotatex(-180deg);
transform: rotatex(-180deg);
}
.flip .card {
width: 100%;
height: 100%;
-webkit-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: 1s;
-ms-transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
transition: 1s;
}
.flip .card .face {
width: 100%;
height: 100%;
position: absolute;
-webkit-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
z-index: 2;
}
.flip .card .front {
position: absolute;
z-index: 1;
cursor: pointer;
}
.back-flip-icon {
cursor: pointer;
position: absolute;
opacity: .6;
bottom: 5px;
right: 5px;
}
.back-add-reaction {
cursor: pointer;
position: absolute;
top: 6px;
right: 10px;
}
.flip .card .back {
-webkit-transform: rotatex(-180deg);
-ms-transform: rotatex(-180deg);
-moz-transform: rotatex(-180deg);
-o-transform: rotatex(-180deg);
transform: rotatex(-180deg);
}
#sidebar-wrapper {
z-index: 1000;
position: fixed;
left: 200px;
width: 0;
height: 100%;
margin-left: -200px;
overflow-y: auto;
background: #fff;
border-right: 1px solid #B6B6B6;
}
#page-content-wrapper {
width: 100%;
position: absolute;
padding-top: 50px;
}
#wrapper.toggled #page-content-wrapper {
position: absolute;
margin-right: -200px;
}
/* Sidebar Styles */
.sidebar-nav {
position: absolute;
top: 0;
width: 200px;
margin: 0;
padding: 0;
list-style: none;
}
.sidebar-nav li {
text-indent: 20px;
line-height: 30px;
}
.sidebar-nav li a {
display: block;
text-decoration: none;
color: #212121;
}
.sidebar-nav li a:hover {
text-decoration: none;
color: #212121;
background: rgba(255,255,255,0.2);
}
.sidebar-nav li a:active,
.sidebar-nav li a:focus {
text-decoration: none;
}
.sidebar-nav > .sidebar-brand {
height: 65px;
font-size: 18px;
line-height: 60px;
}
.sidebar-nav > .sidebar-brand a {
color: #212121;
}
.sidebar-nav > .sidebar-brand a:hover {
color: #212121;
background: none;
}
@media(min-width:768px) {
#wrapper.toggled {
padding-left: 0;
}
#sidebar-wrapper {
width: 200px;
}
#wrapper.toggled #sidebar-wrapper {
width: 0;
}
#page-content-wrapper {
position: relative;
}
#wrapper.toggled #page-content-wrapper {
position: relative;
margin-right: 0;
}
}
.footer {
background-color: #fff;
padding-top: 25px;
padding-bottom: 25px;
color: #212121;
}
.footer h4 {
color: #212121;
}
.footer-icon {
height: 40px;
}
header{
position: relative;
width: 100%;
min-height: auto;
text-align: center;
color: #f8f8f8;
background-image: url(../images/bg-dre.jpg);
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
header .header-content {
background: rgba(33, 33, 33,0.8);
position: relative;
width: 100%;
text-align: center;
color: #f8f8f8;
padding-bottom: 50px;
}
#dre-title {
background-color: #455A64;
padding-left: 10px;
padding-right: 10px;
}
#about-m3-540 {
margin-top: 25px;
}
.search-btn {
margin-top: 25px;
}
.search-common-btn {
margin: 5px 5px 5px 5px;
}
.search-tag {
border-radius: .25em;
}
.top-search {
margin-top: 5px;
}
.text-flag-align {
display: inline-block;
width: 18px;
padding-right: 5px;
text-align: center;
}