Alice

 view release on metacpan or  search on metacpan

share/static/alice-dark.css  view on Meta::CPAN

@charset "UTF-8";
tr.input, div.msg {
  -webkit-font-smoothing: antialiased; }

input[type="hidden"] {
  display: none; }

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: white;
  -webkit-text-size-adjust: none !important; }

share/static/alice-dark.css  view on Meta::CPAN

  right: 36px;
  bottom: 0px;
  border-left: 1px solid #222222; }

div#tab_menu_right ul {
  right: -1px;
  left: auto; }

.dropdown li.selectedset,
.dropdown li.unread {
  font-weight: bold; }

.tab_menu.active {
  background: url(image/sprites.png) 4px -275px no-repeat; }

#tab_menu_left.tab_menu.active {
  background: url(image/sprites.png) -29px -275px no-repeat; }

.tab_menu:hover,
.tab_menu.open {
  background: url(image/sprites.png) 4px -175px no-repeat; }

share/static/alice-dark.css  view on Meta::CPAN

  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 904;
  background-color: #444444;
  border-top: 1px solid #222222; }

body {
  font-family: "Lucida Grande", Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  background: #222222; }

a:link, a:visited, a:active {
  color: #f09740; }

a:hover {
  color: #d7863a; }

div#windows {

share/static/alice-dark.css  view on Meta::CPAN

  border: 1px solid #222222;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-transition-property: opacity, width;
  -webkit-transition-duration: 0.3s, 0.2s;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-property: opacity, width;
  -moz-transition-duration: 0.3s, 0.2s;
  -moz-transition-timing-function: ease-in-out;
  border-radius: 2px;
  color: white;
  font-size: 14px;
  z-index: 902;
  cursor: pointer;
  opacity: 0; }

div#nicklist_toggle:hover {
  background-color: #3a3a3a; }

div#windows.nicklist div#nicklist_toggle {
  background-image: url(image/slider-right.png); }

share/static/alice-dark.css  view on Meta::CPAN

  left: auto;
  visibility: visible; }

ul#nicklist li {
  display: block;
  padding: 3px 5px 0px 5px; }

ul#nicklist li a {
  cursor: pointer;
  color: white;
  font-size: 0.8em; }

div#input {
  background: #333333;
  border-bottom: 1px solid #222222;
  border-top: 1px solid #444444;
  position: absolute;
  bottom: 24px;
  left: 0px;
  right: 0px;
  z-index: 900; }

share/static/alice-dark.css  view on Meta::CPAN

div#input textarea {
  color: white;
  line-height: 1.2em;
  min-height: 1.2em;
  max-height: 150px;
  display: block;
  padding: 3px 0;
  border: none;
  margin: 0;
  outline: 0 none;
  font-size: 12px;
  overflow: hidden;
  resize: none;
  font-family: "Lucida Grande", Helvetica, sans-serif;
  background: black; }

div#input textarea {
  width: 100%; }

div#input div.editor {
  margin-right: 75px;
  -khtml-nbsp-mode: space; }

div#input div.editor_toolbar {

share/static/alice-dark.css  view on Meta::CPAN

  width: 70px;
  bottom: -3px;
  z-index: 902;
  background: #333333; }

div#input div.editor_toolbar button {
  display: block;
  float: left;
  color: white;
  line-height: 12px;
  font-size: 12px;
  margin: 0;
  padding: 4px 4px;
  text-align: center;
  background: none;
  cursor: pointer;
  border: none;
  color: #666666; }

div#input div.editor_toolbar button.colors:hover {
  background: none; }

share/static/alice-dark.css  view on Meta::CPAN

  width: 14px;
  height: 14px;
  border: 2px solid white;
  margin: 4px;
  padding: 0; }

div#input div.editor_toolbar button.selected {
  color: white; }

.bold {
  font-weight: bold; }

.italic {
  font-style: italic; }

.underline {
  text-decoration: underline; }

div.editor div,
div.editor p,
div.editor h1,
div.editor h2,
div.editor h3,
div.editor h4,
div.editor h5,
div.editor span {
  font-size: 1em !important;
  margin: 0 !important;
  padding: 0 !important; }

div.editor img {
  display: none !important; }

div#input input.send {
  display: none; }

ul#tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1px;
  font-size: 11px;
  position: absolute;
  left: 0px;
  height: 25px;
  overflow: hidden;
  width: 5000px;
  -webkit-transition: left 0.25s ease-in-out;
  -moz-transition: left 0.25s ease-in-out; }

div#tab_bar {
  bottom: 0px;

share/static/alice-dark.css  view on Meta::CPAN

  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  background: #3a3a3a;
  text-align: center;
  border-top: 1px solid #666666;
  border-bottom: 1px solid #333333;
  padding: 1px 0;
  padding-left: 50px;
  font-size: 11px;
  height: 15px;
  min-height: 15px;
  overflow: hidden;
  z-index: 901;
  text-decoration: none;
  color: white;
  -webkit-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.2); }

ul.messages {
  list-style: none;
  margin: 0;
  padding: 3px 0;
  margin: 0; }

ul.messages > li {
  font-size: 13px;
  display: block;
  position: relative;
  background-color: #111111; }

ul.messages > li:not(.consecutive) {
  clear: both; }

ul.messages li.highlight div.msg {
  border-right: 3px solid #ff4300; }

share/static/alice-dark.css  view on Meta::CPAN

ul.messages li.consecutive div.left {
  opacity: 0;
  height: 0px;
  position: absolute;
  left: -1000px; }

div.left {
  float: left;
  width: 95px;
  overflow: hidden;
  font-weight: bold;
  text-align: right;
  padding: 4px 0;
  padding-right: 4px;
  padding-bottom: 0;
  text-overflow: ellipsis;
  position: relative;
  text-wrap: none;
  white-space: nowrap;
  -khtml-nbsp-mode: space; }

share/static/alice-dark.css  view on Meta::CPAN

  z-index: 801;
  right: 4px;
  top: 3px;
  padding: 0 2px;
  min-width: 28px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0; }

div.timehint {
  font-size: 10px;
  float: right;
  padding: 6px 5px 0 5px;
  color: #666666;
  opacity: 0; }

li.consecutive div.timehint {
  padding: 3px 5px 0 5px; }

div.msg {
  margin-left: 100px;
  min-height: 1.2em;
  padding: 3px 5px;
  word-wrap: break-word;
  -khtml-line-break: after-white-space;
  -khtml-nbsp-mode: space;
  border-top: 1px solid #111111;
  border-left: 1px solid black; }

div.msg div.oembed {
  font-size: 12px;
  padding: 5px;
  word-break: default;
  white-space: normal;
  display: none; }

sup.external {
  line-height: 0px;
  vertical-align: 2px;
  padding-left: 1px; }

sup.external a {
  text-decoration: none;
  color: #444;
  text-shadow: 1px 1px 1px white;
  margin-left: 1px;
  font-size: 0.7em;
  background-color: #CCC;
  border-radius: 3px;
  padding: 1px 2px 1px 3px;
  font-weight: normal;
  letter-spacing: 0;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa; }

sup.external a:hover {
  background-color: #D1D3D3; }

sup.external a:after {
  content: " â–¸"; }

div.oembed iframe {
  min-height: 250px;
  font-size: 0.8em;
  border: none;
  margin: 0;
  padding: 0; }

li.message div.msg > span {
  white-space: pre-wrap; }

li.fold + li div.msg {
  border-top: 1px solid #333333 !important; }

share/static/alice-dark.css  view on Meta::CPAN

  position: absolute;
  white-space: nowrap;
  top: 0px;
  left: 0px;
  right: 0px;
  text-align: center;
  opacity: 0;
  color: #fff;
  padding: 4px 0px;
  cursor: pointer;
  font-size: 11px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); }

div.image a:hover a.hideimg {
  opacity: 1;
  background: rgba(0, 0, 0, 0.25); }

div.image a a.hideimg:hover {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1; }

div.msg div.oembed img,
div.msg div.image img {
  border: none;
  max-height: 300px;
  max-width: 100%; }

ul.messages li.monospaced + li.monospaced.consecutive {
  padding-top: 0px; }

ul.messages li.monospaced div.msg {
  font-family: Monaco, monospace;
  font-size: 10px;
  line-height: 12px;
  word-wrap: normal; }

li.monospaced 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; }

ul.messages li.event.notice a {
  color: #fffc00;
  text-decoration: none; }

ul.messages li.event.happynotice {
  background: #3fc842;
  color: #fff; }

ul.messages li.event div.msg {
  background: none;
  border-left: none; }

ul.messages li.event div.left {
  font-weight: normal; }

ul.messages li.announce div.msg {
  color: #777;
  white-space: pre-wrap; }

div.msg img.audio {
  cursor: pointer;
  display: inline;
  padding: 0 4px;
  width: 16px;

share/static/alice-dark.css  view on Meta::CPAN

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.9); }

div#help div#helpclose {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  letter-spacing: 1px;
  text-shadow: none;
  text-transform: uppercase; }

div#help div#helpclose:hover {
  cursor: pointer;
  color: #fff; }

div#help div#topics {
  position: absolute;
  top: 34px;
  bottom: 15px;
  left: 20px;
  right: 20px;
  overflow-y: auto;
  overflow-x: hidden; }

div#help h1 {
  margin: 0;
  font-size: 20px;
  border-bottom: 1px solid #999;
  font-weight: normal; }

div#help dl {
  width: 47%;
  font-size: 12px;
  margin-top: 0;
  padding-top: 10px;
  float: left;
  display: block;
  border-right: 1px solid #666;
  padding-right: 2%; }

div#help dl#shortcuts {
  border-right: none;
  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: 52px;
  bottom: 51px;
  width: 80px;
  border-bottom: none;
  margin: 0;

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;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: white;
  text-align: center;
  padding: 2px 5px; }

div.color_picker div.toggle span#fg.active,
div.color_picker div.toggle span#bg.active {

share/static/alice-dark.css  view on Meta::CPAN


div.config_body table td {
  vertical-align: top;
  padding: 10px 0px 0px 10px; }

div.config_body table table td {
  padding: 0 0 5px 0; }

div.config label, div.config input {
  display: block;
  font-size: 0.8em; }

div.config span {
  font-size: 0.8em; }

div.config select {
  width: 135px;
  font-size: 0.8em;
  outline: 0 none; }

div.config select[multiple] {
  height: 70px;
  background: black;
  color: white; }

div.config div.sidebar div.controls {
  position: absolute;
  bottom: 0px;

share/static/alice-dark.css  view on Meta::CPAN

  left: 151px;
  top: 0px;
  bottom: 29px;
  right: 0px; }

div.config_body table {
  width: 100%; }

div.config .controls {
  clear: both;
  font-size: 0.7em !important; }

div.config .controls a {
  text-decoration: none;
  margin: 0 5px 0 0; }

div.config .controls a:hover {
  text-decoration: underline; }

div.config label {
  color: #cccccc;
  font-size: 0.8em; }

div.config input[type="text"] {
  background: black;
  color: white; }

div.config input[type="checkbox"] {
  float: left;
  margin-right: 4px; }

div.config div.sidebar {

share/static/alice-dark.css  view on Meta::CPAN

  right: 0px;
  left: 0px; }

div.config div#tabset_data {
  position: absolute;
  top: 5px;
  bottom: 29px;
  left: 155px;
  right: 0px;
  overflow: auto;
  font-size: 0.8em; }

div.config div#tabset_data ul {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none; }

div.config div#tabset_data ul.active {
  display: block; }

div.config div#tabset_data ul li {
  margin-bottom: 0.25em; }

div.config div.sidebar h2 {
  text-transform: uppercase;
  color: #cccccc;
  letter-spacing: 1px;
  font-size: 0.7em;
  cursor: default;
  font-weight: normal;
  padding: 5px 8px;
  margin: 0; }

div.config div.sidebar li {
  padding: 5px 8px;
  cursor: pointer;
  font-size: 0.8em; }

div.config div.sidebar li:hover {
  background: #3a3a3a; }

div.config div.sidebar li.active,
div.config div.sidebar li.disconnected.active,
div.config div.sidebar li.connected.active {
  background: #333333; }

div.config div.sidebar li.disconnected {
  color: #cccccc; }

div.config div.sidebar li.connected {
  color: white; }

/* auto-generated css classes for irc->html */
.bold {
  font-weight: bold; }

.ul {
  text-decoration: underline; }

.italic {
  font-style: italic; }

.fg-fff {
  color: #fff; }

.bg-fff {
  background-color: #fff; }

.fg-000 {
  color: #000; }

share/static/alice-dark.css  view on Meta::CPAN

.dropdown.bottom ul {
  bottom: 100%;
  top: auto; }

.dropdown ul {
  position: absolute;
  left: 0px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  background: #444444;
  border: 1px solid #222222;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  display: none;
  white-space: nowrap; }

.dropdown.top ul {
  -webkit-border-bottom-right-radius: 2px;

share/static/alice-default.css  view on Meta::CPAN

  right: 36px;
  bottom: 0px;
  border-left: 1px solid #999999; }

div#tab_menu_right ul {
  right: -1px;
  left: auto; }

.dropdown li.selectedset,
.dropdown li.unread {
  font-weight: bold; }

.tab_menu.active {
  background: url(image/sprites.png) 4px -275px no-repeat; }

#tab_menu_left.tab_menu.active {
  background: url(image/sprites.png) -29px -275px no-repeat; }

.tab_menu:hover,
.tab_menu.open {
  background: url(image/sprites.png) 4px -175px no-repeat; }

share/static/alice-default.css  view on Meta::CPAN

  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 904;
  background-color: #dddddd;
  border-top: 1px solid #999999; }

body {
  font-family: "Lucida Grande", Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  background: white; }

a:link, a:visited, a:active {
  color: #0033cc; }

a:hover {
  color: #00249d; }

div#windows {

share/static/alice-default.css  view on Meta::CPAN

  border: 1px solid #999999;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-transition-property: opacity, width;
  -webkit-transition-duration: 0.3s, 0.2s;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-property: opacity, width;
  -moz-transition-duration: 0.3s, 0.2s;
  -moz-transition-timing-function: ease-in-out;
  border-radius: 2px;
  color: #222222;
  font-size: 14px;
  z-index: 902;
  cursor: pointer;
  opacity: 0; }

div#nicklist_toggle:hover {
  background-color: #cccccc; }

div#windows.nicklist div#nicklist_toggle {
  background-image: url(image/slider-right.png); }

share/static/alice-default.css  view on Meta::CPAN

  left: auto;
  visibility: visible; }

ul#nicklist li {
  display: block;
  padding: 3px 5px 0px 5px; }

ul#nicklist li a {
  cursor: pointer;
  color: black;
  font-size: 0.8em; }

div#input {
  background: #efefef;
  border-bottom: 1px solid #999999;
  border-top: 1px solid #aaaaaa;
  position: absolute;
  bottom: 24px;
  left: 0px;
  right: 0px;
  z-index: 900; }

share/static/alice-default.css  view on Meta::CPAN

div#input textarea {
  color: black;
  line-height: 1.2em;
  min-height: 1.2em;
  max-height: 150px;
  display: block;
  padding: 3px 0;
  border: none;
  margin: 0;
  outline: 0 none;
  font-size: 12px;
  overflow: hidden;
  resize: none;
  font-family: "Lucida Grande", Helvetica, sans-serif;
  background: white; }

div#input textarea {
  width: 100%; }

div#input div.editor {
  margin-right: 75px;
  -khtml-nbsp-mode: space; }

div#input div.editor_toolbar {

share/static/alice-default.css  view on Meta::CPAN

  width: 70px;
  bottom: -3px;
  z-index: 902;
  background: #efefef; }

div#input div.editor_toolbar button {
  display: block;
  float: left;
  color: #222222;
  line-height: 12px;
  font-size: 12px;
  margin: 0;
  padding: 4px 4px;
  text-align: center;
  background: none;
  cursor: pointer;
  border: none;
  color: #999999; }

div#input div.editor_toolbar button.colors:hover {
  background: none; }

share/static/alice-default.css  view on Meta::CPAN

  width: 14px;
  height: 14px;
  border: 2px solid black;
  margin: 4px;
  padding: 0; }

div#input div.editor_toolbar button.selected {
  color: black; }

.bold {
  font-weight: bold; }

.italic {
  font-style: italic; }

.underline {
  text-decoration: underline; }

div.editor div,
div.editor p,
div.editor h1,
div.editor h2,
div.editor h3,
div.editor h4,
div.editor h5,
div.editor span {
  font-size: 1em !important;
  margin: 0 !important;
  padding: 0 !important; }

div.editor img {
  display: none !important; }

div#input input.send {
  display: none; }

ul#tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1px;
  font-size: 11px;
  position: absolute;
  left: 0px;
  height: 25px;
  overflow: hidden;
  width: 5000px;
  -webkit-transition: left 0.25s ease-in-out;
  -moz-transition: left 0.25s ease-in-out; }

div#tab_bar {
  bottom: 0px;

share/static/alice-default.css  view on Meta::CPAN

  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  background: #efefef;
  text-align: center;
  border-top: 1px solid white;
  border-bottom: 1px solid #aaaaaa;
  padding: 1px 0;
  padding-left: 50px;
  font-size: 11px;
  height: 15px;
  min-height: 15px;
  overflow: hidden;
  z-index: 901;
  text-decoration: none;
  color: #222222;
  -webkit-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.2); }

ul.messages {
  list-style: none;
  margin: 0;
  padding: 3px 0;
  margin: 0; }

