/* editor.css Wiki editor formatting */ #gollum-editor { border: 1px solid #e4e4e4; background: #f9f9f9; margin: 1em 0 5em; overflow: hidden; padding: 1em; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } #gollum-editor form fieldset { border: 0; margin: 0; padding: 0; width: 100%; } /* @control editor-view-tab */ #gollum-editor #gollum-editor-type-switcher { display: none; } /* @control function-bar */ #gollum-editor #gollum-editor-function-bar { border-bottom: 1px solid #ddd; overflow: hidden; padding: 0 0 0.5em 0; display: none; } #gollum-editor #gollum-editor-function-bar.active { display: block; } #gollum-editor #gollum-editor-function-bar a.function-button { background: #f7f7f7; border: 1px solid #ddd; color: #333; display: block; float: left; height: 25px; overflow: hidden; margin: 0.2em 0.5em 0 0; /* text-indent: -5000px; */ text-shadow: 0 1px 0 #fff; width: 25px; border-radius: 0.3em; -moz-border-radius: 0.3em; -webkit-border-radius: 0.3em; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); background: -moz-linear-gradient(top, #f4f4f4, #ececec); } #gollum-editor #gollum-editor-function-bar a.function-button:hover { color: #fff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); text-decoration: none; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); background: -moz-linear-gradient(top, #599bdc, #3072b3); } #gollum-editor #gollum-editor-function-bar a.disabled { display: none; } #gollum-editor #gollum-editor-function-bar span.function-divider { display: block; float: left; width: 0.5em; } #gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector select { background-color: #f7f7f7; border: 1px solid transparent; float: right; font-size: 1.1em; font-weight: bold; line-height: 1.6em; padding: 0.5em 0.7em; margin-bottom: 0; border-radius: 0.5em; -moz-border-radius: 0.5em; -webkit-border-radius: 0.5em; -moz-outline: none; } #gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector select:hover { background-color: #fff; border: 1px solid #ddd; -moz-outline: none; } /* @section form-fields */ #gollum-editor textarea#gollum-editor-body { background: #fff; border: 1px solid #ddd; font-size: 1.3em; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.8em; margin: 0.5em 0; padding: 0.5em; /* I don't really like mixing pct & em here… */ width: 98%; height: 20em; } #gollum-editor input#gollum-editor-submit, #gollum-editor-dialog a.minibutton, #gollum-editor-dialog a.minibutton:visited { background-color: #f7f7f7; border: 1px solid #d4d4d4; color: #333; cursor: pointer; display: block; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: bold; margin: 0; padding: 0.4em 1em; text-shadow: 0 1px 0 #fff; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec'); background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec)); background: -moz-linear-gradient(top, #f4f4f4, #ececec); border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } #gollum-editor input#gollum-editor-submit:hover, #gollum-editor-dialog a.minibutton:hover { background: #3072b3; border-color: #518cc6 #518cc6 #2a65a0; color: #fff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); text-decoration: none; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3'); background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3)); background: -moz-linear-gradient(top, #599bdc, #3072b3); } /* @control dialog */ #gollum-editor-dialog { display: none; top: 50%; left: 50%; position: absolute; } #gollum-editor-dialog.active { display: block; } #gollum-editor-dialog-inner { background: transparent; margin: 0 0 0 -225px; overflow: hidden; position: relative; width: 450px; border: 7px solid rgba(0, 0, 0, 0.3); border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } #gollum-editor-dialog-bg { background-color: #fff; overflow: hidden; padding: 1em; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f7f7f7', endColorstr='#ffffff'); background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#ffffff)); background: -moz-linear-gradient(top, #f7f7f7, #ffffff); } #gollum-editor-dialog-inner h4 { border-bottom: 1px solid #ddd; color: #000; font-size: 1.8em; line-height: normal; font-weight: bold; margin: 0 0 0.75em 0; padding: 0 0 0.3em 0; } #gollum-editor-dialog-body fieldset { border: 0; margin: 0; padding: 0; } #gollum-editor-dialog-body fieldset .field { margin: 0 0 1.5em 0; padding: 0; } #gollum-editor-dialog-body fieldset .field label { color: #000; display: block; font-size: 1.2em; font-weight: bold; line-height: 1.6em; margin: 0; padding: 0; min-width: 80px; } #gollum-editor-dialog-body fieldset .field input[type="text"] { border: 1px solid #ddd; display: block; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.2em; line-height: 1.6em; margin: 0.3em 0 0 0; padding: 0.3em 0.5em; width: 96.5%; } #gollum-editor-dialog-body fieldset .field input.code { font-family: 'Monaco', 'Courier New', Courier, monospace; } #gollum-editor-dialog-body fieldset .field:last-child { margin: 0 0 1em 0; } #gollum-editor-dialog-buttons { border-top: 1px solid #ddd; overflow: hidden; margin: 1.5em 0 0 0; padding: 1em 0 0 0; } #gollum-editor-dialog a.minibutton { float: right; margin-right: 0.5em; width: auto; }