jquery-word-and-character-counter-plugin
Version:
This word and character counter plugin allows you to count characters or words, up or down. You can set a minimum or maximum goal for the counter to reach. And sweet, sweet options.
419 lines (394 loc) • 11.2 kB
CSS
/* $Default
* $SyntaxHighlighter
* */
/*$SyntaxHighlighter*/
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
* @license
* Dual licensed under the MIT and GPL licenses.
*/
.syntaxhighlighter a,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody,
.syntaxhighlighter table thead,
.syntaxhighlighter table caption,
.syntaxhighlighter textarea {
-moz-border-radius: 0 0 0 0 ;
-webkit-border-radius: 0 0 0 0 ;
background: none ;
border: 0 ;
bottom: auto ;
float: none ;
height: auto ;
left: auto ;
line-height: 1.1em ;
margin: 0 ;
outline: 0 ;
overflow: visible ;
padding: 0 ;
position: static ;
right: auto ;
text-align: left ;
top: auto ;
vertical-align: baseline ;
width: auto ;
box-sizing: content-box ;
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace ;
font-weight: normal ;
font-style: normal ;
font-size: 1em ;
min-height: inherit ;
min-height: auto ;
}
.syntaxhighlighter {
width: 100% ;
margin: 1em 0 1em 0 ;
position: relative ;
overflow: auto ;
font-size: 1em ;
}
.syntaxhighlighter.source {
overflow: hidden ;
}
.syntaxhighlighter .bold {
font-weight: bold ;
}
.syntaxhighlighter .italic {
font-style: italic ;
}
.syntaxhighlighter .line {
white-space: pre ;
}
.syntaxhighlighter table {
width: 100% ;
}
.syntaxhighlighter table caption {
text-align: left ;
padding: .5em 0 0.5em 1em ;
}
.syntaxhighlighter table td.code {
width: 100% ;
}
.syntaxhighlighter table td.code .container {
position: relative ;
}
.syntaxhighlighter table td.code .container textarea {
box-sizing: border-box ;
position: absolute ;
left: 0 ;
top: 0 ;
width: 100% ;
height: 100% ;
border: none ;
background: white ;
padding-left: 1em ;
overflow: hidden ;
white-space: pre ;
}
.syntaxhighlighter table td.gutter .line {
text-align: right ;
padding: 0 0.5em 0 1em ;
}
.syntaxhighlighter table td.code .line {
padding: 0 1em ;
}
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
padding-left: 0em ;
}
.syntaxhighlighter.show {
display: block ;
}
.syntaxhighlighter.collapsed table {
display: none ;
}
.syntaxhighlighter.collapsed .toolbar {
padding: 0.1em 0.8em 0em 0.8em ;
font-size: 1em ;
position: static ;
width: auto ;
height: auto ;
}
.syntaxhighlighter.collapsed .toolbar span {
display: inline ;
margin-right: 1em ;
}
.syntaxhighlighter.collapsed .toolbar span a {
padding: 0 ;
display: none ;
}
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
display: inline ;
}
.syntaxhighlighter .toolbar {
position: absolute ;
right: 1px ;
top: 1px ;
width: 11px ;
height: 11px ;
font-size: 10px ;
z-index: 10 ;
}
.syntaxhighlighter .toolbar span.title {
display: inline ;
}
.syntaxhighlighter .toolbar a {
display: block ;
text-align: center ;
text-decoration: none ;
padding-top: 1px ;
}
.syntaxhighlighter .toolbar a.expandSource {
display: none ;
}
.syntaxhighlighter.ie {
font-size: .9em ;
padding: 1px 0 1px 0 ;
}
.syntaxhighlighter.ie .toolbar {
line-height: 8px ;
}
.syntaxhighlighter.ie .toolbar a {
padding-top: 0px ;
}
.syntaxhighlighter.printing .line.alt1 .content,
.syntaxhighlighter.printing .line.alt2 .content,
.syntaxhighlighter.printing .line.highlighted .number,
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
background: none ;
}
.syntaxhighlighter.printing .line .number {
color: #bbbbbb ;
}
.syntaxhighlighter.printing .line .content {
color: black ;
}
.syntaxhighlighter.printing .toolbar {
display: none ;
}
.syntaxhighlighter.printing a {
text-decoration: none ;
}
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
color: black ;
}
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
color: #008200 ;
}
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
color: blue ;
}
.syntaxhighlighter.printing .keyword {
color: #006699 ;
font-weight: bold ;
}
.syntaxhighlighter.printing .preprocessor {
color: gray ;
}
.syntaxhighlighter.printing .variable {
color: #aa7700 ;
}
.syntaxhighlighter.printing .value {
color: #009900 ;
}
.syntaxhighlighter.printing .functions {
color: #ff1493 ;
}
.syntaxhighlighter.printing .constants {
color: #0066cc ;
}
.syntaxhighlighter.printing .script {
font-weight: bold ;
}
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
color: gray ;
}
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
color: #ff1493 ;
}
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
color: red ;
}
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
color: black ;
}
.syntaxhighlighter {
background-color: white ;
}
.syntaxhighlighter .line.alt1 {
background-color: white ;
}
.syntaxhighlighter .line.alt2 {
background-color: white ;
}
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
background-color: #e0e0e0 ;
}
.syntaxhighlighter .line.highlighted.number {
color: black ;
}
.syntaxhighlighter table caption {
color: black ;
}
.syntaxhighlighter .gutter {
color: #afafaf ;
}
.syntaxhighlighter .gutter .line {
border-right: 3px solid #6ce26c ;
}
.syntaxhighlighter .gutter .line.highlighted {
background-color: #6ce26c ;
color: white ;
}
.syntaxhighlighter.printing .line .content {
border: none ;
}
.syntaxhighlighter.collapsed {
overflow: visible ;
}
.syntaxhighlighter.collapsed .toolbar {
color: blue ;
background: white ;
border: 1px solid #6ce26c ;
}
.syntaxhighlighter.collapsed .toolbar a {
color: blue ;
}
.syntaxhighlighter.collapsed .toolbar a:hover {
color: red ;
}
.syntaxhighlighter .toolbar {
color: white ;
background: #6ce26c ;
border: none ;
}
.syntaxhighlighter .toolbar a {
color: white ;
}
.syntaxhighlighter .toolbar a:hover {
color: black ;
}
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
color: black ;
}
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
color: #008200 ;
}
.syntaxhighlighter .string, .syntaxhighlighter .string a {
color: blue ;
}
.syntaxhighlighter .keyword {
color: #006699 ;
}
.syntaxhighlighter .preprocessor {
color: gray ;
}
.syntaxhighlighter .variable {
color: #aa7700 ;
}
.syntaxhighlighter .value {
color: #009900 ;
}
.syntaxhighlighter .functions {
color: #ff1493 ;
}
.syntaxhighlighter .constants {
color: #0066cc ;
}
.syntaxhighlighter .script {
font-weight: bold ;
color: #006699 ;
background-color: none ;
}
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
color: gray ;
}
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
color: #ff1493 ;
}
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
color: red ;
}
.syntaxhighlighter .keyword {
font-weight: bold ;
}
/*$Default*/
/*************************************************/
.sm {font-size:11px}
.hide {display:none}
#menu{width:200px;margin:5px;padding:10px}
legend{font-size:20px;font-weight:700;text-transform:uppercase}
fieldset{margin:20px 0;padding:10px}
#body{width:970px;margin:0 auto;}
#body h1 {color:#fff; text-align:center}
body{font-family:Verdana, Sans-Serif;font-size:14px;line-height:22px;margin:0}
p{font-size:16px}
.details{width:300px;border:1px dotted #CCC}
.code{font-family:Courier New;font-size:12px}
table{border:1px solid #000;border-collapse:collapse;width:100%;}
table td,table th{border:1px solid #000;text-align:left;padding:5px}
tr.alt td{background-color:#2C4359; color:#fff}
tr.over td{background-color:#FF5E99; color:#fff}
.sample {
width: 750px
}
.sample p{float:right;width:300px;position:relative;font-size:12px;top:-10px}
.sample p span{color:Red}
#nav{height:100px;width:100%;border-bottom:5px solid #fff;font-size:14px;font-family:Georgia}
#nav h1{font-size:14px;margin:0;padding:0}
#notice{text-align:center; font-size:12px;height:50px;width:690px;margin: 10px auto 0px auto}
#notice #n_body{width:600px;margin:0 auto}
#notice #n_body a{font-size:11px}
#notice #n_body li{display:inline;list-style-type:none;margin:0}
#info{width:16px;height:16px;display:inline}
a span{display:inline;float:left}
table th,#nav a{font-weight:700}
#nav .navContent,#notice #n_body #close{float:right}
code {background-color:#CCCCCC; padding:2px;}
td ul {margin:0;}
#append-parent{
border:1px solid red; padding:20px; width:30%; margin:5%;
}
#append-here{
width:100px; height:100px; border:1px dotted #ccc;
font-size:11px; padding:10px; text-align: center; position: relative;
}
.ui-tabs p a {
font-size: 16px;
}
.ui-tabs a {
font-size: 12px;
}
.ui-icon-newwin {
display: inline-block;
}
hr {
margin: 10px 0;
}
.wrapper {
font-size: 11px;
border: 1px solid green;
border-radius: 50px;
width: 40%;
padding: 10px;
}
#contentEditable {
border: 1px solid #000;
width: 50%;
padding: 5px;
}