ul.messages > li {
  font-size: 13px;
  display: block;
  position: relative;
  background-color: #eaeaea; }

ul.messages > li:not(.consecutive) {
  clear: both; }

ul.messages li.highlight div.msg {
  border-right: 3px solid #ff4300; }

share/static/alice-default.css  view on Meta::CPAN

ul.messages li.consecutive div.left {
  opacity: 0;
  height: 0px;
  position: absolute;
  left: -1000px; }

div.left {
  float: left;
  width: 95px;
  overflow: hidden;
  font-weight: bold;
  text-align: right;
  padding: 4px 0;
  padding-right: 4px;
  padding-bottom: 0;
  text-overflow: ellipsis;
  position: relative;
  text-wrap: none;
  white-space: nowrap;
  -khtml-nbsp-mode: space; }

share/static/alice-default.css  view on Meta::CPAN

  z-index: 801;
  right: 4px;
  top: 3px;
  padding: 0 2px;
  min-width: 28px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0; }

div.timehint {
  font-size: 10px;
  float: right;
  padding: 6px 5px 0 5px;
  color: #cccccc;
  opacity: 0; }

li.consecutive div.timehint {
  padding: 3px 5px 0 5px; }

div.msg {
  margin-left: 100px;
  min-height: 1.2em;
  padding: 3px 5px;
  word-wrap: break-word;
  -khtml-line-break: after-white-space;
  -khtml-nbsp-mode: space;
  border-top: 1px solid #eeeeee;
  border-left: 1px solid #c1c1c1; }

div.msg div.oembed {
  font-size: 12px;
  padding: 5px;
  word-break: default;
  white-space: normal;
  display: none; }

sup.external {
  line-height: 0px;
  vertical-align: 2px;
  padding-left: 1px; }

sup.external a {
  text-decoration: none;
  color: #444;
  text-shadow: 1px 1px 1px white;
  margin-left: 1px;
  font-size: 0.7em;
  background-color: #CCC;
  border-radius: 3px;
  padding: 1px 2px 1px 3px;
  font-weight: normal;
  letter-spacing: 0;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa; }

sup.external a:hover {
  background-color: #D1D3D3; }

sup.external a:after {
  content: " â–¸"; }

div.oembed iframe {
  min-height: 250px;
  font-size: 0.8em;
  border: none;
  margin: 0;
  padding: 0; }

li.message div.msg > span {
  white-space: pre-wrap; }

li.fold + li div.msg {
  border-top: 1px solid #cccccc !important; }

share/static/alice-default.css  view on Meta::CPAN

  position: absolute;
  white-space: nowrap;
  top: 0px;
  left: 0px;
  right: 0px;
  text-align: center;
  opacity: 0;
  color: #fff;
  padding: 4px 0px;
  cursor: pointer;
  font-size: 11px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); }

div.image a:hover a.hideimg {
  opacity: 1;
  background: rgba(0, 0, 0, 0.25); }

div.image a a.hideimg:hover {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1; }

div.msg div.oembed img,
div.msg div.image img {
  border: none;
  max-height: 300px;
  max-width: 100%; }

ul.messages li.monospaced + li.monospaced.consecutive {
  padding-top: 0px; }

ul.messages li.monospaced div.msg {
  font-family: Monaco, monospace;
  font-size: 10px;
  line-height: 12px;
  word-wrap: normal; }

li.monospaced 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; }

ul.messages li.event.notice a {
  color: #fffc00;
  text-decoration: none; }

ul.messages li.event.happynotice {
  background: #3fc842;
  color: #fff; }

ul.messages li.event div.msg {
  background: none;
  border-left: none; }

ul.messages li.event div.left {
  font-weight: normal; }

ul.messages li.announce div.msg {
  color: #777;
  white-space: pre-wrap; }

div.msg img.audio {
  cursor: pointer;
  display: inline;
  padding: 0 4px;
  width: 16px;

share/static/alice-default.css  view on Meta::CPAN

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.9); }

div#help div#helpclose {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  letter-spacing: 1px;
  text-shadow: none;
  text-transform: uppercase; }

div#help div#helpclose:hover {
  cursor: pointer;
  color: #fff; }

div#help div#topics {
  position: absolute;
  top: 34px;
  bottom: 15px;
  left: 20px;
  right: 20px;
  overflow-y: auto;
  overflow-x: hidden; }

div#help h1 {
  margin: 0;
  font-size: 20px;
  border-bottom: 1px solid #999;
  font-weight: normal; }

div#help dl {
  width: 47%;
  font-size: 12px;
  margin-top: 0;
  padding-top: 10px;
  float: left;
  display: block;
  border-right: 1px solid #666;
  padding-right: 2%; }

div#help dl#shortcuts {
  border-right: none;
  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: 52px;
  bottom: 51px;
  width: 80px;
  border-bottom: none;
  margin: 0;

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;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: black;
  text-align: center;
  padding: 2px 5px; }

div.color_picker div.toggle span#fg.active,
div.color_picker div.toggle span#bg.active {

share/static/alice-default.css  view on Meta::CPAN


div.config_body table td {
  vertical-align: top;
  padding: 10px 0px 0px 10px; }

div.config_body table table td {
  padding: 0 0 5px 0; }

div.config label, div.config input {
  display: block;
  font-size: 0.8em; }

div.config span {
  font-size: 0.8em; }

div.config select {
  width: 135px;
  font-size: 0.8em;
  outline: 0 none; }

div.config select[multiple] {
  height: 70px;
  background: white;
  color: black; }

div.config div.sidebar div.controls {
  position: absolute;
  bottom: 0px;

share/static/alice-default.css  view on Meta::CPAN

  left: 151px;
  top: 0px;
  bottom: 29px;
  right: 0px; }

div.config_body table {
  width: 100%; }

div.config .controls {
  clear: both;
  font-size: 0.7em !important; }

div.config .controls a {
  text-decoration: none;
  margin: 0 5px 0 0; }

div.config .controls a:hover {
  text-decoration: underline; }

div.config label {
  color: #777777;
  font-size: 0.8em; }

div.config input[type="text"] {
  background: white;
  color: black; }

div.config input[type="checkbox"] {
  float: left;
  margin-right: 4px; }

div.config div.sidebar {

share/static/alice-default.css  view on Meta::CPAN

  right: 0px;
  left: 0px; }

div.config div#tabset_data {
  position: absolute;
  top: 5px;
  bottom: 29px;
  left: 155px;
  right: 0px;
  overflow: auto;
  font-size: 0.8em; }

div.config div#tabset_data ul {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none; }

div.config div#tabset_data ul.active {
  display: block; }

div.config div#tabset_data ul li {
  margin-bottom: 0.25em; }

div.config div.sidebar h2 {
  text-transform: uppercase;
  color: #777777;
  letter-spacing: 1px;
  font-size: 0.7em;
  cursor: default;
  font-weight: normal;
  padding: 5px 8px;
  margin: 0; }

div.config div.sidebar li {
  padding: 5px 8px;
  cursor: pointer;
  font-size: 0.8em; }

