New client theme: Basic
[KiwiIRC.git] / client / assets / css / style.css
index 1b16a5cac014b4e1de2064664b8f1376ffbd0681..609720baabfdfd8fe4def482590778a1d0913fb5 100644 (file)
@@ -229,6 +229,14 @@ html, body { height:100%; }
 
 
 
+#kiwi .loader {
+    background:url(../img/loader.gif) no-repeat;
+    width:43px; height:11px;
+    display:inline-block;
+}
+
+
+
 
 
 /**
@@ -287,9 +295,9 @@ html, body { height:100%; }
     background-color: #eee;
 }
 
-#kiwi.theme_relaxed #toolbar .panellist .alert_highlight { background: #990000; }
-#kiwi.theme_relaxed #toolbar .panellist .alert_activity { background: #009900; }
-#kiwi.theme_relaxed #toolbar .panellist .alert_action { }
+#kiwi.theme_relaxed #toolbar .panellist .alert_highlight { /*background: #990000;*/ }
+#kiwi.theme_relaxed #toolbar .panellist .alert_activity { font-weight:normal; }
+#kiwi.theme_relaxed #toolbar .panellist .alert_action { font-weight:normal; }
 
 #kiwi.theme_relaxed #toolbar .panellist .active { padding-right:23px; }
 #kiwi.theme_relaxed #toolbar .panellist li .part {
@@ -300,7 +308,21 @@ html, body { height:100%; }
 #kiwi.theme_relaxed #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
 
 /* Tab texts are within a span */
-#kiwi.theme_relaxed #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:block; }
+#kiwi.theme_relaxed #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }
+
+#kiwi.theme_relaxed #toolbar .panellist li.active .activity { display:none; }
+#kiwi.theme_relaxed #toolbar .panellist li .activity.zero { visibility:hidden; }
+#kiwi.theme_relaxed #toolbar .panellist li .activity {
+    padding: 1px 3px; margin-left:1em;
+    border-radius: 4px;
+    background: #3F9532; color:#000; /*color: #ff5300;*/
+    text-align: center; font-size: 10px;
+    display:inline-block;
+    width:2em;
+}
+#kiwi.theme_relaxed #toolbar .panellist li.alert_highlight .activity {
+    color: #fff; background: #a60400;
+}
 
 #kiwi.theme_relaxed #status_message {
     background: #FEEFB3; color: #9F6000;
@@ -316,14 +338,14 @@ html, body { height:100%; }
 
 #kiwi.theme_relaxed .messages .msg { border-bottom: 1px solid #DEDEDE; padding: 1px; font-family:arial; font-size:0.9em; }
 #kiwi.theme_relaxed .messages .msg .time { width:6em; float:left; color:#777; display:none; }
-#kiwi.theme_relaxed .messages .msg .nick { width:11em; float:left; font-size:12px; font-family:Arial; text-align:left; padding: 5px; overflow:hidden; }
+#kiwi.theme_relaxed .messages .msg .nick { width:11em; float:left; font-size:12px; font-family:Arial; text-align:right; padding: 5px; overflow:hidden; }
 #kiwi.theme_relaxed .messages .msg .text { display:block; margin-left:12em; border-left: 1px solid #DEDEDE; white-space:pre-wrap; word-wrap:break-word; font-family:arial; padding:5px; }
 
 #kiwi.theme_relaxed.narrow .messages .msg .nick { width: auto; }
 #kiwi.theme_relaxed.narrow .messages .msg .text { margin-left: 1em; border:none; }
 
 #kiwi.theme_relaxed .messages .msg.action .nick { }
-#kiwi.theme_relaxed .messages .msg.action .text { margin-left:9em; color:#009900; border-left:none; font-style:italic; }
+#kiwi.theme_relaxed .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
 #kiwi.theme_relaxed .messages .msg.action.join { color:#009900; }
 #kiwi.theme_relaxed .messages .msg.action.part .text { color:#900; }
 #kiwi.theme_relaxed .messages .msg.action.quit .text { color:#900; }
@@ -401,10 +423,26 @@ html, body { height:100%; }
 }
 #kiwi.theme_relaxed #memberlists ul li a.nick { display:block; color:black; }
 
-#kiwi.theme_relaxed #memberlists ul li .userbox { margin:0 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
+#kiwi.theme_relaxed #memberlists ul li .userbox { margin:4px 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
 #kiwi.theme_relaxed #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
 #kiwi.theme_relaxed #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
 
+/* User mode styles */
+#kiwi.theme_relaxed #memberlists ul li .prefix {
+    display:none;
+    width:20px; height:20px;
+    border-radius: 5px;
+    margin: 0 7px 0 0;
+    font-size:12px; text-align: center;
+    color: #E3E3E3;
+    /* text-indent: -1000px; */
+}
+/* Most important modes towards the bottom - they override the top ones! */
+#kiwi.theme_relaxed #memberlists ul li.mode.v .prefix { display:inline-block; background:#b3b3b3; }
+#kiwi.theme_relaxed #memberlists ul li.mode.h .prefix { display:inline-block; background:#b5b447; }
+#kiwi.theme_relaxed #memberlists ul li.mode.o .prefix { display:inline-block; background:#47b547; }
+#kiwi.theme_relaxed #memberlists ul li.mode.a .prefix { display:inline-block; background:#b54747; }
+#kiwi.theme_relaxed #memberlists ul li.mode.q .prefix { display:inline-block; background:#8547b5; }
 
 #kiwi.theme_relaxed #controlbox .input {
     background:#fff; margin:3px;
@@ -471,6 +509,7 @@ html, body { height:100%; }
 
 
 #kiwi.theme_relaxed #toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
+#kiwi.theme_relaxed.narrow #toolbar #tabs { margin-right:0; }
 #kiwi.theme_relaxed.narrow #toolbar .app_tools { width:auto; }
 #kiwi.theme_relaxed #toolbar .app_tools ul li {
     font-size:26px;
@@ -516,10 +555,35 @@ html, body { height:100%; }
 #kiwi.theme_relaxed .server_select .kiwi_logo img { }
 
 
+#kiwi.theme_relaxed.chanlist_treeview #panels { left:160px; }
+#kiwi.theme_relaxed.chanlist_treeview #toolbar { position:static; }
+#kiwi.theme_relaxed.chanlist_treeview #toolbar .app_tools { float:none; }
+#kiwi.theme_relaxed.chanlist_treeview #toolbar > div { margin-left:160px; }
+#kiwi.theme_relaxed.chanlist_treeview #toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
+#kiwi.theme_relaxed.chanlist_treeview #tabs ul li { display:block; float:none; }
+#kiwi.theme_relaxed.chanlist_treeview #tabs ul li .activity { float:right; }
+#kiwi.theme_relaxed.chanlist_treeview #tabs ul li.active {
+    margin-right:0;
+    border-right-width:0;
+    border-bottom-right-radius:0;
+    border-top-right-radius:0;
+}
 
 
+#kiwi.theme_relaxed .applet > div.settings button.save {
+    padding:1em 2em;
+    border:1px solid gray; border-radius:3px;
+}
+#kiwi.theme_relaxed .applet > div.settings tr {
+    border-bottom: 1px dashed black;
+}
 
-
+#kiwi.theme_relaxed .applet > div.settings td.label {
+    font-weight: bold;
+}
+#kiwi.theme_relaxed .applet > div.settings tr.save {
+    text-align: right;
+}
 
 
 /**
@@ -562,9 +626,9 @@ html, body { height:100%; }
 }
 
 #kiwi.theme_mini #toolbar #tabs { margin-right:0 !important; }
-#kiwi.theme_mini #toolbar .panellist .alert_highlight { background: #990000; }
-#kiwi.theme_mini #toolbar .panellist .alert_activity { background: #009900; }
-#kiwi.theme_mini #toolbar .panellist .alert_action { }
+#kiwi.theme_mini #toolbar .panellist .alert_highlight { font-weight:bold; }
+#kiwi.theme_mini #toolbar .panellist .alert_activity { font-weight:normal; }
+#kiwi.theme_mini #toolbar .panellist .alert_action { font-weight:normal; }
 
 #kiwi.theme_mini #toolbar .panellist .active { padding-right:23px; }
 #kiwi.theme_mini #toolbar .panellist li .part {
@@ -575,7 +639,11 @@ html, body { height:100%; }
 #kiwi.theme_mini #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
 
 /* Tab texts are within a span */
-#kiwi.theme_mini #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:block; }
+#kiwi.theme_mini #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }
+
+#kiwi.theme_mini #toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
+#kiwi.theme_mini #toolbar .panellist li .activity:before { content:"("; }
+#kiwi.theme_mini #toolbar .panellist li .activity:after { content:")"; }
 
 #kiwi.theme_mini #status_message {
     background: #FEEFB3; color: #9F6000;
@@ -757,7 +825,7 @@ html, body { height:100%; }
     font-size:14px; line-height:1.4em;
 }
 
