egroupware_official/pixelegg/less/def_buttons.less

313 lines
6.2 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;
.color-100-gray;
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
}
// komplette Schaltflächen
.Complete_Button_add {
2013-11-22 06:27:29 +01:00
background-color: @egw_color_blue_lighter !important;
color: #FFF;
text-shadow: none;
height: 35px;
background-image: none !important;
.border_radius_button_lefttop;
&:before {content: "+";font-size: 2em;color: @egw_color_1;}
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
}
//.Complete_Button_add_before {content: "+";font-size: 2em;}
.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;
margin: 0.5em 0em 0.5em 0.5em;
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;
border-color: @gray-30;
-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;
border-color: @gray-30;
.box_shadow_standard_light;
width: auto;
margin: 0.5em 0em 0.5em 0;
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
2013-11-22 06:27:29 +01:00
// .gradient(#000, #333, #FFF);
// .gradient(#F5F5F5, #EEE, #FFF);
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
}
.Complete_Button_input_focus {
2013-11-22 06:27:29 +01:00
outline:0;
border-width:1px;
border-style: solid;
border-color: @gray-30;
-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;
border-color: @gray-30;
.box_shadow_standard_light;
width: 3em;
// height: 2.5em;
// margin: 0.5em 1em 0.5em 1;
.border_radius_button_lefttop;
2013-11-14 20:11:29 +01:00
2013-11-22 06:27:29 +01:00
.background-color-search;
2013-11-14 20:11:29 +01:00
2013-11-22 06:27:29 +01:00
color: #FFFFFF;
2013-11-14 20:11:29 +01:00
text-decoration: none;
cursor: pointer;
2013-11-22 06:27:29 +01:00
padding: 3px;
margin-left: 5px;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_search_action_hover{
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light_hover;
background-color: @yellow !important;
.border_radius_button_lefttop;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_search_action_active{
2013-11-22 06:27:29 +01:00
.box_shadow_standard_light_hover;
.background-color-search;
.border_radius_button_lefttop;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_search_action_reset{
2013-11-22 06:27:29 +01:00
.Complete_Button_search_action;
2013-11-14 20:11:29 +01:00
.background_verlauf_diagonal_gray;
}
// 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;
.background-color-10-gray;
border-color: @gray-50;
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;
.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-11-22 06:27:29 +01:00
.background-color-10-gray;
.box_shadow_standard_light;
.border_normal;
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Icon_hover {
2013-11-22 06:27:29 +01:00
.background-color-30-gray;
.box_shadow_standard_light_hover;
.border_hover;
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Icon_active {
2013-11-22 06:27:29 +01:00
.background-color-50-gray;
.box_shadow_standard_light_hover;
.border_active;
.border_radius_button_normal;
2013-11-14 20:11:29 +01:00
}
// #############################
// Button Sub Menupunkte
.Complete_Button_Module_Menu_Links{
2013-11-22 06:27:29 +01:00
.background-color-10-gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Module_Menu_Links_Hover{
2013-11-22 06:27:29 +01:00
.background-color-30-gray;
.color-5-gray;
2013-11-14 20:11:29 +01:00
}
.Complete_Button_Module_Menu_Links_active{
2013-11-22 06:27:29 +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;
.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;
.background-color-10-gray;
margin-top: -7px;
padding-left: 14px;
width: 93%;
}
2013-11-14 20:11:29 +01:00
//.Complete_Button_Module_Menu_Links_Sub {
// margin-left: 3px;
// padding-top: 0px;
// padding-bottom: 5px;
// .border_normal;
// border-top-width: 0px;
// .background-color-10-gray;
//
// margin-top: -7px;
// padding-left: 14px;
//
// width: 93%;
//}