Versionsnummer in Dokumentationen für 3.6.1 angepasst
[kivitendo-erp.git] / css / kivitendo / main.css
index e69e0ef..1cbebb2 100644 (file)
-/* Stylesheet for Lx-Office
+/* Stylesheet for kivitendo * Name:kivitendo.css
 
+Color table
+-----------
 
-/* The look of links */
-A:link { color: #597d12; text-decoration: none; }
-A:visited { color: #597d12; text-decoration: none; }
-A:active { color: black; text-decoration: none; }
-A:hover { color: black;
-           background-color: #bec6a2;
-           text-decoration: none;
-         }
-a, div {
-  transition: background-color 0.2s;
-  -moz-transition: background-color 0.2s;
-  -webkit-transition: background-color 0.2s;
-}
-
-input, textarea, select {
+Background:    #EBEBEB burlywood
+Links:         #006400 DarkGreen
+Link-hover     #FE5F14 Orange / #FFFFE0 lightyellow
+Titles, BG/VG: #79B61B Mid-green FFFFFF White
+Tabcolor:      #CAFFA3
+*/
+
+
+body {
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: sans-serif;
+  font-size: 80%;
+}
+
+/* Input elements */
+input,
+textarea,
+select,
+div.cke_textarea_inline {
+  -moz-border-radius: 0;
+  -webkit-border-radius: 0;
+  -khtml-border-radius: 0;
+  background-color: white;
   border: 1px;
   border-color: darkgray lightgray lightgray;
+  border-radius: 0;
   border-style: solid;
+  outline: none;
   padding: 1px;
-  background-color: white;
-}
-img:hover {
-  display:block !important;
 }
 
+input[type="text"], input[type="password"]
+textarea,
 select {
-  padding: 0px;
+  -moz-appearance: none;
+  -webkit-appearance: none;
+  -o-appearance: none;
 }
 
-input:focus, textarea:focus, select:focus {
-  background-color: whitesmoke;
-  border: 1px;
-  border-color: gray lightgray lightgray;
-  border-style: solid;
+select {
+  appearance : none;
+  background: white url('../../image/select-down.png') no-repeat scroll right center;
+  padding: 0 14px 0 0;
 }
 
-input:hover, textarea:hover, select:hover {
-  border-color: dimgray darkgray darkgray;
+input:focus,
+textarea:focus,
+select:focus,
+div.cke_textarea_inline:focus {
+  background-color: #ffffa0;
+  border: 1px solid #fe5f14;
 }
 
 input[type="button"],
 input[type="submit"],
-button,
-input[type="button"]:focus,
-input[type="submit"]:focus,
-button:focus {
+button {
+  background-color: whitesmoke;
   border: 1px;
   border-color: darkgray;
   border-style: solid;
   padding: 0px 4px;
-  -webkit-border-radius: 2px;
-  -moz-border-radius: 2px;
-  border-radius: 2px;
-  background-color: whitesmoke;
 }
 
-button:hover,
-input[type="button"]:hover,
-input[type="submit"]:hover {
-  border: 1px;
-  background-color: lightgray;
-  border-color: gray;
-  border-style: solid;
-  -webkit-border-radius: 2px;
-  -moz-border-radius: 2px;
-  border-radius: 2px;
+input[type="button"]:focus,
+input[type="submit"]:focus,
+button:focus {
+  background-color: #ffffa0;
+  border-color: #fe5f14;
 }
 
-html {
-  height: 100%;
+button:hover:enabled,
+input[type="button"]:hover:enabled,
+input[type="submit"]:hover:enabled {
+  color: #fe5f14;
 }
 
-body {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size: 10pt;
-  background-color: white;
-  background-image: url("../../image/fade.png"); background-repeat:repeat-x;
-  color: black;
-  height: 100%;
+/* The look of links */
+a {
+  padding: 0 0.2em;
+  text-decoration: none;
+}
+A:link, A:visited, A:active {
+  color: #000000;
+  border-bottom: thin solid #FE5F14;
+}
+a:hover {
+  color: #FE5F14;
+  background-color: whitesmoke;
+}
+a.selected:hover {
+  color:#EBEBEB;
+}
+a.nomobile {
+  background-color:transparent;
+  border:none;
+}
+a.green {
+  background-color: DarkGreen;
+  color: white !important;
+  border:none;
+}
+a.orange {
+  background-color:#FF8000;
+  border:none;
+}
+a.red {
+  background-color:#FF0000;
+  border:none;
 }
 
-td {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  color: black;
-  font-size: 8pt;
-  font-weight: normal;
+table {
+  font-size: 90% !important;
+  table-layout: auto;
+  border-spacing: 0.3em;
 }
-td.hover:hover {
-    color: black;
-/*          background-color: #FFFFCC;
-          font-size: 8pt;
-          text-decoration: none;
-          border:none;
-          borderWidth:0px;
-          borderColor:2557AD;
-*/
+
+hr {
+  background-color: #006400;
+  border: none;
+  color: #79B61B;
+  height: 2px;
 }
 
+tr.rule-before th, tr.rule-before td {
+  padding-top: 2px;
+  border-top: 2px solid #EBEBEB;
+}
 
-th {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  color: black;
-  font-size: 8pt;
+td {
+  color: #000000;
   font-weight: normal;
 }
-
+th {
+  color: #000000;
+  font-weight: bold;
+}
 /* login and admin */
-.login {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
+a.no-underlined-links, a.no-underlined-links:visited, a.no-underlined-links:hover {
+  text-decoration: none !important;
+  background-color:transparent !important;
+  border:none;
 }
-div.login {
-  min-height: 100%;
-  height: auto !important;
-  height: 100%;
-  background: #bec6a2;
-  color: #A0A0A0;
+a.no-underlined-links:hover {
+  background: none;
 }
-h1.login {
-  font-size: 18pt;
+body.login {
+  background-color: #FFFFE0;
+  color: #000000;
 }
-h3.login {
-  color:#fe5f14;
+.login h1 {
+  text-align: center;
+  font-size: 150%;
 }
 table.login {
-  background-color: #efedde;
+  background-color: #FFFFE0;
   padding: 20px;
+  width: 500px;
 }
 td.login {
   text-align: center;
@@ -134,319 +168,477 @@ td.login {
 th.login {
   text-align: right;
 }
-
-div.admin {
-  color: black;
-  margin: 8px;
+.admin h1 {
+  background-color: #fe5f14;
+  text-color: #ffffff;
 }
-
+body.menu {
+  color: #000000;
+}
+/* Warnings */
 .message_error_login {
-    color: #fe5f14;
-    border: 1px solid #fe5f14;
-    background-color: #ffffff;
-    padding: 3px;
+  color: #000000;
+  border: 1px solid #8b0000;
+  background-color: #ffcccc;
+  padding: 3px;
 }
 .message_ok {
-    font-size: 12pt;
-    padding:5px;
-    background-color: #ADFFB6;
-    color: black;
-    font-weight: bolder;
-    text-align:center;
-    border-style:solid;
-    border-width:thin;
+  padding: 5px;
+  background-color: #ADFFB6;
+  color: black;
+  font-weight: bolder;
+  text-align: center;
+  border-style: solid;
+  border-width: thin;
 }
 .message_error {
-    font-size: 12pt;
-    padding:5px;
-    background-color: #FFAAAA;
-    color: black;
-    font-weight: bolder;
-    text-align:center;
-    border-style:solid;
-    border-width:thin;
+  padding: 5px;
+  background-color: #CC0000;
+  color: white;
+  font-weight: bolder;
+  text-align: center;
+  border-style: solid;
+  border-width: thin;
 }
 .message_hint {
-    font-size: 12pt;
-    padding:5px;
-    background-color: #FFFE66;
-    color: black;
-    font-weight: bolder;
-    text-align:center;
-    border-style:solid;
-    border-width:thin;
+  padding: 0.5em;
+  background-color: #FFEE66;
+  color: black;
+  font-weight: bolder;
+  text-align: center;
+  border-style: solid;
+  border-width: thin;
 }
 .message_error_label {
-    font-size: 0.8em;
-    padding:5px;
-    background-color: #FEE;
-    font-weight:normal;
-    text-align:left;
-    border-style:solid;
-    border-width:thin;
+  padding: 0.5em;
+  background-color: #E00000;
+  color: white;
+  font-weight: normal;
+  text-align: left;
+  border-style: solid;
+  border-width: thin;
 }
-
-/*
-    Überschriftsbalken
-*/
+/* Headings */
 .listtop, h1 {
-    background-color: rgb(236,233,216);
-    text-align:center;
-    padding:5px;
-    font-size: 10pt;
-    color: black;
-    font-weight: bolder;
-    border-style:dashed;
-    border-width:thin;
+  background-color: #006400;
+  text-align: left;
+  padding: 0.5em;
+  color: #FFFFFF;
+  font-size:100%;
+  font-weight: bolder;
+  border-style: none;
+  border-width: thin;
+  -moz-border-radius:0.4em; /* Firefox */
+  -webkit-border-radius:0.4em; /* Safari, Chrome */
+  -khtml-border-radius:0.4em; /* Konqueror */
+  border-radius:0.4em; /* CSS3 */
+  behavior:url(border-radius.htc);
+}
+
+.listheading, #content h2 {
+  padding: 0.2em;
+  background-color: #EBEBEB;
+  color: #006400;
+  font-size: 95%;
+  font-weight: bolder;
+  text-align: left;
+  border-style: none;
 }
 
-
-.listelement {
-    background-image: url("../../image/fade2.png");
-    background-repeat:repeat-x;
-    border-style:dashed;
-    border-width:thin;
+.accountlistheading {
+  padding: 0.3em;
+  color: #006400;
+  font-weight: bold;
+  text-align: left;
+  background-color: #EBEBEB;
 }
-
-.listelement2 {
-    background-image: url("../../image/fade2.png");
-    background-repeat:repeat-x;
-    border-style:dashed;
-    border-width:thin;
+.subsubheading {
+  color: #000000;
+  font-weight: bolder;
+  text-decoration: underline;
 }
-
-.listheading, .listheading th {
-    font-size: 9pt;
-    padding:3px;
-    background-color:
-    rgb(236,233,216);
-    color: black;
-    font-weight: bolder;
-    text-align:left;
-    background-image: url("../../image/fade.png");
-    border-style:dotted;
-    border-width:thin;
+.optionen {
+  border: dashed;
+  border-width: 1px;
+  background: #FFFFE0;
 }
-
-.listheadingcontent {
-    font-size: 9pt;
-    background-color:
-    rgb(236,233,216);
-    color: black;
-    font-weight: bolder;
-    text-align:left;
+.listrow1, .listrow:nth-child(even) {
+  background-color: #FFFFFF;
+  color: black;
+  vertical-align: top;
 }
-
-.accountlistheading {
-    font-size: 10pt;
-    padding:3px;
-    color: white;
-    font-weight: bold;
-    text-align:left;
-    background-color:rgb(133,132,129);
+.listrow0, .listrow:nth-child(odd) {
+  background-color: #FFFF99;
+  color: black;
+  vertical-align: top;
 }
-
-.subsubheading {
+.listrow_error1, .listrow_error:nth-child(even) {
+  background-color: #F6CECE;
+  color: black;
+  vertical-align: top;
+}
+.listrow_error0, .listrow_error:nth-child(odd) {
+  background-color: #F5A9A9;
+  color: black;
+  vertical-align: top;
+}
+.listrowempty {
+  background-color: #FFFFFF;
+  color: black;
+  vertical-align: top;
+}
+.listsubtotal {
+  background-color: rgb(236,233,216);
   color: black;
   font-weight: bolder;
-  text-decoration: underline;
 }
-
-.optionen {
-    border:dashed;
-/*  padding-top:10px;
-    padding-bottom:10px;
-    padding-left:10px;
-*/
-    border-width:1px;
-    background:#efedde;
+.listtotal, .listtotal td {
+  background-color: rgb(236,233,216);
+  color: black;
+  font-weight: bolder;
 }
-
-
-.listrow1 { background-color: rgb(208,207,201); color: black; vertical-align: top; }
-.listrow0 { background-color: rgb(236,233,216); color: black; vertical-align: top; }
-.listrowempty { background-color: rgb(255,255,255); color: black; vertical-align: top; }
-
-.redrow1 { background-color: rgb(250,167, 161); color: black; vertical-align: top; }
-.redrow0 { background-color: rgb(255,193,176); color: black; vertical-align: top; }
-
-.greenrow1 { background-color: rgb(0,250,0); color: black; vertical-align: top; }
-.greenrow0 { background-color: rgb(0,255,0); color: black; vertical-align: top; }
-
-.listsubtotal { font-size: 8pt; background-color: rgb(236,233,216); color: black; font-weight: bolder;}
-
-.listtotal, .listtotal td { font-size: 8pt; background-color: rgb(236,233,216); color: black; font-weight: bolder;}
-
 /* Verkaufsbericht */
-.listmainsortheader { font-size: 8pt; background-color: rgb(236,233,216); color: red; font-weight: bolder; padding-left: 10px; padding-top: 0px;}
-.listmainsortsubtotal { font-size: 8pt; background-color: rgb(236,233,216); color: red; font-weight: bolder; padding-left: 10px;}
-.listsubsortheader { font-size: 8pt; background-color: rgb(236,233,216); color: green; font-weight: bolder; padding-left: 20px}
-.listsubsortsubtotal { font-size: 8pt; background-color: rgb(236,233,216); color: green; font-weight: bolder; padding-left: 20px}
-.listsortdescription { font-size: 8pt; background-color: rgb(236,233,216); color: black; font-weight: normal; padding-left: 30px}
-
-
+.listmainsortheader {
+  background-color: rgb(236,233,216);
+  color: red;
+  font-weight: bolder;
+  padding-left: 10px;
+  padding-top: 0px;
+}
+.listmainsortsubtotal {
+  background-color: rgb(236,233,216);
+  color: red;
+  font-weight: bolder;
+  padding-left: 10px;
+}
+.listsubsortheader {
+  background-color: rgb(236,233,216);
+  color: green;
+  font-weight: bolder;
+  padding-left: 20px
+}
+.listsubsortsubtotal {
+  background-color: rgb(236,233,216);
+  color: green;
+  font-weight: bolder;
+  padding-left: 20px
+}
+.listsortdescription {
+  background-color: rgb(236,233,216);
+  color: black;
+  font-weight: normal;
+  padding-left: 30px
+}
 .submit {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
   color: #000000;
 }
 .checkbox, .radio {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
   color: #778899;
 }
-
-.plus0 {    /* font color for negative numbers */
+.plus0 {
+  /* font color for negative numbers */
   color: red;
 }
-
 .plus1 {
   color: green;
 }
-
-td.numeric { /* class for numeric columns in tables */
-  text-align: right
-}
-
 h2.confirm {
   color: blue;
-  font-size: 14pt;
 }
-
 h2.error {
   color: red;
-  font-size: 14pt;
 }
-
 fieldset {
-  margin-top:15px;
+  margin-top: 15px;
   color: black;
   font-weight: bolder;
 }
-
-/* media stuff */
-
-@media screen {
-  .noscreen {   /* items with this class won't display */
-    display: none;
-  }
-}
-
-@media print {
-  .noprint {   /* items with this class won't print */
-    display: none;
-  }
-}
-
 .filecontent {
   border: 1px solid blue;
   padding-left: 2px;
   padding-right: 2px;
 }
-
 label {
-  cursor:pointer;
+  cursor: pointer;
+  vertical-align: top;
 }
-
 .unbalanced_ledger {
   background-color: #ffa0a0;
 }
-
-.clearfix:after {
-  clear:both;
-  content:".";
-  display:block;
-  font-size:0;
-  height:0;
-  visibility:hidden;
-}
-
 .flash_message_error {
-  background-color:#FFD6D6;
+  background-color: #FFD6D6;
   border: 1px solid #AE0014;
   margin-top: 5px;
   margin-bottom: 5px;
   padding: 5px;
 }
-
+.flash_message_ok {
+  background-color: #ADFFB6;
+  border: 1px solid #007F0F;
+  margin-top: 5px;
+  margin-bottom: 5px;
+  padding: 5px;
+}
 .flash_message_warning {
-  background-color:#FFE8C7;
+  background-color: #FFE8C7;
   border: 1px solid #FF6600;
   margin-top: 5px;
   margin-bottom: 5px;
   padding: 5px;
 }
-
 .flash_message_info {
-  background-color:#DCF2FF;
+  background-color: #DCF2FF;
   border: 1px solid #4690FF;
   margin-top: 5px;
   margin-bottom: 5px;
   padding: 5px;
 }
 
-.jqmWindow {
-  display: none;
+.flash_title {
+  font-weight: bold;
+}
+
+.dimmed-text {
+  color: #ccc;
+  font-style: italic;
+}
+
+.link_separator {
+  margin-left: 6px;
+  margin-right: 6px;
+}
+
+.chart_picker,
+.part_picker,
+.project_picker,
+  display: inline-block;
+}
+.chart_picker:before,
+.part_picker:before,
+.project_picker:before {
+  display: inline-block;
+  vertical-align: middle;
+  height: 100%;
+}
+.kivi-validator-invalid,
+.customer-vendor-picker-undefined,
+.chartpicker-undefined,
+.projectpicker-undefined,
+.partpicker-undefined {
+  color: red;
+  font-style: italic;
+}
+
+div.project_picker_project,
+div.part_picker_part,
+div.chart_picker_chart {
+  padding: 5px;
+  margin: 5px;
+  border: 1px;
+  border-color: darkgray;
+  border-style: solid;
+  -webkit-border-radius: 4px;
+  -moz-border-radius: 4px;
+  border-radius: 4px;
+  background-color: white;
+  cursor: pointer;
+}
+div.project_picker_project:hover,
+div.part_picker_part:hover,
+div.chart_picker_chart:hover {
+  color: #FE5F14;
+}
+
+div.cpc_block,
+div.ppp_block {
+  overflow:hidden;
+  float:left;
+  width: 350px;
+}
+span.cpc_popup_button,
+span.ppp_popup_button {
+  display: inline-block;
+  vertical-align: middle;
+  margin-left: -24px;
+  height: 20px;
+  width: 20px;
+  cursor: pointer;
+  background: url("../../image/search.svg") no-repeat center right;
+  background-size: contain;
+}
+span.chart_picker input,
+span.part_picker input,
+span.project_picker input {
+  padding-right: 20px;
+  box-sizing: padding-box;
+  -moz-box-sizing: padding-box;
+  -webkit-box-sizing: padding-box;
+}
+span.chart_picker,
+span.part_picker,
+span.project_picker {
+  white-space: nowrap;
+}
+div.ppp_block span.ppp_block_number,
+div.cpc_block span.cpc_block_number
+{
+  float:left;
+}
+div.ppp_block span.ppp_block_ean {
+  float:left;
+  margin-left:1em;
+}
+div.ppp_block span.ppp_block_description {
+  float:right;
+  margin-left:1em;
+  font-weight:bold;
+}
+div.cpc_block span.cpc_block_description {
+  float:left;
+  margin-left:1em;
+  font-weight:bold;
+}
+div.ppp_line span.ppp_block_number,
+div.ppp_line span.ppp_block_ean {
+  float:left;
+  margin-left:1em;
+}
+div.ppp_line span.ppp_block_description,
+div.cpc_line span.cpc_block_description
+{
+  margin-left:1em;
+  font-weight:bold;
+}
+div.cpc_block span.cpc_block_balance {
+  float:right;
+}
+div.cpc_block span.cpc_line_balance {
+  display:none;
+}
+div.cpc_line span.cpc_block_second_row {
+  display:none;
+}
+div.cpc_block span.cpc_block_second_row {
+}
+span.toggle_selected {
+  font-weight: bold;
+}
+.dunned_invoice {
+  font-weight: bold;
+  color: #f00;
+}
+.customer_dunning_level {
+  font-weight: bold;
+}
+
+#expand_all, .expand {
+    cursor: pointer;
+    display: block;
+    max-width: 16px;
+    max-height: 16px;
+}
+#update_from_master {
+    cursor: pointer;
+    display: block;
+    max-width: 16px;
+    max-height: 16px;
+}
+#update_from_master:hover {
+    background: #ddd;
+}
+
+/* Bank transactions */
+#bank_transactions_proposals .invoice_number_highlight a,
+#bank_transactions_proposals span.invoice_number_highlight {
+  background-color: #006400;
+  color: #FFFFFF;
+}
+
+/* actionbar styling */
+div.layout-actionbar {
+  background-color: white;
+}
 
-  position: fixed;
-  top: 17%;
-  left: 40%;
+div.layout-actionbar div.layout-actionbar-link,
+div.layout-actionbar div.layout-actionbar-submit,
+div.layout-actionbar div.layout-actionbar-scriptbutton,
+div.layout-actionbar div.layout-actionbar-link:focus,
+div.layout-actionbar div.layout-actionbar-submit:focus,
+div.layout-actionbar div.layout-actionbar-scriptbutton:focus {
+  border-color: darkgray;
+  background-color: whitesmoke;
+}
 
-  margin-left: -200px;
-  width: 700px;
+div.layout-actionbar div.layout-actionbar-link:hover,
+div.layout-actionbar div.layout-actionbar-submit:hover,
+div.layout-actionbar div.layout-actionbar-scriptbutton:hover {
+  color: #FE5F14;
+}
 
-  background-color: #bec6a2;
-  color: #333;
-  border: 1px solid black;
-  padding: 4px;
+div.layout-actionbar div.layout-actionbar-action-disabled,
+div.layout-actionbar div.layout-actionbar-action-disabled:hover {
+  color: gray;
+  background-color: whitesmoke;
+  border-color: lightgray;
 }
 
-.jqmContent {
-  padding: 8px;
+div.layout-actionbar-combobox div.layout-actionbar-combobox-head span {
+  border-color: darkgray;
+  background-color: whitesmoke;
 }
 
-.jqmWindow h1 {
-  border: 0;
-  padding: 0;
-  background-color: #bec6a2;
+div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover {
+  color: #FE5F14;
 }
 
-.jqmOverlay {
-  background-color: #000;
+div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:after {
+  border-color: black transparent;
 }
 
-/* Kontenliste Styles */
+div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover:after {
+  color: #FE5F14;
+  border-color: #FE5F14 transparent;
+}
+div.layout-actionbar .layout-actionbar-default-action {
+  font-weight: bold;
+}
 
-.coa_listrow1 {
-  background-color: rgb(208,207,201);
-  color: black;
-  vertical-align: top;
+/* Admin section: the menu itself doesn't occupy space. So make room
+   at the top of the div covering the whole admin area. */
+body > div.admin {
+  padding-top: 24px;
 }
 
-.coa_listrow0 {
-  background-color: rgb(236,233,216);
-  color: black;
-  vertical-align: top;
+/* cke editor */
+.cke_top {
+  padding: 0 !important;
+}
+.cke_toolgroup {
+  margin-bottom: 0 !important;
+  margin-top: 0 !important;
+}
+.cke_button {
+  padding: 0px; 6px !important;
 }
 
-.coa_detail_emph {
-  font-size:10pt;
-  font-weight:bold;
-  color:darkred;
+/* selects with text filters */
+div.filtered_select input, div.filtered_select select {
+  display: block;
 }
 
-.coa_details_header {
-  font-size:8pt;
-  padding:3px;
-  font-weight:bolder;
-  text-align:center;
-  border-style:none;
-  border-width:thin;
+div.filtered_select input {
+  background-image: url(../../image/glass14x14.png);
+  background-repeat: no-repeat;
+  background-position: 2px 2px;
+  border-radius: 0px;
+  border: solid #a0a0a0 1px;
+  border-bottom: none;
+  padding: 0px;
+  padding-left: 20px;
+  margin: 0;
+  width: 500px;
 }
 
-.coa_details_header2 {
-  font-size:8pt;
-  padding:3px;
-  font-weight:normal;
-  text-align:left;
-  border-style:none;
-  border-width:thin;
+div.filtered_select select {
+  width: 522px;
 }