fennec 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fennec/version.rb +1 -1
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/README.md +106 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +91 -0
- data/vendor/assets/javascripts/bootstrap-button.js +98 -0
- data/vendor/assets/javascripts/bootstrap-carousel.js +154 -0
- data/vendor/assets/javascripts/bootstrap-collapse.js +136 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +92 -0
- data/vendor/assets/javascripts/bootstrap-modal.js +210 -0
- data/vendor/assets/javascripts/bootstrap-popover.js +95 -0
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +125 -0
- data/vendor/assets/javascripts/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +271 -0
- data/vendor/assets/javascripts/tests/index.html +49 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-alert.js +41 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-button.js +54 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-collapse.js +25 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-dropdown.js +53 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-modal.js +85 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-popover.js +93 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-scrollspy.js +31 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-tab.js +45 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-tooltip.js +62 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-transition.js +13 -0
- data/vendor/assets/javascripts/tests/unit/bootstrap-typeahead.js +128 -0
- data/vendor/assets/javascripts/tests/vendor/jquery.js +9252 -0
- data/vendor/assets/javascripts/tests/vendor/qunit.css +232 -0
- data/vendor/assets/javascripts/tests/vendor/qunit.js +1510 -0
- data/vendor/assets/stylesheets/bootstrap/accordion.less +28 -0
- data/vendor/assets/stylesheets/bootstrap/alerts.less +70 -0
- data/vendor/assets/stylesheets/bootstrap/bootstrap.less +41 -5
- data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +22 -0
- data/vendor/assets/stylesheets/bootstrap/button-groups.less +147 -0
- data/vendor/assets/stylesheets/bootstrap/buttons.less +165 -0
- data/vendor/assets/stylesheets/bootstrap/carousel.less +121 -0
- data/vendor/assets/stylesheets/bootstrap/close.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/code.less +44 -0
- data/vendor/assets/stylesheets/bootstrap/component-animations.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/dropdowns.less +131 -0
- data/vendor/assets/stylesheets/bootstrap/forms.less +355 -305
- data/vendor/assets/stylesheets/bootstrap/grid.less +8 -0
- data/vendor/assets/stylesheets/bootstrap/hero-unit.less +20 -0
- data/vendor/assets/stylesheets/bootstrap/labels.less +16 -0
- data/vendor/assets/stylesheets/bootstrap/layouts.less +17 -0
- data/vendor/assets/stylesheets/bootstrap/mixins.less +410 -90
- data/vendor/assets/stylesheets/bootstrap/modals.less +72 -0
- data/vendor/assets/stylesheets/bootstrap/navbar.less +292 -0
- data/vendor/assets/stylesheets/bootstrap/navs.less +344 -0
- data/vendor/assets/stylesheets/bootstrap/pager.less +30 -0
- data/vendor/assets/stylesheets/bootstrap/pagination.less +55 -0
- data/vendor/assets/stylesheets/bootstrap/popovers.less +49 -0
- data/vendor/assets/stylesheets/bootstrap/progress-bars.less +95 -0
- data/vendor/assets/stylesheets/bootstrap/reset.less +37 -52
- data/vendor/assets/stylesheets/bootstrap/responsive.less +323 -0
- data/vendor/assets/stylesheets/bootstrap/scaffolding.less +13 -119
- data/vendor/assets/stylesheets/bootstrap/sprites.less +156 -0
- data/vendor/assets/stylesheets/bootstrap/tables.less +99 -131
- data/vendor/assets/stylesheets/bootstrap/thumbnails.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/tooltip.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/type.less +100 -70
- data/vendor/assets/stylesheets/bootstrap/utilities.less +23 -0
- data/vendor/assets/stylesheets/bootstrap/variables.less +94 -55
- data/vendor/assets/stylesheets/bootstrap/wells.less +17 -0
- data/vendor/assets/stylesheets/bootstrap-responsive.css +567 -0
- data/vendor/assets/stylesheets/bootstrap.css +3365 -0
- data/vendor/assets/stylesheets/docs.css +646 -173
- metadata +70 -23
- data/vendor/assets/javascripts/bootstrap/alerts.js +0 -104
- data/vendor/assets/javascripts/bootstrap/dropdown.js +0 -50
- data/vendor/assets/javascripts/bootstrap/jquery.tablesorter.min.js +0 -4
- data/vendor/assets/javascripts/bootstrap/modal.js +0 -231
- data/vendor/assets/javascripts/bootstrap/popover.js +0 -77
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +0 -105
- data/vendor/assets/javascripts/bootstrap/tabs.js +0 -62
- data/vendor/assets/javascripts/bootstrap/twipsy.js +0 -307
- data/vendor/assets/javascripts/bootstrap.config.js +0 -52
- data/vendor/assets/stylesheets/bootstrap/patterns.less +0 -1005
- data/vendor/assets/stylesheets/bootstrap-1.3.0.css +0 -2362
- data/vendor/assets/stylesheets/bootstrap-1.3.0.min.css +0 -330
@@ -1,135 +1,29 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
* ------------------------------------------------------------------------------------------- */
|
1
|
+
// Scaffolding
|
2
|
+
// Basic and global styles for generating a grid system, structural layout, and page templates
|
3
|
+
// -------------------------------------------------------------------------------------------
|
5
4
|
|
6
5
|
|
7
6
|
// STRUCTURAL LAYOUT
|
8
7
|
// -----------------
|
9
8
|
|
10
|
-
html, body {
|
11
|
-
background-color: @white;
|
12
|
-
}
|
13
9
|
body {
|
14
10
|
margin: 0;
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
.container {
|
21
|
-
.fixed-container();
|
22
|
-
}
|
23
|
-
|
24
|
-
// Fluid layouts (left aligned, with sidebar, min- & max-width content)
|
25
|
-
.container-fluid {
|
26
|
-
position: relative;
|
27
|
-
min-width: 940px;
|
28
|
-
padding-left: 20px;
|
29
|
-
padding-right: 20px;
|
30
|
-
.clearfix();
|
31
|
-
> .sidebar {
|
32
|
-
float: left;
|
33
|
-
width: 220px;
|
34
|
-
}
|
35
|
-
// TODO in v2: rename this and .popover .content to be more specific
|
36
|
-
> .content {
|
37
|
-
margin-left: 240px;
|
38
|
-
}
|
11
|
+
font-family: @baseFontFamily;
|
12
|
+
font-size: @baseFontSize;
|
13
|
+
line-height: @baseLineHeight;
|
14
|
+
color: @textColor;
|
15
|
+
background-color: @white;
|
39
16
|
}
|
40
17
|
|
41
18
|
|
42
|
-
//
|
43
|
-
//
|
19
|
+
// LINKS
|
20
|
+
// -----
|
44
21
|
|
45
|
-
// Links
|
46
22
|
a {
|
47
23
|
color: @linkColor;
|
48
24
|
text-decoration: none;
|
49
|
-
line-height: inherit;
|
50
|
-
font-weight: inherit;
|
51
|
-
&:hover {
|
52
|
-
color: @linkColorHover;
|
53
|
-
text-decoration: underline;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
// Quick floats
|
58
|
-
.pull-right {
|
59
|
-
float: right;
|
60
|
-
}
|
61
|
-
.pull-left {
|
62
|
-
float: left;
|
63
|
-
}
|
64
|
-
|
65
|
-
// Toggling content
|
66
|
-
.hide {
|
67
|
-
display: none;
|
68
|
-
}
|
69
|
-
.show {
|
70
|
-
display: block;
|
71
25
|
}
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
// -----------
|
76
|
-
// To customize the grid system, bring up the variables.less file and change the column count, size, and gutter there
|
77
|
-
|
78
|
-
.row {
|
79
|
-
.clearfix();
|
80
|
-
margin-left: -1 * @gridGutterWidth;
|
26
|
+
a:hover {
|
27
|
+
color: @linkColorHover;
|
28
|
+
text-decoration: underline;
|
81
29
|
}
|
82
|
-
|
83
|
-
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7)
|
84
|
-
// Credit to @dhg for the idea
|
85
|
-
[class*="span"] {
|
86
|
-
.gridColumn();
|
87
|
-
}
|
88
|
-
|
89
|
-
// Default columns
|
90
|
-
.span1 { .columns(1); }
|
91
|
-
.span2 { .columns(2); }
|
92
|
-
.span3 { .columns(3); }
|
93
|
-
.span4 { .columns(4); }
|
94
|
-
.span5 { .columns(5); }
|
95
|
-
.span6 { .columns(6); }
|
96
|
-
.span7 { .columns(7); }
|
97
|
-
.span8 { .columns(8); }
|
98
|
-
.span9 { .columns(9); }
|
99
|
-
.span10 { .columns(10); }
|
100
|
-
.span11 { .columns(11); }
|
101
|
-
.span12 { .columns(12); }
|
102
|
-
.span13 { .columns(13); }
|
103
|
-
.span14 { .columns(14); }
|
104
|
-
.span15 { .columns(15); }
|
105
|
-
.span16 { .columns(16); }
|
106
|
-
|
107
|
-
// For optional 24-column grid
|
108
|
-
.span17 { .columns(17); }
|
109
|
-
.span18 { .columns(18); }
|
110
|
-
.span19 { .columns(19); }
|
111
|
-
.span20 { .columns(20); }
|
112
|
-
.span21 { .columns(21); }
|
113
|
-
.span22 { .columns(22); }
|
114
|
-
.span23 { .columns(23); }
|
115
|
-
.span24 { .columns(24); }
|
116
|
-
|
117
|
-
// Offset column options
|
118
|
-
.offset1 { .offset(1); }
|
119
|
-
.offset2 { .offset(2); }
|
120
|
-
.offset3 { .offset(3); }
|
121
|
-
.offset4 { .offset(4); }
|
122
|
-
.offset5 { .offset(5); }
|
123
|
-
.offset6 { .offset(6); }
|
124
|
-
.offset7 { .offset(7); }
|
125
|
-
.offset8 { .offset(8); }
|
126
|
-
.offset9 { .offset(9); }
|
127
|
-
.offset10 { .offset(10); }
|
128
|
-
.offset11 { .offset(11); }
|
129
|
-
.offset12 { .offset(12); }
|
130
|
-
|
131
|
-
// Unique column sizes for 16-column grid
|
132
|
-
.span-one-third { width: 300px; }
|
133
|
-
.span-two-thirds { width: 620px; }
|
134
|
-
.offset-one-third { margin-left: 340px; }
|
135
|
-
.offset-two-thirds { margin-left: 660px; }
|
@@ -0,0 +1,156 @@
|
|
1
|
+
// SPRITES
|
2
|
+
// Glyphs and icons for buttons, nav, and more
|
3
|
+
// -------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// ICONS
|
7
|
+
// -----
|
8
|
+
|
9
|
+
// All icons receive the styles of the <i> tag with a base class
|
10
|
+
// of .i and are then given a unique class to add width, height,
|
11
|
+
// and background-position. Your resulting HTML will look like
|
12
|
+
// <i class="i icon-inbox"></i>.
|
13
|
+
|
14
|
+
// For the white version of the icons, just add the .icon-white class:
|
15
|
+
// <i class="i icon-inbox icon-white"></i>
|
16
|
+
|
17
|
+
[class^="icon-"] {
|
18
|
+
display: inline-block;
|
19
|
+
width: 14px;
|
20
|
+
height: 14px;
|
21
|
+
vertical-align: text-top;
|
22
|
+
background-image: url(../img/glyphicons-halflings.png);
|
23
|
+
background-position: 14px 14px;
|
24
|
+
background-repeat: no-repeat;
|
25
|
+
|
26
|
+
.ie7-restore-right-whitespace();
|
27
|
+
}
|
28
|
+
.icon-white {
|
29
|
+
background-image: url(../img/glyphicons-halflings-white.png);
|
30
|
+
}
|
31
|
+
|
32
|
+
.icon-glass { background-position: 0 0; }
|
33
|
+
.icon-music { background-position: -24px 0; }
|
34
|
+
.icon-search { background-position: -48px 0; }
|
35
|
+
.icon-envelope { background-position: -72px 0; }
|
36
|
+
.icon-heart { background-position: -96px 0; }
|
37
|
+
.icon-star { background-position: -120px 0; }
|
38
|
+
.icon-star-empty { background-position: -144px 0; }
|
39
|
+
.icon-user { background-position: -168px 0; }
|
40
|
+
.icon-film { background-position: -192px 0; }
|
41
|
+
.icon-th-large { background-position: -216px 0; }
|
42
|
+
.icon-th { background-position: -240px 0; }
|
43
|
+
.icon-th-list { background-position: -264px 0; }
|
44
|
+
.icon-ok { background-position: -288px 0; }
|
45
|
+
.icon-remove { background-position: -312px 0; }
|
46
|
+
.icon-zoom-in { background-position: -336px 0; }
|
47
|
+
.icon-zoom-out { background-position: -360px 0; }
|
48
|
+
.icon-off { background-position: -384px 0; }
|
49
|
+
.icon-signal { background-position: -408px 0; }
|
50
|
+
.icon-cog { background-position: -432px 0; }
|
51
|
+
.icon-trash { background-position: -456px 0; }
|
52
|
+
|
53
|
+
.icon-home { background-position: 0 -24px; }
|
54
|
+
.icon-file { background-position: -24px -24px; }
|
55
|
+
.icon-time { background-position: -48px -24px; }
|
56
|
+
.icon-road { background-position: -72px -24px; }
|
57
|
+
.icon-download-alt { background-position: -96px -24px; }
|
58
|
+
.icon-download { background-position: -120px -24px; }
|
59
|
+
.icon-upload { background-position: -144px -24px; }
|
60
|
+
.icon-inbox { background-position: -168px -24px; }
|
61
|
+
.icon-play-circle { background-position: -192px -24px; }
|
62
|
+
.icon-repeat { background-position: -216px -24px; }
|
63
|
+
.icon-refresh { background-position: -240px -24px; }
|
64
|
+
.icon-list-alt { background-position: -264px -24px; }
|
65
|
+
.icon-lock { background-position: -287px -24px; } // 1px off
|
66
|
+
.icon-flag { background-position: -312px -24px; }
|
67
|
+
.icon-headphones { background-position: -336px -24px; }
|
68
|
+
.icon-volume-off { background-position: -360px -24px; }
|
69
|
+
.icon-volume-down { background-position: -384px -24px; }
|
70
|
+
.icon-volume-up { background-position: -408px -24px; }
|
71
|
+
.icon-qrcode { background-position: -432px -24px; }
|
72
|
+
.icon-barcode { background-position: -456px -24px; }
|
73
|
+
|
74
|
+
.icon-tag { background-position: 0 -48px; }
|
75
|
+
.icon-tags { background-position: -25px -48px; } // 1px off
|
76
|
+
.icon-book { background-position: -48px -48px; }
|
77
|
+
.icon-bookmark { background-position: -72px -48px; }
|
78
|
+
.icon-print { background-position: -96px -48px; }
|
79
|
+
.icon-camera { background-position: -120px -48px; }
|
80
|
+
.icon-font { background-position: -144px -48px; }
|
81
|
+
.icon-bold { background-position: -167px -48px; } // 1px off
|
82
|
+
.icon-italic { background-position: -192px -48px; }
|
83
|
+
.icon-text-height { background-position: -216px -48px; }
|
84
|
+
.icon-text-width { background-position: -240px -48px; }
|
85
|
+
.icon-align-left { background-position: -264px -48px; }
|
86
|
+
.icon-align-center { background-position: -288px -48px; }
|
87
|
+
.icon-align-right { background-position: -312px -48px; }
|
88
|
+
.icon-align-justify { background-position: -336px -48px; }
|
89
|
+
.icon-list { background-position: -360px -48px; }
|
90
|
+
.icon-indent-left { background-position: -384px -48px; }
|
91
|
+
.icon-indent-right { background-position: -408px -48px; }
|
92
|
+
.icon-facetime-video { background-position: -432px -48px; }
|
93
|
+
.icon-picture { background-position: -456px -48px; }
|
94
|
+
|
95
|
+
.icon-pencil { background-position: 0 -72px; }
|
96
|
+
.icon-map-marker { background-position: -24px -72px; }
|
97
|
+
.icon-adjust { background-position: -48px -72px; }
|
98
|
+
.icon-tint { background-position: -72px -72px; }
|
99
|
+
.icon-edit { background-position: -96px -72px; }
|
100
|
+
.icon-share { background-position: -120px -72px; }
|
101
|
+
.icon-check { background-position: -144px -72px; }
|
102
|
+
.icon-move { background-position: -168px -72px; }
|
103
|
+
.icon-step-backward { background-position: -192px -72px; }
|
104
|
+
.icon-fast-backward { background-position: -216px -72px; }
|
105
|
+
.icon-backward { background-position: -240px -72px; }
|
106
|
+
.icon-play { background-position: -264px -72px; }
|
107
|
+
.icon-pause { background-position: -288px -72px; }
|
108
|
+
.icon-stop { background-position: -312px -72px; }
|
109
|
+
.icon-forward { background-position: -336px -72px; }
|
110
|
+
.icon-fast-forward { background-position: -360px -72px; }
|
111
|
+
.icon-step-forward { background-position: -384px -72px; }
|
112
|
+
.icon-eject { background-position: -408px -72px; }
|
113
|
+
.icon-chevron-left { background-position: -432px -72px; }
|
114
|
+
.icon-chevron-right { background-position: -456px -72px; }
|
115
|
+
|
116
|
+
.icon-plus-sign { background-position: 0 -96px; }
|
117
|
+
.icon-minus-sign { background-position: -24px -96px; }
|
118
|
+
.icon-remove-sign { background-position: -48px -96px; }
|
119
|
+
.icon-ok-sign { background-position: -72px -96px; }
|
120
|
+
.icon-question-sign { background-position: -96px -96px; }
|
121
|
+
.icon-info-sign { background-position: -120px -96px; }
|
122
|
+
.icon-screenshot { background-position: -144px -96px; }
|
123
|
+
.icon-remove-circle { background-position: -168px -96px; }
|
124
|
+
.icon-ok-circle { background-position: -192px -96px; }
|
125
|
+
.icon-ban-circle { background-position: -216px -96px; }
|
126
|
+
.icon-arrow-left { background-position: -240px -96px; }
|
127
|
+
.icon-arrow-right { background-position: -264px -96px; }
|
128
|
+
.icon-arrow-up { background-position: -289px -96px; } // 1px off
|
129
|
+
.icon-arrow-down { background-position: -312px -96px; }
|
130
|
+
.icon-share-alt { background-position: -336px -96px; }
|
131
|
+
.icon-resize-full { background-position: -360px -96px; }
|
132
|
+
.icon-resize-small { background-position: -384px -96px; }
|
133
|
+
.icon-plus { background-position: -408px -96px; }
|
134
|
+
.icon-minus { background-position: -433px -96px; }
|
135
|
+
.icon-asterisk { background-position: -456px -96px; }
|
136
|
+
|
137
|
+
.icon-exclamation-sign { background-position: 0 -120px; }
|
138
|
+
.icon-gift { background-position: -24px -120px; }
|
139
|
+
.icon-leaf { background-position: -48px -120px; }
|
140
|
+
.icon-fire { background-position: -72px -120px; }
|
141
|
+
.icon-eye-open { background-position: -96px -120px; }
|
142
|
+
.icon-eye-close { background-position: -120px -120px; }
|
143
|
+
.icon-warning-sign { background-position: -144px -120px; }
|
144
|
+
.icon-plane { background-position: -168px -120px; }
|
145
|
+
.icon-calendar { background-position: -192px -120px; }
|
146
|
+
.icon-random { background-position: -216px -120px; }
|
147
|
+
.icon-comment { background-position: -240px -120px; }
|
148
|
+
.icon-magnet { background-position: -264px -120px; }
|
149
|
+
.icon-chevron-up { background-position: -288px -120px; }
|
150
|
+
.icon-chevron-down { background-position: -313px -119px; } // 1px off
|
151
|
+
.icon-retweet { background-position: -336px -120px; }
|
152
|
+
.icon-shopping-cart { background-position: -360px -120px; }
|
153
|
+
.icon-folder-close { background-position: -384px -120px; }
|
154
|
+
.icon-folder-open { background-position: -408px -120px; }
|
155
|
+
.icon-resize-vertical { background-position: -432px -119px; }
|
156
|
+
.icon-resize-horizontal { background-position: -456px -118px; }
|
@@ -1,52 +1,99 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//
|
2
|
+
// Tables.less
|
3
|
+
// Tables for, you guessed it, tabular data
|
4
|
+
// ----------------------------------------
|
5
5
|
|
6
6
|
|
7
|
+
// BASE TABLES
|
8
|
+
// -----------------
|
9
|
+
|
10
|
+
table {
|
11
|
+
max-width: 100%;
|
12
|
+
border-collapse: collapse;
|
13
|
+
border-spacing: 0;
|
14
|
+
}
|
15
|
+
|
7
16
|
// BASELINE STYLES
|
8
17
|
// ---------------
|
9
18
|
|
10
|
-
table {
|
19
|
+
.table {
|
11
20
|
width: 100%;
|
12
|
-
margin-bottom: @
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
.border-radius(4px);
|
19
|
-
th, td {
|
20
|
-
padding: 10px 10px 9px;
|
21
|
-
line-height: @baseline;
|
21
|
+
margin-bottom: @baseLineHeight;
|
22
|
+
// Cells
|
23
|
+
th,
|
24
|
+
td {
|
25
|
+
padding: 8px;
|
26
|
+
line-height: @baseLineHeight;
|
22
27
|
text-align: left;
|
28
|
+
border-top: 1px solid #ddd;
|
23
29
|
}
|
24
30
|
th {
|
25
|
-
padding-top: 9px;
|
26
31
|
font-weight: bold;
|
27
|
-
vertical-align:
|
28
|
-
border-bottom: 1px solid #ddd;
|
32
|
+
vertical-align: bottom;
|
29
33
|
}
|
30
34
|
td {
|
31
35
|
vertical-align: top;
|
32
36
|
}
|
37
|
+
// Remove top border from thead by default
|
38
|
+
thead:first-child tr th,
|
39
|
+
thead:first-child tr td {
|
40
|
+
border-top: 0;
|
41
|
+
}
|
42
|
+
// Account for multiple tbody instances
|
43
|
+
tbody + tbody {
|
44
|
+
border-top: 2px solid #ddd;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
// CONDENSED TABLE W/ HALF PADDING
|
51
|
+
// -------------------------------
|
52
|
+
|
53
|
+
.table-condensed {
|
54
|
+
th,
|
55
|
+
td {
|
56
|
+
padding: 4px 5px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
// BORDERED VERSION
|
62
|
+
// ----------------
|
63
|
+
|
64
|
+
.table-bordered {
|
65
|
+
border: 1px solid #ddd;
|
66
|
+
border-collapse: separate; // Done so we can round those corners!
|
67
|
+
*border-collapse: collapsed; // IE7 can't round corners anyway
|
68
|
+
.border-radius(4px);
|
33
69
|
th + th,
|
34
|
-
td + td
|
70
|
+
td + td,
|
71
|
+
th + td,
|
72
|
+
td + th {
|
35
73
|
border-left: 1px solid #ddd;
|
36
74
|
}
|
37
|
-
|
38
|
-
|
75
|
+
// Prevent a double border
|
76
|
+
thead:first-child tr:first-child th,
|
77
|
+
tbody:first-child tr:first-child th,
|
78
|
+
tbody:first-child tr:first-child td {
|
79
|
+
border-top: 0;
|
39
80
|
}
|
40
|
-
|
81
|
+
// For first th or td in the first row in the first thead or tbody
|
82
|
+
thead:first-child tr:first-child th:first-child,
|
83
|
+
tbody:first-child tr:first-child td:first-child {
|
41
84
|
.border-radius(4px 0 0 0);
|
42
85
|
}
|
43
|
-
|
86
|
+
thead:first-child tr:first-child th:last-child,
|
87
|
+
tbody:first-child tr:first-child td:last-child {
|
44
88
|
.border-radius(0 4px 0 0);
|
45
89
|
}
|
46
|
-
|
90
|
+
// For first th or td in the first row in the first thead or tbody
|
91
|
+
thead:last-child tr:last-child th:first-child,
|
92
|
+
tbody:last-child tr:last-child td:first-child {
|
47
93
|
.border-radius(0 0 0 4px);
|
48
94
|
}
|
49
|
-
|
95
|
+
thead:last-child tr:last-child th:last-child,
|
96
|
+
tbody:last-child tr:last-child td:last-child {
|
50
97
|
.border-radius(0 0 4px 0);
|
51
98
|
}
|
52
99
|
}
|
@@ -56,116 +103,37 @@ table {
|
|
56
103
|
// --------------
|
57
104
|
|
58
105
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
59
|
-
.
|
106
|
+
.table-striped {
|
60
107
|
tbody {
|
61
|
-
tr:nth-child(odd) td
|
108
|
+
tr:nth-child(odd) td,
|
109
|
+
tr:nth-child(odd) th {
|
62
110
|
background-color: #f9f9f9;
|
63
111
|
}
|
64
|
-
tr:hover td {
|
65
|
-
background-color: #f5f5f5;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
// Tablesorting styles w/ jQuery plugin
|
70
|
-
.header {
|
71
|
-
cursor: pointer;
|
72
|
-
&:after {
|
73
|
-
content: "";
|
74
|
-
float: right;
|
75
|
-
margin-top: 7px;
|
76
|
-
border-width: 0 4px 4px;
|
77
|
-
border-style: solid;
|
78
|
-
border-color: #000 transparent;
|
79
|
-
visibility: hidden;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
// Style the sorted column headers (THs)
|
83
|
-
.headerSortUp,
|
84
|
-
.headerSortDown {
|
85
|
-
background-color: rgba(141,192,219,.25);
|
86
|
-
text-shadow: 0 1px 1px rgba(255,255,255,.75);
|
87
|
-
}
|
88
|
-
// Style the ascending (reverse alphabetical) column header
|
89
|
-
.header:hover {
|
90
|
-
&:after {
|
91
|
-
visibility:visible;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
// Style the descending (alphabetical) column header
|
95
|
-
.headerSortDown,
|
96
|
-
.headerSortDown:hover {
|
97
|
-
&:after {
|
98
|
-
visibility:visible;
|
99
|
-
.opacity(60);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
// Style the ascending (reverse alphabetical) column header
|
103
|
-
.headerSortUp {
|
104
|
-
&:after {
|
105
|
-
border-bottom: none;
|
106
|
-
border-left: 4px solid transparent;
|
107
|
-
border-right: 4px solid transparent;
|
108
|
-
border-top: 4px solid #000;
|
109
|
-
visibility:visible;
|
110
|
-
.box-shadow(none); //can't add boxshadow to downward facing arrow :(
|
111
|
-
.opacity(60);
|
112
|
-
}
|
113
112
|
}
|
114
113
|
}
|
115
114
|
|
115
|
+
|
116
|
+
|
117
|
+
// TABLE CELL SIZING
|
118
|
+
// -----------------
|
119
|
+
|
120
|
+
// Change the columns
|
121
|
+
.tableColumns(@columnSpan: 1) {
|
122
|
+
float: none;
|
123
|
+
width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 16;
|
124
|
+
margin-left: 0;
|
125
|
+
}
|
116
126
|
table {
|
117
|
-
|
118
|
-
.
|
119
|
-
|
120
|
-
|
121
|
-
}
|
122
|
-
.
|
123
|
-
.
|
124
|
-
|
125
|
-
}
|
126
|
-
|
127
|
-
.
|
128
|
-
|
129
|
-
|
130
|
-
}
|
131
|
-
.headerSortUp.green,
|
132
|
-
.headerSortDown.green {
|
133
|
-
background-color: lighten(@green, 40%);
|
134
|
-
}
|
135
|
-
// Red Table Headings
|
136
|
-
.red {
|
137
|
-
color: @red;
|
138
|
-
border-bottom-color: @red;
|
139
|
-
}
|
140
|
-
.headerSortUp.red,
|
141
|
-
.headerSortDown.red {
|
142
|
-
background-color: lighten(@red, 50%);
|
143
|
-
}
|
144
|
-
// Yellow Table Headings
|
145
|
-
.yellow {
|
146
|
-
color: @yellow;
|
147
|
-
border-bottom-color: @yellow;
|
148
|
-
}
|
149
|
-
.headerSortUp.yellow,
|
150
|
-
.headerSortDown.yellow {
|
151
|
-
background-color: lighten(@yellow, 40%);
|
152
|
-
}
|
153
|
-
// Orange Table Headings
|
154
|
-
.orange {
|
155
|
-
color: @orange;
|
156
|
-
border-bottom-color: @orange;
|
157
|
-
}
|
158
|
-
.headerSortUp.orange,
|
159
|
-
.headerSortDown.orange {
|
160
|
-
background-color: lighten(@orange, 40%);
|
161
|
-
}
|
162
|
-
// Purple Table Headings
|
163
|
-
.purple {
|
164
|
-
color: @purple;
|
165
|
-
border-bottom-color: @purple;
|
166
|
-
}
|
167
|
-
.headerSortUp.purple,
|
168
|
-
.headerSortDown.purple {
|
169
|
-
background-color: lighten(@purple, 40%);
|
170
|
-
}
|
171
|
-
}
|
127
|
+
.span1 { .tableColumns(1); }
|
128
|
+
.span2 { .tableColumns(2); }
|
129
|
+
.span3 { .tableColumns(3); }
|
130
|
+
.span4 { .tableColumns(4); }
|
131
|
+
.span5 { .tableColumns(5); }
|
132
|
+
.span6 { .tableColumns(6); }
|
133
|
+
.span7 { .tableColumns(7); }
|
134
|
+
.span8 { .tableColumns(8); }
|
135
|
+
.span9 { .tableColumns(9); }
|
136
|
+
.span10 { .tableColumns(10); }
|
137
|
+
.span11 { .tableColumns(11); }
|
138
|
+
.span12 { .tableColumns(12); }
|
139
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// THUMBNAILS
|
2
|
+
// ----------
|
3
|
+
|
4
|
+
.thumbnails {
|
5
|
+
margin-left: -20px;
|
6
|
+
list-style: none;
|
7
|
+
.clearfix();
|
8
|
+
}
|
9
|
+
.thumbnails > li {
|
10
|
+
float: left;
|
11
|
+
margin: 0 0 @baseLineHeight 20px;
|
12
|
+
}
|
13
|
+
.thumbnail {
|
14
|
+
display: block;
|
15
|
+
padding: 4px;
|
16
|
+
line-height: 1;
|
17
|
+
border: 1px solid #ddd;
|
18
|
+
.border-radius(4px);
|
19
|
+
.box-shadow(0 1px 1px rgba(0,0,0,.075));
|
20
|
+
}
|
21
|
+
// Add a hover state for linked versions only
|
22
|
+
a.thumbnail:hover {
|
23
|
+
border-color: @linkColor;
|
24
|
+
.box-shadow(0 1px 4px rgba(0,105,214,.25));
|
25
|
+
}
|
26
|
+
// Images and captions
|
27
|
+
.thumbnail > img {
|
28
|
+
display: block;
|
29
|
+
max-width: 100%;
|
30
|
+
margin-left: auto;
|
31
|
+
margin-right: auto;
|
32
|
+
}
|
33
|
+
.thumbnail .caption {
|
34
|
+
padding: 9px;
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// TOOLTIP
|
2
|
+
// ------=
|
3
|
+
|
4
|
+
.tooltip {
|
5
|
+
position: absolute;
|
6
|
+
z-index: @zindexTooltip;
|
7
|
+
display: block;
|
8
|
+
visibility: visible;
|
9
|
+
padding: 5px;
|
10
|
+
font-size: 11px;
|
11
|
+
.opacity(0);
|
12
|
+
&.in { .opacity(80); }
|
13
|
+
&.top { margin-top: -2px; }
|
14
|
+
&.right { margin-left: 2px; }
|
15
|
+
&.bottom { margin-top: 2px; }
|
16
|
+
&.left { margin-left: -2px; }
|
17
|
+
&.top .tooltip-arrow { #popoverArrow > .top(); }
|
18
|
+
&.left .tooltip-arrow { #popoverArrow > .left(); }
|
19
|
+
&.bottom .tooltip-arrow { #popoverArrow > .bottom(); }
|
20
|
+
&.right .tooltip-arrow { #popoverArrow > .right(); }
|
21
|
+
}
|
22
|
+
.tooltip-inner {
|
23
|
+
max-width: 200px;
|
24
|
+
padding: 3px 8px;
|
25
|
+
color: @white;
|
26
|
+
text-align: center;
|
27
|
+
text-decoration: none;
|
28
|
+
background-color: @black;
|
29
|
+
.border-radius(4px);
|
30
|
+
}
|
31
|
+
.tooltip-arrow {
|
32
|
+
position: absolute;
|
33
|
+
width: 0;
|
34
|
+
height: 0;
|
35
|
+
}
|