Added css and less files
[bootswatch] / cerulean / bootswatch.less
1 // Bootswatch.less
2 // Swatch: Cerulean
3 // -----------------------------------------------------
4
5 // TYPOGRAPHY
6 // -----------------------------------------------------
7
8 @import url(http://fonts.googleapis.com/css?family=Telex);
9
10 h1,h2,h3,h4,h5,h6, .navbar, .subnav {
11         font-family: 'Telex', sans-serif;
12 }
13
14 h1,h2,h3,h4,h5,h6 {
15         color: #317EAC
16 }
17
18 // NAVBAR
19 // -----------------------------------------------------
20
21 .navbar-inner {
22   #gradient > .vertical-three-colors(@navbarBackground, @navbarBackground, 90%, @navbarBackgroundHighlight);
23 }
24
25 .navbar .nav .active > a,
26 .navbar .nav .active > a:hover {
27   background-color: @navbarBackground;
28   background-color: rgba(0,0,0,.2);
29 }
30
31 .navbar .search-query {
32         border: 1px solid darken(@linkColor, 10%);
33 }
34
35 // FORMS
36 // -----------------------------------------------------
37
38 // Warning
39 .control-group.warning {
40   .formFieldState(@orange, @orange, @warningBackground);
41 }
42 // Error
43 .control-group.error {
44   .formFieldState(@red, @red, @errorBackground);
45 }
46 // Success
47 .control-group.success {
48   .formFieldState(darken(@green, 10%), darken(@green, 10%), @successBackground);
49 }
50
51 // BUTTONS
52 // -----------------------------------------------------
53
54 .btn {
55   #gradient > .vertical-three-colors(@white, @white, 5%, darken(@white, 0%));
56   @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
57   .box-shadow(@shadow);
58 }
59
60 // Set the backgrounds
61 // -------------------------
62 .btn-primary {
63   .buttonBackground(lighten(@linkColor, 5%), @linkColor);
64 }
65 // Warning appears are orange
66 .btn-warning {
67   .buttonBackground(lighten(@orange, 5%), @orange);
68 }
69 // Danger and error appear as red
70 .btn-danger {
71   .buttonBackground(lighten(@red, 5%), @red);
72 }
73 // Success appears as green
74 .btn-success {
75   .buttonBackground(lighten(@green, 5%), @green);
76 }
77 // Info appears as a neutral blue
78 .btn-info {
79   .buttonBackground(lighten(@purple, 5%), @purple);
80 }
81
82 // ICONS
83 // -----------------------------------------------------
84
85 // Make icons gray
86 i[class^="icon-"]{
87         opacity: 0.8;
88 }