-#kiwi.theme_cli #controlbox { background:#111111; border-top:1px solid #444444; color:#909090; font-size:1.3em; line-height:2em; margin:3px; }
+#kiwi.theme_cli #controlbox { background:#111111; border-top:1px solid #444444; color:#909090; font-size:1.3em; line-height:2em; }
 #kiwi.theme_cli #controlbox .input_wrap:before { content:"> " }
 #kiwi.theme_cli #controlbox .input { background:none; border:none;}
 #kiwi.theme_cli #controlbox .input .nick { line-height:1.7em; padding:0; text-align: right; width:11em; left:0px; position:absolute; overflow:hidden; }
@@ -776,6 +844,7 @@ html, body { height:100%; }
     outline:none; resize:none;
     overflow:hidden;
     position:absolute;
+    top: 0px;
     height:99%; width:98%;
     display: inline;
     padding-left:0.5em;
@@ -816,32 +885,13 @@ html, body { height:100%; }
     line-height: 1.4em;
     vertical-align: middle;
     
-    border-radius:5px;
-    -moz-border-radius:5px;
-    -webkit-border-radius:5px;
-    -khtml-border-radius:5px;
-    behavior: url(border-radius.htc);
-
-    background-image: -webkit-gradient(
-        linear,
-        left top,
-        left bottom,
-        color-stop(0.38, rgb(238,238,238)),
-        color-stop(0.68, rgb(209,209,209))
-    );
-    background-image: -moz-linear-gradient(
-        center top,
-        rgb(238,238,238) 38%,
-        rgb(209,209,209) 68%
-    );
-
     border: 1px solid #333;
-    background-color: #eee;
+    background-color: #111;
 }
 
-#kiwi.theme_cli #toolbar .panellist .alert_highlight { background: #990000; }
-#kiwi.theme_cli #toolbar .panellist .alert_activity { background: #009900; }
-#kiwi.theme_cli #toolbar .panellist .alert_action { }
+#kiwi.theme_cli #toolbar .panellist .alert_highlight { font-weight:bold; }
+#kiwi.theme_cli #toolbar .panellist .alert_activity { font-weight:normal; }
+#kiwi.theme_cli #toolbar .panellist .alert_action { font-weight:normal; }
 
 #kiwi.theme_cli #toolbar .panellist .active { padding-right:23px; }
 #kiwi.theme_cli #toolbar .panellist li .part {
@@ -852,7 +902,11 @@ html, body { height:100%; }
 #kiwi.theme_cli #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
 
 /* Tab texts are within a span */
-#kiwi.theme_cli #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:block; }
+#kiwi.theme_cli #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }
+
+#kiwi.theme_cli #toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
+#kiwi.theme_cli #toolbar .panellist li .activity:before { content:"("; }
+#kiwi.theme_cli #toolbar .panellist li .activity:after { content:")"; }
 
 
 #kiwi.theme_cli #memberlists { background:#222222; }
@@ -979,4 +1033,254 @@ html, body { height:100%; }
 #kiwi.theme_cli .divider-horizontal {
     border-top: 1px solid #303030;
     border-bottom: 1px solid #1B1B1B;
