Skip to content

Instantly share code, notes, and snippets.

@asgeo1
Last active August 29, 2015 14:04
Show Gist options
  • Save asgeo1/c9e9ba59062a95d97905 to your computer and use it in GitHub Desktop.
Save asgeo1/c9e9ba59062a95d97905 to your computer and use it in GitHub Desktop.
Stylesheet which corrects several issues with RefineryCMS when the jquery-ui stylesheet is included
/*
* Styles so Refinery admin is compatible with jquery-ui
*/
.refinery-ui-corner-all {
border: none;
}
#menu {
&.ui-corner-all {
border: none;
}
&.ui-widget {
font-family: inherit;
color: inherit;
}
}
#page-tabs {
&.ui-widget {
font-family: inherit;
font-size: inherit;
color: inherit;
}
&.ui-corner-all {
border: none;
}
&.ui-tabs {
padding: 0;
.ui-tabs-panel {
padding: 0;
}
.ui-tabs-nav li {
&.ui-state-default a {
padding: 8px 13px;
}
&.ui-state-active a {
padding: 11px 13px;
}
}
}
#page_parts {
&.ui-corner-all {
border: none;
}
&.ui-widget-header {
background: none;
.ui-state-default {
border: none;
background: none;
padding-bottom: 0;
margin: 0 2px 0 0;
}
}
&.ui-helper-reset {
line-height: inherit;
}
.ui-tabs-anchor {
color: white;
}
}
#page_part_editors {
.ui-corner-bottom {
border: none;
}
}
}
.ui-dialog[aria-describedby=editor_dialog],
.ui-dialog[aria-describedby=dialog_iframe] {
outline: none;
&.ui-corner-all {
border: 4px solid #22A7F2;
border-radius: 0;
}
&.ui-widget {
font-family: inherit;
color: inherit;
}
.ui-widget-header {
background-image: none;
&.ui-corner-all {
border: none;
border-radius: 0;
}
}
.ui-dialog-titlebar {
.ui-dialog-title {
font-weight: normal;
}
.ui-dialog-titlebar-close {
background-color: #22A7F2;
background-image: none;
border: none;
outline: none;
cursor: pointer;
.ui-button-text {
display: none;
}
}
}
.editor_dialog {
border: none;
}
iframe#dialog_frame, iframe#dialog_iframe {
display: block !important;
}
}
.ui-widget-overlay {
opacity: .75 !important;
filter: Alpha(Opacity=75) !important;
background: #000 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment