App-Alice
view release on metacpan or search on metacpan
share/static/alice-dark.css view on Meta::CPAN
border-top: 1px solid #111111;
border-left: 1px solid black; }
li.event div.msg {
padding: 5px; }
li.monospace div.msg {
padding: 6px 5px; }
li.event + li.message div.msg {
border-top: 1px solid transparent; }
ul.messages li:first-child div.msg {
border-top: 1px solid transparent; }
/* so the last avatar doesn't hang off the edge */
ul.messages li.avatar:not(.consecutive) div.msg {
min-height: 35px; }
ul.messages li.monospace {
min-height: 0px; }
ul.messages li.message:last-child {
border-bottom: 1px solid #111111; }
share/static/alice-default.css view on Meta::CPAN
border-top: 1px solid #eeeeee;
border-left: 1px solid #c1c1c1; }
li.event div.msg {
padding: 5px; }
li.monospace div.msg {
padding: 6px 5px; }
li.event + li.message div.msg {
border-top: 1px solid transparent; }
ul.messages li:first-child div.msg {
border-top: 1px solid transparent; }
/* so the last avatar doesn't hang off the edge */
ul.messages li.avatar:not(.consecutive) div.msg {
min-height: 35px; }
ul.messages li.monospace {
min-height: 0px; }
ul.messages li.message:last-child {
border-bottom: 1px solid #eeeeee; }
share/static/alice.js view on Meta::CPAN
effect.element.style[transform.style] = '';
});
};
}
}
this.start(options);
},
setup: function(){
function parseColor(color){
if (!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff';
color = color.parseColor();
return $R(0,2).map(function(i){
return parseInt( color.slice(i*2+1,i*2+3), 16 );
});
}
this.transforms = this.style.map(function(pair){
var property = pair[0], value = pair[1], unit = null;
if (value.parseColor('#zzzzzz') != '#zzzzzz') {
value = value.parseColor();
( run in 0.547 second using v1.01-cache-2.11-cpan-a1d94b6210f )