Skip to content

Commit 00660be

Browse files
committed
adjust all home-page-specific css selectors so they will also operate the same way on a working copy of the home page
1 parent ced35fa commit 00660be

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/isaw.theme/isaw/theme/static/theme.css

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -171,21 +171,21 @@ fieldset#search-field {text-align:left !important; }
171171
#content .listingBar a:focus {background:#9b3a25; color:#fffaf5 !important; }
172172

173173

174-
.section-isaw-home.template-document_view {background:#3F3634; }
175-
.section-isaw-home.template-document_view #portal-top {background:transparent; min-height:initial; height: 127px; position:relative; top:0; left:0; right:0; z-index:200; }
176-
.section-isaw-home.template-document_view #portal-top:before {display:none; }
177-
.section-isaw-home.template-document_view #portal-top .page-title {display:none; }
178-
.section-isaw-home.template-document_view #portal-top #main-navigation ul#primary {background:rgba(243,243,243,1); }
179-
.section-isaw-home.template-document_view #portal-top #main-navigation ul#secondary {background:rgba(221,217,214,1); }
180-
.section-isaw-home.template-document_view #portal-breadcrumbs {display: none; }
181-
.section-isaw-home.template-document_view #viewlet-above-content .portalMessage {display: none; }
182-
.section-isaw-home.template-document_view #portal-column-content .portalMessage {margin-top: 30px; margin-bottom: 0px; padding-left: 46px;}
183-
.section-isaw-home.template-document_view #portal-column-content {min-height: 250px; }
184-
.section-isaw-home.template-document_view #portal-columns #column-contents {max-width:none; padding:0; position:relative; }
185-
.section-isaw-home.template-document_view h1.documentFirstHeading {display: none;}
186-
.section-isaw-home #content div.documentByLine { display: none; }
187-
.section-isaw-home #portal-columns #slider {display:block; list-style:none; margin:0; padding:0; width:100%; }
188-
.section-isaw-home #portal-columns #slider li {display:block; margin:0; position:relative; right:0; }
174+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] {background:#3F3634; }
175+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-top {background:transparent; min-height:initial; height: 127px; position:relative; top:0; left:0; right:0; z-index:200; }
176+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-top:before {display:none; }
177+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-top .page-title {display:none; }
178+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-top #main-navigation ul#primary {background:rgba(243,243,243,1); }
179+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-top #main-navigation ul#secondary {background:rgba(221,217,214,1); }
180+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-breadcrumbs {display: none; }
181+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #viewlet-above-content .portalMessage {display: none; }
182+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-column-content .portalMessage {margin-top: 30px; margin-bottom: 0px; padding-left: 46px;}
183+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-column-content {min-height: 250px; }
184+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns #column-contents {max-width:none; padding:0; position:relative; }
185+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] h1.documentFirstHeading {display: none;}
186+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #content div.documentByLine { display: none; }
187+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns #slider {display:block; list-style:none; margin:0; padding:0; width:100%; }
188+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns #slider li {display:block; margin:0; position:relative; right:0; }
189189
#content #slider-container #easySlider-goToButtons {height:0; }
190190
#content #slider .slide .slideroverlay {top: 50%; width:80vw; max-width: 50em; padding:40px 20px 20px; border: none; display:table; background-color: rgba(57, 48, 46, 0.5); transition: all 0.75s ease-in-out;}
191191
#content #slider .slide .slideroverlay:hover {background-color: rgba(57, 48, 46, 0.8);}
@@ -202,11 +202,11 @@ fieldset#search-field {text-align:left !important; }
202202
#content #slider .slide .slideroverlay a:focus {border-bottom: 1px solid; transition: all 0.5s ease-in-out;}
203203
#slider-container.slider-navtype-navigation-bullets .easybutton {display: none; }
204204
#column-contents #slider-container {border: none; }
205-
.section-isaw-home #portal-columns .cycle-pager {display:block; position:absolute; bottom:40px; right:80px; z-index:1000; }
206-
.section-isaw-home #portal-columns .cycle-pager span {background:rgba(255,255,255,.7); border-radius:50%; cursor:pointer; display:inline-block; height:15px; margin:0 15px; text-indent:-10000px; width:15px; }
207-
.section-isaw-home #portal-columns .cycle-pager span.cycle-pager-active,
208-
.section-isaw-home #portal-columns .cycle-pager span:Hover,
209-
.section-isaw-home #portal-columns .cycle-pager span:focus {background:rgba(255,255,255,1); }
205+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns .cycle-pager {display:block; position:absolute; bottom:40px; right:80px; z-index:1000; }
206+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns .cycle-pager span {background:rgba(255,255,255,.7); border-radius:50%; cursor:pointer; display:inline-block; height:15px; margin:0 15px; text-indent:-10000px; width:15px; }
207+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns .cycle-pager span.cycle-pager-active,
208+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns .cycle-pager span:Hover,
209+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns .cycle-pager span:focus {background:rgba(255,255,255,1); }
210210

