view public/libervia.css @ 34:ed935f763cc8

browser side: misc css/layout fixes - new ScrollPanelWrapper class, to try to handle correctly ScrollPanels in tables - removed   from EmptyPanel, because all td must appear empty, to use the absolute trick in ScrollPanelWrapper - when an empty panel is changed to a normal panel, cells widths are recalculated
author Goffi <goffi@goffi.org>
date Mon, 16 May 2011 03:10:11 +0200
parents 8152f019d334
children d43d6e4b9dc8
line wrap: on
line source

/*
Libervia: a Salut à Toi frontend
Copyright (C) 2011  Jérôme Poisson (goffi@goffi.org)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


/*
 * CSS Reset: see http://pyjs.org/wiki/csshellandhowtodealwithit/
 */

/* reset/default styles */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    color: #444;

}

ol, ul { list-style: none; }
blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;

}

:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }

table {
    border-collapse: collapse;
    border-spacing: 0;

}

/* pyjamas iframe hide */
iframe { position: absolute; }


html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;

}

body {
    line-height: 1em;
    font-size: 1em;
    overflow: auto;

}

.scrollpanel {
   margin-bottom: -10000px;

}

.iescrollpanelfix {
   position: relative;
   top: 100%;
   margin-bottom: -10000px;

}

/* undo part of the above (non-IE) */
html>body .iescrollpanelfix { position: static; }

/* CSS Reset END */

/* Misc Pyjamas stuff */

.gwt-MenuBar,.gwt-MenuBar-horizontal {
  background-color: #01FF78;
  border: 1px solid #87B3FF;
  cursor: default;
}

.gwt-MenuBar-horizontal .gwt-MenuItem {
}
.gwt-MenuItem {
  padding: 1px 20px 1px 10px;
  font-size: smaller;
  cursor: default;
}

.gwt-MenuBar .gwt-MenuItem-selected {
  background-color: #E8EEF7;
}

.gwt-AutoCompleteTextBox {
  width: 80%;
  border: 1px solid #87B3FF;
  margin-top: 20px;
}
.gwt-DialogBox {
  border: 2px outset;
  background-color: white;
}

.gwt-DialogBox .Caption {
  background-color: #C3D9FF;
  padding: 3px;
  margin: 2px;
  font-weight: bold;
  cursor: default;
}

.gwt-DialogBox .Registration {
    padding: 10px;
}

/* Custom Dialogs */
.contactsChooser {
    text-align: center;
}

/* Contact List */

.contactTitle {
    font-style: italic;
    border-bottom: 1px solid gray;
    text-align: center;
}

.group {
    font-weight: bold;
    font-size: small;
}

div.group:hover {
    text-decoration:underline;
}
.contact {
    font-size: small;
}

.selected {
    background-color: yellow;
}

/* UniBox & Status */

.uniBoxPanel {
    margin: auto;
    width: 80%;
}

.statusPanel {
    margin: auto;
    text-align: center;
    width: 80%;
}

.status {
    font-style: italic;
}

/* Microblog */

.microblogPanel {
    margin: auto;
    width: 95% !important;
}

.mb_panel_header{
    text-align: center;
    background-color: lightGray;
    font-style: italic;
    margin-top: 5px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
}

.microblogEntry {
    text-align:center;
    
    border: 1px solid LightGray;

    border-bottom-width: 1px;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;

    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}

.mb_entry_header {
    font-size: small;
}

.mb_entry_author {
    font-weight: bold;
}

.mb_entry_timestamp {
    font-style: italic;
}

/* Chat & MUC Room */

.chatPanel {
    height: 100%;
    width: 100%;
}

.chatPanel_body {
    height: 100%;
    width: 100%;
}

.chatContent {
    overflow: auto;
}

.chatText {
  /* font-size: smaller; */
}

.chatArea {
    height:100%;
}

.chat_text_timestamp {
    font-style: italic;
}

.chat_text_nick {
    font-weight: bold;
}

.chat_text_mymess {
    color: blue;
}

.occupant {
    padding-right: 15px;
}

.occupantsList {
    border-right: 1px solid lightGray;
    margin-left: 5px;
    margin-right: 10px;
    height: 100%;
}

/* Test drag and drop */

.dragover {
    background: #8f8;
}

/* Warning message */

.warningPopup {
    width: 100%;
    text-align: center;
    background-color: white;
    padding: 4px 0;
}

.warningTarget {
    font-weight: bold;
}

.targetPublic {
    background-color: red;
}

.targetGroup {
    background-color: #00FFFB;
}

.targetOne2One {
    background-color: #72FF06;
}

.targetStatus {
}

/* Tab panel */

.mainTabPanel {
}

.gwt-TabPanel {
}

.gwt-TabPanelBottom {
    height: 100%;
}

.gwt-TabBar {
  /*background-color: #C3D9FF;*/
  position: fixed;
  z-index: 10;
  bottom: 0;
  font-size: small;
}

.gwt-TabBar .gwt-TabBarFirst {
  height: 100%;
  padding-left: 3px;
}

.gwt-TabBar .gwt-TabBarRest {
  padding-right: 3px;
}

.gwt-TabBar .gwt-TabBarItem {
  border-top: 1px solid #C3D9FF;
  border-bottom: 1px solid #C3D9FF;
  border-right:  1px solid #C3D9FF;
  background: white;
  padding: 2px;
  cursor: pointer;
}

div.gwt-TabBarItem:hover {
  background: yellow;
}

.gwt-TabBar .gwt-TabBarItem-selected {
  font-weight: bold;
  background-color: #E8EEF7;
  border-top: 1px solid #87B3FF;
  border-left: 1px solid #87B3FF;
  border-right: 1px solid #87B3FF;
  border-bottom: 1px solid #E8EEF7;
  padding: 2px;
  cursor: default;
}


/* Misc */

.selected_widget {
    /* this property is set when a widget is the current target of the uniBox
     * (messages entered in unibox will be sent to this widget)
     */
    border: 3px dashed red;
}