Skip to content

Commit 33f6d8c

Browse files
author
Philippe BARBOSA
committed
pushed files to git
1 parent ad18977 commit 33f6d8c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5978
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

css/accordion.less

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// ACCORDION
2+
// ---------
3+
4+
5+
// Parent container
6+
.accordion {
7+
margin-bottom: @baseLineHeight;
8+
}
9+
10+
// Group == heading + body
11+
.accordion-group {
12+
margin-bottom: 2px;
13+
border: 1px solid #e5e5e5;
14+
.border-radius(4px);
15+
}
16+
.accordion-heading {
17+
border-bottom: 0;
18+
}
19+
.accordion-heading .accordion-toggle {
20+
display: block;
21+
padding: 8px 15px;
22+
}
23+
24+
// General toggle styles
25+
.accordion-toggle {
26+
cursor: pointer;
27+
}
28+
29+
// Inner needs the styles because you can't animate properly with any styles on the element
30+
.accordion-inner {
31+
padding: 9px 15px;
32+
border-top: 1px solid #e5e5e5;
33+
}

css/alerts.less

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
// ALERT STYLES
2+
// ------------
3+
4+
// Base alert styles
5+
.alert {
6+
padding: 8px 35px 8px 14px;
7+
margin-bottom: @baseLineHeight;
8+
text-shadow: 0 1px 0 rgba(255,255,255,.5);
9+
background-color: @warningBackground;
10+
border: 1px solid @warningBorder;
11+
.border-radius(4px);
12+
color: @warningText;
13+
}
14+
.alert-heading {
15+
color: inherit;
16+
}
17+
18+
// Adjust close link position
19+
.alert .close {
20+
position: relative;
21+
top: -2px;
22+
right: -21px;
23+
line-height: 18px;
24+
}
25+
26+
// Alternate styles
27+
// ----------------
28+
29+
.alert-success {
30+
background-color: @successBackground;
31+
border-color: @successBorder;
32+
color: @successText;
33+
}
34+
.alert-danger,
35+
.alert-error {
36+
background-color: @errorBackground;
37+
border-color: @errorBorder;
38+
color: @errorText;
39+
}
40+
.alert-info {
41+
background-color: @infoBackground;
42+
border-color: @infoBorder;
43+
color: @infoText;
44+
}
45+
46+
// Block alerts
47+
// ------------------------
48+
.alert-block {
49+
padding-top: 14px;
50+
padding-bottom: 14px;
51+
}
52+
.alert-block > p,
53+
.alert-block > ul {
54+
margin-bottom: 0;
55+
}
56+
.alert-block p + p {
57+
margin-top: 5px;
58+
}

css/bootstrap.less

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*!
2+
* Bootstrap v2.0.4
3+
*
4+
* Copyright 2012 Twitter, Inc
5+
* Licensed under the Apache License v2.0
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9+
*/
10+
11+
// CSS Reset
12+
@import "reset.less";
13+
14+
// Core variables and mixins
15+
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
16+
@import "mixins.less";
17+
18+
// Grid system and page structure
19+
@import "scaffolding.less";
20+
@import "grid.less";
21+
@import "layouts.less";
22+
@import "responsive.less";
23+
24+
// Base CSS
25+
@import "type.less";
26+
@import "code.less";
27+
@import "forms.less";
28+
@import "tables.less";
29+
30+
// Components: common
31+
@import "sprites.less";
32+
@import "dropdowns.less";
33+
@import "wells.less";
34+
@import "component-animations.less";
35+
@import "close.less";
36+
37+
// Components: Buttons & Alerts
38+
@import "buttons.less";
39+
@import "button-groups.less";
40+
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
41+
42+
// Components: Nav
43+
@import "navs.less";
44+
@import "navbar.less";
45+
@import "breadcrumbs.less";
46+
@import "pagination.less";
47+
@import "pager.less";
48+
49+
// Components: Popovers
50+
@import "modals.less";
51+
@import "tooltip.less";
52+
@import "popovers.less";
53+
54+
// Components: Misc
55+
@import "thumbnails.less";
56+
@import "labels-badges.less";
57+
@import "progress-bars.less";
58+
@import "accordion.less";
59+
@import "carousel.less";
60+
@import "hero-unit.less";
61+
62+
// Utility classes
63+
@import "utilities.less"; // Has to be last to override when necessary
64+
65+
@import "jsmag.less";
66+

css/breadcrumbs.less

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// BREADCRUMBS
2+
// -----------
3+
4+
.breadcrumb {
5+
padding: 7px 14px;
6+
margin: 0 0 @baseLineHeight;
7+
list-style: none;
8+
#gradient > .vertical(@white, #f5f5f5);
9+
border: 1px solid #ddd;
10+
.border-radius(3px);
11+
.box-shadow(inset 0 1px 0 @white);
12+
li {
13+
display: inline-block;
14+
.ie7-inline-block();
15+
text-shadow: 0 1px 0 @white;
16+
}
17+
.divider {
18+
padding: 0 5px;
19+
color: @grayLight;
20+
}
21+
.active a {
22+
color: @grayDark;
23+
}
24+
}

css/button-groups.less

