Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions app/assets/stylesheets/custom_layout/tweaks.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
border-radius: 10px;
}

td.status span.enabled {
background-color: #387f38;
}

.text-bold {
font-weight: bold;
}
Expand Down Expand Up @@ -116,6 +112,7 @@ form#new_collection,
.help-block {
font-size: 0.85em;
background-color: #ffffff;
color: #595959;
}

/* To support [more...] and [less...] */
Expand Down Expand Up @@ -483,25 +480,6 @@ a {
font-weight: bold;
}

/* hyrax/_work-show.scss modifications */
.panel-workflow {
background: #fff;
border-color: #e0e0e0;

.panel-heading {
background-color: #e6ab5f;
color: #191919; /* improved contrast ratio from #ffffff */

a {
color: #191919; /* improved contrast ratio from #ffffff */
}
}

.panel-body {
background-color: #f2f1eb;
}
}

/* iu-chimera/_vars-colors.scss modifications */
.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
background: #fff !important;color: #191919 !important;border:1px solid #dbd8d7 !important; /* modified from #ACA39A for improved contrast ratio */
Expand Down
183 changes: 138 additions & 45 deletions app/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ caption {
}
}

.dropdown-menu > li > a, .twitter-typeahead .tt-menu > li > a {
color: #000;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
background-color: transparent;
}
Expand Down Expand Up @@ -152,7 +148,7 @@ caption {
.image-masthead {
margin: 0;
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
asset-url("home_banner.jpg");
asset-url("home_banner.jpg");
background-size: cover;
}

Expand Down Expand Up @@ -277,16 +273,37 @@ body.dashboard {
padding-top: 2em;
}

ul.breadcrumb li a {
color: #555;
.sidebar.maximized {
background-color: #525252;
}

.sidebar.maximized .h5 {
color: #ffffee;
}

.sidebar .profile {
background-color: #434343;
}

.sidebar .nav li {
overflow: visible !important;
white-space: wrap;
}

nav.breadcrumb {
background-color: #ffffff;
}

nav.breadcrumb ol li:first-child {
margin-left: 0.5em;
}

nav.breadcrumb ol li a {
color:$primary-link;
color: #245A90;
}

.nav-tabs > li > a {
color: $primary-link;
nav.breadcrumb ol li a:hover {
color: #990000;
}

/** Search on dash **/
Expand Down Expand Up @@ -326,7 +343,7 @@ nav.breadcrumb ol li a {
}

li > a {
color: $primary-link;
color: $primary-link;
}
}

Expand Down Expand Up @@ -364,9 +381,9 @@ span.collection-tag {
}

.search-result-wrapper {
border-bottom: none;
margin-right: 0;
margin-left: 0;
border-bottom: none;
margin-right: 0;
margin-left: 0;
}

.search-result-wrapper .search-results-title-row {
Expand Down Expand Up @@ -401,10 +418,15 @@ table.table.table-striped.related-files  {

#new_data_set {
.nav-tabs > li > a {
color: $primary-link;
color: $primary-link;
}
}

#new_data_set .panel, #new_dissertation .panel, form.edit_data_set .panel, #new_batch_upload_item .panel {
background-color: #ffffff;
}


#metadata {
.form-control {
border: solid 1px #000 !important;
Expand Down Expand Up @@ -448,20 +470,43 @@ table.table.table-striped.related-files  {
font-size: 1.05em;
}

.label-danger {
background-color: #A32824;
}

.label-info {
background-color: #215A97;
}

.label-success, td.status span.enabled {
background-color: #2C632C;
}

div.branding-banner-row {
border-top: 0;
border-top: 0;
}

.settings_intro {
background-color: white;
padding: .75em;
margin-bottom: 0;
}

code {
color: #9B1C3F;
}

/** Work Details **/

.work-details-container {
border-radius: 4px;
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12),
0 2px 4px 0 rgba(0, 0, 0, 0.24);
0 2px 4px 0 rgba(0, 0, 0, 0.24);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24);
}
.title-header {
font-size: 1.5em;
display: inline-block;
}

.work-description-panel-heading {
Expand Down Expand Up @@ -492,10 +537,6 @@ div.branding-banner-row {
font-size: 1.5em !important;
}

.text-muted {
font-size: 0.5em;
}

span.label.label-warning,
span.label.label-danger,
span.label.label-info,
Expand Down Expand Up @@ -548,11 +589,40 @@ ul.tabular li.attribute-fundedby {
}
}

/* Embargoes */

table.embargoes th label {
margin-bottom: 0;
}


.panel-workflow .panel-heading {
background-color: #e68406;
font-weight: bold;

h2 {
color: #191919;
}
}

/* hyrax/_work-show.scss modifications */
.panel-workflow {
background: #fff;
border-color: #e0e0e0;

.panel-heading {
background-color: #e6ab5f;
color: #191919; /* improved contrast ratio from #ffffff */

a {
color: #191919; /* improved contrast ratio from #ffffff */
}
}

.panel-body {
background-color: #f2f1eb;
}
}

.panel-items {
margin-top: 1em;
Expand Down Expand Up @@ -598,6 +668,17 @@ ul.tabular li.attribute-fundedby {
}
}

.stats_section {
background-color: #ffffff;
margin-top: 1em;
margin-left: -.25em;
padding: 1em;
}

.stats_works h3, .stats_works div {
display: inline-block;
}

a#stats {
margin-bottom: 1em;
}
Expand All @@ -618,11 +699,20 @@ a#stats {
}
}

.pagination li a {
color: #265A87;
}

.pagination .active span {
background-color: #265A87;
border-color: #265A87;
}

#sortAndPerPage {
border: 0;
padding: .5em;
background-color: #FAFAFA;
border-radius: 4px;
border: 0;
padding: .5em;
background-color: #FAFAFA;
border-radius: 4px;
}

#per_page-dropdown.btn-group {
Expand Down Expand Up @@ -662,6 +752,12 @@ div.facets h3 {
background-color: #fafafa;
}

/** Admin Sets **/

div.panel-body.admin-set.row {
margin: 0;
}

/** Collections **/

.hyc-container {
Expand Down Expand Up @@ -690,10 +786,10 @@ div.facets h3 {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
flex-flow: row wrap;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
align-items: center;
margin-bottom: 2em;
padding: .75em 0;

Expand All @@ -702,9 +798,9 @@ div.facets h3 {
color:#000;
padding-left: .5em;
padding-right: .5em;
-webkit-box-flex: 2;
-ms-flex-positive: 2;
flex-grow: 2;
-webkit-box-flex: 2;
-ms-flex-positive: 2;
flex-grow: 2;
}
}

Expand Down Expand Up @@ -732,15 +828,15 @@ div.facets h3 {
}

.hyc-metadata {
padding: 0;
max-width: 100%;
padding: 0;
max-width: 100%;
h2 {
margin:0;
padding: 0 .25em;
margin:0;
padding: 0 .25em;
}

dl {
padding: 0 .25em;
padding: 0 .25em;
}
}

Expand All @@ -758,7 +854,7 @@ div.facets h3 {
padding: 1em 0;

.edit_collection {
margin: 0 1em;
margin: 0 1em;
}
}

Expand Down Expand Up @@ -845,21 +941,13 @@ div.facets h3 {
color: $primary-link;
}

/* ul {
list-style-type: disc;
list-style-position: inside;
} */
ol {
list-style-type: decimal;
list-style-position: inside;
padding: 0.5em 0.5em 0.5em 1.5em;
text-indent: -1.0em;
}
/*ul ul, ol ul {
list-style-type: circle;
list-style-position: inside;
margin-left: 15px;
} */

ol ol, ul ol {
list-style-type: lower-latin;
list-style-position: inside;
Expand Down Expand Up @@ -993,6 +1081,11 @@ div.facets h3 {
justify-content: space-between;
}

legend small, h3 small {
color: #595958;
}


@media (max-width: 767px) {
.dropdown-menu > li > a, .twitter-typeahead .tt-menu > li > a {
color: #fff;
Expand Down
Loading