pbd-dist-one
Version:
Path ajdustments
68 lines (60 loc) • 2.4 kB
text/less
/* Copyright (C) Sourcemap 2011
* This program is free software: you can redistribute it and/or modify it under the terms
* of the GNU Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.*/
/* Sourcemap Stylesheet --------------------------------------------- */
/* Style Variables */
@brand-color: #328cbb;
@highlight-color: #F36B21;
@background: #FFF;
@embed-color: rgba(255,255,255,0.6);
@link-color: #2d78af;
@link-hover-color: #444;
/* Style Functions */
.gradient(@start: rgba(245,245,245,0.85), @stop: rgba(255,255,255,0.85)) {
background-color: #fff;
background-color: @start;
background-image: -moz-linear-gradient(center bottom,@start 0%,@stop 100%);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,@start),color-stop(1,@stop));
}
.transparent(@opacity: .8){
@ie-opacity: @opacity * 100;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=@ie-opacity)";
filter: alpha(opacity=@ie-opacity);
-moz-opacity: @opacity;
-khtml-opacity: @opacity;
opacity: @opacity;
}
.rounded(@radius: 4px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}
.box_shadow (@h: 1px, @v: 1px, @blur: 1px, @color: rgba(0, 0, 0, 0.2)) {
-webkit-box-shadow: @h @v @blur @color;
-moz-box-shadow: @h @v @blur @color;
box-shadow: @h @v @blur @color;
}
.box_shadow_inset (@h: 1px, @v: 1px, @blur: 1px, @color: rgba(0, 0, 0, 0.2)) {
-webkit-box-shadow: @h @v @blur @color inset;
-moz-box-shadow: @h @v @blur @color inset;
box-shadow: @h @v @blur @color inset;
}
.background_size (@w: auto, @h: auto) {
-o-background-size: @w @h;
-webkit-background-size: @w @h;
-khtml-background-size: @w @h;
-moz-background-size: @w @h;
background-size: @w @h;
}
.clear { clear: both; }
.hidden { display:none; }
.center { text-align:center; }
.red { color:red ; }