consumerportal
Version:
mydna Custimised for you
641 lines (527 loc) • 10.6 kB
CSS
/* Section Content */
section p {
font-size: 1rem;
line-height: 1.4rem;
margin-top: 0.8rem;
}
section a {
border-bottom: 1px dotted;
line-height: 1.2rem;
text-decoration: none;
}
section li {
counter-increment: step-counter;
font-size: 1rem;
line-height: 1.4rem;
margin: 1rem 0 0 0.6rem;
padding: 0 0 0 1.2rem;
position: relative;
}
section ul li::before {
color: #006eb7;
content: '\f111';
display: inline;
font-family: FontAwesome;
font-size: 0.5rem;
position: absolute;
top: 0;
left: 0;
}
section ol li::before {
color: #006eb7;
content: counter(step-counter) ".";
display: inline;
font-size: 1rem;
margin: 0 0 0 -0.6rem;
position: absolute;
top: 0;
left: 0;
}
section fieldset h2 {
color: #006eb7;
font-size: 1.6rem;
font-weight: bold;
}
section h3 {
color: #006eb7;
font-size: 1.2rem;
font-weight: bold;
margin: 1.4rem 0 0 -0.06rem;
}
section h4 {
color: #006eb7;
font-size: 1.1rem;
margin: 1rem 0 0 0;
}
section h3:first-child,
section h4:first-child,
section p:first-child {
margin-top: 0;
}
/* Header */
section header {
background-color: #f9f9f9;
border: 1px solid #d9d9d9;
border-right: none;
box-shadow: 2px 2px 2px #cccccc;
}
section header h2 {
color: #006eb7;
font-size: 1.4em;
font-weight: bold;
padding: 1rem 1.5rem;
}
section header h2 .divider {
line-height: 0.8em;
}
section header h2 .divider::before {
content: "\f101";
font-family: FontAwesome;
font-weight: normal;
}
section header h3 select {
color: #006eb7;
cursor: pointer;
font-family: 'Open Sans', sans-serif;
font-size: 1em;
font-weight: bold;
margin: 10px 0;
padding: 0 30px 2px 8px;
}
section header nav {
background-color: #eee;
border-top: 1px solid #d9d9d9;
color: #006eb7;
font-size: 1rem;
font-weight: bold;
padding: 15px 25px;
}
section header nav a {
color: #006eb7;
}
section header nav a:hover {
color: #f7a824;
}
section header nav span {
color: #bbb;
background-color: #fff;
padding:0.9rem;
}
section header div {
padding: 20px 1.5rem;
background-color: #fff;
}
section header nav span::after {
color: #d9d9d9;
content: "\f0d8";
display: block;
font-family: FontAwesome;
font-size: 2rem;
position: absolute;
text-align: center;
top: 1.25rem;
width: calc(100% - 1rem);
}
section header nav li {
display: inline-block;
padding-left: 1rem;
margin: 0;
}
section header nav li::before {
display: none;
}
section header nav li:first-child {
padding-left: 0;
}
section header nav li:first-child span::after {
width: 100%;
}
@media (max-width: 620px) {
section header nav li {
display: block;
line-height: 2em;
padding-left: 0;
}
section header nav span::before {
color: #d9d9d9;
content: "\f0da";
display: inline-block;
font-family: FontAwesome;
height: 1rem;
margin-left: -0.8rem;
width: 0.8rem;
}
section header nav span::after {
display: none;
}
section header nav span {
background-color: transparent;
padding:0;
}
}
/* Form Data */
section fieldset {
background-color: #fff;
border-left: 1px solid #d9d9d9;
box-shadow: 2px 2px 2px #cccccc;
padding: 1.6rem;
}
section fieldset::after {
content: "";
display: table;
clear: both;
}
section .goodicon,
section .badicon,
section .possibleicon,
section .neutralicon {
padding-left: 8rem;
position: relative;
}
section .goodicon::before {
color: #87b925;
content: "\f10c";
font-family: FontAwesome;
font-size: 4rem;
left: 2.4rem;
position: absolute;
top: 1.2rem;
}
section .badicon::before {
color: #f00;
content: "\f10c";
font-family: FontAwesome;
font-size: 4rem;
left: 2.4rem;
position: absolute;
top: 1.2rem;
}
section .possibleicon::before {
color: #ff8913;
content: "\f10c";
font-family: FontAwesome;
font-size: 4rem;
left: 2.4rem;
position: absolute;
top: 1.2rem;
}
section .neutralicon::before {
color: #bbb;
content: "\f10c";
font-family: FontAwesome;
font-size: 4rem;
left: 2.4rem;
position: absolute;
top: 1.2rem;
}
div.badicon,
div.goodicon,
div.possibleicon,
div.neutralicon {
margin: 0 -1.6rem;
min-height: 130px;
padding-top: 1.5rem;
padding-right: 1.6rem;
}
.medications {
margin: 1rem 0 3rem;
}
.medication-list {
margin: 1rem 0;
-webkit-columns: auto 3;
-moz-columns: auto 3;
columns: auto 3;
}
.medication-list span {
display: block;
font-size: 1rem;
padding: 0.3rem 0;
}
div.medication-list a{
font-weight:bold;
}
@media (max-width: 800px) {
.medication-list {
-webkit-columns: auto 2;
-moz-columns: auto 2;
columns: auto 2;
}
}
@media (max-width: 600px) {
.medication-list {
-webkit-columns: auto 1;
-moz-columns: auto 1;
columns: auto 1;
}
}
@media (max-width: 460px) {
section .goodicon,
section .badicon,
section .possibleicon,
section .neutralicon {
padding-left: 1.6rem;
}
section .goodicon::before,
section .badicon::before,
section .possibleicon::before,
section .neutralicon::before {
display: none;
}
}
fieldset .row {
display: table;
margin: 1rem 0;
position: relative;
width: 100%;
}
fieldset div.formdata {
margin-bottom: 2rem;
margin-top: 2rem;
}
fieldset div.formdata:last-child {
margin-bottom: 0;
}
fieldset .row > label:first-child,
fieldset .row > .filler:first-child {
display: table-cell;
font-size: 1rem;
font-weight: bold;
padding-top: 0.7rem;
width: 170px;
}
fieldset .row input[type=text],
fieldset .row input[type=password],
fieldset .row textarea {
background-color: #eeeeee;
border: 1px solid #ccc;
display: table-cell;
min-width: 160px;
padding: 8px;
width: 100%;
}
fieldset .row input[type=text].has-close {
padding: 8px 30px 8px 8px;
}
fieldset .row input[type=text].has-close::-ms-clear {
display: none;
}
fieldset .row textarea {
height: 5em;
resize: none;
}
fieldset .row input[type=radio] {
border: none;
}
fieldset .row select::-ms-expand {
display: none;
}
fieldset .row input.medium {
max-width: 400px;
min-width: 180px;
width: 70%;
}
fieldset .row input.short {
max-width: 240px;
min-width: 180px;
width: 40%;
}
fieldset .row input.tiny {
max-width: 140px;
min-width: 140px;
width: 140px;
}
fieldset .row input[type=text]:focus {
outline: 1px dotted #394049;
}
fieldset .row a {
border-bottom: 1px dotted;
font-size: 1rem;
text-decoration: none;
}
fieldset .row div.close {
cursor: pointer;
position: absolute;
right: 10px;
top: 0.5rem;
}
fieldset .row div.close::after {
content: "\f00d";
font-family: FontAwesome;
}
fieldset .row div.loading {
cursor: pointer;
position: absolute;
right: 10px;
top: 0.5rem;
}
fieldset .row div.loading::after {
-webkit-animation: fa-spin 1.5s infinite linear;
animation: fa-spin 1.5s infinite linear;
content: "\f110";
display: inline-block;
font-family: FontAwesome;
font-size: 1em;
}
fieldset span.strength {
font-size: 1rem;
font-weight: bold;
margin-left: 1rem;
}
fieldset span.strength.strong {
color: rgba(135,185,37,1);
}
fieldset span.strength.medium {
color: #f7a824;
}
fieldset span.strength.weak {
color: #f00;
}
fieldset span.strength.short {
color: #006eb7;
}
@media (max-width: 460px) {
fieldset .row > *:first-child {
display: inline;
}
fieldset .row:not(.checkbox) > label {
display: block;
margin-bottom: 0.5rem;
}
fieldset .row input[type=text],
fieldset .row input[type=password],
fieldset textarea
fieldset select {
display: block;
}
fieldset .row-right {
padding-left: 0;
}
fieldset .row input.short,
fieldset .row input.medium {
width: 100%;
}
fieldset .row > label:first-child,
fieldset .row > .filler:first-child {
padding-top: 0;
}
fieldset span.strength {
margin-left: 0;
}
}
/* Errors */
fieldset .errorWrap {
clear: both;
color: #f04e5e;
font-size: 0.9rem;
margin-bottom: -0.3rem;
padding: 0.2rem 0 0;
}
fieldset .errorWrap div {
display: inline-block;
}
fieldset .error-branch {
background-color: #fbd9dd;
}
fieldset .row.error.checkbox {
color: #f04e5e;
}
/* Checkboxes */
fieldset .checkbox label {
font-weight: normal;
line-height: 1.4em;
margin: -0.2em 0 0 0;
padding: 0 0 0 1.5em;
display: block;
}
fieldset .checkbox input[type=checkbox] {
border: none;
margin-left: -1.5em;
position: absolute;
top: 0.2rem;
}
/* Suggestions */
fieldset .searchbox {
position: relative;
}
fieldset .row .suggestions {
min-width: 160px;
position: absolute;
right: 0;
width: 100%;
z-index: 50;
}
fieldset .row .suggestions ul {
background-color: #fff;
border: 1px solid #ccc;
border-top: none;
height: 140px;
overflow-y: scroll;
}
fieldset .row .suggestions ul li {
margin: 0;
padding: 0;
}
fieldset .row .suggestions ul li::before {
display: none;
}
fieldset .row .no-suggestions {
background-color: #eee;
border: 1px solid #ccc;
border-top: none;
display: block;
font-size: 1rem;
font-weight: bold;
overflow: hidden;
padding: 12px 8px;
width: 100%;
z-index: 50;
}
fieldset .row .no-suggestions button {
margin-top: 10px;
}
fieldset .row .no-suggestions button:hover {
background-color: #575656;
}
fieldset .row .suggestions ul a {
border: none;
color: #575656;
display: block;
padding: 6px 8px;
}
fieldset .row .suggestions ul li:nth-child(even) a {
background-color: #eee;
}
fieldset .row .suggestions ul li.active a,
fieldset .row .suggestions ul a:hover {
background-color: #f7a824;
color: #fff;
}
form label {
vertical-align: top;
}
h3.media-heading {
padding: 20px 0 ;
}
h4.media-heading {
line-height: 1.3em;
}
.day-container {
display: inline-block;
margin-right: 6px;
}
.month-container {
display: inline-block;
margin-right: 6px;
}
.year-container{
display: inline-block;
}
.day-selector {
min-width: 1em;
}
.month-selector{
min-width: 1em;
}
.year-selector{
min-width: 1em;
}