Skip to content

Instantly share code, notes, and snippets.

@marisqaporter
Last active November 1, 2016 22:33
Show Gist options
  • Save marisqaporter/c02521fdd4e6dd79c6ffad8f99ad8f38 to your computer and use it in GitHub Desktop.
Save marisqaporter/c02521fdd4e6dd79c6ffad8f99ad8f38 to your computer and use it in GitHub Desktop.
code-fix
.easy-breadcrumb a {
margin-left: -34px;
/* background-image: url(/sites/default/files/navigation-tab-bg.png); */
padding: 12px 50px 14px;
color: #666;
background-position: top right;
background-repeat: no-repeat;
font-weight: normal;
}
.easy-breadcrumb .easy-breadcrumb_segment-front {
/* background-image: url(/sites/default/files/navigation-tab-bg.png); */
padding: 12px 50px 14px 33px;
color: #666;
background-position: top right;
background-repeat: no-repeat;
font-weight: normal;
}
#views_slideshow_cycle_main_slider-block .views-field.views-field-nothing .home-slider {
background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0;
padding: 15% 0;
position: absolute;
top: 0;
width: 100%;
height: 100%;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.45);
}
.view-id-hike_single_page .views-field.views-field-field-features {
color: #008851;
font-family: HalisR-bold;
font-size: 28px !important;
letter-spacing: 1px;
line-height: 34px;
padding-left: 40px;
display: inline-block;
width: 65%;
}
.choose-anoth-exp {
margin-top: 60px;
padding: 15px 15px 60px;
text-align: center;
width: 100%;
}
.gallery-block-detail {
background-color: #cc5500;
color: #fff;
height: 280px;
opacity: 0.85;
padding: 30px;
position: absolute;
top: 360px;
width: 438px;
right: 52px;
}
.choose-anoth-exp a {
font-size: 21px;
font-family: 'HalisR-book';
color: #aaa;
text-decoration: none;
}
.view-display-id-hike_preparation_block .views-row.views-row-1.views-row-odd.views-row-first.views-row-last, .view-display-id-destination_preparation_block .views-row.views-row-1.views-row-odd.views-row-first.views-row-last, .view-display-id-park_preparation_block .views-row.views-row-1.views-row-odd.views-row-first.views-row-last {
padding-top: 30px;
padding-left: 70px;
}
.panel-pane.pane-views.pane-hike-preparation, .panel-pane.pane-views.pane-destination-preparation, .panel-pane.pane-views.pane-park-preparation {
padding-top: 30px;
padding-bottom: 25px;
}
/*changing to text-shadow instead of changing opacity
.hike-overlay, .destination-overlay, .park-overlay {
background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
height: 574px;
position: absolute;
width: 1203px;
z-index: 0px;
}
*/
/*give text a shadow to preserve image information and allow legibility of text at the same time */
.view-id-hike_single_page h1.hike-title, .view-destination-single-page h1.destination-title, .view-park-single-page h1.park-title {
color: #fff;
font-family: HalisR-bold;
font-size: 38px !important;
letter-spacing: 2px;
line-height: 40px;
text-align: left;
margin-top: 0px;
display: block;
text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
.view-id-hike_single_page h2.hike-region, .view-id-destination_single_page h2.destination-region, .view-id-park_single_page h2.park-region {
color: #fff;
font-family: 'HalisR-book';
font-size: 20px !important;
letter-spacing: 2px;
line-height: 34px;
text-transform: uppercase;
text-align: left;
padding-top: 0px;
margin-top: 0px;
text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
.slider-title, .slider-text {
text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
/*
hikfinder.css line 132 sets opacity to 0.7. following code will fix opacity on checked items
*/
.form-type-checkbox input:checked + label {
background-color: #008851;
opacity: 1;
}
/*all circles on sliders shold have 0 borders */
.noUi-handle {
height: 60px;
width: 60px;
border-radius: 30px;
border: 0 none ;
margin: -23px 0 0 -30px;
padding-top: 16px;
outline: none;
color: #FFFFFF;
font-weight: 700;
text-align: center;
}
/*set squished image width to auto */
/*thumbnail should be set for each view, grid and list, by php. In absence of that, here is css which will prevent image sizes from being warped out of proportion*/
/* grid view */
.page-hike-finder-map .block .hike-container .hike-img img {
height: auto !important;
min-width: 100% !important;
}
/*list view */
.page-hike-finder-map .block .hike-container .hike-img img {
height: auto !important;
min-width: 150% !important;
}
/* fix for the text of the div over-extending the container div
*/
#dialog-hike-description {
max-width: 100%;
}
.people-count, .hiker-count {
background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
}
.maps-count {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}
.panel-2col-bricks .panel-col-first, .panel-2col-bricks .panel-col-last {
float: left;
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment