UNPKG

consumerportal

Version:

mydna Custimised for you

409 lines (325 loc) 6.25 kB
/* Global / Common */ html { font-size: 16px; height: 100%; } body { background-color: #f3f3f3; color: #333; font-family: 'Open Sans', sans-serif; font-size: 120%; height: auto; } @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10+ CSS styles go here */ body { height: 100% } } .monospace { font-family: 'Droid Sans Mono'!important; } #container { position: relative; min-height: 100%; overflow: hidden; } input[type='text'], input[type='password'], select, textarea { color: #575656; font-family: Helvetica, Arial, san-serif; font-size: 1rem; } select { background: transparent url(../../images/dd-arrow.png) right center no-repeat; /* Needs Image not FontAwesome for clickability */ -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #eeeeee; border: 1px solid #ccc; border-radius: 0; -webkit-border-radius: 0; min-width: 100px; padding: 8px 30px 8px 8px; } select::-ms-expand { display: none; } * { -webkit-tap-highlight-color: rgba(247,168,36,0.5); } button { font-family: 'Open Sans', sans-serif; } input { border: 1px solid #575656; border-radius: 0px; } input:focus, select:focus, a:focus, textarea:focus { outline: 1px dotted #394049; } button:focus, a.button:focus { outline: 1px solid #394049; } button::-moz-focus-inner { border: 0; } strong { font-weight: bold; } .left { float: left; } .right { float: right; } .clearer { clear: both; } ::-webkit-input-placeholder { color: #bbbbbb; } ::-moz-placeholder { color: #bbbbbb; opacity: 1; } :-ms-input-placeholder { color: #bbbbbb; } ::-moz-selection { background: #006eb7; color: #fff; } ::selection { background: #006eb7; color: #fff; } input:-webkit-autofill { -webkit-box-shadow: 0 0 0 500px #eee inset; } a { cursor: pointer; display: inline-block; } [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { display: none !important; } .devNotes { display: none; } .good, .good a { color: #87b925; } .bad, .bad a { color: #f00; } .possible, .possible a { color: #ff8913; } .neutral, .neutral a { color: #aaa; } /* Content Area */ article { margin: calc(5.2rem) auto 2rem; max-width: 1024px; padding: 0 1.25rem; position: relative; } article.narrow { max-width: 400px; } article.narrow520 { max-width: 520px; } article a { color: #f7a824; } article a:hover { color: #575656; } @media (max-width: 900px) { article { margin: calc(5.2rem) auto 2rem; } } @media (max-width: 460px) { article { margin: 4.4rem auto 2rem; padding: 0 1rem; } } /* Icons */ .icons-container { text-align: center; width: 100%; min-height: 205px; } .icons-container a { border-bottom: none; min-width: 20%; } .icons-container .icon { background-image: url(../../images/icons.png); display: inline-block; height: 151px; margin: 0 2rem; width: 130px; } .icons-container .icon-medications { background-position: 0 0; } .icons-container a:hover .icon-medications { background-position: 130px 0; } .icons-container .icon-dna { background-position: 0 -151px; } .icons-container a:hover .icon-dna { background-position: 130px -151px; } .icons-container .icon-reports { background-position: 0 -302px; } .icons-container a:hover .icon-reports { background-position: 130px -302px; } .icons-container .icon-wellness { background-position: 0 -453px; } .icons-container a:hover .icon-wellness { background-position: 130px -453px; } } .icons-container .icon-text { clear: both; color: #006eb7; display: inline-block; font-weight: bold; margin: 1rem 0; vertical-align: top; } .icons-container a:hover .icon-text { color: #f7a824; } @media (max-width: 520px) { .icons-container { margin: 0 -1rem; width: calc(100% + 2rem); } .icons-container .icon { margin: 0 0.5rem; } } /* News */ .news { background: #87b925 url('../../images/news-bg.png') bottom right no-repeat; color: #fff; margin: 2rem -1.6rem -1.6rem -1.6rem; overflow: hidden; padding: 2rem; } .news img { float: left; height: 130px; width: 130px; } .news .content { float: left; overflow: hidden; padding: 0 0 0 1.5rem; /*width: calc(100% - 130px);*/ width: auto } .news h4 { color: #fff; font-weight: bold; } .news a { background-color: #fff; border-bottom: none; color: #87b925; display: inline-block; float: right; font-size: 0.8em; margin-top: 1rem; padding: 0.5rem 0.7rem; } .news a:hover { background-color: #f7a824; color: #fff; } @media (max-width: 620px) { .news .content { padding: 2rem 0 0 0; width: 100%; } } /* Page Info */ .pageinfo.good { background-color: #e2edcc; border: 1px solid #d9d9d9; border-bottom: 0; border-right: 0; box-shadow: 2px 2px 2px #cccccc; color: #87b925; font-weight: bold; overflow: hidden; padding: 1rem 1.5rem; } .pageinfo.bad { background-color: #fbd9dd; border: 1px solid #d9d9d9; border-bottom: 0; border-right: 0; box-shadow: 2px 2px 2px #cccccc; color: #f00; font-weight: bold; overflow: hidden; padding: 1rem 1.5rem; } /* Disable */ .disable, .disable *, .disable-on-save, .disable-on-save * { /*cursor: wait!important; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;*/ } .disable button, .disable .button, .disable button:hover, .disable .button:hover { background-color: #999999!important; } .disable #disable-shield, .disable-on-save #disable-shield { height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 20000; background: transparent url("../../images/Loader.gif") no-repeat center 33%; } div.maillist { margin:4rem auto; padding: 0px 10rem; } .disclaimer { font-size: 0.9rem; font-style: italic; line-height: 1rem; color: #575656; }