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 {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 5px;
|
2014-02-24 09:47:44 +08:00
|
|
|
margin-top: 5px;
|
2014-03-06 14:14:51 +08:00
|
|
|
padding: 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-spacer {
|
|
|
|
width: 1px;
|
|
|
|
height: 20px;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-left: 5px;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: lighten($primary_background_color, 50%);
|
2013-09-06 03:37:07 +08:00
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-button {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 3px;
|
|
|
|
margin-right: 5px;
|
|
|
|
background-repeat: no-repeat;
|
2014-03-06 14:14:51 +08:00
|
|
|
background-position: 0 0;
|
|
|
|
border: 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
position: relative;
|
|
|
|
border: 0;
|
|
|
|
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;
|
|
|
|
background-color: white;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-button:hover {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: lighten($secondary_background_color, 60%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#wmd-bold-button:before {
|
|
|
|
content: "\f032";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#wmd-italic-button:before {
|
|
|
|
content: "\f033";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-link-button:before {
|
|
|
|
content: "\f0c1";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-quote-button:before {
|
|
|
|
content: "\f10e";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-code-button:before {
|
|
|
|
content: "\f121";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-image-button:before {
|
|
|
|
content: "\f093";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-olist-button:before {
|
|
|
|
content: "\f0cb";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-ulist-button:before {
|
|
|
|
content: "\f0ca";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-heading-button:before {
|
|
|
|
content: "\f031";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-hr-button:before {
|
|
|
|
content: "\f068";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-undo-button:before {
|
|
|
|
content: "\f0e2";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-redo-button:before {
|
|
|
|
content: "\f01e";
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-quote-post:before {
|
|
|
|
content: "\f0e5";
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-background {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $secondary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-dialog {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 1px solid $primary_border_color;
|
|
|
|
background-color: lighten($secondary_background_color, 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"] {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 1px solid $primary_border_color;
|
|
|
|
color: $primary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-dialog > form > input[type="button"] {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 1px solid $primary_border_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
font-family: trebuchet MS, helvetica, sans-serif;
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|