mediawiki-extensions-WikiEd.../modules/wikiEditor.dialogs.css

309 lines
8.7 KiB
CSS

/* wikiEditor dialogs module */
.wikiEditor-toolbar-dialog table {
margin-top: 0.75em;
}
.wikiEditor-toolbar-dialog table td {
padding: 0.5em;
height: 3em;
overflow: visible;
}
/* Put suggestions (default z-index 99) on top of dialogs (z-index 1002) */
div.suggestions {
z-index: 1099;
}
.wikiEditor-toolbar-dialog .ui-dialog-titlebar-close:hover {
text-decoration: none;
}
.wikiEditor-toolbar-dialog .ui-dialog-content .status-invalid input {
border: 2px solid red;
padding: 2px 1px;
}
.wikiEditor-toolbar-dialog .ui-dialog-titlebar {
padding: 0.9em 1.4em 0.6em !important;
}
.wikiEditor-toolbar-dialog table td {
padding: 0 !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane button {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
padding: 0.2em 0.6em 0.15em !important;
margin: 0.5em 0 0.5em 0.4em !important;
border: 1px solid #a6a6a6 !important;
background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png?1) repeat-x scroll 50% 100% !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:hover {
border-color: #6e7273;
background: #e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png?1) repeat-x scroll 50% 100% !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:active,
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:focus {
border-color: #707271;
background: #bfbfbf url( ../images/wikiEditor/dialogs/button_down.png?1) repeat-x scroll 50% 100% !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane button.disabled {
color: #7f7f7f;
border-color: #cccccc;
background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png?1) repeat-x scroll 50% 100% !important;
}
/* Disables the annoying dashed border Firefox puts on active buttons */
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane button::-moz-focus-inner {
border: 0;
}
.wikiEditor-toolbar-dialog .ui-widget-header {
background: #f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png?1) repeat-x scroll 50% 100% !important;
}
/* FIXME: Should just update the icon sprite if we're keeping this X */
.wikiEditor-toolbar-dialog .ui-icon-closethick {
background: url( ../images/wikiEditor/dialogs/close_x.png?1) no-repeat 50% 50% !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
margin-top: 0 !important;
padding:0.3em 1.4em 0.5em 1.4em !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-content fieldset{
border: none !important;
margin: 0 !important;
padding: 0 !important;
}
.wikiEditor-toolbar-dialog .ui-widget-header {
border-bottom:1px solid #6bc8f3 !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-content input[type=text] {
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
-khtml-box-sizing: border-box;
}
.wikiEditor-toolbar-dialog .ui-dialog-content input[type="radio"],
.wikiEditor-toolbar-dialog .ui-dialog-content input[type="checkbox"] {
margin-left: 0;
}
.wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
padding: 0;
}
body.ltr .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
right: 0.9em;
}
.wikieditor-toolbar-field-wrapper {
padding: 0 0 25px 0;
}
.wikieditor-toolbar-floated-field-wrapper {
float: left;
margin-right: 2em;
}
.wikieditor-toolbar-dialog-hint {
color: #999999;
}
.wikiEditor-toolbar-dialog,
.wikiEditor-toolbar-dialog .ui-widget-content {
border: none !important;
}
/* Table Dialog */
#wikieditor-toolbar-table-dialog fieldset {
width: 218px;
padding: 0;
float: left;
}
body.rtl #wikieditor-toolbar-table-dialog fieldset {
float: right;
}
#wikieditor-toolbar-table-dialog .wikieditor-toolbar-table-preview-wrapper {
width: 330px;
padding: 0;
float: right;
}
body.rtl #wikieditor-toolbar-table-dialog .wikieditor-toolbar-table-preview-wrapper {
float: left;
}
body.rtl .wikiEditor-toolbar-dialog .wikieditor-toolbar-table-preview-wrapper table {
margin-left: 1em;
margin-right: 0;
}
.wikieditor-toolbar-table-preview-content * {
cursor: default;
}
.wikiEditor-toolbar-dialog .wikieditor-toolbar-table-preview-wrapper table {
width: 100% !important;
}
.wikiEditor-toolbar-dialog .wikieditor-toolbar-table-preview-content table td {
padding: 10px 4px !important;
height: auto !important;
}
.wikiEditor-toolbar-dialog .wikieditor-toolbar-table-preview-content table th {
padding: 7px 3px !important;
}
.wikieditor-toolbar-table-dimension-fields .wikieditor-toolbar-field-wrapper {
float: left;
margin-right: 20px;
vertical-align: bottom;
}
body.rtl .wikieditor-toolbar-table-dimension-fields .wikieditor-toolbar-field-wrapper {
float: right;
margin-right: 0px;
margin-left: 20px;
}
.wikiEditor-toolbar-dialog .ui-dialog-content {
padding: 30px 20px 0 !important;
}
.wikieditor-toolbar-dialog-wrapper {
width: 100%;
}
/* REPLACE Dialog */
/* Insert Link Dialog */
#wikieditor-toolbar-link-int-target-status {
float: right;
}
#wikieditor-toolbar-link-int-target,
#wikieditor-toolbar-link-int-text {
width: 100%;
}
#wikieditor-toolbar-tool-link-int-target-label {
float: left;
line-height: 1.7em;
}
#wikieditor-toolbar-link-int-target-status-loading {
line-height: 1.7em;
}
#wikieditor-toolbar-link-int-target-status-exists,
#wikieditor-toolbar-link-int-target-status-notexists,
#wikieditor-toolbar-link-int-target-status-invalid,
#wikieditor-toolbar-link-int-target-status-external {
padding-left: 30px;
background-position: 0 50%;
background-repeat: no-repeat;
}
#wikieditor-toolbar-link-int-target-status-exists {
background-image: url( ../images/wikiEditor/dialogs/insert-link-exists.png?1);
}
#wikieditor-toolbar-link-int-target-status-notexists {
background-image: url( ../images/wikiEditor/dialogs/insert-link-notexists.png?1);
}
#wikieditor-toolbar-link-int-target-status-invalid {
background-image: url( ../images/wikiEditor/dialogs/insert-link-invalid.png?1);
}
#wikieditor-toolbar-link-int-target-status-external {
background-image: url( ../images/wikiEditor/dialogs/insert-link-external.png?1);
}
/* Reference Dialog */
#wikieditor-toolbar-reference-dialog label {
float: left;
line-height: 1.7em;
}
#wikieditor-toolbar-reference-text {
width: 100%;
}
/* RTL Changes */
body.rtl .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button {
float: left;
margin: 0.5em 0.4em 0.5em 0 !important;
}
body.rtl .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
left: 0.9em;
right: auto;
}
body.rtl .wikiEditor-toolbar-dialog .ui-dialog-title {
float:right;
}
body.rtl #wikieditor-toolbar-link-int-target-status {
float: left;
}
body.rtl #wikieditor-toolbar-tool-link-int-target-label {
float: right;
}
body.rtl .wikieditor-toolbar-floated-field-wrapper {
float: right;
margin-right: 0;
margin-left: 2em;
}
body.rtl #wikieditor-toolbar-link-int-target-status-exists,
body.rtl #wikieditor-toolbar-link-int-target-status-notexists,
body.rtl #wikieditor-toolbar-link-int-target-status-invalid,
body.rtl #wikieditor-toolbar-link-int-target-status-external {
padding-left: 0;
padding-right: 30px;
background-position: 100% 50%;
}
body.rtl #wikieditor-toolbar-link-int-target-status-external {
background-image: url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png?1);
}
body.rtl #wikieditor-toolbar-reference-dialog label {
float: right;
}
/* Template Editor Dialogs */
.wikiEditor-template-dialog-fields label {
text-transform: capitalize;
float: left;
width: 25%;
line-height: 2.25em;
}
.wikiEditor-template-dialog-fields textarea {
float: right;
width: 70%;
line-height: 1.5em;
height: 1.5em;
}
.wikiEditor-template-dialog-fields .wikiEditor-template-dialog-field-wrapper {
padding: 0.75em 0.33em;
border-bottom: dashed 1px silver;
clear: both;
}
.wikiEditor-template-dialog-fields .wikiEditor-template-dialog-field-wrapper:first-child {
padding-top: 0;
}
.wikiEditor-template-dialog-fields .wikiEditor-template-dialog-field-wrapper:last-child {
border-bottom: none;
}
/* Self Clearing Floats */
.wikieditor-toolbar-table-dimension-fields:after,
.wikieditor-toolbar-dialog-wrapper:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.wikieditor-toolbar-table-dimension-fields,
.wikieditor-toolbar-dialog-wrapper {
display: inline-table;
}
/* Hides from IE-mac \*/
* html .wikieditor-toolbar-table-dimension-fields,
* html .wikieditor-toolbar-dialog-wrapper {
height: 1%;
}
.wikieditor-toolbar-table-dimension-fields,
.wikieditor-toolbar-dialog-wrapper {
display: block;
}
/* End hide from IE-mac */
.wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
border-top: 1px solid #cccccc !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-content {
padding-bottom: 1em !important;
}
/* Edit dialog */
.wikiEditor-dialog-editoptions {
margin-top: 15px;
}
/* Publish dialog */
.wikiEditor-publish-dialog-copywarn {
margin-top: 0.5em;
}
.wikiEditor-publish-dialog-summary {
margin-top: 1.5em;
}
.wikiEditor-publish-dialog-options {
margin-top: 1.5em;
}