211211
#portal-breadcrumbs {background:#b5b2b0; color:#fff; font-family:Questrial, 'Nimbus Sans', Univers, Geneva, sans-serif; font-size:14px; font-weight:800; letter-spacing:.5px; line-height:12px; margin:0; padding:21px 20px 20px 56px; text-transform:uppercase; }
212212

@@ -666,7 +666,7 @@ td.event a, td.todayevent a {
666666
display: block;
667667
margin: 0;
668668
}
669-
.section-isaw-home.template-document_view #edit-bar {
669+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #edit-bar {
670670
position: absolute;
671671
z-index: 150;
672672
width: calc(100% - 52px);
@@ -998,14 +998,14 @@ h2.CVSectionTitle:before {
998998
}
999999
@media screen and (max-width:959px){
10001000
#viewlet-above-content #portal-breadcrumbs {padding-left:34px; line-height: 16px; height: 16px; padding: 12px 20px 11px 56px}
1001-
.section-isaw-home.template-document_view {padding-bottom:0; }
1002-
.section-isaw-home.template-document_view #portal-top {position:relative; left:auto; top:auto; right:auto; height: 52px;}
1001+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] {padding-bottom:0; }
1002+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-top {position:relative; left:auto; top:auto; right:auto; height: 52px;}
10031003
#content #slider .slide .slideroverlay {bottom:auto; left:auto; padding:30px; margin:0; position:static; max-width: auto; width:auto;}
10041004
#content #slider .slide .slideroverlay > * {padding:0; width:auto;}
10051005
#content #slider .slide .slideroverlay p,
10061006
#content #slider .slide .slideroverlay ul {padding-right: 65px;}
10071007
.section-isaw-home #portal-columns .cycle-pager {bottom:auto; position:static; right:auto; text-align:center; }
1008-
.section-isaw-home.template-document_view #edit-bar {top: 0; }
1008+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #edit-bar {top: 0; }
10091009
.section-events #content div.newsImageContainer {
10101010
display:none;
10111011
}
@@ -1087,7 +1087,7 @@ h2.CVSectionTitle:before {
10871087
#portal-column-content {clear:both; float:none; width:100%;
10881088
margin-bottom:60px;
10891089
}
1090-
.section-isaw-home.template-document_view #portal-column-content {margin-bottom: 0; }
1090+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-column-content {margin-bottom: 0; }
10911091
#portal-column-first {
10921092
-webkit-box-ordinal-group: 3; /* OLD - iOS 6-, Safari 3.1-6 */
10931093
-moz-box-ordinal-group: 3; /* OLD - Firefox 19- */
@@ -1122,7 +1122,7 @@ h2.CVSectionTitle:before {
11221122
#portal-columns blockquote p, #content blockquote p {font-size:24px; }
11231123
#portal-columns ul.navTree li.navTreeFolderish::after {display:none; }
11241124

1125-
.section-isaw-home.template-document_view #portal-columns {padding:0; }
1125+
body[class*="isaw-home"][class*="section"][class*="template-document_view"] #portal-columns {padding:0; }
11261126

11271127
#portal-columns ul.news li, #content ul.news li {display:block; margin-right:4%; width:48%; }
11281128
#portal-columns ul.news li:nth-child(3n), #content ul.news li:nth-child(3n) {margin-right:4%; }

0 commit comments

Comments
 (0)