+}
+
+
+
+#kiwi.theme_cli.chanlist_treeview #panels { left:200px; }
+#kiwi.theme_cli.chanlist_treeview #toolbar { position:static; }
+#kiwi.theme_cli.chanlist_treeview #toolbar .app_tools { float:none; }
+#kiwi.theme_cli.chanlist_treeview #toolbar > div { margin-left:200px; }
+#kiwi.theme_cli.chanlist_treeview #toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:200px; background:#1B1B1B; overflow-y:auto; }
+#kiwi.theme_cli.chanlist_treeview #tabs ul li { display:block; float:none; }
+#kiwi.theme_cli.chanlist_treeview #tabs ul li .activity { float:right; }
+#kiwi.theme_cli.chanlist_treeview #tabs ul li.active { padding-left:1em; }
+
+
+
+
+
+
+
+
+
+
+/**
+ * Basic theme
+ */
+#kiwi.theme_basic {
+    background: #FFF;
+    color: #555555;
+}
+#kiwi.theme_basic,
+#kiwi.theme_basic input,
+#kiwi.theme_basic button,
+#kiwi.theme_basic textarea {
+    font-family:Arial, Helvetica, sans-serif;
+    font-size:14px; line-height:1.4em;
+}
+#kiwi.theme_basic input, textarea {
+    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5),0 1px 0px rgba(255, 255, 255, 0.3);
+    border: none;
+    border-radius: 3px;
+}
+#kiwi.theme_basic #toolbar {
+    background-color:#1B1B1B; font-size:0.9em;
+}
+#kiwi.theme_basic #controlbox { background-color:#1B1B1B; }
+#kiwi.theme_basic #memberlists_resize_handle {
+    display:none; width:0;
+}
+#kiwi.theme_basic #toolbar .panellist li {
+    line-height: 1.4em;
+    vertical-align: middle;
+    
+    border-radius:5px;
+    -moz-border-radius:5px;
+    -webkit-border-radius:5px;
+    -khtml-border-radius:5px;
+
+    border: 1px solid #333;
+    background-color: #eee;
+}
+
+#kiwi.theme_basic #toolbar #tabs { margin-right:0 !important; }
+#kiwi.theme_basic #toolbar .panellist .alert_highlight { font-weight:bold; color:red; }
+#kiwi.theme_basic #toolbar .panellist .alert_activity { font-weight:normal; color:green; }
+#kiwi.theme_basic #toolbar .panellist .alert_action { font-weight:normal; color:green; }
+
+#kiwi.theme_basic #toolbar .panellist .active { padding-right:23px; }
+#kiwi.theme_basic #toolbar .panellist li .part {}
+#kiwi.theme_basic #toolbar .panellist li .part:after { content:"[x]"; }
+
+#kiwi.theme_basic #toolbar .panellist li.server span { }
+
+/* Tab texts are within a span */
+#kiwi.theme_basic #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }
+
+#kiwi.theme_basic #toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
+#kiwi.theme_basic #toolbar .panellist li .activity:before { content:"("; }
+#kiwi.theme_basic #toolbar .panellist li .activity:after { content:")"; }
+
+#kiwi.theme_basic #status_message {
+    background: #FEEFB3; color: #9F6000;
+    border-bottom: 1px solid;
+    padding: 0.9em;
+    text-align: center; font-size:1.1em;
+}
+#kiwi.theme_basic #status_message.err { color:#D8000C; background:#FFBABA; }
+
+#kiwi.theme_basic .messages {  }
+#kiwi.theme_basic .messages.active { }
+#kiwi.theme_basic .messages a { text-decoration:underline; }
+
+#kiwi.theme_basic .messages .msg > div { font-family: Consolas, "Lucida Console", monospace; font-size:0.9em; }
+#kiwi.theme_basic .messages .msg { border: none; }
+#kiwi.theme_basic .messages .msg .time { display:inline; margin-right:1em; color:gray; }
+#kiwi.theme_basic .messages .msg .nick { display:inline; margin-right:1em; }
+#kiwi.theme_basic .messages .msg .nick:before { content:"<"; }
+#kiwi.theme_basic .messages .msg .nick:after { content:">"; }
+#kiwi.theme_basic .messages .msg .text { white-space:pre-wrap; word-wrap:break-word; }
+
+#kiwi.theme_basic .messages .msg.action .nick,
+#kiwi.theme_basic .messages .msg.static .nick,
+#kiwi.theme_basic .messages .msg.topic .nick { display:none; }
+
+#kiwi.theme_basic .messages .msg.motd { border:none; }
+/*#kiwi.theme_basic .messages .msg.motd .nick { display:none; }*/
+#kiwi.theme_basic .messages .msg.motd .text { color:#666; }
+#kiwi.theme_basic .messages .msg.whois .nick { font-weight:normal; }
+#kiwi.theme_basic .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
+#kiwi.theme_basic .messages .msg.error .text {
+    border:1px solid #A33F3F; background-color:#D28A8A;
+    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
+}
+
+#kiwi.theme_basic .messages .msg.global_nick_highlight,
+#kiwi.theme_basic .messages .msg.highlight { background:#D9D9D9; }
+
+
+
+#kiwi.theme_basic #memberlists {
+    background-color: #DADADA;
+    border-left: 1px solid #8A8A8A;
+}
+#kiwi.theme_basic #memberlists ul { list-style: none; }
+#kiwi.theme_basic #memberlists ul.active { }
+#kiwi.theme_basic #memberlists ul li { padding:0 2px; }
+#kiwi.theme_basic #memberlists ul li:hover {}
+#kiwi.theme_basic #memberlists ul li a.nick { display:block; color:black; }
+
+#kiwi.theme_basic #memberlists ul li .userbox { margin:0 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
+#kiwi.theme_basic #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
+#kiwi.theme_basic #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
+
+
+#kiwi.theme_basic #controlbox .input {
+    background:#fff; margin:3px;
+    height:1.7em;
+}
+#kiwi.theme_basic #controlbox .input .nick { display:none; }
+#kiwi.theme_basic #controlbox .input .nick a { text-decoration:none; color:black; }
+#kiwi.theme_basic #controlbox .input .input_wrap {
+    position:absolute;
+    right:3px; left:3px;
+    height:1.7em;
+}
+#kiwi.theme_basic #controlbox .input .inp {
+    line-height:1.7em;
+    border: medium none;
+    box-shadow: none;
+    border-radius: 0;
+    resize:none;
+    overflow:hidden;
+    position:relative;
+    height:100%; width:100%;
+    display: block;
+}
+
+
+#kiwi.theme_basic #controlbox .nickchange {
+    padding:10px; left: 0px;
+    background: #1B1B1B; color:#eeeeee;
+}
+#kiwi.theme_basic #controlbox .nickchange input { padding:0.3em 0.5em; }
+#kiwi.theme_basic #controlbox .nickchange button { padding:0.5em; }
+
+
+
+#kiwi.theme_basic #topic {  }
+#kiwi.theme_basic #topic div {
+    top:2; bottom:2px; left:0; width:100%;
+    padding: 0.2em 1em;
+    text-align: center;
+    box-shadow: none;
+    border-radius: 0;
+    background-color:#FFF;
+    height: 1.5em;
+    overflow: hidden;
+    outline: none;
+}
+#kiwi.theme_basic #topic:hover div {
+    min-height:1.5em;
+    white-space:pre-wrap; word-wrap:break-word;
+    overflow:visible;
+    background-color:#FFF;
+    z-index: 1;
+    height:auto; bottom:auto;
+    border-bottom: 1px dotted #1B1B1B;
+}
+
+
+#kiwi.theme_basic #toolbar .app_tools { padding-left:10px; color:#D4D4D4; }
+#kiwi.theme_basic #toolbar .app_tools ul li {
+    font-size:26px;
+    -webkit-transition: all .3s ease;
+    -moz-transition: all .3s ease;
+    transition: all .3s ease;
+    margin-left:10px;
+}
+#kiwi.theme_basic #toolbar .app_tools ul li:hover { color:#88C56A; }
+#kiwi.theme_basic #toolbar .app_tools img { }
+
+
+/* The server select dialog */
+#kiwi.theme_basic .server_select { padding:3em 0 2em 0; margin: 0 auto; width:100%; }
+#kiwi.theme_basic .server_select .more { display:none; }
+#kiwi.theme_basic .server_select button { display:block; padding:3px 7px; margin:0 auto; }
+#kiwi.theme_basic .server_select input.nick {
+    float:none; display:block; width:80%;
+    padding:0.5em 1em; margin:0 auto;
+    text-align: center;
+}
+#kiwi.theme_basic .server_select label { display:none; }
+#kiwi.theme_basic .server_select br { clear:both; }
+#kiwi.theme_basic .server_select .basic { border:none; }
+#kiwi.theme_basic .server_select .basic table { width:100%; }
+#kiwi.theme_basic .server_select .basic table tr.channel,
+#kiwi.theme_basic .server_select .basic table tr.pass,
+#kiwi.theme_basic .server_select .basic table tr.have_pass { display:none; }
+#kiwi.theme_basic .server_select .basic .show_more { display:none !important; }
+#kiwi.theme_basic .server_select.single_server .basic { border:none; }
+#kiwi.theme_basic .server_select .status { text-align: center; font-weight: bold; padding:1em; }
+#kiwi.theme_basic .server_select .status.ok { }
+#kiwi.theme_basic .server_select .status.error {
+    border:1px solid #A33F3F; background-color:#D28A8A;
+    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
+}
+
+#kiwi.theme_basic .server_select .divider-verticle {
+    display:none;
+}
+#kiwi.theme_basic .server_select .server_details {
+    position: relative !important;
+    float: none !important;
+    width: auto !important;
+    padding: 0 !important;
+    margin: 2em 0 0 0 !important;
+}
+#kiwi.theme_basic .server_select .about_kiwi { display:none; }
+
+#kiwi.theme_basic.chanlist_treeview #panels { left:160px; }
+#kiwi.theme_basic.chanlist_treeview #toolbar { position:static; }
+#kiwi.theme_basic.chanlist_treeview #toolbar .app_tools { float:none; }
+#kiwi.theme_basic.chanlist_treeview #toolbar > div { margin-left:160px; }
+#kiwi.theme_basic.chanlist_treeview #toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
+#kiwi.theme_basic.chanlist_treeview #tabs ul li { display:block; float:none; }
+#kiwi.theme_basic.chanlist_treeview #tabs ul li .activity { float:right; }
+#kiwi.theme_basic.chanlist_treeview #tabs ul li.active {
+    margin-right:0;
+    border-right-width:0;
+    border-bottom-right-radius:0;
+    border-top-right-radius:0;
 }
\ No newline at end of file