egroupware/pixelegg/less/def_buttons.less

298 lines
6.1 KiB
Plaintext
Raw Normal View History

2013-11-14 20:11:29 +01:00
/**
* EGroupware: CSS with less preprocessor
*
* Definitions for buttons
*
* 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 Reinhardt <stefan.reinhardt@pixelegg.de>
* @package phpgwapi
* @version $Id$
*/
@import (reference) "def_design_pattern_color_font_shadow.less";
2013-11-22 06:27:29 +01:00
2013-11-14 20:11:29 +01:00
//#####################
//# Complete Button #
//#####################
.Complete_Button_normal{
2013-11-22 06:27:29 +01:00
.border_normal;
.box_shadow_standard_light;
2013-12-16 10:37:26 +01:00
.rounded (3px);
2013-12-30 18:32:42 +01:00
color: @gray_100;
-webkit-transition-property: background;
-moz-transition-property: background;
-o-transition-property: background;
transition-property: background;
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition-timing-function: linear;
-moz-transition-timing-function: linear;
-o-transition-timing-function: linear;
transition-timing-function: linear;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_hover{
2013-11-22 06:27:29 +01:00
// .border_hover;
.box_shadow_standard_light_hover;
background-color: inherit !important;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_active{
2013-11-22 06:27:29 +01:00
// .border_hover;
.box_shadow_standard_light_inset;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_focus{
2013-11-22 06:27:29 +01:00
// .border_hover;
.box_shadow_standard_light_inset;
2013-11-14 20:11:29 +01:00
}
2014-01-06 09:47:46 +01:00
/*ADD / Hinzufügen*/
2013-11-14 20:11:29 +01:00
.Complete_Button_add {
2014-01-06 09:47:46 +01:00
/*background-color: @egw_color_blue_lighter !important;*/
2013-11-22 06:27:29 +01:00
color: #FFF;
text-shadow: none;
2013-11-25 04:16:41 +01:00
/* height: auto;*/
2013-11-22 06:27:29 +01:00
background-image: none !important;
2014-01-06 09:47:46 +01:00
/*.border_radius_button_lefttop;*/
2013-11-22 06:27:29 +01:00
2013-12-08 22:36:30 +01:00
&:before {content: "+";font-size: 1.5em;color: @egw_color_1; line-height: 1.1em;}
2013-11-14 20:11:29 +01:00
}
.Complete_Button_add_hover {
2013-11-22 06:27:29 +01:00
background-color: @egw_color_blue_lightest !important;
color: @egw_color_1;
.box_shadow_standard_light_hover;
.border_radius_button_lefttop;
2013-11-14 20:11:29 +01:00
}
2014-01-06 09:47:46 +01:00
2013-11-14 20:11:29 +01:00
.Complete_Button_hinweis{
2013-11-22 06:27:29 +01:00
.Button_size_square_32;
.border_normal;
padding: 0 0.2em;
border-left: 3px solid;
border-left-color: @lightgray;
2013-11-14 20:11:29 +01:00
}
// select
.Complete_Button_select{
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light;
width: auto;
2013-12-12 21:27:20 +01:00
margin: 5px 0em 5px 5px;
2013-11-22 06:27:29 +01:00
padding:3px;
2013-11-14 20:11:29 +01:00
outline:none;
display: inline-block;
-webkit-appearance:none;
-moz-appearance:none;
appearance:none;
cursor:pointer;
2013-11-22 06:27:29 +01:00
}
2013-11-14 20:11:29 +01:00
.Complete_Button_select_hover {
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light_hover;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_select_focus {
2013-11-22 06:27:29 +01:00
outline:0;
border-width:1px;
border-style: solid;
2013-12-30 18:32:42 +01:00
border-color: @gray_30;
2013-11-22 06:27:29 +01:00
-webkit-box-shadow: 0 0 2px 1px rgba(0,0,0, 0.10);
-moz-box-shadow: 0 0 2px 1px rgba(0,0,0, 0.10);
box-shadow: 0 0 2px 1px rgba(0,0,0, 0.10);
}
2013-11-14 20:11:29 +01:00
// Input
.Complete_Button_input{
2013-11-22 06:27:29 +01:00
.border_normal;
2013-12-30 18:32:42 +01:00
border-color: @gray_30;
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light;
width: auto;
2013-12-20 10:36:43 +01:00
/*margin: 0.5em 0em 0.5em 0;*/
2013-11-22 06:27:29 +01:00
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_input_hover{
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light_hover;
2013-11-14 20:11:29 +01:00
}
2013-12-20 10:36:43 +01:00
2013-11-14 20:11:29 +01:00
.Complete_Button_input_focus {
2013-11-22 06:27:29 +01:00
outline:0;
border-width:1px;
border-style: solid;
2013-12-30 18:32:42 +01:00
border-color: @gray_30;
2013-11-22 06:27:29 +01:00
-webkit-box-shadow: 0 0 2px 1px rgba(0,0,0, 0.10);
-moz-box-shadow: 0 0 2px 1px rgba(0,0,0, 0.10);
box-shadow: 0 0 2px 1px rgba(0,0,0, 0.10);
2013-11-14 20:11:29 +01:00
}
// Suchen button
.Complete_Button_search_action{
2013-11-22 06:27:29 +01:00
.border_normal;
2013-12-30 18:32:42 +01:00
border-color: @gray_30;
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light;
2013-12-12 21:27:20 +01:00
width: 45px;
2013-12-20 10:36:43 +01:00
height: 22px;
2013-12-12 21:27:20 +01:00
2013-12-08 22:36:30 +01:00
.border_radius_button_righttop;
2013-12-30 18:32:42 +01:00
.background_color_search;
2013-11-14 20:11:29 +01:00
2013-12-08 22:36:30 +01:00
color: lighten(@egw_color_1, 15%);
2013-11-14 20:11:29 +01:00
text-decoration: none;
cursor: pointer;
2013-12-12 21:27:20 +01:00
padding: 0px;
2013-12-20 10:36:43 +01:00
margin-left: 0px;
2013-12-08 22:36:30 +01:00
background-image: url("../images/search.png");
background-position: center 0;
background-size: contain;
background-repeat: no-repeat;
2013-11-14 20:11:29 +01:00
}
// Buchstaben
.Complete_Button_lettersearch{
2013-11-22 06:27:29 +01:00
.border_radius_button_normal;
.box_shadow_standard_light;
.border_normal;
// border: 1px solid #D3DCE3;
text-align: center;
cursor: pointer;
2013-11-14 20:11:29 +01:00
}
// Text
.Complete_Button_text{
2013-11-22 06:27:29 +01:00
.border_radius_button_normal;
2013-12-30 18:32:42 +01:00
.background_color_10_gray;
border-color: @gray_50;
2013-11-22 06:27:29 +01:00
cursor: pointer;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_text_hover {
2013-11-22 06:27:29 +01:00
.border_radius_button_normal;
.border_hover;
text-align: center;
cursor: pointer;
2013-12-30 18:32:42 +01:00
.background_color_30_gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_text_active{
2013-11-22 06:27:29 +01:00
color: @gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_text_icon_before{
2013-11-22 06:27:29 +01:00
.Complete_Button_normal;
padding-left: 30px !important;
background-position: 6px center !important;
background-repeat: no-repeat !important;
background-size: 20px auto !important;
.Button_size_h32_auto;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_text_icon_before_hover{
2013-11-22 06:27:29 +01:00
.Complete_Button_text_icon_before;
.box_shadow_standard_light_hover;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_text_icon_before_active{
2013-11-22 06:27:29 +01:00
.Complete_Button_text_icon_before;
.box_shadow_standard_light_hover;
2013-11-14 20:11:29 +01:00
}
// Buttons nur Icon
.Complete_Button_Icon_normal {
2013-12-30 18:32:42 +01:00
.background_color_10_gray;
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light;
.border_normal;
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Icon_hover {
2013-12-30 18:32:42 +01:00
.background_color_20_gray;
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light_hover;
.border_hover;
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Icon_active {
2013-12-30 18:32:42 +01:00
.background_color_30_gray;
2013-11-22 06:27:29 +01:00
.border_active;
.border_radius_button_normal;
2013-12-12 21:27:20 +01:00
.box_shadow_standard_light_inset;
2013-11-14 20:11:29 +01:00
}
// #############################
// Button Sub Menupunkte
.Complete_Button_Module_Menu_Links{
2013-12-30 18:32:42 +01:00
.background_color_10_gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Module_Menu_Links_Hover{
2013-12-30 18:32:42 +01:00
.background_color_30_gray;
.color_5_gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Module_Menu_Links_active{
2013-12-30 18:32:42 +01:00
.background_color_10_gray;
2013-11-14 20:11:29 +01:00
}
// Button Sub Sub Menupunkte
.Complete_Button_Module_Menu_Links_Sub_Hover {
2013-11-22 06:27:29 +01:00
margin-left: 2px;
padding-top: 0px;
padding-bottom: 5px;
.border_normal;
2013-12-30 18:32:42 +01:00
.background_color_15_gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Module_Menu_Links_Sub {
2013-11-22 06:27:29 +01:00
margin-left: 3px;
padding-top: 0px;
padding-bottom: 5px;
.border_normal;
border-top-width: 0px;
2013-12-30 18:32:42 +01:00
.background_color_10_gray;
2013-11-22 06:27:29 +01:00
margin-top: -7px;
padding-left: 14px;
width: 93%;
}
2013-12-16 10:37:26 +01:00
//