Template:UNIPV-Pavia/StyleCss

From 2009.igem.org

(Difference between revisions)
(New page: <html> <style type="text/css"> font.work{ color: green; font-weight:bold; } font.rest{ color: red; } </style> </html>)
 
(340 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
 +
font.work{
font.work{
color: green;
color: green;
-
font-weight:bold;
+
font-weight: bold;
 +
        text-decoration: underline;
 +
        font-size: medium;
}
}
font.rest{
font.rest{
 +
color: grey;
 +
        font-size: small;
 +
}
 +
 +
font.future{
color: red;
color: red;
 +
        font-size: small;
 +
}
 +
 +
font.month_name{
 +
        color: red;
 +
        font-weight: bold;
 +
        font-size: medium;
 +
}
 +
 +
font.dayw_style{
 +
        font-weight: bold;
 +
        font-size: 0.8em; //definisce la dimensione in percentuale: 0.8em = 80%, 2em = 200%
 +
}
 +
 +
font.didascalia{
 +
        color: black;
 +
        font-family: sans-serif;
 +
 +
}
 +
 +
div.sfondo{
 +
        background-image: url('https://static.igem.org/mediawiki/2009/0/05/UNIPV_sfondo.jpg');
 +
        background-repeat: repeat;
 +
}
 +
 +
td.month_cell{
 +
        vertical-align: top;
 +
        text-align: center;
 +
}
 +
 +
font.week_title{
 +
        text-align: center;
 +
}
 +
 +
font.label {
 +
        font-size: 11px;
 +
 +
}
 +
 +
font.set_up {
 +
        font-weight: bold;
 +
        font-size: 15px;
 +
        color: white;
 +
 +
}
 +
 +
font.set_up_list {
 +
      color: white;
 +
      font-weight: bold;
 +
      font-size: 13px;
 +
}
 +
 +
tr.freezer_up{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/4/4a/Unipv_freezer_up.jpg');
 +
        background-repeat:no-repeat;
 +
}
 +
 +
 +
tr.freezer_down{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/2/2b/Unipv_freezer_down.png');
 +
        background-repeat:repeat-y;
 +
}
 +
 +
tr.freezer_end{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/e/e7/Unipv_freezer_end.png');
 +
        background-repeat:no-repeat;
 +
}
 +
 +
tr.lavagna{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/1/18/Unipv_lavagna.jpg');
 +
        background-repeat:no-repeat;
 +
}
 +
table.lavagna{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/1/18/Unipv_lavagna.jpg');
 +
        background-repeat:no-repeat;
 +
}
 +
table.bacheca{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/4/4b/BACHECA.gif');
 +
        background-repeat:no-repeat;
 +
}
 +
 +
table.in_freezer{
 +
      background-color: transparent;
 +
}
 +
 +
td.prova {
 +
      filter:alpha(opacity=60);
 +
      opacity:0.6;
 +
      text-align: center;
 +
      text-valign: center;
 +
      color: black;
 +
      font-weight: bold;
 +
      background-color: white;
 +
}
 +
 +
td.beuta {
 +
      background-image: url('https://static.igem.org/mediawiki/2009/3/33/FlskErlnFiltB500_6152_7_M.jpg');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_beuta {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.glicerolo {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_glicerolo {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.centrifuge {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_centrifuge {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.pcr {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_pcr {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.ligation {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_ligation {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.plates {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_plates {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.transformation {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_transformation {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.xgal {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_xgal {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.digestion {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_digestion {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
/* Modifiche al foglio di stile del Wiki iGEM (modifiche alle impostazioni di default) */
 +
 +
.firstHeading{
 +
        height: 0px;
 +
        font-size: 0em;
 +
//font-weight: bold;
 +
//text-align: right;
 +
}
 +
 +
.editsection{
 +
        font-size: 0.7em;
 +
}
 +
 +
 +
/* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */
 +
 +
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
 +
 +
/*******************************************************************************
 +
 +
LAYOUT INFORMATION: describes box model, positioning, z-order
 +
 +
*******************************************************************************/
 +
 +
/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
 +
 +
BODY {
 +
font-family: arial, book antiqua, eras demi itc, arial;
 +
color: royalblue;
 +
background-image: url('https://static.igem.org/mediawiki/2009/0/05/UNIPV_sfondo.jpg');
 +
        background-repeat: repeat;
 +
        text-align: justify;
 +
}
 +
 +
A:link {text-decoration: none;}
 +
A:visited {text-decoration: none;}
 +
A:active {text-decoration: none;}
 +
A:hover {text-decoration: none;}
 +
 +
 +
ul.MenuBarVertical
 +
{
 +
margin: 0;
 +
padding: 0;
 +
        border-bottom: 3px solid white;
 +
        border-top: none;
 +
        border-left: none;
 +
        border-right: none;
 +
list-style-type: none;
 +
        font-size: 100%;
 +
cursor: default;
 +
list-style-image: none;
 +
        width: 12em;
 +
 +
}
 +
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
 +
ul.MenuBarActive
 +
{
 +
z-index: 1000;
 +
}
 +
/* Menu item containers, position children relative to this container and are same fixed width as parent */
 +
ul.MenuBarVertical li
 +
{
 +
margin: 0;
 +
padding: 0;
 +
        border-bottom: 3px solid white;
 +
        border-top: none;
 +
        border-left: none;
 +
        border-right: none;
 +
        list-style-type: none;
 +
position: relative;
 +
text-align: left;
 +
        font-size: 100%;
 +
cursor: pointer;
 +
list-style-image: none;
 +
        width: 12em;
 +
}
 +
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
 +
ul.MenuBarVertical ul
 +
{
 +
margin: -5% 0 0 95%;
 +
padding: 0;       
 +
        list-style-type: none;
 +
font-size: 100%;
 +
position: absolute;
 +
z-index: 1020;
 +
cursor: default;
 +
left: -1000em;
 +
top: 0;
 +
        list-style-image: none;
 +
        width: 8.2em;
 +
}
 +
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
 +
ul.MenuBarVertical ul.MenuBarSubmenuVisible
 +
{
 +
left: 5px;
 +
}
 +
/* Menu item containers are same fixed width as parent */
 +
ul.MenuBarVertical ul li
 +
{
 +
width: 15em;
 +
}
 +
 +
/*******************************************************************************
 +
 +
DESIGN INFORMATION: describes color scheme, borders, fonts
 +
 +
*******************************************************************************/
 +
 +
/* Outermost menu container has borders on all sides */
 +
ul.MenuBarVertical
 +
{
 +
border-bottom: 1px solid #FFF;
 +
        border-top: none;
 +
        border-left: none;
 +
        border-right: none;
 +
}
 +
/* Submenu containers have borders on all sides */
 +
ul.MenuBarVertical ul
 +
{
 +
border: 1px solid #FFF;
 +
}
 +
/* Menu items are a light gray block with padding and no text decoration */
 +
ul.MenuBarVertical a
 +
{
 +
display: block;
 +
cursor: pointer;
 +
background-color: cornflowerblue;
 +
padding: 0.5em 0.75em;
 +
color: #F0FFFF;
 +
text-decoration: none;
 +
        list-style-image: none;
 +
               
 +
}
 +
/* Menu items that have mouse over or focus have a blue background and white text */
 +
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
 +
{
 +
background-color: royalblue;
 +
color: snow;
 +
}
 +
 +
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
 +
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
 +
{
 +
background-color: royalblue;
 +
color: salmon;
 +
}
 +
 +
/*******************************************************************************
 +
 +
SUBMENU INDICATION: styles if there is a submenu under a given menu item
 +
 +
*******************************************************************************/
 +
 +
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
 +
ul.MenuBarVertical a.MenuBarItemSubmenu
 +
{
 +
background-image: url(https://static.igem.org/mediawiki/2009/9/93/SpryMenuBarRight.gif);
 +
background-repeat: no-repeat;
 +
background-position: 95% 50%;
 +
}
 +
 +
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
 +
ul.MenuBarVertical a.MenuBarItemSubmenuHover
 +
{
 +
background-image: url(https://static.igem.org/mediawiki/2009/5/5c/SpryMenuBarRightHover.gif);
 +
background-repeat: no-repeat;
 +
background-position: 95% 50%;
 +
}
 +
 +
/*******************************************************************************
 +
 +
BROWSER HACKS: the hacks below should not be changed unless you are an expert
 +
 +
*******************************************************************************/
 +
 +
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
 +
ul.MenuBarVertical iframe
 +
{
 +
position: absolute;
 +
z-index: 1010;
 +
filter:alpha(opacity:0.1);
 +
}
 +
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
 +
@media screen, projection
 +
{
 +
ul.MenuBarVertical li.MenuBarItemIE
 +
{
 +
display: inline;
 +
f\loat: left;
 +
background: snow;
 +
}
 +
}
 +
 +
/* Questo serve per lasciare evidenziata la voce del menu quando si è nella pagina. N.B.: il menu DEVE essere copiato in ogni pagina, non è possibile usare il template (almeno se si usa il tag HTML per il menu, se si usasse la sintassi wiki pura si potrebbe usare il passaggio parametri). Per ora la prova è stata fatta nella Home e Pavia. Il mio parere per il futuro: fare un nuovo menu da zero più semplice, senza JS, sottomenu o altro e anche più compatibile - con Safari non funziona - */
 +
 +
#MenuBar1 #activated{
 +
        background-color: royalblue;
}
}
</style>
</style>
</html>
</html>

Latest revision as of 16:41, 19 October 2009