view release on metacpan or search on metacpan
share/static/alice-dark.css view on Meta::CPAN
left: 0px;
bottom: 0px;
width: 22px;
border: none;
padding: 0;
margin: 0;
opacity: 0;
font-size: 12px; }
select#tab_overflow_overlay option.unread {
font-weight: bold; }
li#tab_overflow_button {
background: url(image/sprites.png) 3px -174px no-repeat; }
li#tab_overflow_button.unread {
background: url(image/sprites.png) 3px -194px no-repeat; }
li#config_button {
background: url(image/sprites.png) 4px -216px no-repeat; }
share/static/alice-dark.css view on Meta::CPAN
background: none;
cursor: pointer;
border: none; }
tr.input div.editor_toolbar button:hover {
color: black; }
tr.input div.editor_toolbar button.selected {
color: yellow; }
.bold {
font-weight: bold; }
.italic {
font-style: italic; }
.underline {
text-decoration: underline; }
tr.input div.editor_toolbar:hover {
opacity: 0.4;
cursor: pointer; }
share/static/alice-dark.css view on Meta::CPAN
ul.messages li div.msg {
background: #222222; }
ul.messages li.consecutive div.left {
display: none; }
div.left {
float: left;
width: 95px;
font-weight: bold;
text-align: right;
padding: 4px 0;
padding-right: 4px;
padding-bottom: 0;
text-overflow: ellipsis;
position: relative; }
li.event a,
li.event {
color: #cccccc; }
share/static/alice-dark.css view on Meta::CPAN
ul.messages li.monospace + li.monospace.consecutive {
margin-top: -5px; }
ul.messages li.monospace div.msg {
font-family: Monaco, monospace;
font-size: 10px;
line-height: 12px;
word-wrap: normal;
white-space: pre-wrap; }
li.monospace div.msg span[style*="bold"] {
letter-spacing: -1px; }
ul.messages li.event {
font-size: 11px;
background: #333333;
border-bottom: 1px solid #111111; }
ul.messages li.event.notice {
background: #eb2222;
color: #fff; }
share/static/alice-dark.css view on Meta::CPAN
float: right;
padding-right: 0;
padding-left: 2%; }
div#help h2 {
color: yellow;
margin-top: 0;
font-weight: normal; }
div#help dt {
font-weight: bold; }
div#help dd {
font-weight: normal;
margin: 0;
margin-bottom: 10px; }
div.color_picker {
position: absolute;
right: 25px;
bottom: 27px;
share/static/alice-dark.css view on Meta::CPAN
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.6); }
div.color_picker div.toggle {
height: 18px; }
div.color_picker div.toggle span.blank {
float: right;
color: red;
font-weight: bold;
text-align: center;
width: 20px;
line-height: 9px; }
div.color_picker div.toggle span#fg,
div.color_picker div.toggle span#bg {
float: left;
font-size: 9px;
background: none;
-webkit-border-radius: 10px;
share/static/alice-default.css view on Meta::CPAN
left: 0px;
bottom: 0px;
width: 22px;
border: none;
padding: 0;
margin: 0;
opacity: 0;
font-size: 12px; }
select#tab_overflow_overlay option.unread {
font-weight: bold; }
li#tab_overflow_button {
background: url(image/sprites.png) 3px -174px no-repeat; }
li#tab_overflow_button.unread {
background: url(image/sprites.png) 3px -194px no-repeat; }
li#config_button {
background: url(image/sprites.png) 4px -216px no-repeat; }
share/static/alice-default.css view on Meta::CPAN
background: none;
cursor: pointer;
border: none; }
tr.input div.editor_toolbar button:hover {
color: white; }
tr.input div.editor_toolbar button.selected {
color: yellow; }
.bold {
font-weight: bold; }
.italic {
font-style: italic; }
.underline {
text-decoration: underline; }
tr.input div.editor_toolbar:hover {
opacity: 0.4;
cursor: pointer; }
share/static/alice-default.css view on Meta::CPAN
ul.messages li div.msg {
background: white; }
ul.messages li.consecutive div.left {
display: none; }
div.left {
float: left;
width: 95px;
font-weight: bold;
text-align: right;
padding: 4px 0;
padding-right: 4px;
padding-bottom: 0;
text-overflow: ellipsis;
position: relative; }
li.event a,
li.event {
color: black; }
share/static/alice-default.css view on Meta::CPAN
ul.messages li.monospace + li.monospace.consecutive {
margin-top: -5px; }
ul.messages li.monospace div.msg {
font-family: Monaco, monospace;
font-size: 10px;
line-height: 12px;
word-wrap: normal;
white-space: pre-wrap; }
li.monospace div.msg span[style*="bold"] {
letter-spacing: -1px; }
ul.messages li.event {
font-size: 11px;
background: #d9e7fb;
border-bottom: 1px solid white; }
ul.messages li.event.notice {
background: #eb2222;
color: #fff; }
share/static/alice-default.css view on Meta::CPAN
float: right;
padding-right: 0;
padding-left: 2%; }
div#help h2 {
color: yellow;
margin-top: 0;
font-weight: normal; }
div#help dt {
font-weight: bold; }
div#help dd {
font-weight: normal;
margin: 0;
margin-bottom: 10px; }
div.color_picker {
position: absolute;
right: 25px;
bottom: 27px;
share/static/alice-default.css view on Meta::CPAN
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.6); }
div.color_picker div.toggle {
height: 18px; }
div.color_picker div.toggle span.blank {
float: right;
color: red;
font-weight: bold;
text-align: center;
width: 20px;
line-height: 9px; }
div.color_picker div.toggle span#fg,
div.color_picker div.toggle span#bg {
float: left;
font-size: 9px;
background: none;
-webkit-border-radius: 10px;
share/static/alice.js view on Meta::CPAN
if (value && element.previousValue != value) {
element.fire("field:change");
element.previousValue = value;
}
}
$(document.body).on("keyup", 'input,textarea,*[contenteditable=""],*[contenteditable=true]', fieldChangeHandler);
});
WysiHat.Commands = (function(window) {
function boldSelection() {
this.execCommand('bold', false, null);
}
function boldSelected() {
return this.queryCommandState('bold');
}
function underlineSelection() {
this.execCommand('underline', false, null);
}
function underlineSelected() {
return this.queryCommandState('underline');
}
share/static/alice.js view on Meta::CPAN
var styles = $H({});
var editor = this;
editor.styleSelectors.each(function(style){
var node = editor.selection.getNode();
styles.set(style.first(), Element.getStyle(node, style.last()));
});
return styles;
}
return {
boldSelection: boldSelection,
boldSelected: boldSelected,
underlineSelection: underlineSelection,
underlineSelected: underlineSelected,
italicSelection: italicSelection,
italicSelected: italicSelected,
strikethroughSelection: strikethroughSelection,
indentSelection: indentSelection,
outdentSelection: outdentSelection,
toggleIndentation: toggleIndentation,
indentSelected: indentSelected,
fontSelection: fontSelection,
share/static/alice.js view on Meta::CPAN
function spanify(element, style) {
element.replace(
'<span style="' + style +
'" class="Apple-style-span">' +
element.innerHTML + '</span>'
);
}
function convertStrongsToSpans() {
container.select("strong").each(function(element) {
spanify(element, "font-weight: bold");
});
}
function convertEmsToSpans() {
container.select("em").each(function(element) {
spanify(element, "font-style: italic");
});
}
function convertDivsToParagraphs() {
share/static/alice.js view on Meta::CPAN
}
function read(value) {
accumulate(document.createTextNode(value));
}
function accumulateInlineElement(tagName, node) {
var element = node.cloneNode(false);
if (tagName == "span") {
if ($(node).getStyle("fontWeight") == "bold") {
element = new Element("strong");
} else if ($(node).getStyle("fontStyle") == "italic") {
element = new Element("em");
}
}
accumulate(element);
lineContainer = element;
}