+191
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
// BUTTON GROUPS
2+
// -------------
3+
4+
5+
// Make the div behave like a button
6+
.btn-group {
7+
position: relative;
8+
.clearfix(); // clears the floated buttons
9+
.ie7-restore-left-whitespace();
10+
}
11+
12+
// Space out series of button groups
13+
.btn-group + .btn-group {
14+
margin-left: 5px;
15+
}
16+
17+
// Optional: Group multiple button groups together for a toolbar
18+
.btn-toolbar {
19+
margin-top: @baseLineHeight / 2;
20+
margin-bottom: @baseLineHeight / 2;
21+
.btn-group {
22+
display: inline-block;
23+
.ie7-inline-block();
24+
}
25+
}
26+
27+
// Float them, remove border radius, then re-add to first and last elements
28+
.btn-group > .btn {
29+
position: relative;
30+
float: left;
31+
margin-left: -1px;
32+
.border-radius(0);
33+
}
34+
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
35+
.btn-group > .btn:first-child {
36+
margin-left: 0;
37+
-webkit-border-top-left-radius: 4px;
38+
-moz-border-radius-topleft: 4px;
39+
border-top-left-radius: 4px;
40+
-webkit-border-bottom-left-radius: 4px;
41+
-moz-border-radius-bottomleft: 4px;
42+
border-bottom-left-radius: 4px;
43+
}
44+
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
45+
.btn-group > .btn:last-child,
46+
.btn-group > .dropdown-toggle {
47+
-webkit-border-top-right-radius: 4px;
48+
-moz-border-radius-topright: 4px;
49+
border-top-right-radius: 4px;
50+
-webkit-border-bottom-right-radius: 4px;
51+
-moz-border-radius-bottomright: 4px;
52+
border-bottom-right-radius: 4px;
53+
}
54+
// Reset corners for large buttons
55+
.btn-group > .btn.large:first-child {
56+
margin-left: 0;
57+
-webkit-border-top-left-radius: 6px;
58+
-moz-border-radius-topleft: 6px;
59+
border-top-left-radius: 6px;
60+
-webkit-border-bottom-left-radius: 6px;
61+
-moz-border-radius-bottomleft: 6px;
62+
border-bottom-left-radius: 6px;
63+
}
64+
.btn-group > .btn.large:last-child,
65+
.btn-group > .large.dropdown-toggle {
66+
-webkit-border-top-right-radius: 6px;
67+
-moz-border-radius-topright: 6px;
68+
border-top-right-radius: 6px;
69+
-webkit-border-bottom-right-radius: 6px;
70+
-moz-border-radius-bottomright: 6px;
71+
border-bottom-right-radius: 6px;
72+
}
73+
74+
// On hover/focus/active, bring the proper btn to front
75+
.btn-group > .btn:hover,
76+
.btn-group > .btn:focus,
77+
.btn-group > .btn:active,
78+
.btn-group > .btn.active {
79+
z-index: 2;
80+
}
81+
82+
// On active and open, don't show outline
83+
.btn-group .dropdown-toggle:active,
84+
.btn-group.open .dropdown-toggle {
85+
outline: 0;
86+
}
87+
88+
89+
90+
// Split button dropdowns
91+
// ----------------------
92+
93+
// Give the line between buttons some depth
94+
.btn-group > .dropdown-toggle {
95+
padding-left: 8px;
96+
padding-right: 8px;
97+
.box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
98+
*padding-top: 4px;
99+
*padding-bottom: 4px;
100+
}
101+
.btn-group > .btn-mini.dropdown-toggle {
102+
padding-left: 5px;
103+
padding-right: 5px;
104+
}
105+
.btn-group > .btn-small.dropdown-toggle {
106+
*padding-top: 4px;
107+
*padding-bottom: 4px;
108+
}
109+
.btn-group > .btn-large.dropdown-toggle {
110+
padding-left: 12px;
111+
padding-right: 12px;
112+
}
113+
114+
.btn-group.open {
115+
116+
// The clickable button for toggling the menu
117+
// Remove the gradient and set the same inset shadow as the :active state
118+
.dropdown-toggle {
119+
background-image: none;
120+
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
121+
}
122+
123+
// Keep the hover's background when dropdown is open
124+
.btn.dropdown-toggle {
125+
background-color: @btnBackgroundHighlight;
126+
}
127+
.btn-primary.dropdown-toggle {
128+
background-color: @btnPrimaryBackgroundHighlight;
129+
}
130+
.btn-warning.dropdown-toggle {
131+
background-color: @btnWarningBackgroundHighlight;
132+
}
133+
.btn-danger.dropdown-toggle {
134+
background-color: @btnDangerBackgroundHighlight;
135+
}
136+
.btn-success.dropdown-toggle {
137+
background-color: @btnSuccessBackgroundHighlight;
138+
}
139+
.btn-info.dropdown-toggle {
140+
background-color: @btnInfoBackgroundHighlight;
141+
}
142+
.btn-inverse.dropdown-toggle {
143+
background-color: @btnInverseBackgroundHighlight;
144+
}
145+
}
146+
147+
148+
// Reposition the caret
149+
.btn .caret {
150+
margin-top: 7px;
151+
margin-left: 0;
152+
}
153+
.btn:hover .caret,
154+
.open.btn-group .caret {
155+
.opacity(100);
156+
}
157+
// Carets in other button sizes
158+
.btn-mini .caret {
159+
margin-top: 5px;
160+
}
161+
.btn-small .caret {
162+
margin-top: 6px;
163+
}
164+
.btn-large .caret {
165+
margin-top: 6px;
166+
border-left-width: 5px;
167+
border-right-width: 5px;
168+
border-top-width: 5px;
169+
}
170+
// Upside down carets for .dropup
171+
.dropup .btn-large .caret {
172+
border-bottom: 5px solid @black;
173+
border-top: 0;
174+
}
175+
176+
177+
178+
// Account for other colors
179+
.btn-primary,
180+
.btn-warning,
181+
.btn-danger,
182+
.btn-info,
183+
.btn-success,
184+
.btn-inverse {
185+
.caret {
186+
border-top-color: @white;
187+
border-bottom-color: @white;
188+
.opacity(75);
189+
}
190+
}
191+

0 commit comments

Comments
 (0)