div.config div.sidebar li:hover {
  background: #cccccc; }

div.config div.sidebar li.active,
div.config div.sidebar li.disconnected.active,
div.config div.sidebar li.connected.active {
  background: #eeeeee; }

div.config div.sidebar li.disconnected {
  color: #777777; }

div.config div.sidebar li.connected {
  color: #222222; }

/* auto-generated css classes for irc->html */
.bold {
  font-weight: bold; }

.ul {
  text-decoration: underline; }

.italic {
  font-style: italic; }

.fg-fff {
  color: #fff; }

.bg-fff {
  background-color: #fff; }

.fg-000 {
  color: #000; }

share/static/alice-default.css  view on Meta::CPAN

.dropdown.bottom ul {
  bottom: 100%;
  top: auto; }

.dropdown ul {
  position: absolute;
  left: 0px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  background: #dddddd;
  border: 1px solid #999999;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  display: none;
  white-space: nowrap; }

.dropdown.top ul {
  -webkit-border-bottom-right-radius: 2px;

share/static/alice-solarized.css  view on Meta::CPAN

@charset "UTF-8";
div.msg a {
  color: #cb4b16; }

div.msg a:hover {
  color: #B6461E; }

div.left span.nick, div#input button, #tabs li, #topic {
  -webkit-font-smoothing: antialiased; }

::selection {
  background: #FF5E99;
  color: #fff;
  text-shadow: none; }

input[type="hidden"] {
  display: none; }

body {

share/static/alice-solarized.css  view on Meta::CPAN

  right: 36px;
  bottom: 0px;
  border-left: 1px solid #44555a; }

div#tab_menu_right ul {
  right: -1px;
  left: auto; }

.dropdown li.selectedset,
.dropdown li.unread {
  font-weight: bold; }

.tab_menu.active {
  background: url(image/sprites.png) 4px -275px no-repeat; }

#tab_menu_left.tab_menu.active {
  background: url(image/sprites.png) -29px -275px no-repeat; }

.tab_menu:hover,
.tab_menu.open {
  background: url(image/sprites.png) 4px -175px no-repeat; }

share/static/alice-solarized.css  view on Meta::CPAN

  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 904;
  background-color: #586e75;
  border-top: 1px solid transparent; }

body {
  font-family: "Lucida Grande", Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  background: #fdf6e3; }

a:link, a:visited, a:active {
  color: #fdf6e3; }

a:hover {
  color: #e8e2d0; }

div#windows {

share/static/alice-solarized.css  view on Meta::CPAN

  border: 1px solid transparent;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-transition-property: opacity, width;
  -webkit-transition-duration: 0.3s, 0.2s;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-property: opacity, width;
  -moz-transition-duration: 0.3s, 0.2s;
  -moz-transition-timing-function: ease-in-out;
  border-radius: 2px;
  color: white;
  font-size: 14px;
  z-index: 902;
  cursor: pointer;
  opacity: 0; }

div#nicklist_toggle:hover {
  background-color: #4b5e64; }

div#windows.nicklist div#nicklist_toggle {
  background-image: url(image/slider-right.png); }

share/static/alice-solarized.css  view on Meta::CPAN

  left: auto;
  visibility: visible; }

ul#nicklist li {
  display: block;
  padding: 3px 5px 0px 5px; }

ul#nicklist li a {
  cursor: pointer;
  color: #073642;
  font-size: 0.8em; }

div#input {
  background: #657b83;
  border-bottom: 1px solid #44555a;
  border-top: 1px solid #44555a;
  position: absolute;
  bottom: 24px;
  left: 0px;
  right: 0px;
  z-index: 900; }

share/static/alice-solarized.css  view on Meta::CPAN

div#input textarea {
  color: #073642;
  line-height: 1.2em;
  min-height: 1.2em;
  max-height: 150px;
  display: block;
  padding: 3px 0;
  border: none;
  margin: 0;
  outline: 0 none;
  font-size: 12px;
  overflow: hidden;
  resize: none;
  font-family: "Lucida Grande", Helvetica, sans-serif;
  background: #fdf6e3; }

div#input textarea {
  width: 100%; }

div#input div.editor {
  margin-right: 75px;
  -khtml-nbsp-mode: space; }

div#input div.editor_toolbar {

share/static/alice-solarized.css  view on Meta::CPAN

  width: 70px;
  bottom: -3px;
  z-index: 902;
  background: #eee8d5; }

div#input div.editor_toolbar button {
  display: block;
  float: left;
  color: white;
  line-height: 12px;
  font-size: 12px;
  margin: 0;
  padding: 4px 4px;
  text-align: center;
  background: none;
  cursor: pointer;
  border: none;
  color: #93a1a1; }

div#input div.editor_toolbar button.colors:hover {
  background: none; }

share/static/alice-solarized.css  view on Meta::CPAN

  width: 14px;
  height: 14px;
  border: 2px solid #073642;
  margin: 4px;
  padding: 0; }

div#input div.editor_toolbar button.selected {
  color: #586e75; }

.bold {
  font-weight: bold; }

.italic {
  font-style: italic; }

.underline {
  text-decoration: underline; }

div.editor div,
div.editor p,
div.editor h1,
div.editor h2,
div.editor h3,
div.editor h4,
div.editor h5,
div.editor span {
  font-size: 1em !important;
  margin: 0 !important;
  padding: 0 !important; }

div.editor img {
  display: none !important; }

div#input input.send {
  display: none; }

ul#tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1px;
  font-size: 11px;
  position: absolute;
  left: 0px;
  height: 25px;
  overflow: hidden;
  width: 5000px;
  -webkit-transition: left 0.25s ease-in-out;
  -moz-transition: left 0.25s ease-in-out; }

div#tab_bar {
  bottom: 0px;

share/static/alice-solarized.css  view on Meta::CPAN

  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  background: #839496;
  text-align: center;
  border-top: 1px solid #93a1a1;
  border-bottom: 1px solid #073642;
  padding: 1px 0;
  padding-left: 50px;
  font-size: 11px;
  height: 15px;
  min-height: 15px;
  overflow: hidden;
  z-index: 901;
  text-decoration: none;
  color: #fdf6e3;
  -webkit-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.2); }

ul.messages {
  list-style: none;
  margin: 0;
  padding: 3px 0;
  margin: 0; }

