source: main/trunk/greenstone3/web/interfaces/therin/less/palette.less@ 28644

Last change on this file since 28644 was 28644, checked in by jlwhisler, 10 years ago

A new interface created using a CSS template by luiszuno.com. Based on the default interface.

File size: 1.4 KB
Line 
1/* Vars ----------------------------------------------------*/
2
3@fontColor: #444444;
4@fontColorLight: #888888;
5@linkColor: #fdd600;
6
7@accentColor: #e37655;
8@fgColor: #ece9d6;
9@bgColor: #a8c8ca;
10@headerColor: #888888;
11
12@fontLightColor: #888888;
13
14
15/* Mixins ----------------------------------------------------*/
16
17.box-shadow-full (@x: 0, @y: 5px, @blur: 5px, @spread: -5px, @color: #000) {
18 -moz-box-shadow: @x @y @blur @spread @color;
19 -webkit-box-shadow: @x @y @blur @spread @color;
20 box-shadow: @x @y @blur @spread @color;
21}
22
23.box-shadow (@opa: 0.2) {
24 -webkit-box-shadow: 0px 0px 2px rgba(0,0,0,@opa);
25 -moz-box-shadow: 0px 0px 2px rgba(0,0,0,@opa);
26 -o-box-shadow: 0px 0px 2px rgba(0,0,0,@opa);
27 box-shadow: 0px 0px 2px rgba(0,0,0,@opa);
28}
29
30.transition(@speed: 0.3s){
31 -webkit-transition: all @speed ease;
32 -moz-transition: all @speed ease;
33 -o-transition: all @speed ease;
34 transition: all @speed ease;
35}
36
37.noTransition(){
38 -moz-transition: none;
39 -webkit-transition: none;
40 -o-transition: color 0 ease-in;
41 transition: none;
42}
43
44.shadow(){
45 box-shadow: 0px 0px 3px 0px rgba(0,0,0,.22);
46}
47
48.shadow-hard(){
49 box-shadow: 3px 3px 0 0 rgba(0,0,0,0.1);
50}
51
52.border-radius(@t:40px, @r:40px, @b:40px, @l:40px){
53 -moz-border-radius: @t @r @b @l;
54 -webkit-border-radius: @t @r @b @l;
55 border-radius: @t @r @b @l;
56}
57
58.text-shadow(){
59 text-shadow: 0px 2px 0 rgba(0, 0, 0, 0.3);
60}
61
62.text-shadow-white(){
63 text-shadow: 0px 1px 0 rgba(255, 255, 255, 1);
64}
Note: See TracBrowser for help on using the repository browser.