From 2a8236fee8ae386dbc23fb3cc8de2456d53d45f5 Mon Sep 17 00:00:00 2001 From: the_mgt Date: Tue, 5 Jul 2011 01:50:34 +0200 Subject: [PATCH] Added the id #room_ROOMNAME to the body tag, this enables us to use some conditionals throughout the whole webcit like: body#room_ROOMNAME #some_id { whatever-css: youlike; } Made the file chooser input selector bigger so that you can actually read the filename Added class .bio to the bio view and a service.css to style it --- webcit/static/styles/service.css | 26 ++++++++++++++++++++++++++ webcit/static/styles/webcit.css | 1 + webcit/static/t/files.html | 2 +- webcit/static/t/head.html | 2 +- webcit/userlist.c | 2 +- 5 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 webcit/static/styles/service.css diff --git a/webcit/static/styles/service.css b/webcit/static/styles/service.css new file mode 100644 index 000000000..8456e68a7 --- /dev/null +++ b/webcit/static/styles/service.css @@ -0,0 +1,26 @@ +.service { + padding 0.5em; +} + +.bio table { + font-family: mono; + background-color: #deded0; + margin: 0.5em 1em; + border: 1px solid #5C646B; + -webkit-box-shadow: #666 0px 1px 2px; + -moz-box-shadow: #666 0px 2px 3px; + box-shadow: #666 0px 2px 3px; + behavior: url(/static/styles/PIE.htc); +} + +.bio img { + max-width: 200px; + padding: 0.5em; + background-color: #fff; + border: 1px solid #5C646B; + box-shadow: #666 0px 2px 3px; + -webkit-box-shadow: #666 0px 1px 2px; + -moz-box-shadow: #666 0px 2px 3px; +} + +.bio h1 { float: right; } diff --git a/webcit/static/styles/webcit.css b/webcit/static/styles/webcit.css index cbafa5517..e922f9dd8 100644 --- a/webcit/static/styles/webcit.css +++ b/webcit/static/styles/webcit.css @@ -14,6 +14,7 @@ @import url("box.css"); @import url("message.css"); @import url("modal.css"); +@import url("service.css"); @media print { input#toggler, .toolbar { display: none } diff --git a/webcit/static/t/files.html b/webcit/static/t/files.html index 99ea5f5be..268eaeefd 100644 --- a/webcit/static/t/files.html +++ b/webcit/static/t/files.html @@ -7,8 +7,8 @@
  +   "); - wc_printf("
\n"); + wc_printf("
\n"); wc_printf("
\n"); -- 2.30.2