[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 // Datepicker .less buildfile. Includes select mixins/variables from bootstrap 2 // and imports the included datepicker.less to output a minimal datepicker.css 3 // 4 // Usage: 5 // lessc build.less datepicker.css 6 // 7 // Variables and mixins copied from bootstrap 2.0.2 8 9 // Variables 10 @grayLight: #999; 11 @grayLighter: #eee; 12 @white: #fff; 13 @linkColor: #08c; 14 @btnPrimaryBackground: @linkColor; 15 16 // Mixins 17 18 // Border Radius 19 .border-radius(@radius: 5px) { 20 -webkit-border-radius: @radius; 21 -moz-border-radius: @radius; 22 border-radius: @radius; 23 } 24 25 // Button backgrounds 26 .buttonBackground(@startColor, @endColor) { 27 .gradientBar(@startColor, @endColor); 28 .reset-filter(); 29 &:hover, &:active, &.active, &.disabled, &[disabled] { 30 background-color: @endColor; 31 } 32 &:active, 33 &.active { 34 background-color: darken(@endColor, 10%) e("\9"); 35 } 36 } 37 38 // Reset filters for IE 39 .reset-filter() { 40 filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 41 } 42 43 // Gradient Bar Colors for buttons and alerts 44 .gradientBar(@primaryColor, @secondaryColor) { 45 #gradient > .vertical(@primaryColor, @secondaryColor); 46 border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%); 47 border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%); 48 } 49 50 // Gradients 51 #gradient { 52 .vertical(@startColor: #555, @endColor: #333) { 53 background-color: mix(@startColor, @endColor, 60%); 54 background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+ 55 background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10 56 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ 57 background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ 58 background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 59 background-image: linear-gradient(top, @startColor, @endColor); // The standard 60 background-repeat: repeat-x; 61 filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down 62 } 63 } 64 65 @import "../less/datepicker.less";
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |