mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
pixelegg / less
cleanup less files separate the definitions in different files merge them in definitions.less ### same with layout_ files / merge in layout_defintions.less # change all app.less files
This commit is contained in:
parent
e62cee604d
commit
c6527ff2a4
42
pixelegg/less/def_borderRadius.less
Normal file
42
pixelegg/less/def_borderRadius.less
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/**
|
||||||
|
* EGroupware: Stylite Pixelegg template
|
||||||
|
*
|
||||||
|
* 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: pixelegg.less 3017 2014-04-15 08:35:38Z ralfbecker $
|
||||||
|
|
||||||
|
## Definitions of all border radius
|
||||||
|
|
||||||
|
*/
|
||||||
|
@import "definitions.less";
|
||||||
|
|
||||||
|
/*#####################################################################*/
|
||||||
|
/* Radius*/
|
||||||
|
|
||||||
|
.border_radius_button_lefttop {
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
-webkit-border-top-left-radius: 10px;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-moz-border-radius-topleft: 10px;
|
||||||
|
border-radius: 3px;
|
||||||
|
border-top-left-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.border_radius_button_righttop {
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
-webkit-border-top-right-radius: 20px;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-moz-border-radius-topright: 20px;
|
||||||
|
border-radius: 3px;
|
||||||
|
border-top-right-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.border_radius_button_normal {
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
32
pixelegg/less/def_borders.less
Normal file
32
pixelegg/less/def_borders.less
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/**
|
||||||
|
* EGroupware: Stylite Pixelegg template
|
||||||
|
*
|
||||||
|
* 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: pixelegg.less 3017 2014-04-15 08:35:38Z ralfbecker $
|
||||||
|
|
||||||
|
## Definitions of all borders
|
||||||
|
|
||||||
|
*/
|
||||||
|
@import "definitions.less";
|
||||||
|
|
||||||
|
// Rahmen für Schaltflächen
|
||||||
|
|
||||||
|
.border_normal{
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.border_hover{
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
.border_active{
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
.border_none{
|
||||||
|
border: 0px solid rgba(0, 0, 0, 0.9);
|
||||||
|
}
|
75
pixelegg/less/def_boxShadow.less
Normal file
75
pixelegg/less/def_boxShadow.less
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
/**
|
||||||
|
* EGroupware: Stylite Pixelegg template
|
||||||
|
*
|
||||||
|
* 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: pixelegg.less 3017 2014-04-15 08:35:38Z ralfbecker $
|
||||||
|
|
||||||
|
## Definitions of all box shadows
|
||||||
|
|
||||||
|
*/
|
||||||
|
@import "definitions.less";
|
||||||
|
|
||||||
|
// Box Shadow
|
||||||
|
// none
|
||||||
|
.box_shadow_none {
|
||||||
|
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||||
|
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||||
|
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
// auf hellem Hintergrund
|
||||||
|
|
||||||
|
.box_shadow_standard_light {
|
||||||
|
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
||||||
|
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
// wird dunkler
|
||||||
|
|
||||||
|
.box_shadow_standard_light_hover {
|
||||||
|
-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
||||||
|
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
||||||
|
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// für focus und active
|
||||||
|
|
||||||
|
.box_shadow_standard_light_inset {
|
||||||
|
-webkit-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.box_shadow_standard_light_active {
|
||||||
|
-webkit-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.box_shadow_message {
|
||||||
|
-webkit-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
-moz-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Rahmen für Dialoge
|
||||||
|
|
||||||
|
.box_shadow_edit_dialog {
|
||||||
|
|
||||||
|
-moz-box-shadow: inset 0 0 5px 5px #888;
|
||||||
|
-webkit-box-shadow: inset 0 0 5px 5px #888;
|
||||||
|
box-shadow: inset 0 0 5px 5px #888;
|
||||||
|
|
||||||
|
margin: 5px ;
|
||||||
|
padding: 0%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
39
pixelegg/less/def_buttonSize.less
Normal file
39
pixelegg/less/def_buttonSize.less
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/**
|
||||||
|
* EGroupware: Stylite Pixelegg template
|
||||||
|
*
|
||||||
|
* 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: pixelegg.less 3017 2014-04-15 08:35:38Z ralfbecker $
|
||||||
|
|
||||||
|
## Definitions of all buttons sizes
|
||||||
|
|
||||||
|
*/
|
||||||
|
@import "definitions.less";
|
||||||
|
|
||||||
|
// #############################
|
||||||
|
// Button Größen
|
||||||
|
|
||||||
|
.Button_size_square_32{
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.Button_size_square_16{
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Button_size_square_8{
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Button_size_h32_auto{
|
||||||
|
width: auto;
|
||||||
|
height: 32px;
|
||||||
|
}
|
@ -12,7 +12,7 @@
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import (reference) "def_design_pattern_color_font_shadow.less";
|
@import "definitions.less";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
194
pixelegg/less/def_colors.less
Normal file
194
pixelegg/less/def_colors.less
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
/**
|
||||||
|
* EGroupware: Stylite Pixelegg template
|
||||||
|
*
|
||||||
|
* 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: pixelegg.less 3017 2014-04-15 08:35:38Z ralfbecker $
|
||||||
|
|
||||||
|
## Definitions of all used colors
|
||||||
|
|
||||||
|
*/
|
||||||
|
@import "definitions.less";
|
||||||
|
|
||||||
|
// Basic colour
|
||||||
|
// CI EGW
|
||||||
|
|
||||||
|
// Orange
|
||||||
|
@egw_color_1 : rgb(255, 194, 0); // #ffc200
|
||||||
|
|
||||||
|
@egw_color_1_a : #ffc200;
|
||||||
|
@egw_color_1_b : #BF9D30;
|
||||||
|
@egw_color_1_c : #A67E00;
|
||||||
|
@egw_color_1_d : #FFD140;
|
||||||
|
@egw_color_1_e : #FFDD73; // li:selected
|
||||||
|
|
||||||
|
// BLUE
|
||||||
|
@egw_color_2_a : #0C5DA5;
|
||||||
|
@egw_color_2_b : #26537C;
|
||||||
|
@egw_color_2_c : #043A6B;
|
||||||
|
@egw_color_2_d : #408DD2;
|
||||||
|
@egw_color_2_e : #679FD2; // li:current
|
||||||
|
|
||||||
|
|
||||||
|
// Lila
|
||||||
|
@egw_color_3_a : #560EAD;
|
||||||
|
@egw_color_3_b : #512882;
|
||||||
|
@egw_color_3_c : #360570;
|
||||||
|
@egw_color_3_d : #8643D6;
|
||||||
|
@egw_color_3_e : #9B6AD6;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@egw_color_blue : #1D1AB2;
|
||||||
|
|
||||||
|
@egw_color_blue_lighter : #0B5FA4 ;
|
||||||
|
|
||||||
|
@egw_color_blue_lightest : #679FD2; //#66A1D2;
|
||||||
|
|
||||||
|
//Berechnung der EGW Farben
|
||||||
|
|
||||||
|
.background_color_egw_normal {background-color : @egw_color_1_a !important;}
|
||||||
|
.background_color_egw_light {background-color : @egw_color_1_d;}
|
||||||
|
.background_color_egw_lighter {background-color : @egw_color_1_e;}
|
||||||
|
.background_color_egw_dark {background-color : @egw_color_2_a;}
|
||||||
|
.background_color_egw_darker {background-color : @egw_color_2_b;}
|
||||||
|
|
||||||
|
|
||||||
|
// greyscale
|
||||||
|
@gray : #000000; // Base colur is black
|
||||||
|
|
||||||
|
/*@gray-100 : #000000;*/
|
||||||
|
@gray_100 : #000000;
|
||||||
|
@gray_90 : #1E1E1E;
|
||||||
|
@gray_80 : #373737;
|
||||||
|
@gray_70 : #505050;
|
||||||
|
@gray_60 : #696969;
|
||||||
|
@gray_50 : #828282;
|
||||||
|
@gray_40 : #9B9B9B;
|
||||||
|
@gray_30 : #B4B4B4;
|
||||||
|
@gray_20 : #CDCDCD;
|
||||||
|
@gray_10 : #E6E6E6;
|
||||||
|
@gray_5 : #F2F2F2;
|
||||||
|
@gray_0 : #FFFFFF;
|
||||||
|
|
||||||
|
|
||||||
|
.color_0_gray { color : lighten(@gray, 100%);} // white
|
||||||
|
|
||||||
|
.color_5_gray { color : lighten(@gray, 95%);}
|
||||||
|
.color_10_gray { color : lighten(@gray, 90%);}
|
||||||
|
.color_15_gray { color : lighten(@gray, 85%);}
|
||||||
|
.color_20_gray { color : lighten(@gray, 80%);}
|
||||||
|
.color_25_gray { color : lighten(@gray, 75%);}
|
||||||
|
.color_30_gray { color : lighten(@gray, 70%);}
|
||||||
|
.color_40_gray { color : lighten(@gray, 60%);}
|
||||||
|
.color_50_gray { color : lighten(@gray, 50%);}
|
||||||
|
.color_60_gray { color : lighten(@gray, 40%);}
|
||||||
|
.color_70_gray { color : lighten(@gray, 30%);}
|
||||||
|
.color_80_gray { color : lighten(@gray, 20%);}
|
||||||
|
.color_90_gray { color : lighten(@gray, 10%);}
|
||||||
|
.color_100_gray { color : @gray; } // black
|
||||||
|
|
||||||
|
@lightgray : @gray*010101;
|
||||||
|
/*@darkgrey : .color_90_gray;*/
|
||||||
|
|
||||||
|
// grey fpr background
|
||||||
|
|
||||||
|
.background_color_0_gray { background-color : lighten(@gray, 100%);}
|
||||||
|
.background_color_5_gray { background-color : lighten(@gray, 98%); }
|
||||||
|
.background_color_10_gray { background-color : lighten(@gray, 94%); }
|
||||||
|
.background_color_15_gray { background-color : lighten(@gray, 85%); }
|
||||||
|
.background_color_20_gray { background-color : lighten(@gray, 80%); }
|
||||||
|
.background_color_25_gray { background-color : lighten(@gray, 75%); }
|
||||||
|
.background_color_30_gray { background-color : lighten(@gray, 70%) !important; }
|
||||||
|
.background_color_40_gray { background-color : lighten(@gray, 60%); }
|
||||||
|
.background_color_50_gray { background-color : lighten(@gray, 50%); }
|
||||||
|
|
||||||
|
|
||||||
|
// Warning
|
||||||
|
@red: #FF0000;
|
||||||
|
@color_warning : @red;
|
||||||
|
|
||||||
|
|
||||||
|
// ERROR
|
||||||
|
@color_error : #AE1D00;
|
||||||
|
|
||||||
|
|
||||||
|
// Test Colour for debug
|
||||||
|
@yellow : #FFD40F;
|
||||||
|
|
||||||
|
// Link Colours
|
||||||
|
@link_color : @egw_color_2_b;
|
||||||
|
@link_color_active: fade(@egw_color_2_b, 60%);
|
||||||
|
|
||||||
|
// soll EGROUPWARE FARBE GEBEN
|
||||||
|
/*@active_button_border_bottom : @egw_color_2_d;*/
|
||||||
|
|
||||||
|
// Hint / or have to do / must field
|
||||||
|
@color_hint : #189800; //@egw_color_2_a;
|
||||||
|
|
||||||
|
// Tooltipp / or have to do / must field
|
||||||
|
@color_tooltip : lighten(@egw_color_1_e, 90%);
|
||||||
|
|
||||||
|
/*optional / can field*/
|
||||||
|
@color_optional : fade(@egw_color_1_e, 10%);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*Listenausgabe*/
|
||||||
|
|
||||||
|
@color_even : @gray_0;
|
||||||
|
@color_odd : darken(@gray_0, 5%);
|
||||||
|
|
||||||
|
|
||||||
|
// aktiverte Zeilen in allen APP mit Listenausgabe
|
||||||
|
@color_active_row : fade(@egw_color_1_a, 1%);
|
||||||
|
|
||||||
|
// not in use
|
||||||
|
@color_selected_row : @egw_color_1_e;
|
||||||
|
|
||||||
|
// Mouse over
|
||||||
|
@color_hover_row : fade(@egw_color_2_e, 20%);
|
||||||
|
|
||||||
|
|
||||||
|
/* Dialog Button panel Background Color*/
|
||||||
|
@color_button_panel_bg_color : @egw_color_2_e;
|
||||||
|
|
||||||
|
|
||||||
|
/*Button edit + save + apply + copy = positive action */
|
||||||
|
@color_positive_action : #189800; // green
|
||||||
|
@color_positive_action_hover : fade(#189800, 2%); // green
|
||||||
|
@color_positive_action_active : lighten(#189800, 2%); // green
|
||||||
|
|
||||||
|
|
||||||
|
/*Button cancel = do nothing action */
|
||||||
|
@color_cancel_action : #F5B301;
|
||||||
|
@color_cancel_action_hover : lighten(#F5B301, 0%);
|
||||||
|
@color_cancel_action_active : lighten(#F5B301, 15%);
|
||||||
|
|
||||||
|
/*Button delete = negative action */
|
||||||
|
@color_negative_action : #AE1D00;
|
||||||
|
@color_negative_action_hover : lighten(#AE1D00, 2%);
|
||||||
|
@color_negative_action_active : lighten(#AE1D00, 10%);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@color_splitter_bar : @egw_color_1_a;
|
||||||
|
@color_splitter_bar_hover : @egw_color_1_a;
|
||||||
|
@color_splitter_bar_active : @egw_color_1_a;
|
||||||
|
|
||||||
|
// Search Button
|
||||||
|
|
||||||
|
.background_color_search {background-color : @gray_30; }
|
||||||
|
|
||||||
|
|
||||||
|
// cal Heute // in Sidebar
|
||||||
|
.background_table_cal_head { background-color : @egw_color_1_a;}
|
||||||
|
|
||||||
|
@color_progress : @egw_color_1_e;
|
@ -12,708 +12,4 @@
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Basic colour
|
// not used any more
|
||||||
// CI EGW
|
|
||||||
|
|
||||||
// Orange
|
|
||||||
@egw_color_1 : rgb(255, 194, 0); // #ffc200
|
|
||||||
|
|
||||||
@egw_color_1_a : #ffc200;
|
|
||||||
@egw_color_1_b : #BF9D30;
|
|
||||||
@egw_color_1_c : #A67E00;
|
|
||||||
@egw_color_1_d : #FFD140;
|
|
||||||
@egw_color_1_e : #FFDD73; // li:selected
|
|
||||||
|
|
||||||
// BLUE
|
|
||||||
@egw_color_2_a : #0C5DA5;
|
|
||||||
@egw_color_2_b : #26537C;
|
|
||||||
@egw_color_2_c : #043A6B;
|
|
||||||
@egw_color_2_d : #408DD2;
|
|
||||||
@egw_color_2_e : #679FD2; // li:current
|
|
||||||
|
|
||||||
|
|
||||||
// Lila
|
|
||||||
@egw_color_3_a : #560EAD;
|
|
||||||
@egw_color_3_b : #512882;
|
|
||||||
@egw_color_3_c : #360570;
|
|
||||||
@egw_color_3_d : #8643D6;
|
|
||||||
@egw_color_3_e : #9B6AD6;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@egw_color_blue : #1D1AB2;
|
|
||||||
|
|
||||||
@egw_color_blue_lighter : #0B5FA4 ;
|
|
||||||
|
|
||||||
@egw_color_blue_lightest : #679FD2; //#66A1D2;
|
|
||||||
|
|
||||||
//Berechnung der EGW Farben
|
|
||||||
|
|
||||||
.background_color_egw_normal {background-color : @egw_color_1_a !important;}
|
|
||||||
.background_color_egw_light {background-color : @egw_color_1_d;}
|
|
||||||
.background_color_egw_lighter {background-color : @egw_color_1_e;}
|
|
||||||
.background_color_egw_dark {background-color : @egw_color_2_a;}
|
|
||||||
.background_color_egw_darker {background-color : @egw_color_2_b;}
|
|
||||||
|
|
||||||
|
|
||||||
// greyscale
|
|
||||||
@gray : #000000; // Base colur is black
|
|
||||||
|
|
||||||
/*@gray-100 : #000000;*/
|
|
||||||
@gray_100 : #000000;
|
|
||||||
@gray_90 : #1E1E1E;
|
|
||||||
@gray_80 : #373737;
|
|
||||||
@gray_70 : #505050;
|
|
||||||
@gray_60 : #696969;
|
|
||||||
@gray_50 : #828282;
|
|
||||||
@gray_40 : #9B9B9B;
|
|
||||||
@gray_30 : #B4B4B4;
|
|
||||||
@gray_20 : #CDCDCD;
|
|
||||||
@gray_10 : #E6E6E6;
|
|
||||||
@gray_5 : #F2F2F2;
|
|
||||||
@gray_0 : #FFFFFF;
|
|
||||||
|
|
||||||
|
|
||||||
.color_0_gray { color : lighten(@gray, 100%);} // white
|
|
||||||
|
|
||||||
.color_5_gray { color : lighten(@gray, 95%);}
|
|
||||||
.color_10_gray { color : lighten(@gray, 90%);}
|
|
||||||
.color_15_gray { color : lighten(@gray, 85%);}
|
|
||||||
.color_20_gray { color : lighten(@gray, 80%);}
|
|
||||||
.color_25_gray { color : lighten(@gray, 75%);}
|
|
||||||
.color_30_gray { color : lighten(@gray, 70%);}
|
|
||||||
.color_40_gray { color : lighten(@gray, 60%);}
|
|
||||||
.color_50_gray { color : lighten(@gray, 50%);}
|
|
||||||
.color_60_gray { color : lighten(@gray, 40%);}
|
|
||||||
.color_70_gray { color : lighten(@gray, 30%);}
|
|
||||||
.color_80_gray { color : lighten(@gray, 20%);}
|
|
||||||
.color_90_gray { color : lighten(@gray, 10%);}
|
|
||||||
.color_100_gray { color : @gray; } // black
|
|
||||||
|
|
||||||
@lightgray : @gray*010101;
|
|
||||||
/*@darkgrey : .color_90_gray;*/
|
|
||||||
|
|
||||||
// grey fpr background
|
|
||||||
|
|
||||||
.background_color_0_gray { background-color : lighten(@gray, 100%);}
|
|
||||||
.background_color_5_gray { background-color : lighten(@gray, 98%); }
|
|
||||||
.background_color_10_gray { background-color : lighten(@gray, 94%); }
|
|
||||||
.background_color_15_gray { background-color : lighten(@gray, 85%); }
|
|
||||||
.background_color_20_gray { background-color : lighten(@gray, 80%); }
|
|
||||||
.background_color_25_gray { background-color : lighten(@gray, 75%); }
|
|
||||||
.background_color_30_gray { background-color : lighten(@gray, 70%) !important; }
|
|
||||||
.background_color_40_gray { background-color : lighten(@gray, 60%); }
|
|
||||||
.background_color_50_gray { background-color : lighten(@gray, 50%); }
|
|
||||||
|
|
||||||
|
|
||||||
// Warning
|
|
||||||
@red: #FF0000;
|
|
||||||
@color_warning : @red;
|
|
||||||
|
|
||||||
|
|
||||||
// ERROR
|
|
||||||
@color_error : #AE1D00;
|
|
||||||
|
|
||||||
|
|
||||||
// Test Colour for debug
|
|
||||||
@yellow : #FFD40F;
|
|
||||||
|
|
||||||
// Link Colours
|
|
||||||
@link_color : @egw_color_2_b;
|
|
||||||
@link_color_active: fade(@egw_color_2_b, 60%);
|
|
||||||
|
|
||||||
// soll EGROUPWARE FARBE GEBEN
|
|
||||||
/*@active_button_border_bottom : @egw_color_2_d;*/
|
|
||||||
|
|
||||||
// Hint / or have to do / must field
|
|
||||||
@color_hint : #189800; //@egw_color_2_a;
|
|
||||||
|
|
||||||
// Tooltipp / or have to do / must field
|
|
||||||
@color_tooltip : lighten(@egw_color_1_e, 90%);
|
|
||||||
|
|
||||||
/*optional / can field*/
|
|
||||||
@color_optional : fade(@egw_color_1_e, 10%);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*Listenausgabe*/
|
|
||||||
|
|
||||||
@color_even : @gray_0;
|
|
||||||
@color_odd : darken(@gray_0, 5%);
|
|
||||||
|
|
||||||
|
|
||||||
// aktiverte Zeilen in allen APP mit Listenausgabe
|
|
||||||
@color_active_row : fade(@egw_color_1_a, 1%);
|
|
||||||
|
|
||||||
// not in use
|
|
||||||
@color_selected_row : @egw_color_1_e;
|
|
||||||
|
|
||||||
// Mouse over
|
|
||||||
@color_hover_row : fade(@egw_color_2_e, 20%);
|
|
||||||
|
|
||||||
|
|
||||||
/* Dialog Button panel Background Color*/
|
|
||||||
@color_button_panel_bg_color : @egw_color_2_e;
|
|
||||||
|
|
||||||
|
|
||||||
/*Button edit + save + apply + copy = positive action */
|
|
||||||
@color_positive_action : #189800; // green
|
|
||||||
@color_positive_action_hover : fade(#189800, 2%); // green
|
|
||||||
@color_positive_action_active : lighten(#189800, 2%); // green
|
|
||||||
|
|
||||||
|
|
||||||
/*Button cancel = do nothing action */
|
|
||||||
@color_cancel_action : #F5B301;
|
|
||||||
@color_cancel_action_hover : lighten(#F5B301, 0%);
|
|
||||||
@color_cancel_action_active : lighten(#F5B301, 15%);
|
|
||||||
|
|
||||||
/*Button delete = negative action */
|
|
||||||
@color_negative_action : #AE1D00;
|
|
||||||
@color_negative_action_hover : lighten(#AE1D00, 2%);
|
|
||||||
@color_negative_action_active : lighten(#AE1D00, 10%);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@color_splitter_bar : @egw_color_1_a;
|
|
||||||
@color_splitter_bar_hover : @egw_color_1_a;
|
|
||||||
@color_splitter_bar_active : @egw_color_1_a;
|
|
||||||
|
|
||||||
// Search Button
|
|
||||||
|
|
||||||
.background_color_search {background-color : @gray_30; }
|
|
||||||
|
|
||||||
|
|
||||||
// cal Heute // in Sidebar
|
|
||||||
.background_table_cal_head { background-color : @egw_color_1_a;}
|
|
||||||
|
|
||||||
@color_progress : @egw_color_1_e;
|
|
||||||
|
|
||||||
/*#####################################################################*/
|
|
||||||
// Schriften
|
|
||||||
|
|
||||||
.basefontfamily{
|
|
||||||
font-family: Verdana, "Lucida Grande", Helvetica, Sans-Serif;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@basefontsize : 11px;
|
|
||||||
|
|
||||||
.fontsize_normal {font-size: @basefontsize;}
|
|
||||||
|
|
||||||
.fontsize_xs {font-size: @basefontsize*0.25;} // h5
|
|
||||||
.fontsize_s {font-size: @basefontsize*0.5;} // h4
|
|
||||||
.fontsize_m {font-size: @basefontsize*1;} // p
|
|
||||||
.fontsize_l {font-size: @basefontsize*1.1;} // h3 + SIDEBAR APPS H1
|
|
||||||
.fontsize_xl {font-size: @basefontsize*1.3;} // h2
|
|
||||||
.fontsize_xxl {font-size: @basefontsize*1.8;} // h1
|
|
||||||
|
|
||||||
/*#####################################################################*/
|
|
||||||
/* Radius*/
|
|
||||||
|
|
||||||
.border_radius_button_lefttop {
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
-webkit-border-top-left-radius: 10px;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
-moz-border-radius-topleft: 10px;
|
|
||||||
border-radius: 3px;
|
|
||||||
border-top-left-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.border_radius_button_righttop {
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
-webkit-border-top-right-radius: 20px;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
-moz-border-radius-topright: 20px;
|
|
||||||
border-radius: 3px;
|
|
||||||
border-top-right-radius: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.border_radius_button_normal {
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Box Shadow
|
|
||||||
// none
|
|
||||||
.box_shadow_none {
|
|
||||||
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
|
||||||
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
|
||||||
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
// auf hellem Hintergrund
|
|
||||||
|
|
||||||
.box_shadow_standard_light {
|
|
||||||
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
|
||||||
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
|
||||||
box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
// wird dunkler
|
|
||||||
|
|
||||||
.box_shadow_standard_light_hover {
|
|
||||||
-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
|
||||||
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
|
||||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// für focus und active
|
|
||||||
|
|
||||||
.box_shadow_standard_light_inset {
|
|
||||||
-webkit-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.box_shadow_standard_light_active {
|
|
||||||
-webkit-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.box_shadow_message {
|
|
||||||
-webkit-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
-moz-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Rahmen für Dialoge
|
|
||||||
|
|
||||||
.box_shadow_edit_dialog {
|
|
||||||
|
|
||||||
-moz-box-shadow: inset 0 0 5px 5px #888;
|
|
||||||
-webkit-box-shadow: inset 0 0 5px 5px #888;
|
|
||||||
box-shadow: inset 0 0 5px 5px #888;
|
|
||||||
|
|
||||||
margin: 5px ;
|
|
||||||
padding: 0%;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// #############################
|
|
||||||
// Verlauf
|
|
||||||
|
|
||||||
.background_verlauf_diagonal_gray (@i: #d8d8d8, @j: #a3a3a3) {
|
|
||||||
background: -webkit-gradient(linear, 0 0, 0 bottom, @i, @j),
|
|
||||||
-moz-linear-gradient(@i, @j),
|
|
||||||
-o-linear-gradient(@i, @j),
|
|
||||||
linear-gradient(@i, @j);
|
|
||||||
-pie-background: linear-gradient(@i, @j);
|
|
||||||
behavior: url(/PIE.htc);
|
|
||||||
}
|
|
||||||
|
|
||||||
.background_linear_gradient(@i: #ffb76b, @j: #ff7f04) {
|
|
||||||
background: -webkit-gradient(linear, 0 0, 0 bottom, @i, @j),
|
|
||||||
-moz-linear-gradient(@i, @j),
|
|
||||||
-o-linear-gradient(@i, @j),
|
|
||||||
linear-gradient(@i, @j);
|
|
||||||
-pie-background: linear-gradient(@i, @j);
|
|
||||||
behavior: url(/PIE.htc);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
|
|
||||||
background: @color,
|
|
||||||
-webkit-gradient(linear,
|
|
||||||
left bottom,
|
|
||||||
left top,
|
|
||||||
color-stop(0, @start),
|
|
||||||
color-stop(1, @stop)),
|
|
||||||
-ms-linear-gradient(bottom, @start, @stop),
|
|
||||||
-moz-linear-gradient(center bottom, @start 0%, @stop 100%),
|
|
||||||
-o-linear-gradient(@stop, @start);
|
|
||||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.bw_gradient(@color: #F5F5F5, @start: 0, @stop: 255) {
|
|
||||||
background: @color,
|
|
||||||
-webkit-gradient(linear,
|
|
||||||
left bottom,
|
|
||||||
left top,
|
|
||||||
color-stop(0, rgb(@start,@start,@start)),
|
|
||||||
color-stop(1, rgb(@stop,@stop,@stop))),
|
|
||||||
-ms-linear-gradient(bottom,
|
|
||||||
rgb(@start,@start,@start) 0%,
|
|
||||||
rgb(@stop,@stop,@stop) 100%),
|
|
||||||
-moz-linear-gradient(center bottom,
|
|
||||||
rgb(@start,@start,@start) 0%,
|
|
||||||
rgb(@stop,@stop,@stop) 100%),
|
|
||||||
-o-linear-gradient(rgb(@stop,@stop,@stop),
|
|
||||||
rgb(@start,@start,@start));
|
|
||||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",rgb(@stop,@stop,@stop),rgb(@start,@start,@start)));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.img_filter_gray{
|
|
||||||
|
|
||||||
/*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");
|
|
||||||
|
|
||||||
-webkit-filter: grayscale(100%);
|
|
||||||
-moz-filter: grayscale(100%);
|
|
||||||
-ms-filter: grayscale(0%);
|
|
||||||
-o-filter: grayscale(100%);
|
|
||||||
filter: grayscale(100%);
|
|
||||||
/*filter: url(grayscale.svg); Firefox 4+ */
|
|
||||||
filter: gray; /* IE 6-9 */
|
|
||||||
|
|
||||||
}
|
|
||||||
// #############################
|
|
||||||
// Transparenz
|
|
||||||
|
|
||||||
.transparent_50 {
|
|
||||||
/* Required for IE 5, 6, 7 */
|
|
||||||
/* ...or something to trigger hasLayout, like zoom: 1; */
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
/* Theoretically for IE 8 & 9 (more valid) */
|
|
||||||
/* ...but not required as filter works too */
|
|
||||||
/* should come BEFORE filter */
|
|
||||||
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
|
||||||
|
|
||||||
/* This works in IE 8 & 9 too */
|
|
||||||
/* ... but also 5, 6, 7 */
|
|
||||||
filter: alpha(opacity=50);
|
|
||||||
|
|
||||||
/* Older than Firefox 0.9 */
|
|
||||||
-moz-opacity:0.5;
|
|
||||||
|
|
||||||
/* Safari 1.x (pre WebKit!) */
|
|
||||||
-khtml-opacity: 0.5;
|
|
||||||
|
|
||||||
/* Modern!
|
|
||||||
/* Firefox 0.9+, Safari 2?, Chrome any?
|
|
||||||
/* Opera 9+, IE 9+ */
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// #############################
|
|
||||||
// Button Größen
|
|
||||||
|
|
||||||
.Button_size_square_32{
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.Button_size_square_16{
|
|
||||||
width: 16px;
|
|
||||||
height: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Button_size_square_8{
|
|
||||||
width: 8px;
|
|
||||||
height: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Button_size_h32_auto{
|
|
||||||
width: auto;
|
|
||||||
height: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*Icon Buttons ################## */
|
|
||||||
@mass_xxs : 8px;
|
|
||||||
@mass_xs : 12px;
|
|
||||||
@mass_s : 16px;
|
|
||||||
@mass_sm : 20px;
|
|
||||||
@mass_m : 24px;
|
|
||||||
@mass_l : 32px;
|
|
||||||
@mass_xl : 40px;
|
|
||||||
@mass_xxl: 48px;
|
|
||||||
|
|
||||||
|
|
||||||
/* ##############
|
|
||||||
# big Icon #
|
|
||||||
# #
|
|
||||||
# 32 x 32 #
|
|
||||||
# #
|
|
||||||
# #
|
|
||||||
################*/
|
|
||||||
.dimension_width_height_xl{width: @mass_xl; height: @mass_xl;}
|
|
||||||
.dimension_width_height_l{width: @mass_l; height: @mass_l;}
|
|
||||||
.dimension_width_height_m{width: @mass_m; height: @mass_m;}
|
|
||||||
.dimension_width_height_sm{width: @mass_sm; height: @mass_sm;}
|
|
||||||
.dimension_width_height_s{width: @mass_s; height: @mass_s;}
|
|
||||||
.dimension_width_height_xs{width: @mass_xs; height: @mass_xs;}
|
|
||||||
.dimension_width_height_xxs{width: @mass_xxs; height: @mass_xxs;}
|
|
||||||
|
|
||||||
/* only Buttons ################## */
|
|
||||||
|
|
||||||
/* ##########################
|
|
||||||
# big Button #
|
|
||||||
# #
|
|
||||||
# #
|
|
||||||
# #
|
|
||||||
# N x 32 #
|
|
||||||
############################*/
|
|
||||||
|
|
||||||
.dimension_height_xxl{ height: @mass_xxl;}
|
|
||||||
.dimension_height_xl{ height: @mass_xl;}
|
|
||||||
.dimension_height_l{ height: @mass_l;}
|
|
||||||
.dimension_height_m{ height: @mass_m;}
|
|
||||||
.dimension_height_sm{ height: @mass_sm;}
|
|
||||||
.dimension_height_s{ height: @mass_s;}
|
|
||||||
.dimension_height_xs{ height: @mass_xs;}
|
|
||||||
.dimension_height_xxs{ height: @mass_xxs;}
|
|
||||||
|
|
||||||
// Rahmen für Schaltflächen
|
|
||||||
|
|
||||||
.border_normal{
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
||||||
}
|
|
||||||
|
|
||||||
.border_hover{
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
||||||
}
|
|
||||||
.border_active{
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.9);
|
|
||||||
}
|
|
||||||
|
|
||||||
.border_none{
|
|
||||||
border: 0px solid rgba(0, 0, 0, 0.9);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------
|
|
||||||
LESS Elements 0.9
|
|
||||||
---------------------------------------------------
|
|
||||||
A set of useful LESS mixins
|
|
||||||
More info at: http://lesselements.com
|
|
||||||
---------------------------------------------------*/
|
|
||||||
|
|
||||||
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
|
|
||||||
background: @color,
|
|
||||||
-webkit-gradient(linear,
|
|
||||||
left bottom,
|
|
||||||
left top,
|
|
||||||
color-stop(0, @start),
|
|
||||||
color-stop(1, @stop)),
|
|
||||||
-ms-linear-gradient(bottom,
|
|
||||||
@start,
|
|
||||||
@stop),
|
|
||||||
-moz-linear-gradient(center bottom,
|
|
||||||
@start 0%,
|
|
||||||
@stop 100%),
|
|
||||||
-o-linear-gradient(@stop,
|
|
||||||
@start);
|
|
||||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
|
|
||||||
}
|
|
||||||
.bw_gradient(@color: #F5F5F5, @start: 0, @stop: 255) {
|
|
||||||
background: @color,
|
|
||||||
-webkit-gradient(linear,
|
|
||||||
left bottom,
|
|
||||||
left top,
|
|
||||||
color-stop(0, rgb(@start,@start,@start)),
|
|
||||||
color-stop(1, rgb(@stop,@stop,@stop))),
|
|
||||||
-ms-linear-gradient(bottom,
|
|
||||||
rgb(@start,@start,@start) 0%,
|
|
||||||
rgb(@stop,@stop,@stop) 100%),
|
|
||||||
-moz-linear-gradient(center bottom,
|
|
||||||
rgb(@start,@start,@start) 0%,
|
|
||||||
rgb(@stop,@stop,@stop) 100%),
|
|
||||||
-o-linear-gradient(rgb(@stop,@stop,@stop),
|
|
||||||
rgb(@start,@start,@start));
|
|
||||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",rgb(@stop,@stop,@stop),rgb(@start,@start,@start)));
|
|
||||||
}
|
|
||||||
.bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE) {
|
|
||||||
border-top: solid 1px @top-color;
|
|
||||||
border-left: solid 1px @left-color;
|
|
||||||
border-right: solid 1px @right-color;
|
|
||||||
border-bottom: solid 1px @bottom-color;
|
|
||||||
}
|
|
||||||
.drop_shadow(@x-axis: 0, @y-axis: 1px, @blur: 2px, @r:0, @g:0, @b:0, @alpha: 0.1, @inset:inset) {
|
|
||||||
-webkit-box-shadow: @x-axis @y-axis @blur rgba(@r, @g, @b, @alpha) @inset;
|
|
||||||
-moz-box-shadow: @x-axis @y-axis @blur rgba(@r, @g, @b, @alpha) @inset;
|
|
||||||
box-shadow: @x-axis @y-axis @blur rgba(@r, @g, @b, @alpha) @inset;
|
|
||||||
}
|
|
||||||
.rounded(@radius: 2px) {
|
|
||||||
-webkit-border-radius: @radius;
|
|
||||||
-moz-border-radius: @radius;
|
|
||||||
border-radius: @radius;
|
|
||||||
}
|
|
||||||
.border_radius(@topright: 0, @bottomright: 0, @bottomleft: 0, @topleft: 0) {
|
|
||||||
-webkit-border-top-right-radius: @topright;
|
|
||||||
-webkit-border-bottom-right-radius: @bottomright;
|
|
||||||
-webkit-border-bottom-left-radius: @bottomleft;
|
|
||||||
-webkit-border-top-left-radius: @topleft;
|
|
||||||
-moz-border-radius-topright: @topright;
|
|
||||||
-moz-border-radius-bottomright: @bottomright;
|
|
||||||
-moz-border-radius-bottomleft: @bottomleft;
|
|
||||||
-moz-border-radius-topleft: @topleft;
|
|
||||||
border-top-right-radius: @topright;
|
|
||||||
border-bottom-right-radius: @bottomright;
|
|
||||||
border-bottom-left-radius: @bottomleft;
|
|
||||||
border-top-left-radius: @topleft;
|
|
||||||
/*.background-clip(padding-box);*/
|
|
||||||
}
|
|
||||||
.opacity(@opacity: 0.5) {
|
|
||||||
-moz-opacity: @opacity;
|
|
||||||
-khtml-opacity: @opacity;
|
|
||||||
-webkit-opacity: @opacity;
|
|
||||||
opacity: @opacity;
|
|
||||||
@opperc: @opacity * 100;
|
|
||||||
-ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=@{opperc})";
|
|
||||||
filter: ~"alpha(opacity=@{opperc})";
|
|
||||||
}
|
|
||||||
.transition_duration(@duration: 0.2s) {
|
|
||||||
-moz-transition-duration: @duration;
|
|
||||||
-webkit-transition-duration: @duration;
|
|
||||||
-o-transition-duration: @duration;
|
|
||||||
transition-duration: @duration;
|
|
||||||
}
|
|
||||||
.transform(...) {
|
|
||||||
-webkit-transform: @arguments;
|
|
||||||
-moz-transform: @arguments;
|
|
||||||
-o-transform: @arguments;
|
|
||||||
-ms-transform: @arguments;
|
|
||||||
transform: @arguments;
|
|
||||||
}
|
|
||||||
.rotation(@deg:5deg){
|
|
||||||
.transform(rotate(@deg));
|
|
||||||
}
|
|
||||||
.scale(@ratio:1.3){
|
|
||||||
.transform(scale(@ratio));
|
|
||||||
}
|
|
||||||
.transition(@duration:0.2s, @ease:ease-out) {
|
|
||||||
-webkit-transition: all @duration @ease;
|
|
||||||
-moz-transition: all @duration @ease;
|
|
||||||
-o-transition: all @duration @ease;
|
|
||||||
transition: all @duration @ease;
|
|
||||||
}
|
|
||||||
.inner_shadow(@horizontal:0, @vertical:1px, @blur:2px, @alpha: 0.4) {
|
|
||||||
-webkit-box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
|
|
||||||
-moz-box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
|
|
||||||
box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
|
|
||||||
}
|
|
||||||
.box_shadow(@arguments) {
|
|
||||||
-webkit-box-shadow: @arguments;
|
|
||||||
-moz-box-shadow: @arguments;
|
|
||||||
box-shadow: @arguments;
|
|
||||||
}
|
|
||||||
.box_sizing(@sizing: border-box) {
|
|
||||||
-ms-box-sizing: @sizing;
|
|
||||||
-moz-box-sizing: @sizing;
|
|
||||||
-webkit-box-sizing: @sizing;
|
|
||||||
box-sizing: @sizing;
|
|
||||||
}
|
|
||||||
.user_select(@argument: none) {
|
|
||||||
-webkit-user-select: @argument;
|
|
||||||
-moz-user-select: @argument;
|
|
||||||
-ms-user-select: @argument;
|
|
||||||
user-select: @argument;
|
|
||||||
}
|
|
||||||
.columns(@colwidth: 250px, @colcount: 0, @colgap: 50px, @columnRuleColor: #EEE, @columnRuleStyle: solid, @columnRuleWidth: 1px) {
|
|
||||||
-moz-column-width: @colwidth;
|
|
||||||
-moz-column-count: @colcount;
|
|
||||||
-moz-column-gap: @colgap;
|
|
||||||
-moz-column-rule-color: @columnRuleColor;
|
|
||||||
-moz-column-rule-style: @columnRuleStyle;
|
|
||||||
-moz-column-rule-width: @columnRuleWidth;
|
|
||||||
-webkit-column-width: @colwidth;
|
|
||||||
-webkit-column-count: @colcount;
|
|
||||||
-webkit-column-gap: @colgap;
|
|
||||||
-webkit-column-rule-color: @columnRuleColor;
|
|
||||||
-webkit-column-rule-style: @columnRuleStyle;
|
|
||||||
-webkit-column-rule-width: @columnRuleWidth;
|
|
||||||
column-width: @colwidth;
|
|
||||||
column-count: @colcount;
|
|
||||||
column-gap: @colgap;
|
|
||||||
column-rule-color: @columnRuleColor;
|
|
||||||
column-rule-style: @columnRuleStyle;
|
|
||||||
column-rule-width: @columnRuleWidth;
|
|
||||||
}
|
|
||||||
.translate(@x:0, @y:0) {
|
|
||||||
.transform(translate(@x, @y));
|
|
||||||
}
|
|
||||||
.background_clip(@argument: padding-box) {
|
|
||||||
-moz-background-clip: @argument;
|
|
||||||
-webkit-background-clip: @argument;
|
|
||||||
background-clip: @argument;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ##################################################### */
|
|
||||||
|
|
||||||
.gradient_thead{
|
|
||||||
/*.background-color-5-gray;*/
|
|
||||||
background: -moz-linear-gradient(top, rgba(240,240,240,0) 0%, rgba(191,191,191,0.65) 100%); /* FF3.6+ */
|
|
||||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(240,240,240,0)), color-stop(100%,rgba(191,191,191,0.65))); /* Chrome,Safari4+ */
|
|
||||||
background: -webkit-linear-gradient(top, rgba(240,240,240,0) 0%,rgba(191,191,191,0.65) 100%); /* Chrome10+,Safari5.1+ */
|
|
||||||
background: -o-linear-gradient(top, rgba(240,240,240,0) 0%,rgba(191,191,191,0.65) 100%); /* Opera 11.10+ */
|
|
||||||
background: -ms-linear-gradient(top, rgba(240,240,240,0) 0%,rgba(191,191,191,0.65) 100%); /* IE10+ */
|
|
||||||
background: linear-gradient(to bottom, rgba(240,240,240,0) 0%,rgba(191,191,191,0.65) 100%); /* W3C */
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f0f0f0', endColorstr='#a6bfbfbf',GradientType=0 ); /* IE6-9 */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Vertical gradient using CSS where possible, and base64-encoded SVG for IE9 (enables use of this in combination with border-radius)
|
|
||||||
// Based on this by Phil Brown: http://blog.philipbrown.id.au/2012/09/base64-encoded-svg-gradient-backgrounds-in-less/
|
|
||||||
// Also based on a mixin from Twitter Bootstrap: https://github.com/twitter/bootstrap
|
|
||||||
|
|
||||||
.gradient_vertical(@startColor, @endColor) {
|
|
||||||
|
|
||||||
// IE9 prep
|
|
||||||
@dataPrefix: ~"url(data:image/svg+xml;base64,";
|
|
||||||
@dataSuffix: ~")";
|
|
||||||
@dataContent: ~'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="g743" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="@{startColor}" offset="0"/><stop stop-color="@{endColor}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#g743)"/></svg>';
|
|
||||||
@b64Out: ~`(function(a,b,c){function e(a){a=a.replace(/\r\n/g,'\n');var b='';for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);if(d<128){b+=String.fromCharCode(d)}else if(d>127&&d<2048){b+=String.fromCharCode(d>>6|192);b+=String.fromCharCode(d&63|128)}else{b+=String.fromCharCode(d>>12|224);b+=String.fromCharCode(d>>6&63|128);b+=String.fromCharCode(d&63|128)}}return b}function f(a){var b='';var c,f,g,h,i,j,l;var m=0;a=e(a);while(m<a.length){c=a.charCodeAt(m++);f=a.charCodeAt(m++);g=a.charCodeAt(m++);h=c>>2;i=(c&3)<<4|f>>4;j=(f&15)<<2|g>>6;l=g&63;if(isNaN(f)){j=l=64}else if(isNaN(g)){l=64}b=b+d.charAt(h)+d.charAt(i)+d.charAt(j)+d.charAt(l)}return b}var d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';return a+f(b)+c})('@{dataPrefix}','@{dataContent}','@{dataSuffix}')`;
|
|
||||||
|
|
||||||
background-color: mix(@startColor, @endColor, 60%); // Base solid colour fallback
|
|
||||||
background-image: ~"@{b64Out}"; // IE9
|
|
||||||
background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
|
|
||||||
background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
|
|
||||||
background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
|
|
||||||
background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
|
|
||||||
background-image: linear-gradient(top, @startColor, @endColor); // The standard
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.span_tool_group {
|
|
||||||
|
|
||||||
float: left;
|
|
||||||
margin: 0 6px 5px 0;
|
|
||||||
padding: 2px 2px 2px 5px;
|
|
||||||
border: 1px solid #a6a6a6;
|
|
||||||
border-bottom-color: #979797;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;
|
|
||||||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;
|
|
||||||
box-shadow: 0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;
|
|
||||||
background: #e4e4e4;
|
|
||||||
background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e4e4e4));
|
|
||||||
background-image: -moz-linear-gradient(top,#fff,#e4e4e4);
|
|
||||||
background-image: -webkit-linear-gradient(top,#fff,#e4e4e4);
|
|
||||||
background-image: -o-linear-gradient(top,#fff,#e4e4e4);
|
|
||||||
background-image: -ms-linear-gradient(top,#fff,#e4e4e4);
|
|
||||||
background-image: linear-gradient(top,#fff,#e4e4e4);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4');
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// |