2011-07-22 15:37:51 +00:00
|
|
|
/**
|
|
|
|
* Fabio Comuni <http://kirgroup.com/profile/fabrixxm>
|
|
|
|
**/
|
|
|
|
// Less file http://lesscss.org/
|
|
|
|
// compile with lessc
|
|
|
|
// $ lessc style.less > style.css
|
|
|
|
|
|
|
|
// "Echo" palette from Inkscape
|
|
|
|
@Blue1:rgb(25,174,255);
|
|
|
|
@Blue2:rgb(0,132,200);
|
|
|
|
@Blue3:rgb(0,92,148);
|
|
|
|
@Red1:rgb(255,65,65);
|
|
|
|
@Red2:rgb(220,0,0);
|
|
|
|
@Red3:rgb(181,0,0);
|
|
|
|
@Orange1:rgb(255,255,62);
|
|
|
|
@Orange2:rgb(255,153,0);
|
|
|
|
@Orange3:rgb(255,102,0);
|
|
|
|
@Brown1:rgb(255,192,34);
|
|
|
|
@Brown2:rgb(184,129,0);
|
|
|
|
@Brown3:rgb(128,77,0);
|
|
|
|
@Green1:rgb(204,255,66);
|
|
|
|
@Green2:rgb(154,222,0);
|
|
|
|
@Green3:rgb(0,145,0);
|
|
|
|
@Purple1:rgb(241,202,255);
|
|
|
|
@Purple2:rgb(215,108,255);
|
|
|
|
@Purple3:rgb(186,0,255);
|
|
|
|
@Metalic1:rgb(189,205,212);
|
|
|
|
@Metalic2:rgb(158,171,176);
|
|
|
|
@Metalic3:rgb(54,78,89);
|
|
|
|
@Metalic4:rgb(14,35,46);
|
|
|
|
@Grey1:rgb(255,255,255);
|
|
|
|
@Grey2:rgb(204,204,204);
|
|
|
|
@Grey3:rgb(153,153,153);
|
|
|
|
@Grey4:rgb(102,102,102);
|
|
|
|
@Grey5:rgb(45,45,45);
|
|
|
|
|
2011-07-29 14:24:18 +00:00
|
|
|
///* fonts */
|
2011-07-25 14:55:43 +00:00
|
|
|
// @font-face {
|
|
|
|
// font-family: "LiberationSans";
|
|
|
|
// src: local("Liberation Sans"),url( LiberationSans-Regular.ttf ) format("truetype");
|
|
|
|
// font-weight: bold; font-style: italic;
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// @font-face {
|
|
|
|
// font-family: "LiberationSans";
|
|
|
|
// src: local("Liberation Sans"),url( LiberationSans-Bold.ttf ) format("truetype");
|
|
|
|
// font-weight: bold; font-style: normal;
|
|
|
|
// }
|
|
|
|
// @font-face {
|
|
|
|
// font-family: "LiberationSans";
|
|
|
|
// src: local("Liberation Sans"),url( LiberationSans-Italic.ttf ) format("truetype");
|
|
|
|
// font-weight: normal; font-style: italic;
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
2011-07-22 15:37:51 +00:00
|
|
|
/* global */
|
|
|
|
body {
|
2011-07-25 14:55:43 +00:00
|
|
|
font-family: Liberation Sans,helvetica,arial,clean,sans-serif;
|
2011-07-22 15:37:51 +00:00
|
|
|
font-size: 12px;
|
2011-07-29 14:24:18 +00:00
|
|
|
background-color: @Grey1;
|
2011-07-22 15:37:51 +00:00
|
|
|
color: @Grey5;
|
|
|
|
margin: 0px;
|
2011-07-29 14:24:18 +00:00
|
|
|
display:table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shadow(@x: 0px, @y: 5px){
|
|
|
|
-webkit-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
|
|
|
|
-moz-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
|
|
|
|
box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.rounded(@tr: 5px, @tl: 5px, @bl: 5px, @br: 5px){
|
|
|
|
-moz-border-radius: @arguments;
|
|
|
|
-webkit-border-radius: @arguments;
|
|
|
|
border-radius: @arguments;
|
|
|
|
}
|
|
|
|
|
|
|
|
.roundbottom (@radius: 5px){ .rounded(0, 0, @radius, @radius); }
|
|
|
|
.roundtop (@radius: 5px){ .rounded(@radius, @radius, 0, 0); }
|
|
|
|
|
|
|
|
a, a:visited, a:link { color: @Blue3; text-decoration: none; }
|
|
|
|
a:hover {text-decoration: underline; }
|
|
|
|
|
|
|
|
.left { float: left; }
|
|
|
|
.right { float: right; }
|
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
/* icons */
|
|
|
|
|
|
|
|
|
|
|
|
.icons(@size: 22) {
|
|
|
|
&.notify { background-image: url("../../../images/icons/notify_off_@{size}.png"); }
|
|
|
|
&.gear { background-image: url("../../../images/icons/gear_@{size}.png"); }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
background-color: transparent ;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-indent: -9999px;
|
|
|
|
|
|
|
|
&.s22 {
|
|
|
|
width:22px; height: 22px;
|
|
|
|
padding: 1px;
|
|
|
|
.icons(22);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-07-22 15:37:51 +00:00
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
|
|
|
|
/* header */
|
|
|
|
header {
|
2011-07-29 14:24:18 +00:00
|
|
|
position: fixed; left: 43%; right: 43%; top: 0px;
|
2011-07-25 14:55:43 +00:00
|
|
|
margin: 0px; padding: 0px;
|
2011-07-29 14:24:18 +00:00
|
|
|
/*width: 100%; height: 12px; */
|
|
|
|
z-index: 110;
|
|
|
|
color: @Grey1;
|
2011-07-22 15:37:51 +00:00
|
|
|
#site-location {
|
2011-07-25 14:55:43 +00:00
|
|
|
/*font-size:8px;
|
2011-07-22 15:37:51 +00:00
|
|
|
float:left;
|
|
|
|
background-color: @Metalic3;
|
|
|
|
padding: 1px 5px;
|
|
|
|
margin-left: 20px;
|
2011-07-25 14:55:43 +00:00
|
|
|
.roundbottom()*/
|
|
|
|
display: none;
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
2011-07-29 14:24:18 +00:00
|
|
|
|
|
|
|
#banner {
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
a, a:active, a:visited, a:link, a:hover { color: @Grey1; text-decoration: none; outline: none; vertical-align: bottom; }
|
|
|
|
#logo-img { height: 22px; margin-top:5px;}
|
|
|
|
#logo-text { font-size: 22px }
|
|
|
|
}
|
2011-07-25 14:55:43 +00:00
|
|
|
}
|
|
|
|
/* nav */
|
|
|
|
nav {
|
|
|
|
width: 100%; height: 32px;
|
|
|
|
position: fixed; left: 0px; top: 0px;
|
2011-07-29 14:24:18 +00:00
|
|
|
padding: 0px;
|
2011-07-25 14:55:43 +00:00
|
|
|
background-color: @Metalic4;
|
2011-07-29 14:24:18 +00:00
|
|
|
color: @Grey1;
|
|
|
|
z-index: 100;
|
|
|
|
.shadow(0px, 0px);
|
2011-07-25 14:55:43 +00:00
|
|
|
|
2011-07-29 14:24:18 +00:00
|
|
|
a, a:active, a:visited, a:link, a:hover { color: @Grey1; text-decoration: none; outline: none; }
|
2011-07-25 14:55:43 +00:00
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px 20px;
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px; padding: 0px;
|
|
|
|
float: left;
|
|
|
|
.menu-popup{ left: 0px; right: auto; }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2011-07-22 15:37:51 +00:00
|
|
|
|
|
|
|
.nav-menu-icon {
|
|
|
|
position: relative;
|
|
|
|
height: 22px;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 0px 10px;
|
|
|
|
.roundtop();
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background-color: @Metalic3;
|
|
|
|
}
|
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
img { width: 22px; height: 22px; }
|
|
|
|
.nav-notify { top: 3px; }
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu {
|
|
|
|
position: relative;
|
|
|
|
height: 16px;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 3px 15px 0px;
|
|
|
|
font-size: 14px;
|
|
|
|
border-bottom: 3px solid @Metalic4;
|
|
|
|
&.selected {
|
|
|
|
border-bottom: 3px solid @Metalic2;
|
|
|
|
}
|
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-notify {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
background-color: @Blue1;
|
|
|
|
.rounded();
|
|
|
|
font-size: 10px;
|
|
|
|
padding: 1px 3px;
|
|
|
|
top: 0px;
|
|
|
|
right: -10px;
|
|
|
|
min-width: 15px;
|
|
|
|
text-align: right;
|
2011-07-22 15:37:51 +00:00
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
&.show{ display: block; }
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
|
2011-07-29 14:32:01 +00:00
|
|
|
#nav-help-link,
|
|
|
|
#nav-search-link,
|
|
|
|
#nav-directory-link,
|
|
|
|
#nav-apps-link,
|
2011-07-25 15:12:42 +00:00
|
|
|
#nav-site-linkmenu {
|
2011-07-25 14:55:43 +00:00
|
|
|
float: right;
|
|
|
|
.menu-popup{ right: 0px; left: auto; }
|
|
|
|
}
|
|
|
|
|
2011-07-25 15:12:42 +00:00
|
|
|
#nav-notifications-linkmenu.selected .icon.s22.notify { background-image: url("../../../images/icons/notify_on_22.png") }
|
2011-07-25 14:55:43 +00:00
|
|
|
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.menu-popup {
|
|
|
|
position: absolute;
|
2011-07-25 14:55:43 +00:00
|
|
|
display: none;
|
2011-07-29 14:24:18 +00:00
|
|
|
width: 10em;
|
|
|
|
background: @Grey1;
|
2011-07-22 15:37:51 +00:00
|
|
|
color: @Grey5;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
list-style: none;
|
|
|
|
border: 3px solid @Metalic3;
|
|
|
|
z-index: 100000;
|
2011-07-29 14:24:18 +00:00
|
|
|
|
|
|
|
.shadow();
|
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
a { display: block; color: @Grey5; padding: 5px 10px;}
|
|
|
|
a:hover { background-color: @Metalic1; }
|
|
|
|
.menu-sep { border-top: 1px solid @Metalic2; }
|
|
|
|
li { float: none; overflow: auto; height: auto; display: block; }
|
2011-07-25 15:12:42 +00:00
|
|
|
|
|
|
|
.empty {
|
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
|
|
|
color: @Metalic2;
|
|
|
|
}
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
|
|
|
|
2011-07-25 14:55:43 +00:00
|
|
|
#nav-notifications-menu {
|
|
|
|
width: 400px;
|
|
|
|
img { float: left; margin-right: 5px; }
|
|
|
|
.contactname { font-weight: bold; }
|
|
|
|
.notif-when { font-size: 10px; color: @Metalic2; display: block; }
|
2011-07-22 15:37:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* aside */
|
2011-07-29 14:24:18 +00:00
|
|
|
aside {
|
|
|
|
display: table-cell;
|
|
|
|
width: 200px;
|
|
|
|
padding:50px 10px 0px 20px;
|
|
|
|
}
|
2011-07-22 15:37:51 +00:00
|
|
|
|
|
|
|
/* section */
|
2011-07-29 14:24:18 +00:00
|
|
|
section {
|
|
|
|
display: table-cell;
|
|
|
|
width: 800px;
|
|
|
|
padding:50px 20px 0px 10px;
|
|
|
|
}
|