123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- /**
- * SCEditor v1.3.7
- * http://www.samclarke.com/2011/07/sceditor/
- *
- * Copyright (C) 2011, Sam Clarke (samclarke.com)
- *
- * SCEditor is licensed under the MIT license:
- * http://www.opensource.org/licenses/mit-license.php
- *
- */
- .sceditor-container {
- position: relative;
- border: 1px solid #aaa;
- background: #fff;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- -opera-border-radius: 4px;
- -khtml-border-radius: 4px;
- border-radius: 4px;
- }
- .sceditor-container.resizing {
- overflow: hidden;
- }
- .sceditor-container, .sceditor-container div, div.sceditor-dropdown, div.sceditor-dropdown div {
- padding: 0;
- margin: 0;
- z-index: 3;
- }
- .sceditor-container iframe, .sceditor-container textarea {
- border: 0;
- outline: none;
- color: #111;
- padding: 5px;
- margin: 0 0 12px 0;
- resize: none;
- background: #fff;
- -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
- }
- /* Necessary for stabilising font-size in source mode! */
- .sceditor-container textarea, .sceditor-container textarea:focus {
- font-size: 1em;
- box-shadow: none;
- }
- div.sceditor-resize-cover {
- position: absolute;
- top: 0;
- left: 0;
- background: #fff;
- width: 3000px;
- height: 6000px;
- z-index: 2;
- filter: alpha(opacity=70);
- opacity: 0.7;
- }
- div.sceditor-grip {
- overflow: hidden;
- height: 12px;
- cursor: pointer;
- position: absolute;
- bottom: 0;
- left: -1px;
- right: -1px;
- z-index: 3;
- background: #fff url('../images/bbc/grip.png') 100% 100% no-repeat;
- border: 1px solid #ccc;
- border-bottom: none;
- border-radius: 0 0 4px 4px;
- box-shadow: -1px -2px 4px rgba(0,0,0,0.1) inset, 2px 2px 4px rgba(255,255,255,0.75) inset;
- }
- div.sceditor-dropdown {
- position: absolute;
- margin: 22px 0 0 1px;
- border: 1px solid #bbb;
- background: #fff;
- color: #222;
- font-size: 13px;
- z-index: 6;
- }
- div.sceditor-dropdown form {
- margin: 0;
- }
- div.sceditor-dropdown label {
- display: block;
- font-eight: bold;
- font-size: .95em;
- margin: .65em 0 .15em;
- }
- div.sceditor-dropdown .button {
- margin: .5em 0 0;
- }
- .sceditor-pastetext textarea {
- border: 1px solid #bbb;
- width: 20em;
- }
- div.sceditor-inserttable, div.sceditor-insertimage, div.sceditor-pastetext, div.sceditor-insertlink, div.sceditor-insertemail {
- padding: 5px;
- }
- div.sceditor-smileyPopup {
- margin: 0;
- }
- .sceditor-insertemoticon img, .sceditor-smileyPopup img {
- cursor: pointer;
- margin: 6px 4px 4px 4px;
- }
- .sceditor-more, .sceditor-smileyPopup {
- display: inline;
- text-align: center;
- cursor: pointer;
- padding: 2px 0;
- }
- .sceditor-more:hover {
- background: #eee;
- }
- .sceditor-fontsize-option, .sceditor-font-option {
- display: block;
- padding: 4px 6px;
- cursor: pointer;
- font-size: 14px;
- text-decoration: none;
- color: #222;
- }
- .sceditor-fontsize-option:hover, .sceditor-font-option:hover {
- background: #eee;
- }
- .sceditor-color-column {
- float: left;
- }
- .sceditor-color-option {
- display: block;
- border: 1px solid #fff;
- height: 20px;
- width: 100px;
- overflow: hidden;
- }
- .sceditor-color-option:hover {
- border: 1px solid #333;
- }
- div.sceditor-toolbar {
- overflow: hidden;
- padding: 3px 5px 0 5px;
- background: #f7f7f7;
- border-bottom: 1px solid #aaa;
- border-radius: 4px 4px 0 0;
- box-shadow: 0 -1px 2px rgba(0,0,0,0.1) inset;
- }
- div.sceditor-group {
- overflow: hidden;
- display: inline-block;
- background: none;
- margin: 0;
- padding: 0;
- }
- div.sceditor-row {
- overflow: hidden;
- display: inline-block;
- border-left: 1px solid #ccc;
- border-radius: 1px;
- margin: 4px 2px 2px 2px;
- }
- .sceditor-button {
- float: left;
- cursor: pointer;
- background: #fff;
- border: 1px solid #ccc;
- border-left: none;
- border-right: 1px solid #bbb;
- border-bottom: 1px solid #aaa;
- border-radius: 1px;
- box-shadow: -1px -1px 3px rgba(96,134,166,0.2) inset;
- padding: 3px 6px 2px 6px;
- color: #222;
- margin: 0;
- }
- .sceditor-button.disabled div {
- filter: alpha(opacity=30);
- opacity: 0.3;
- }
- .sceditor-button.disabled:hover {
- background: inherit;
- cursor: default;
- }
- .sceditor-button div, .sceditor-button {
- display: block;
- width: 18px;
- height: 18px;
- background-repeat:no-repeat !important;
- background-position:center center !important;
- }
- .sceditor-button div {
- margin: 0;
- padding: 0;
- text-indent: -9999px;
- }
- .sceditor-button:hover {
- background: #fafafa;
- box-shadow: 1px 1px 1px rgba(0,0,0,0.07) inset;
- border: 1px solid #ccc;
- border-left: none;
- border-top: 1px solid #aaa;
- }
- .sceditor-button-emoticon {
- display:none;
- }
- .sceditor-popup-grip {
- display: block;
- height: 15px;
- }
- /* SMF buttons styles */
- .sceditor-button-source div {
- background: url('../images/bbc/toggle.png');
- }
- .sourceMode .sceditor-button-source {
- background: #fafafa;
- box-shadow: 1px 1px 3px rgba(96,134,166,0.3) inset;
- border: 1px solid #ccc;
- border-left: none;
- border-top: 1px solid #aaa;
- }
- .sceditor-button-font div {
- background: url('../images/bbc/font.png');
- }
- .sceditor-button-size div {
- background: url('../images/bbc/font_size.png');
- }
- .sceditor-button-color div {
- background: url('../images/bbc/color_swatch.png');
- }
- .sceditor-button-removeformat div {
- background: url('../images/bbc/font_delete.png');
- }
- .sceditor-button-bold div {
- background: url('../images/bbc/bold.png');
- }
- .sceditor-button-italic div {
- background: url('../images/bbc/italicize.png');
- }
- .sceditor-button-underline div {
- background: url('../images/bbc/underline.png');
- }
- .sceditor-button-strike div {
- background: url('../images/bbc/strike.png');
- }
- .sceditor-button-pre div {
- background: url('../images/bbc/pre.png');
- }
- .sceditor-button-left div {
- background: url('../images/bbc/left.png');
- }
- .sceditor-button-center div {
- background: url('../images/bbc/center.png');
- }
- .sceditor-button-right div {
- background: url('../images/bbc/right.png');
- }
- .sceditor-button-image div {
- background: url('../images/bbc/img.png');
- }
- .sceditor-button-link div {
- background: url('../images/bbc/url.png');
- }
- .sceditor-button-email div {
- background: url('../images/bbc/email.png');
- }
- .sceditor-button-ftp div {
- background: url('../images/bbc/ftp.png');
- }
- .sceditor-button-glow div {
- background: url('../images/bbc/glow.png');
- }
- .sceditor-button-shadow div {
- background: url('../images/bbc/shadow.png');
- }
- .sceditor-button-move div {
- background: url('../images/bbc/move.gif');
- }
- .sceditor-button-superscript div {
- background: url('../images/bbc/sup.png');
- }
- .sceditor-button-subscript div {
- background: url('../images/bbc/sub.png');
- }
- .sceditor-button-tt div {
- background: url('../images/bbc/tele.png');
- }
- .sceditor-button-table div {
- background: url('../images/bbc/table.png');
- }
- .sceditor-button-code div {
- background: url('../images/bbc/code.png');
- }
- .sceditor-button-quote div {
- background: url('../images/bbc/quote.png');
- }
- .sceditor-button-bulletlist div {
- background: url('../images/bbc/list.png');
- }
- .sceditor-button-orderedlist div {
- background: url('../images/bbc/orderlist.png');
- }
- .sceditor-button-horizontalrule div {
- background: url('../images/bbc/hr.png');
- }
- .sceditor-button-unformat div {
- background: url('../images/bbc/unformat.png');
- }
- .sceditor-button-toggle div {
- background: url('../images/bbc/toggle.png');
- }
|