ul.messages > li {
  font-size: 13px;
  display: block;
  position: relative;
  background-color: #eee8d5; }

ul.messages > li:not(.consecutive) {
  clear: both; }

ul.messages li.highlight div.msg {
  border-right: 3px solid #cb4b16; }

share/static/alice-solarized.css  view on Meta::CPAN

ul.messages li.consecutive div.left {
  opacity: 0;
  height: 0px;
  position: absolute;
  left: -1000px; }

div.left {
  float: left;
  width: 95px;
  overflow: hidden;
  font-weight: bold;
  text-align: right;
  padding: 4px 0;
  padding-right: 4px;
  padding-bottom: 0;
  text-overflow: ellipsis;
  position: relative;
  text-wrap: none;
  white-space: nowrap;
  -khtml-nbsp-mode: space; }

share/static/alice-solarized.css  view on Meta::CPAN

  z-index: 801;
  right: 4px;
  top: 3px;
  padding: 0 2px;
  min-width: 28px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0; }

div.timehint {
  font-size: 10px;
  float: right;
  padding: 6px 5px 0 5px;
  color: #93a1a1;
  opacity: 0; }

li.consecutive div.timehint {
  padding: 3px 5px 0 5px; }

div.msg {
  margin-left: 100px;
  min-height: 1.2em;
  padding: 3px 5px;
  word-wrap: break-word;
  -khtml-line-break: after-white-space;
  -khtml-nbsp-mode: space;
  border-top: 1px solid #eee8d5;
  border-left: 1px solid #ddd7c5; }

div.msg div.oembed {
  font-size: 12px;
  padding: 5px;
  word-break: default;
  white-space: normal;
  display: none; }

sup.external {
  line-height: 0px;
  vertical-align: 2px;
  padding-left: 1px; }

sup.external a {
  text-decoration: none;
  color: #444;
  text-shadow: 1px 1px 1px white;
  margin-left: 1px;
  font-size: 0.7em;
  background-color: #CCC;
  border-radius: 3px;
  padding: 1px 2px 1px 3px;
  font-weight: normal;
  letter-spacing: 0;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa; }

sup.external a:hover {
  background-color: #D1D3D3; }

sup.external a:after {
  content: " â–¸"; }

div.oembed iframe {
  min-height: 250px;
  font-size: 0.8em;
  border: none;
  margin: 0;
  padding: 0; }

li.message div.msg > span {
  white-space: pre-wrap; }

li.fold + li div.msg {
  border-top: 1px solid #93a1a1 !important; }

share/static/alice-solarized.css  view on Meta::CPAN

  position: absolute;
  white-space: nowrap;
  top: 0px;
  left: 0px;
  right: 0px;
  text-align: center;
  opacity: 0;
  color: #fff;
  padding: 4px 0px;
  cursor: pointer;
  font-size: 11px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); }

div.image a:hover a.hideimg {
  opacity: 1;
  background: rgba(0, 0, 0, 0.25); }

div.image a a.hideimg:hover {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1; }

div.msg div.oembed img,
div.msg div.image img {
  border: none;
  max-height: 300px;
  max-width: 100%; }

ul.messages li.monospaced + li.monospaced.consecutive {
  padding-top: 0px; }

ul.messages li.monospaced div.msg {
  font-family: Monaco, monospace;
  font-size: 10px;
  line-height: 12px;
  word-wrap: normal; }

li.monospaced div.msg span[style*="bold"] {
  letter-spacing: -1px; }

ul.messages li.event {
  font-size: 11px;
  background: #bbd6ea;
  border-bottom: 1px solid #fdf6e3; }

ul.messages li.event.notice {
  background: #eb2222;
  color: #fff; }

ul.messages li.event.notice a {
  color: #fffc00;
  text-decoration: none; }

ul.messages li.event.happynotice {
  background: #3fc842;
  color: #fff; }

ul.messages li.event div.msg {
  background: none;
  border-left: none; }

ul.messages li.event div.left {
  font-weight: normal; }

ul.messages li.announce div.msg {
  color: #777;
  white-space: pre-wrap; }

div.msg img.audio {
  cursor: pointer;
  display: inline;
  padding: 0 4px;
  width: 16px;

share/static/alice-solarized.css  view on Meta::CPAN

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.9); }

div#help div#helpclose {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  letter-spacing: 1px;
  text-shadow: none;
  text-transform: uppercase; }

div#help div#helpclose:hover {
  cursor: pointer;
  color: #fff; }

div#help div#topics {
  position: absolute;
  top: 34px;
  bottom: 15px;
  left: 20px;
  right: 20px;
  overflow-y: auto;
  overflow-x: hidden; }

div#help h1 {
  margin: 0;
  font-size: 20px;
  border-bottom: 1px solid #999;
  font-weight: normal; }

div#help dl {
  width: 47%;
  font-size: 12px;
  margin-top: 0;
  padding-top: 10px;
  float: left;
  display: block;
  border-right: 1px solid #666;
  padding-right: 2%; }

div#help dl#shortcuts {
  border-right: none;
  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: 52px;
  bottom: 51px;
  width: 80px;
  border-bottom: none;
  margin: 0;

share/static/alice-solarized.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;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: black;
  text-align: center;
  padding: 2px 5px; }

div.color_picker div.toggle span#fg.active,
div.color_picker div.toggle span#bg.active {

share/static/alice-solarized.css  view on Meta::CPAN


div.config_body table td {
  vertical-align: top;
  padding: 10px 0px 0px 10px; }

div.config_body table table td {
  padding: 0 0 5px 0; }

div.config label, div.config input {
  display: block;
  font-size: 0.8em; }

div.config span {
  font-size: 0.8em; }

div.config select {
  width: 135px;
  font-size: 0.8em;
  outline: 0 none; }

div.config select[multiple] {
  height: 70px;
  background: #fdf6e3;
  color: #073642; }

div.config div.sidebar div.controls {
  position: absolute;
  bottom: 0px;

share/static/alice-solarized.css  view on Meta::CPAN

  left: 151px;
  top: 0px;
  bottom: 29px;
  right: 0px; }

div.config_body table {
  width: 100%; }

div.config .controls {
  clear: both;
  font-size: 0.7em !important; }

div.config .controls a {
  text-decoration: none;
  margin: 0 5px 0 0; }

div.config .controls a:hover {
  text-decoration: underline; }

div.config label {
  color: #eee8d5;
  font-size: 0.8em; }

div.config input[type="text"] {
  background: #fdf6e3;
  color: #073642; }

div.config input[type="checkbox"] {
  float: left;
  margin-right: 4px; }

div.config div.sidebar {

share/static/alice-solarized.css  view on Meta::CPAN

  right: 0px;
  left: 0px; }

div.config div#tabset_data {
  position: absolute;
  top: 5px;
  bottom: 29px;
  left: 155px;
  right: 0px;
  overflow: auto;
  font-size: 0.8em; }

div.config div#tabset_data ul {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none; }

div.config div#tabset_data ul.active {
  display: block; }

div.config div#tabset_data ul li {
  margin-bottom: 0.25em; }

div.config div.sidebar h2 {
  text-transform: uppercase;
  color: #eee8d5;
  letter-spacing: 1px;
  font-size: 0.7em;
  cursor: default;
  font-weight: normal;
  padding: 5px 8px;
  margin: 0; }

div.config div.sidebar li {
  padding: 5px 8px;
  cursor: pointer;
  font-size: 0.8em; }

