egroupware/addressbook/templates/pixelegg/app.less

273 lines
6.9 KiB
Plaintext
Raw Normal View History

2013-11-14 20:29:55 +01:00
/**
* EGroupware: CSS with less preprocessor
2013-12-12 21:27:35 +01:00
* ADDRESSBOOK
2013-11-14 20:29:55 +01:00
*
* Please do NOT change app.css directly, instead change app.less and compile it!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhardt <stefan.reinhardt@pixelegg.de>
* @package addressbook
* @version $Id$
*/
2013-12-16 10:37:11 +01:00
2014-07-16 13:28:49 +02:00
@import (reference) "../../../pixelegg/less/definitions.less";
@import (reference) "../../../pixelegg/less/def_mobile.less";
2013-11-18 20:31:54 +01:00
@import (less) "../default/app.css";
2013-12-12 21:27:35 +01:00
@media all {
2013-12-08 22:38:36 +01:00
/* #############################################################################
2013-12-08 22:38:36 +01:00
// Rahmen + padding**/
/*##############################################*/
2013-12-12 04:46:53 +01:00
/*# # #*/
/*# Bild # #*/
/*# # Infolog #*/
2013-12-12 04:46:53 +01:00
/*# # #*/
/*# # #*/
/*# # #*/
/*# Sidebar # #*/
2013-12-12 04:46:53 +01:00
/*# # #*/
/*# # #*/
/*# # #*/
/*# # #*/
/*# # #*/
/*##############################################*/
// Image + Data
div#addressbook_view_sidebox{
//img
img.photo {
width: 68px;
padding-right: 3px;
height: auto;
vertical-align: top;
margin-right: 5px;
}
// name
#addressbook-view_n_fn{
.fontsize_xl;
font-weight: bold;
padding: 2px 0 2px 0;
width: 85%;
}
// org
#addressbook-view_org_name {
.fontsize_xl;
padding: 2px 0 2px 0;
width: 85%;
}
// Unit
#addressbook-view_org_unit {
.fontsize_m;
padding: 2px 0 2px 0;
}
// Ort
#addressbook-view_adr_one_locality{
.fontsize_m;
padding: 2px 0 2px 0;
}
}
2013-12-08 22:38:36 +01:00
/**
* Give space to both contact view & infolog list
*/
2013-12-12 04:46:53 +01:00
2013-12-08 22:38:36 +01:00
#addressbook-edit {
2014-01-14 09:20:32 +01:00
height: auto;
min-height: 390px;
2013-12-12 21:27:35 +01:00
overflow: auto;
2013-12-08 22:38:36 +01:00
}
2013-12-12 04:46:53 +01:00
/*##################################################################*/
2013-12-16 10:37:11 +01:00
/*Infolog*/
2013-12-12 04:46:53 +01:00
.et2_container[id^="infolog-index-addressbook"] {
2013-12-16 10:37:11 +01:00
2013-12-12 21:27:35 +01:00
/*height: auto;*/
/*padding: 1em;*/
2013-12-16 10:37:11 +01:00
/*min-height: 250px;*/
2013-12-20 15:32:40 +01:00
/*ADD Button */
2013-12-16 10:37:11 +01:00
/* div.et2_hbox,
2013-12-12 04:46:53 +01:00
div.et2_box_widget*/
.et2_hbox_right[id*="_infolog-index-header_right"]{
2013-12-20 15:32:40 +01:00
2014-01-08 08:58:33 +01:00
div.et2_box_widget{
/*border: 1px solid rgba(0, 0, 0, 0.15);*/
/*box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);*/
text-shadow: none;
2014-01-08 08:58:33 +01:00
.dimension_height_l;
margin-top: 5px;
background-image: none !important;
transition: all 0.5s linear;
-webkit-transition: all 0.5s linear; /* Safari */
2014-01-08 08:58:33 +01:00
&:before {
content: "+";
font-size: 2em;
color: @egw_color_1;
2014-01-08 08:58:33 +01:00
line-height: 0.5em;
}
2014-01-08 08:58:33 +01:00
/*Text ""hinzufügen" "*/
span {display: none;}
2014-01-08 08:58:33 +01:00
// IMG
img {
.Complete_Button_Icon_normal;
.dimension_width_height_s;
margin-left: 0.5em;
padding: 0px;
margin-top: 0px;
vertical-align: middle;
2014-01-23 09:44:49 +01:00
/*.gradient_vertical (@egw_color_2_a, @egw_color_2_a);*/
2014-01-08 08:58:33 +01:00
&:hover{.Complete_Button_Icon_hover ;}
&:active { .Complete_Button_Icon_active ;}
}
2014-01-08 08:58:33 +01:00
img:last-child {margin-right: 5px;};
2014-01-08 08:58:33 +01:00
/*MouseOver*/
&:hover {
.box_shadow_standard_light_hover;
2014-01-08 08:58:33 +01:00
background-color: @egw_color_2_a !important;
.border_radius_button_lefttop;
.dimension_height_l;
&:before {content: ""; font-size: 1em;padding-left: 5px;}
/*Text*/
span {visibility: hidden; display: none;};
img {.scale; margin: 0.5em; background: @gray_0;}
2014-01-08 08:58:33 +01:00
}
}
2014-01-08 08:58:33 +01:00
2013-12-20 15:32:40 +01:00
}
2013-12-16 10:37:11 +01:00
2013-12-20 15:32:40 +01:00
// Scrollarea in Infolog
.egwGridView_scrollarea{
2013-12-20 15:32:40 +01:00
overflow-y: scroll !important;
overflow-x: hidden !important;
}
}
2013-12-16 10:37:11 +01:00
2014-04-24 12:58:40 +02:00
//******************************************************************
// CRM View - Tracking System
button#tracker-index-addressbook_add{
.Complete_Button_add_only_plus;
.dimension_height_m;
&:hover {.Complete_Button_add_only_plus_hover;}
&:active {background-color: @color_positive_action_active !important;}
}
2013-12-16 10:37:11 +01:00
2013-12-12 04:46:53 +01:00
2013-11-14 20:29:55 +01:00
//******************************************************************
// sidebar
2014-04-24 12:58:40 +02:00
//******************************************************************
2013-11-14 20:29:55 +01:00
#egw_fw_sidemenu{
//Tabelle mit Ansichten des Kalenders
.egw_fw_ui_category_content{
2013-12-04 06:23:51 +01:00
// table {margin-left: -14px;}
2013-11-14 20:29:55 +01:00
}
// Bilder für Favoriten
img.sideboxstar {
}
2013-12-04 06:23:51 +01:00
// select {margin-top: -5px;}
2013-11-14 20:29:55 +01:00
}
// #############################################################################
// Addressbook edit dialog
/*###########################################
# #
# dialogHeader #
#############################################
# #
# #
# #
# #
# #
# dialog #
# #
# #
#############################################
# #
# buttons #
# #
# #
##############################################*/
#addressbook-edit.et2_container {
}
// person image
div.addressbook_edit_general_picture img {
top: -4px;
width: 70px;
height: auto;
left: 7px;
}
// general
#addressbook-edit_addressbook-edit-general{
2013-11-14 20:29:55 +01:00
.et2_label {margin-right: 6px;}
}
2013-11-14 20:29:55 +01:00
// END DIALOG #############################################################################
2013-11-14 20:29:55 +01:00
2013-12-12 21:27:35 +01:00
} // Ende Media all