Skip to content

Instantly share code, notes, and snippets.

@beacrea
Last active January 2, 2016 02:19
Show Gist options
  • Save beacrea/8236599 to your computer and use it in GitHub Desktop.
Save beacrea/8236599 to your computer and use it in GitHub Desktop.
The high-contrast style integration for nusa.
/* ----------
GLOBAL STYLES
---------- */
/* Site-Wide Page Background */
.sheet-site {
background: #fafafa ;
}
.sheet-main {
margin-bottom: 4em;
}
/* Site-Wide Font Color */
body {
color: #777;
background: #fafafa;
}
/* -------
NAVIGATION
------- */
/* Basic Navbar Styles */
.navbar {
border: 0;
background: #000;
}
/* Navigation Link Background */
body#intro .page-intro, body#users .page-users, body#compare .page-compare, body#history .page-history, body#reports .page-reports {
background: #fff;
}
/* Navigation Link Color */
body#intro .page-intro a, body#users .page-users a, body#compare .page-compare a, body#history .page-history a, body#reports .page-reports a {
color: #333;
border-bottom: 4px solid #1f80c1;
}
/* Navigation - Project Title */
.navbar-proj {
color: #fff;
background: #000;
border: 1px solid #1f80c1;
border-bottom: 0;
}
/* ---
FOOTER
--- */
.footer {
border-top: 8px solid #53A9E0;
background: #1f80c1;
}
.footer h1 {
color: #fff;
}
.feedback p {
color: #eee;
}
.feedback button {
background: rgb(255, 153, 0);
color: #fff;
}
.feedback button:hover {
background: #000;
}
/* -------
TYPOGRAPHY
------- */
h1, h2, h3, h4, h5, h6 {
color: #1f80c1 ;
}
.jumbotron h1 {
color: #fff ;
}
/* ------
JUMBOTRON
------ */
.jumbotron-site {
background: #1f80c1 url(http://dev.bea.cr/nusa/images/jumbotron-tile_bk.png) center 25%;
}
.breadcrumb-jumbotron {
background: #000;
padding: 0.25em;
}
/* ---
TABLES
--- */
.table td {
color: #666;
}
body#users .table tr:nth-child(even) {
background-color: #fafafa;
}
.table-hover > tbody > tr.userList-noEntriesFound > td, .table-hover > tbody > tr.userList-noEntriesFound > th, .table-hover > tbody > tr.userList-noEntriesFound:hover > td, .table-hover > tbody > tr.userList-noEntriesFound:hover > th {
background: #eee ;
color: #888;
border: 1px solid #ccc;
}
#history tr {
background-color: #eee;
border-bottom: 4px solid #ddd;
}
#history tr.ui-element:hover {
background: #ccc;
}
#history tr.entry-edit {
background-color: #e4e4e4 ;
}
/* --
FORMS
-- */
.form-control {
background: #fff;
color: #666;
}
.searchControl input[type="text"] {
color: #666;
}
/* ---
MODALS
--- */
.modal-title {
color: #fff ;
}
/* --
WELLS
-- */
.page-note {
background: transparent;
border-color: rgb(31, 128, 193);
color: rgb(31, 128, 193);
line-height: 120%;
font-weight: 100;
}
/* ---
WIZARD
--- */
.wizard .dataCard {
margin: 0;
padding: 1.5em;
background-color: #eee;
border: 1px solid #CCC;
border-top: none;
}
.wizard-title-req {
font-size: 0.8em;
color: rgb(31, 128, 193);
display: block;
}
.addUser-stepWrapper .categoryHead {
background-color: #1f80c1 ;
color: #eee ;
}
.wizard-currentStep .categoryHead, .wizard-currentStep .categoryHead:hover {
border-bottom: 4px solid rgb(135, 202, 247);
background-color: #000 ;
color: #ccc;
letter-spacing: 0.05em;
cursor: default;
}
.addUser-stepWrapper .categoryHead .label-default {
float: right;
background: white;
color: #1f80c1;
padding: 0.3em 1em;
margin-right: 0.5em;
letter-spacing: 0.1em;
border-bottom: 4px solid rgb(255, 153, 0);
border-bottom-width: 4px;
border-bottom-style: solid;
border-bottom-color: rgb(255, 153, 0);
}
/* Change User State Color From This Class */
.highlight-blue-lighter {
color: #1f80c1 ;
}
.profileList-accessAssignments {
margin-top: 1em;
background: #FAFAFA;
color: #666;
}
/* ---------
PAGE - INTRO
--------- */
#intro b {
color: #000;
font-weight: 300;
letter-spacing: .03em;
font-style: italic;
border-bottom: 1px solid #000;
}
/* ----------------
PAGE - USER LISTING
---------------- */
.searchField {
border: 1px solid rgb(255, 153, 0);
}
.addUser {
background: rgb(255, 153, 0) ;
}
/* ----------------
PAGE - USER PROFILE
---------------- */
.profile-admin .categoryHead {
background: rgb(31, 128, 193);
color: #fff;
}
.profile-admin {
margin-bottom: 2em;
border: 1px solid rgb(31, 128, 193);
}
.categoryHead {
background: #000;
color: #eee;
font-size: 1em;
padding: 0.5em;
}
.data-title {
display: block;
font-size: 1.1em;
color: #333;
margin-top: 0.65em;
}
.dataCard {
line-height: 150%;
color: #666;
}
.profile-user-name {
font-size: 2em;
line-height: 150%;
color: #444;
}
.toggle-element {
display: inline-block;
border: 1px solid rgb(249,150,0);
padding: 0.5em;
margin: 0;
color: rgb(249,150,0);
}
/* Start Integrating Code From Here to Finish Nusa.CSS */
.toggle-element:hover, .profile-user-passwordField:hover {
background: #000;
color: #fff;
}
.toggle-active, .toggle-active:hover {
background: rgb(249,150,0);
color: #fff;
border: 1px solid rgb(249,150,0);
}
.profile-user-passwordField {
display: inline-block;
border: 0;
padding: 0.5em;
background: rgb(249,150,0);
color: #fff;
}
/* -----------
PAGE - HISTORY
---------- */
.historyRecord .record-title {
font-size: 1.25em;
font-weight: normal;
margin: 0;
background-color: rgb(10, 124, 195);
color: #fff ;
padding: 0.25em 0 0.25em 0.5em;
max-width: 100%;
}
.entry-detail td {
border: none;
max-width: 90% ;
width: 100%;
background: #fafafa;
padding: 0 ;
}
.table-detailTrigger {
border-left: 0;
text-align: center;
}
/* -----------
PAGE - COMPARE
----------- */
.profile-legend-title {
color: #666;
letter-spacing: 0.5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment