2013-09-06 03:37:07 +08:00
|
|
|
// styles that apply to the PageDown editor
|
|
|
|
// http://code.google.com/p/pagedown/
|
|
|
|
|
|
|
|
.wmd-panel {
|
|
|
|
margin-left: 25%;
|
|
|
|
margin-right: 25%;
|
|
|
|
width: 50%;
|
|
|
|
min-width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-button-bar {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-button-row {
|
2015-08-19 13:02:01 +08:00
|
|
|
margin: 5px;
|
2014-03-06 14:14:51 +08:00
|
|
|
padding: 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
height: 20px;
|
2015-04-22 08:35:10 +08:00
|
|
|
overflow: hidden;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-spacer {
|
|
|
|
width: 1px;
|
|
|
|
height: 20px;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-left: 5px;
|
2015-06-15 10:59:49 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-06 03:37:07 +08:00
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-button {
|
|
|
|
margin-right: 5px;
|
2014-03-06 14:14:51 +08:00
|
|
|
border: 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
text-decoration: inherit;
|
|
|
|
display: inline;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
line-height: normal;
|
|
|
|
vertical-align: baseline;
|
|
|
|
background-image: none !important;
|
2014-03-06 14:14:51 +08:00
|
|
|
background-position: 0 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
background-repeat: repeat;
|
2014-07-23 10:38:15 +08:00
|
|
|
background: transparent;
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-button:hover {
|
2015-06-15 10:59:49 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-bold-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f032";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-italic-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f033";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-link-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f0c1";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-quote-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f10e";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-code-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f121";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-image-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f093";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-image-button.image-only:before {
|
2014-06-05 01:51:26 +08:00
|
|
|
content: "\f03e";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-olist-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f0cb";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-ulist-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f0ca";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-heading-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f031";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-hr-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f068";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-undo-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f0e2";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-redo-button:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f01e";
|
|
|
|
}
|
|
|
|
|
2015-07-14 04:36:38 +08:00
|
|
|
.wmd-quote-post:before {
|
2013-09-06 03:37:07 +08:00
|
|
|
content: "\f0e5";
|
|
|
|
}
|
|
|
|
|
2015-09-16 01:28:50 +08:00
|
|
|
.wmd-composer-options:before {
|
|
|
|
content: "\f013";
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.wmd-prompt-background {
|
2014-08-06 21:31:13 +08:00
|
|
|
background-color: #111;
|
|
|
|
box-shadow: 0 3px 7px rgba(0,0,0, .8);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-dialog {
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-dialog > div {
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-family: arial, helvetica, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-dialog > form > input[type="text"] {
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-dialog > form > input[type="button"] {
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2015-08-22 02:23:06 +08:00
|
|
|
background: dark-light-choose(initial, blend-primary-secondary(50%));
|
|
|
|
color: dark-light-choose(inherit, $secondary);
|
2013-09-06 03:37:07 +08:00
|
|
|
font-family: trebuchet MS, helvetica, sans-serif;
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|