div.config div.sidebar li:hover {
  background: #4b5e64; }

div.config div.sidebar li.active,
div.config div.sidebar li.disconnected.active,
div.config div.sidebar li.connected.active {
  background: #4b5e64; }

div.config div.sidebar li.disconnected {
  color: #eee8d5; }

div.config div.sidebar li.connected {
  color: white; }

/* auto-generated css classes for irc->html */
.bold {
  font-weight: bold; }

.ul {
  text-decoration: underline; }

.italic {
  font-style: italic; }

.fg-fff {
  color: #fff; }

.bg-fff {
  background-color: #fff; }

.fg-000 {
  color: #000; }

share/static/alice-solarized.css  view on Meta::CPAN

.dropdown.bottom ul {
  bottom: 100%;
  top: auto; }

.dropdown ul {
  position: absolute;
  left: 0px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  background: #586e75;
  border: 1px solid #44555a;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  display: none;
  white-space: nowrap; }

.dropdown.top ul {
  -webkit-border-bottom-right-radius: 2px;

share/static/alice.js  view on Meta::CPAN

Element.collectTextNodesIgnoreClass = function(element, className) {
  return $A($(element).childNodes).collect( function(node) {
    return (node.nodeType==3 ? node.nodeValue :
      ((node.hasChildNodes() && !Element.hasClassName(node,className)) ?
        Element.collectTextNodesIgnoreClass(node, className) : ''));
  }).flatten().join('');
};

Element.setContentZoom = function(element, percent) {
  element = $(element);
  element.setStyle({fontSize: (percent/100) + 'em'});
  if (Prototype.Browser.WebKit) window.scrollBy(0,0);
  return element;
};

Element.getInlineOpacity = function(element){
  return $(element).style.opacity || '';
};

Element.forceRerendering = function(element) {
  try {

share/static/alice.js  view on Meta::CPAN

      scaleFrom: 100.0,
      scaleTo:   percent
    }, arguments[2] || { });
    this.start(options);
  },
  setup: function() {
    this.restoreAfterFinish = this.options.restoreAfterFinish || false;
    this.elementPositioning = this.element.getStyle('position');

    this.originalStyle = { };
    ['top','left','width','height','fontSize'].each( function(k) {
      this.originalStyle[k] = this.element.style[k];
    }.bind(this));

    this.originalTop  = this.element.offsetTop;
    this.originalLeft = this.element.offsetLeft;

    var fontSize = this.element.getStyle('font-size') || '100%';
    ['em','px','%','pt'].each( function(fontSizeType) {
      if (fontSize.indexOf(fontSizeType)>0) {
        this.fontSize     = parseFloat(fontSize);
        this.fontSizeType = fontSizeType;
      }
    }.bind(this));

    this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;

    this.dims = null;
    if (this.options.scaleMode=='box')
      this.dims = [this.element.offsetHeight, this.element.offsetWidth];
    if (/^content/.test(this.options.scaleMode))
      this.dims = [this.element.scrollHeight, this.element.scrollWidth];
    if (!this.dims)
      this.dims = [this.options.scaleMode.originalHeight,
                   this.options.scaleMode.originalWidth];
  },
  update: function(position) {
    var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
    if (this.options.scaleContent && this.fontSize)
      this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType });
    this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
  },
  finish: function(position) {
    if (this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
  },
  setDimensions: function(height, width) {
    var d = { };
    if (this.options.scaleX) d.width = width.round() + 'px';
    if (this.options.scaleY) d.height = height.round() + 'px';
    if (this.options.scaleFromCenter) {

share/static/alice.js  view on Meta::CPAN

      this.options
    );
  }
});

Element.CSS_PROPERTIES = $w(
  'backgroundColor backgroundPosition borderBottomColor borderBottomStyle ' +
  'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth ' +
  'borderRightColor borderRightStyle borderRightWidth borderSpacing ' +
  'borderTopColor borderTopStyle borderTopWidth bottom clip color ' +
  'fontSize fontWeight height left letterSpacing lineHeight ' +
  'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+
  'maxWidth minHeight minWidth opacity outlineColor outlineOffset ' +
  'outlineWidth paddingBottom paddingLeft paddingRight paddingTop ' +
  'right textIndent top width wordSpacing zIndex');

Element.CSS_LENGTH = /^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;

String.__parseStyleElement = document.createElement('div');
String.prototype.parseStyle = function(){
  var style, styleRules = $H();

share/static/alice.js  view on Meta::CPAN

    } else {
      this.indentSelection();
    }
  }

  function indentSelected() {
    var node = window.getSelection().getNode();
    return node.match("blockquote, blockquote *");
  }

  function fontSelection(font) {
    this.execCommand('fontname', false, font);
  }

  function fontSizeSelection(fontSize) {
    this.execCommand('fontsize', false, fontSize);
  }

  function colorSelection(color) {
    this.execCommand('forecolor', false, color);
  }

  function backgroundColorSelection(color) {
    if(Prototype.Browser.Gecko) {
      this.execCommand('hilitecolor', false, color);
    } else {

share/static/alice.js  view on Meta::CPAN

     boldSelected:             boldSelected,
     underlineSelection:       underlineSelection,
     underlineSelected:        underlineSelected,
     italicSelection:          italicSelection,
     italicSelected:           italicSelected,
     strikethroughSelection:   strikethroughSelection,
     indentSelection:          indentSelection,
     outdentSelection:         outdentSelection,
     toggleIndentation:        toggleIndentation,
     indentSelected:           indentSelected,
     fontSelection:            fontSelection,
     fontSizeSelection:        fontSizeSelection,
     colorSelection:           colorSelection,
     backgroundColorSelection: backgroundColorSelection,
     alignSelection:           alignSelection,
     alignSelected:            alignSelected,
     linkSelection:            linkSelection,
     unlinkSelection:          unlinkSelection,
     linkSelected:             linkSelected,
     formatblockSelection:     formatblockSelection,
     toggleOrderedList:        toggleOrderedList,
     insertOrderedList:        insertOrderedList,

share/static/alice.js  view on Meta::CPAN


    commands: $H({}),

    queryCommands: $H({
      link:          linkSelected,
      orderedlist:   orderedListSelected,
      unorderedlist: unorderedListSelected
    }),

    styleSelectors: $H({
      fontname:    'fontFamily',
      fontsize:    'fontSize',
      forecolor:   'color',
      hilitecolor: 'backgroundColor',
      backcolor:   'backgroundColor'
    })
  };
})(window);

if (Prototype.Browser.IE) {
  Object.extend(Selection.prototype, (function() {
    function setBookmark() {

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() {
        container.select("div").each(function(element) {
          element.replace("<p>" + element.innerHTML + "</p>");
        });
      }

      if (Prototype.Browser.WebKit || Prototype.Browser.Gecko) {

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;
      }

      function accumulate(node) {
        if (mode != EXPECTING_LIST_ITEM) {

share/static/alice.js  view on Meta::CPAN

      }
    }).bind(this).defer();
  },

  getContentHeight: function() {
    var element = new Element("div").setStyle({
      position:   "absolute",
      visibility: "hidden",
      left:       "-" + this.element.getWidth() + "px",
      width:      this.element.getWidth() - 7 + "px",
      fontFamily: this.element.getStyle("fontFamily"),
      fontSize:   this.element.getStyle("fontSize"),
      lineHeight: this.element.getStyle("lineHeight"),
      whiteSpace: "pre-wrap",
      wordWrap:   "break-word"
    });

    if (this.editor) element.addClassName("editor");

    var value = this.getValue();
    element.update(value.replace(/\n$/, "\n\n").replace("\n", "<br>"));
    $(document.body).insert(element);

share/templates/config.html  view on Meta::CPAN

        <td>
          <label>Server address</label>
          <input type="text" name="<?= $network ?>_host" value="<?= $config->{host} || "" ?>" size="15"/>
        </td>

        <td>
          <label>Port</label>
          <input type="text" name="<?= $network ?>_port" value="<?= $config->{port} || "" ?>" size="6" style="float:left"/>

            <input type="checkbox" name="<?= $network ?>_ssl"<? if ($config->{ssl}) { ?> checked="checked"<? } ?> />
            <span style="font-size:0.7em">SSL</span>
        </td>
      </tr>

      <tr>
        <td>
          <label>Nick</label>
          <input type="text" name="<?= $network ?>_nick" value="<?= $config->{nick} || ""?>" size="15" />
        </td>

        <td>

share/templates/config.html  view on Meta::CPAN


        <td>
          <label>Password</label>
          <input type="text" name="<?= $network ?>_password" value="<?= $config->{password} || ""?>" size="15" />
        </td>
      </tr>

      <tr>
        <td>
          <label>Channels
            <span style="font-size:0.8em">(e.g. <span style="font-family:monospace;font-size:1em">#alice</span>)</span>
          </label>
          <select name="<?= $network ?>_channels" multiple="multiple" id="channels_<?= $network ?>" class="channelselect">
            <? for my $channel (@{$config->{channels}}) { ?>
            <option value="<?= $channel ?>"><?= $channel ?></option>
            <? } ?>
          </select>
          <div class="controls">
            <a href="#" onclick="return Alice.connections.addChannel('<?= $network ?>')">Add</a>
            <a href="#" onclick="return Alice.connections.removeChannels('<?= $network ?>')">Remove</a>
          </div>

share/templates/config.html  view on Meta::CPAN

          </div>
        </td>
      </tr>
    </table>

? }

  </div>

  <div class="buttons">
    <a style="text-decoration:none;color:#fff;font-size:11px" href="/export" target="_blank">export config</a>
    <button type="submit">Save</button>
    <button onclick="Alice.connections.remove(); return false;">Cancel</button>
  </div>

  </form>

</div>

share/templates/login.html  view on Meta::CPAN

? my ($app, $dest, $error) = @_;
<html>
  <head>
    <title>Use Alice Login</title>
    <link rel="shortcut icon" href="<?= $app->static_url("favicon.ico") ?>">
    <style type="text/css">
      body {
        text-align: center;
        font-family: Helvetica, Arial, sans-serif;
        font-size: 12px;
        background: #eee;
      }
      form {
        display: block;
        width: 150px;
        margin: 0 auto;
        text-align: left;
        background: #fff;
        border: 8px solid #ccc;
        padding: 20px;
      }
      input, label {
        display: block;
        width: 150px;
      }
      input {
        margin-bottom: 15px;
      }
      input[type="submit"] {
        font-size: 16px;
        margin-bottom: 0;
        margin-top: 30px;
      }
      .error {
        color: #d00b0b;
        display: block;
        margin-top: 15px;
      }
    </style>
    <link rel="apple-touch-icon" href="<?= $app->static_url("image/alice.png") ?>" />

share/templates/new_server.html  view on Meta::CPAN

        <td>
          <label>Server address</label>
          <input type="text" name="<?= $alias ?>_host" value="" size="15"/>
        </td>

        <td>
          <label>Port</label>
          <input type="text" name="<?= $alias ?>_port" value="6667" size="6" style="float:left"/>

            <input type="checkbox" name="<?= $alias ?>_ssl" />
            <span style="font-size:0.7em">SSL</span>
        </td>
      </tr>

      <tr>
        <td>
          <label>Nick</label>
          <input type="text" name="<?= $alias ?>_nick" value="" size="15" />
        </td>

        <td>

share/templates/new_server.html  view on Meta::CPAN


        <td>
          <label>Password</label>
          <input type="text" name="<?= $alias ?>_password" value="" size="15" />
        </td>
      </tr>

      <tr>
        <td>
          <label>Channels
            <span style="font-size:0.8em">(e.g. <span style="font-family:monospace;font-size:1em">#alice</span>)</span>
          </label>
          <select name="<?= $alias ?>_channels" multiple="multiple" id="channels_<?= $alias ?>" class="channelselect">
          </select>
          <div class="controls">
            <a href="#" onclick="return Alice.connections.addChannel('<?= $alias ?>')">Add</a>
            <a href="#" onclick="return Alice.connections.removeChannels('<?= $alias ?>')">Remove</a>
          </div>
        </td>

        <td>

share/templates/prefs.html  view on Meta::CPAN

            </td></tr>

            <tr><td>
              <input type="checkbox"<? if ($app->config->avatars eq "show") { ?> checked="checked"<? } ?> name="avatars" id="avatars" />
              <label for="avatars">Show avatars?</label>
            </td></tr>

            <tr><td>
              <input type="checkbox"<? if ($app->config->alerts eq "show") { ?> checked="checked"<? } ?> name="alerts" id="alerts" />
              <label for="alerts">Enable alerts?</label>
              <a style="font-size:10px" href="javascript:void(0)" onclick="window.webkitNotifications.requestPermission()">Grant permission</a>
            </td></tr>

            <tr><td>
              <input type="checkbox"<? if ($app->config->audio eq "show") { ?> checked="checked"<? } ?> name="audio" id="audio" />
              <label for="audio">Enable audio?</label>
            </td></tr>

            <tr><td>
              <label for="style">Style</label>
              <select name="style" id="style">



( run in 0.729 second using v1.01-cache-2.11-cpan-5735350b133 )