Skip to content

Instantly share code, notes, and snippets.

@bhubbard
Last active April 27, 2025 06:36
Show Gist options
  • Save bhubbard/6983508 to your computer and use it in GitHub Desktop.
Save bhubbard/6983508 to your computer and use it in GitHub Desktop.
/* -------------------------------------------------------- */
/* IDX BROKER CUSTOM CSS */
/* -------------------------------------------------------- */
/* GLOBAL
----------------------------------------------------------- */
#IDX-main {width: 100% !important;}
/* CONTACT FORM
----------------------------------------------------------- */
#IDX-contactContactForm { }
.IDX-contactForm label.IDX-control-label { }
#IDX-contactFormWrap { }
textarea#IDX-message, input#IDX-email, input#IDX-lastName, input#IDX-firstName { }
#IDX-contactInformation { }
#IDX-contactFormWrap { }
.IDX-control-group { }
textarea#IDX-message { }
/* IDX BUTTONS
----------------------------------------------------------- */
/* IDX Button Defaults */
.IDX-btn, .IDX-formBtn {
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.IDX-btn:hover,
.IDX-btn:focus {
color: #333333;
text-decoration: none;
}
/* Primary IDX Button */
.IDX-btn-primary, .IDX-formSubmit {
color: #ffffff;
background-color: #428bca;
border-color: #357ebd;
}
.IDX-btn-primary:hover,
.IDX-btn-primary:focus,
.IDX-btn-primary:active,
.IDX-btn-primary.active,
.IDX-formSubmit:hover,
.IDX-formSubmit:focus,
.IDX-formSubmit:active,
.IDX-formSubmit.active {
color: #ffffff;
background-color: #3276b1;
border-color: #285e8e;
}
/* Reset IDX Button */
#IDX-resetBtn, #IDX-formReset {
color: #ffffff;
background-color: #d9534f;
border-color: #d43f3a;
}
#IDX-resetBtn:hover,
#IDX-resetBtn:focus,
#IDX-resetBtn:active,
#IDX-resetBtn.active,
#IDX-formReset:hover,
#IDX-formReset:focus,
#IDX-formReset:active,
#IDX-formReset.active {
color: #ffffff;
background-color: #d2322d;
border-color: #ac2925;
}
/* PAGINATION
----------------------------------------------------------- */
#IDX-resultsHeader {
margin: 30px 0 0 0;
}
form.IDX-perPageForm {
text-align: center;
}
#IDX-resultsPagerTop.IDX-pagination, #IDX-resultsHeader form.IDX-perPageForm {
display: none;
}
.IDX-pagination {
padding: 0;
margin: 0;
width:100%;
text-align: center;
}
#IDX-resultsCountWrap {
margin: 10px 0;
}
/* NEXT PREVIOUS LINKS - DETAILS PAGES
----------------------------------------------------------- */
#IDX-nextLastButtons {
margin: 20px 0;
}
#IDX-nextLastPosition {
text-align: center;
}
#IDX-nextProp {
float: right;
}
#IDX-prevProp {
float: left;
}
/* -------------------------------------------------------- */
/* PAGE LAYOUTS */
/* -------------------------------------------------------- */
/* DETAILS - Gallery Template
----------------------------------------------------------- */
#IDX-detailsTopLinks {
margin: 10px 0;
}
/* MAP */
#IDX-detailsMap, .IDX-detailsMap {width: 100% !important;}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
#IDX-galleryLeft, #IDX-galleryRight {
clear:both;
width: 100%;
margin: 10px 0;
}
.IDX-topLink {
clear: both;
text-align: center;
width: 100%;
margin: 5px;
}
}
/* RESULTS - Content 2
----------------------------------------------------------- */
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
.IDX-column1, .IDX-column2, .IDX-column3, .IDX-column4 {
width: 100%;
text-align: center;
margin: 10px 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment