OpenSlides/openslides/static/styles/base.css

333 lines
6.9 KiB
CSS
Raw Normal View History

2012-09-10 18:03:33 +02:00
/**
* OpenSlides default template style
*
* :copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
* :license: GNU GPL, see LICENSE for more details.
*/
2012-09-07 21:25:18 +02:00
body {
2012-09-10 17:17:22 +02:00
background-color: #FBFBFB;
2012-09-07 21:25:18 +02:00
}
/* Header */
2011-07-31 10:46:29 +02:00
#header {
background-color: #333333;
background-image: -moz-linear-gradient(top, #444444, #222222);
background-image: -ms-linear-gradient(top, #444444, #222222);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
background-image: -webkit-linear-gradient(top, #444444, #222222);
background-image: -o-linear-gradient(top, #444444, #222222);
background-image: linear-gradient(top, #444444, #222222);
box-shadow: 0 0 7px rgba(0,0,0,0.6);
height: 35px;
margin-bottom: 20px;
padding: 7px 20px 0;
position: relative;
2011-07-31 10:46:29 +02:00
}
#header .logo img {
height: 30px;
padding-left: 3px;
2011-07-31 10:46:29 +02:00
}
#header .title {
font-size: 20px;
color: #999999;
2011-07-31 10:46:29 +02:00
}
footer {
margin-bottom: 20px;
}
2011-07-31 10:46:29 +02:00
2012-09-07 21:25:18 +02:00
/* Headings and Links */
h1 {
border-bottom: 1px solid #EEEEEE;
margin: 0px 0 30px;
padding-bottom: 9px;
}
h5 {
margin-bottom: 0px;
2011-07-31 10:46:29 +02:00
}
a:hover {
text-decoration: none;
2011-07-31 10:46:29 +02:00
}
2012-09-07 21:25:18 +02:00
/* Login page */
#login-page.container {
width: 320px;
margin-top: 20px;
}
#login-page h2 {
margin-left: 30px;
margin-bottom: 20px;
}
2012-09-10 17:17:22 +02:00
#login-page h2 img {
width: 250px;
}
2012-09-07 21:25:18 +02:00
#login-page .well {
background-color: white;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px 6px 6px 6px;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
margin-top: 20px;
padding-bottom: 20px;
line-height: 45px;
}
#login-page input {
width: 240px;
height: 30px;
font-size: 20px;
}
#login-page span.add-on {
height: 26px;
padding: 8px 5px 4px 5px;
}
2012-09-10 17:17:22 +02:00
2012-09-10 18:03:33 +02:00
/** Utils **/
tr.offline td, li.offline {
background-color: #EAEAEA !important;
}
tr.activeline td, li.activeline {
background-color: #bed4de !important;
}
2012-09-10 18:03:33 +02:00
.nopadding {
padding: 0;
}
.alert form {
margin-bottom: 0;
}
tr.total td {
border-top: 1px solid #333333;
}
.nobr {
white-space: nowrap;
}
.right {
float: right;
}
.indentation {
margin-left: 12px;
}
.mini_width {
width: 1px;
}
/* show optional column */
.optional {
display: auto;
}
2012-09-10 18:03:33 +02:00
/** Forms **/
input, textarea {
width: 320px;
}
2013-02-04 13:06:36 +01:00
.small-form input {
width: 33px;
}
2012-09-10 18:03:33 +02:00
textarea {
height: 100px;
}
.help-inline {
font-size: 11px;
}
2012-09-10 18:03:33 +02:00
.errorlist{
margin: 0;
}
.errorlist li {
list-style: none outside none;
}
form .required label:after {
content: " *";
}
legend + .control-group {
margin-top: 0px !important;
}
2011-07-31 10:46:29 +02:00
2012-09-10 18:03:33 +02:00
/** Left sitebar navigation **/
.leftmenu ul {
margin: 0;
list-style: none;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul ul {
display: none;
margin-left: 35px;
margin-top: -1px;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.leftmenu ul li {
display: block;
width: 100%;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li a {
border-style: none solid solid;
border-width: 0 1px 1px;
border-color: #dddddd;
color: #666666;
display: block;
font-weight: bold;
background-color: #ffffff;
padding: 0;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li:first-child a {
border-top: 1px solid #DDDDDD;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li a span.ico {
2011-07-31 10:46:29 +02:00
display: inline-block;
background: #f9f9f9;
padding: 8px 10px 6px;
margin: 0 5px 0 0;
border-right: 1px solid #dddddd;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li a, .leftmenu ul li a span.ico {
-webkit-transition: background 0.2s ease-in-out;
2012-09-10 18:03:33 +02:00
-moz-transition: background 0.2s ease-in-out;
-ms-transition: background 0.2s ease-in-out;
-o-transition: background 0.2s ease-in-out;
transition: background 0.2s ease-in-out;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li a:hover {
background-color: #f5f5f5;
color: #000000;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li a:hover span.ico {
background-color: #efefef;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li.active a {
background-color: #333333;
color: #ffffff;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li.active a span.ico {
background-color: #111111;
border-right: 1px solid #444444;
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li.active a span.ico i {
background-image: url("../img/glyphicons-halflings-white.png");
2011-07-31 10:46:29 +02:00
}
.leftmenu ul li.hider a {
margin-top: 5px;
height: 20px;
2011-07-31 10:46:29 +02:00
}
.leftmenu.lefticon > ul {
width: 37px !important;
2011-07-31 10:46:29 +02:00
}
.leftmenu.lefticon ul ul {
position: absolute;
z-index: 20;
margin-top: -34px;
2011-07-31 10:46:29 +02:00
}
.leftmenu.lefticon > ul > li > a > span.text {
display: none;
2011-07-31 10:46:29 +02:00
}
.leftmenu.lefticon ul ul > li > a {
min-width: 200px !important;
2011-07-31 10:46:29 +02:00
}
.leftmenu.lefticon span.text {
padding-right: 15px;
2011-07-31 10:46:29 +02:00
}
/** Navigation icons (mapping to glyphicons-halflings) **/
.icon-dashboard {
background-position: 0 -24px;
2011-07-31 10:46:29 +02:00
}
.icon-agenda {
/* background-position: -264px 0;*/
background-position: 0;
background-image: url("../img/glyphicons_045_calendar.png");
}
.leftmenu ul li.active a span.ico i.icon-agenda {
background-image: url("../img/glyphicons_045_calendar_white.png");
2011-07-31 10:46:29 +02:00
}
2013-01-02 23:22:12 +01:00
.icon-motion, .icon-motions {
background-position: -24px -24px;
2011-07-31 10:46:29 +02:00
}
2012-09-11 00:00:44 +02:00
.icon-assignment, .icon-assignments {
2013-02-05 17:05:40 +01:00
background-image: url("../img/glyphicons_041_charts.png");
background-position: 0;
}
.leftmenu ul li.active a span.ico i.icon-assignment {
background-image: url("../img/glyphicons_041_charts_white.png");
2011-07-31 10:46:29 +02:00
}
2012-09-11 00:00:44 +02:00
.icon-participant, .icon-participants {
background-position: -168px 0;
}
.icon-config {
background-position: -360px -144px;
}
.icon-welcome {
background-position: 0 -24px;
}
.icon-live_view {
background-position: -432px -48px;
}
.icon-overlays {
background-position: -120px 0px;
}
.icon-custom_slide {
background-position: -120px 0px;
}
2013-02-05 17:05:40 +01:00
.icon-personal_info {
background-position: -312px -24px;
}
2011-07-31 10:46:29 +02:00
/** More glyphicons free icons **/
.status_link .icon-on, .icon-checked-new {
background-image: url("../img/glyphicons_152_check.png");
background-position: 0;
}
2013-02-05 17:05:40 +01:00
.icon-checked-new_white {
background-image: url("../img/glyphicons_152_check_white.png");
background-position: 0;
}
.status_link .icon-off, .icon-unchecked-new {
background-image: url("../img/glyphicons_153_unchecked.png");
background-position: 0;
}
.icon-summary {
background-image: url("../img/glyphicons_154_more_windows.png");
background-position: 0;
}
.icon-summary.icon-white {
background-image: url("../img/glyphicons_154_more_windows_white.png");
background-position: 0;
}
.icon-login {
background-image: url("../img/glyphicons_044_keys.png");
background-position: 0;
}
.icon-group {
background-image: url("../img/glyphicons_043_group.png");
background-position: 0;
}
.icon-import {
background-image: url("../img/glyphicons_358_file_import.png");
background-position: 0;
}
.icon-delete {
background-image: url("../img/glyphicons_256_delete.png");
background-position: 0;
}
.icon-add-user {
background-image: url("../img/glyphicons_006_user_add.png");
background-position: 0;
}
/** Responsive **/
@media (max-width: 767px) {
body {
padding: 0;
}
.row-fluid .leftmenu {
float: left;
}
#content {
margin: 0 5px 0 45px;
}
/* hide optional column */
.optional {
display: none;
}
}