egroupware_official/pixelegg/less/layout_dialog.less

521 lines
12 KiB
Plaintext
Raw Normal View History

2013-11-18 20:27:56 +01:00
/**
* EGroupware: Stylite Pixelegg template
*
2014-02-05 11:02:40 +01:00
* dialog
2013-11-25 04:16:41 +01:00
* define every dialog box in egw
* even popup or jquery
2013-11-18 20:27:56 +01:00
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhard <stefan.reinhard@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
@import (reference) "definitions.less";
//##############################################################################################################
2014-02-24 18:18:34 +01:00
/*body {
background-color: @gray_0;
background-image: url(../images/bgDialog.png);
background-repeat: repeat-x;
}*/
2013-12-16 10:37:26 +01:00
2013-11-25 04:16:41 +01:00
// Dialoge Allgemeine Definition
2014-02-05 11:02:40 +01:00
div#popupMainDiv {
2014-04-01 11:14:34 +02:00
padding: 8px;
background-color: @gray_0;
background-image: url(../images/bgDialog.png);
background-repeat: repeat-x;
2014-02-05 11:02:40 +01:00
}
2013-11-25 04:16:41 +01:00
2014-04-01 11:14:34 +02:00
div#popupMainDiv > * {margin: 0px;}
2013-11-25 04:16:41 +01:00
div.et2_container {
// .background-color-25-gray;
padding: 0;
div{
table.et2_grid {
// .background-color-5-gray;
tbody {
tr {
// Select + Inputfelder
.row {
td {
.et2_box_widget {
2014-02-05 11:02:40 +01:00
2013-11-25 04:16:41 +01:00
select{
height: 20px;
padding: 0;
margin: 0px;
font-size: 0.95em;
2014-02-05 11:02:40 +01:00
2013-11-25 04:16:41 +01:00
}
2014-02-05 11:02:40 +01:00
2013-11-25 04:16:41 +01:00
input {
height: 20px;
padding: 0;
margin: 4px 4px 4px 5px;;
font-size: 0.95em;
2013-12-30 18:32:42 +01:00
.border_radius (3px, 3px ,3px ,3px );
2013-11-25 04:16:41 +01:00
}
2014-02-05 11:02:40 +01:00
2013-12-16 10:37:26 +01:00
input.hasDatepicker {
background-image: url( "../images/datepopup.png");
2014-02-05 11:02:40 +01:00
&:hover {cursor: pointer;}
2013-12-16 10:37:26 +01:00
}
2013-11-25 04:16:41 +01:00
}
}
}
2013-11-22 06:27:29 +01:00
2013-11-25 04:16:41 +01:00
td{
2013-11-22 06:27:29 +01:00
2013-11-25 04:16:41 +01:00
// Tabs
.et2_tabbox{
2013-11-18 20:27:56 +01:00
2013-11-25 04:16:41 +01:00
.et2_tabheader {}
.et2_tabs {
2014-02-05 11:02:40 +01:00
2014-02-06 18:35:54 +01:00
button.et2_button_with_image {
background-size: 12px auto !important;
margin-left: 32px;
padding: 0px;
.dimension_height_s;
2014-02-06 18:35:54 +01:00
}
2013-11-25 04:16:41 +01:00
2013-12-30 18:32:42 +01:00
table.et2_grid {.background_color_0_gray;}
2013-11-25 04:16:41 +01:00
}
}
}
}
}
}
}
}
// high = more padding
.high {
2013-12-30 18:32:42 +01:00
border-top: 5px solid @gray_10;
border-bottom: 5px solid @gray_10 !important;
2013-11-25 04:16:41 +01:00
}
2013-11-18 20:27:56 +01:00
/*Main div*/
#popupMainDiv {
2014-02-05 11:02:40 +01:00
2013-11-18 20:27:56 +01:00
}
2013-11-22 06:27:29 +01:00
2013-11-18 20:27:56 +01:00
table.dialog-main-view {width: 100%;}
2013-12-16 10:37:26 +01:00
/*###########################################
# #
# dialogHeader app-img #
#############################################
# #
# dialogHeader2 #
#############################################
# #
# dialogHeader3 #
#############################################
# #
# dialogHeader4 #
2013-12-16 10:37:26 +01:00
#############################################
# #
# #
# #
# #
# #
# main + tabs #
# #
# #
#############################################
# dialogOperators #
2013-12-16 10:37:26 +01:00
#############################################
# #
# button | button | button delete #
2013-12-16 10:37:26 +01:00
##############################################*/
tr.dialogHeader td,
tr.dialogHeader2 td,
tr.dialogHeader3 td,
tr.dialogHeader4 td,
tr.dialogOperators td {
padding: 5px 6px 5px 0;
vertical-align: middle;
}
/*** dialogHeader on a box not table ***/
div.dialogHeader {
2014-04-24 13:01:34 +02:00
/*background-color: @egw_color_2_a !important;*/
vertical-align: middle;
/*font-size: 150%*/
}
.dialogHeader2, .dialogHeader3, .dialogHeader4 {
2014-04-24 13:01:34 +02:00
/*font-size: 120%;*/
}
2013-12-16 10:37:26 +01:00
/********** Header Part ********************/
2014-03-05 10:18:54 +01:00
.dialogHeader{
// background-color gradient
/*.gradient_thead;*/
2014-02-05 11:02:40 +01:00
2013-12-30 18:32:42 +01:00
.color_100_gray;
2014-06-16 13:06:15 +02:00
height: 50px;
2014-02-05 11:02:40 +01:00
// APP img
img[src*="navbar"] {
padding: 0 0 0 15px;
}
2013-12-16 10:37:26 +01:00
// radio button
input[type="radio"],
input.et2_radiobox{
-webkit-appearance: none;
border: none;
}
2013-12-16 10:37:26 +01:00
table.et2_grid {
border-top: none;
2014-02-05 11:02:40 +01:00
.th {
background-color: @egw_color_2_a !important;
2013-12-16 10:37:26 +01:00
}
2013-12-16 10:37:26 +01:00
tr { height: 30px; }
2014-02-05 11:02:40 +01:00
td {padding: 0px 0px 0px 3px; .color_100_gray;}
2014-02-05 11:02:40 +01:00
//Table in Table
table.et2_grid {
label.et2_label {
span.et2_selectbox {
li {float: left;}
}
}
2014-02-05 11:02:40 +01:00
}
} // et2_grid End
2014-02-05 11:02:40 +01:00
// Inputfield Header
input.et2_textbox { font-size: 1.3em; }
.et2_label {
2014-02-05 11:02:40 +01:00
.color_100_gray;
2014-02-06 18:35:54 +01:00
vertical-align: middle;
padding: 0px 0px 0px 0px !important;
2014-02-12 09:10:04 +01:00
/*margin-right: 57px;*/
margin: 0px important;
font-size: 1em;
text-align: right;
}
2014-02-05 11:02:40 +01:00
td.space {
2013-12-12 04:50:22 +01:00
span img {
2013-12-30 18:32:42 +01:00
background: @gray_0;
border: 2px solid @gray_0;
2013-12-12 04:50:22 +01:00
/*filter grey*/
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
/*filter: url(grayscale.svg); Firefox 4+ */
filter: gray; /* IE 6-9 */
2014-02-05 11:02:40 +01:00
2013-12-12 04:50:22 +01:00
}
2014-02-05 11:02:40 +01:00
}
2013-11-18 20:27:56 +01:00
}
/********** Header Row2 - 4 ********************/
2014-03-05 10:18:54 +01:00
tr.dialogHeader2,
tr.dialogHeader3,
tr.dialogHeader4{
background-color: @gray_5 !important;
2014-02-06 18:35:54 +01:00
vertical-align: middle;
2014-02-05 11:02:40 +01:00
2013-12-16 10:37:26 +01:00
.et2_label {
2014-02-05 11:02:40 +01:00
.color_90_gray;
2014-02-06 18:35:54 +01:00
vertical-align: middle;
padding: 0px 0px 0px 0px !important;
2014-02-12 09:10:04 +01:00
/*margin-right: 55px;*/
margin: 0px;
font-size: 1em;
width: 50px !important;
2013-12-16 10:37:26 +01:00
}
2014-02-05 11:02:40 +01:00
2014-02-06 18:35:54 +01:00
2013-12-16 10:37:26 +01:00
}
2014-01-18 18:51:29 +01:00
/************* Tabs *********************************/
/**
* Tabs widget
*/
2014-01-18 18:51:29 +01:00
.et2_tabheader {
padding-left: 0em;
border-bottom: 1px solid #bfbfbf;
margin: 0;
background-image: none;
background-color: @gray_0;
:first-child {
margin-left: 0px;
}
}
2014-02-05 11:02:40 +01:00
.et2_tabflag, .etemplate_tab > div, .etemplate_tab_active > div {
margin: 1em 3px -1px 0;
padding: 4px;
background-color: @gray_30;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
min-width: 73px;
.border_radius(3px, 0px, 0px, 3px);
&:hover {
.color_50_gray;
.background_color_25_gray;
}
&:active{
.background_color_0_gray;
.color_0_gray;
}
}
td.etemplate_tab_active.th {
background-color: transparent;
}
.et2_tabflag.active, .etemplate_tab_active > div {
border-spacing: 0px;
background-color: white;
2014-01-18 18:51:29 +01:00
.color_100_gray;
border-width: 1px 1px 0px 1px;
border-style: solid;
border-color: @gray_70;
&:hover {
.color_100_gray;
// border: 1px solid gray;
background-color: white;
}
}
2014-02-05 11:02:40 +01:00
// field for content
.et2_tabs, .tab_body {
border-width: 0px 1px 1px 1px;
border-style: solid;
border-color: @gray_30;
padding: 5px;
/*overflow-y: auto;*/
background-color: @gray_0;
.rounded(3px);
margin-bottom: 11px;
2014-01-18 18:51:29 +01:00
}
2013-12-16 10:37:26 +01:00
.tab_body {
border-top-width: 1px;
2014-07-03 16:58:23 +02:00
img {
/*filter grey*/
.img_filter_gray;
}
}
div#etemplate\.tab_widget {
margin-bottom: 11px;
}
2013-12-16 10:37:26 +01:00
2013-12-16 10:37:26 +01:00
/************* Main **********************************/
2013-11-18 20:27:56 +01:00
2013-11-25 04:16:41 +01:00
// Terminsuche
.dialogMainTimeframe {
2014-02-05 11:02:40 +01:00
2013-11-25 04:16:41 +01:00
div {min-height: 100px;}
2014-02-05 11:02:40 +01:00
2013-11-25 04:16:41 +01:00
}
2013-11-18 20:27:56 +01:00
2013-12-16 10:37:26 +01:00
/********** Operators *******************************/
/*#############################################
# dialogOperators #
#############################################*/
2014-03-05 10:18:54 +01:00
.dialogOperators {
background-color: @gray_10;
2014-01-08 19:49:09 +01:00
border-top: 0px solid @gray_10;
border-bottom: 0px solid @gray_10;
2014-02-05 11:02:40 +01:00
td {padding: 2px 2px;}
.et2_label {margin-left: 6px; display: inline-block;}
2013-11-22 06:27:29 +01:00
}
2013-11-25 04:16:41 +01:00
2013-12-16 10:37:26 +01:00
/********** Footer *******************************/
/*#############################################*/
/*# Toolbar #*/
/*# button | button | button delete #*/
/*##############################################*/
2013-11-18 20:27:56 +01:00
2014-03-05 10:18:54 +01:00
.dialogFooterToolbar{
2014-02-06 08:40:54 +01:00
background-color: @color_button_panel_bg_color;
2014-03-10 17:08:59 +01:00
margin: 10px 0 0 0;
padding: 3px;
white-space: nowrap;
2013-11-22 06:27:29 +01:00
td {padding: 0px 5px 0px 0px;}
2014-02-05 11:02:40 +01:00
2014-02-06 18:35:54 +01:00
button {
.dimension_height_m; min-width: 86px;
2014-02-06 18:35:54 +01:00
&:hover{.dimension_height_m;}
&:action{.dimension_height_m;}
}
2014-02-05 11:02:40 +01:00
2014-01-14 09:20:19 +01:00
button[id="addressbook-edit_button[delete]"]{
float: right;
}
2014-02-06 08:40:54 +01:00
div.et2_hbox {
white-space: normal;
}
2014-02-05 11:02:40 +01:00
div.et2_box_widget{white-space: nowrap;}
2013-12-16 10:37:26 +01:00
// selectbox
2014-02-06 08:40:54 +01:00
/*.et2_selectbox {height: 32px; top: 0px; font-size: 1em;}*/
2014-02-05 11:02:40 +01:00
2013-11-22 06:27:29 +01:00
// e.g. keine Benachrichtigung senden
2014-06-16 13:06:15 +02:00
label.et2_label {white-space: nowrap;}
2014-02-05 11:02:40 +01:00
2013-12-16 10:37:26 +01:00
input.et2_checkbox { top: 0px;}
2014-02-05 11:02:40 +01:00
2013-11-18 20:27:56 +01:00
}
2013-11-20 09:41:08 +01:00
/*Dialog Calendar - Resourcen suchen*/
div#divMain {
padding: 1em;
2014-02-05 11:02:40 +01:00
img {.dimension_width_height_s;}
input[type*="image"] {.dimension_width_height_s;}
}
2013-11-20 09:41:08 +01:00
2013-11-25 04:16:41 +01:00
//
//
/**
* admin - site configuration
*/
div.admin-config form > table {
width: 100%;
padding: 5px;
tr.th td{
font-size: 110%;
font-weight: bold;
padding-top: 5px;
padding-bottom: 5px;
}
td {
padding-left: 5px;
border-bottom: 1px solid #e0e0e0;
b {
font-weight: bold;
}
}
}
2014-02-10 10:31:29 +01:00
/**
* Styles for different egw_message-types
*/
.success_message, .warning_message, .error_message {
color: red;
font-weight: normal;
font-style: italic;
text-align: left;
margin-left: 5px;
padding-left: 20px;
background-image: url(../images/check.png);
background-position: left;
background-repeat: no-repeat;
background-size: 16px;
2014-04-17 09:35:06 +02:00
white-space: pre-wrap;
}
.warning_message {
background-image: url(../images/dialog_warning.png);
}
.error_message {
font-weight: bold;
background-image: url(../images/dialog_error.png);
}
/**
* Message in popup
*/
body > div#egw_message {
2014-02-19 09:20:52 +01:00
background-color: @gray_10;
2014-02-10 10:31:29 +01:00
/*border-radius: 10px;*/
.box_shadow_message;
2014-02-19 09:20:52 +01:00
/* .border_normal;*/
border: 3px solid @egw_color_1_a;
2014-02-10 10:31:29 +01:00
.border_radius (0px, 15px, 15px, 0px);
2014-04-24 13:01:34 +02:00
right: 33%;
2014-02-10 10:31:29 +01:00
top: 0px;
padding: 10px;
padding-left: 25px;
background-position-x: 5px;
2014-02-10 10:31:29 +01:00
/*border: 2px gray solid;*/
min-width: 100px;
z-index: 100000;
2014-04-24 13:01:34 +02:00
margin: 0px auto;
width: 22%;
}