kickstrap_rails 0.9.0RC

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +165 -0
  4. data/README.md +23 -0
  5. data/Rakefile +2 -0
  6. data/kickstrap_rails.gemspec +20 -0
  7. data/lib/kickstrap_rails/version.rb +3 -0
  8. data/lib/kickstrap_rails.rb +6 -0
  9. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  10. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +175 -0
  11. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svgz +0 -0
  12. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  13. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  14. data/vendor/assets/fonts/icomoon/full-webfont.eot +0 -0
  15. data/vendor/assets/fonts/icomoon/full-webfont.svg +157 -0
  16. data/vendor/assets/fonts/icomoon/full-webfont.ttf +0 -0
  17. data/vendor/assets/fonts/icomoon/full-webfont.woff +0 -0
  18. data/vendor/assets/images/chosen/chosen-sprite.png +0 -0
  19. data/vendor/assets/javascripts/bootstrap/bootstrap-alert.js +94 -0
  20. data/vendor/assets/javascripts/bootstrap/bootstrap-button.js +100 -0
  21. data/vendor/assets/javascripts/bootstrap/bootstrap-carousel.js +161 -0
  22. data/vendor/assets/javascripts/bootstrap/bootstrap-collapse.js +138 -0
  23. data/vendor/assets/javascripts/bootstrap/bootstrap-dropdown.js +92 -0
  24. data/vendor/assets/javascripts/bootstrap/bootstrap-modal.js +210 -0
  25. data/vendor/assets/javascripts/bootstrap/bootstrap-popover.js +95 -0
  26. data/vendor/assets/javascripts/bootstrap/bootstrap-scrollspy.js +125 -0
  27. data/vendor/assets/javascripts/bootstrap/bootstrap-tab.js +130 -0
  28. data/vendor/assets/javascripts/bootstrap/bootstrap-tooltip.js +270 -0
  29. data/vendor/assets/javascripts/bootstrap/bootstrap-transition.js +51 -0
  30. data/vendor/assets/javascripts/bootstrap/bootstrap-typeahead.js +271 -0
  31. data/vendor/assets/javascripts/bootstrap.js +12 -0
  32. data/vendor/assets/javascripts/kickstrap/chosen/chosen.jquery.js +952 -0
  33. data/vendor/assets/javascripts/kickstrap/jgrowl/jquery.jgrowl.js +330 -0
  34. data/vendor/assets/javascripts/kickstrap.js +3 -0
  35. data/vendor/assets/stylesheets/bootstrap/accordion.less +28 -0
  36. data/vendor/assets/stylesheets/bootstrap/alerts.less +70 -0
  37. data/vendor/assets/stylesheets/bootstrap/bootstrap.less +65 -0
  38. data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +22 -0
  39. data/vendor/assets/stylesheets/bootstrap/button-groups.less +148 -0
  40. data/vendor/assets/stylesheets/bootstrap/buttons.less +183 -0
  41. data/vendor/assets/stylesheets/bootstrap/carousel.less +121 -0
  42. data/vendor/assets/stylesheets/bootstrap/close.less +18 -0
  43. data/vendor/assets/stylesheets/bootstrap/code.less +57 -0
  44. data/vendor/assets/stylesheets/bootstrap/component-animations.less +18 -0
  45. data/vendor/assets/stylesheets/bootstrap/dropdowns.less +130 -0
  46. data/vendor/assets/stylesheets/bootstrap/forms.less +522 -0
  47. data/vendor/assets/stylesheets/bootstrap/grid.less +8 -0
  48. data/vendor/assets/stylesheets/bootstrap/hero-unit.less +20 -0
  49. data/vendor/assets/stylesheets/bootstrap/labels.less +32 -0
  50. data/vendor/assets/stylesheets/bootstrap/layouts.less +17 -0
  51. data/vendor/assets/stylesheets/bootstrap/mixins.less +590 -0
  52. data/vendor/assets/stylesheets/bootstrap/modals.less +83 -0
  53. data/vendor/assets/stylesheets/bootstrap/navbar.less +299 -0
  54. data/vendor/assets/stylesheets/bootstrap/navs.less +353 -0
  55. data/vendor/assets/stylesheets/bootstrap/pager.less +30 -0
  56. data/vendor/assets/stylesheets/bootstrap/pagination.less +55 -0
  57. data/vendor/assets/stylesheets/bootstrap/popovers.less +49 -0
  58. data/vendor/assets/stylesheets/bootstrap/progress-bars.less +95 -0
  59. data/vendor/assets/stylesheets/bootstrap/reset.less +126 -0
  60. data/vendor/assets/stylesheets/bootstrap/scaffolding.less +29 -0
  61. data/vendor/assets/stylesheets/bootstrap/sprites.less +158 -0
  62. data/vendor/assets/stylesheets/bootstrap/tables.less +150 -0
  63. data/vendor/assets/stylesheets/bootstrap/thumbnails.less +35 -0
  64. data/vendor/assets/stylesheets/bootstrap/tooltip.less +35 -0
  65. data/vendor/assets/stylesheets/bootstrap/type.less +218 -0
  66. data/vendor/assets/stylesheets/bootstrap/utilities.less +23 -0
  67. data/vendor/assets/stylesheets/bootstrap/variables.less +107 -0
  68. data/vendor/assets/stylesheets/bootstrap/wells.less +17 -0
  69. data/vendor/assets/stylesheets/kickstrap/animate/animate.css +3813 -0
  70. data/vendor/assets/stylesheets/kickstrap/chosen/chosen.less +392 -0
  71. data/vendor/assets/stylesheets/kickstrap/fontawesome/font-awesome.less +218 -0
  72. data/vendor/assets/stylesheets/kickstrap/icomoon/icomoon.less +123 -0
  73. data/vendor/assets/stylesheets/kickstrap/jgrowl/jquery.jgrowl.less +105 -0
  74. data/vendor/assets/stylesheets/kickstrap/overrides.less +271 -0
  75. data/vendor/assets/stylesheets/kickstrap/themes/amelia/amelia.less +647 -0
  76. data/vendor/assets/stylesheets/kickstrap/themes/amelia/variables.less +112 -0
  77. data/vendor/assets/stylesheets/kickstrap/themes/amelia.css.less +2 -0
  78. data/vendor/assets/stylesheets/kickstrap/themes/cerulean/cerulean.less +122 -0
  79. data/vendor/assets/stylesheets/kickstrap/themes/cerulean/variables.less +108 -0
  80. data/vendor/assets/stylesheets/kickstrap/themes/cerulean.css.less +2 -0
  81. data/vendor/assets/stylesheets/kickstrap/themes/cyborg/cyborg.less +511 -0
  82. data/vendor/assets/stylesheets/kickstrap/themes/cyborg/variables.less +110 -0
  83. data/vendor/assets/stylesheets/kickstrap/themes/cyborg.css.less +2 -0
  84. data/vendor/assets/stylesheets/kickstrap/themes/journal/journal.less +139 -0
  85. data/vendor/assets/stylesheets/kickstrap/themes/journal/variables.less +114 -0
  86. data/vendor/assets/stylesheets/kickstrap/themes/journal.css.less +2 -0
  87. data/vendor/assets/stylesheets/kickstrap/themes/readable/readable.less +454 -0
  88. data/vendor/assets/stylesheets/kickstrap/themes/readable/variables.less +108 -0
  89. data/vendor/assets/stylesheets/kickstrap/themes/readable.css.less +2 -0
  90. data/vendor/assets/stylesheets/kickstrap/themes/sandra/sandra.less +115 -0
  91. data/vendor/assets/stylesheets/kickstrap/themes/sandra/variables.less +110 -0
  92. data/vendor/assets/stylesheets/kickstrap/themes/sandra.css.less +2 -0
  93. data/vendor/assets/stylesheets/kickstrap/themes/simplex/simplex.less +107 -0
  94. data/vendor/assets/stylesheets/kickstrap/themes/simplex/variables.less +108 -0
  95. data/vendor/assets/stylesheets/kickstrap/themes/simplex.css.less +2 -0
  96. data/vendor/assets/stylesheets/kickstrap/themes/slate/slate.less +417 -0
  97. data/vendor/assets/stylesheets/kickstrap/themes/slate/variables.less +203 -0
  98. data/vendor/assets/stylesheets/kickstrap/themes/slate.css.less +2 -0
  99. data/vendor/assets/stylesheets/kickstrap/themes/spacelab/spacelab.less +174 -0
  100. data/vendor/assets/stylesheets/kickstrap/themes/spacelab/variables.less +107 -0
  101. data/vendor/assets/stylesheets/kickstrap/themes/spacelab.css.less +2 -0
  102. data/vendor/assets/stylesheets/kickstrap/themes/spruce/spruce.less +474 -0
  103. data/vendor/assets/stylesheets/kickstrap/themes/spruce/variables.less +108 -0
  104. data/vendor/assets/stylesheets/kickstrap/themes/spruce.css.less +2 -0
  105. data/vendor/assets/stylesheets/kickstrap/themes/superhero/superhero.less +634 -0
  106. data/vendor/assets/stylesheets/kickstrap/themes/superhero/variables.less +108 -0
  107. data/vendor/assets/stylesheets/kickstrap/themes/superhero.css.less +2 -0
  108. data/vendor/assets/stylesheets/kickstrap/themes/united/united.less +101 -0
  109. data/vendor/assets/stylesheets/kickstrap/themes/united/variables.less +110 -0
  110. data/vendor/assets/stylesheets/kickstrap/themes/united.css.less +2 -0
  111. data/vendor/assets/stylesheets/kickstrap.css.less +1 -0
  112. metadata +189 -0
@@ -0,0 +1,49 @@
1
+ // POPOVERS
2
+ // --------
3
+
4
+ .popover {
5
+ position: absolute;
6
+ top: 0;
7
+ left: 0;
8
+ z-index: @zindexPopover;
9
+ display: none;
10
+ padding: 5px;
11
+ &.top { margin-top: -5px; }
12
+ &.right { margin-left: 5px; }
13
+ &.bottom { margin-top: 5px; }
14
+ &.left { margin-left: -5px; }
15
+ &.top .arrow { #popoverArrow > .top(); }
16
+ &.right .arrow { #popoverArrow > .right(); }
17
+ &.bottom .arrow { #popoverArrow > .bottom(); }
18
+ &.left .arrow { #popoverArrow > .left(); }
19
+ .arrow {
20
+ position: absolute;
21
+ width: 0;
22
+ height: 0;
23
+ }
24
+ }
25
+ .popover-inner {
26
+ padding: 3px;
27
+ width: 280px;
28
+ overflow: hidden;
29
+ background: @black; // has to be full background declaration for IE fallback
30
+ background: rgba(0,0,0,.8);
31
+ .border-radius(6px);
32
+ .box-shadow(0 3px 7px rgba(0,0,0,0.3));
33
+ }
34
+ .popover-title {
35
+ padding: 9px 15px;
36
+ line-height: 1;
37
+ background-color: #f5f5f5;
38
+ border-bottom:1px solid #eee;
39
+ .border-radius(3px 3px 0 0);
40
+ }
41
+ .popover-content {
42
+ padding: 14px;
43
+ background-color: @white;
44
+ .border-radius(0 0 3px 3px);
45
+ .background-clip(padding-box);
46
+ p, ul, ol {
47
+ margin-bottom: 0;
48
+ }
49
+ }
@@ -0,0 +1,95 @@
1
+ // PROGRESS BARS
2
+ // -------------
3
+
4
+
5
+ // ANIMATIONS
6
+ // ----------
7
+
8
+ // Webkit
9
+ @-webkit-keyframes progress-bar-stripes {
10
+ from { background-position: 0 0; }
11
+ to { background-position: 40px 0; }
12
+ }
13
+
14
+ // Firefox
15
+ @-moz-keyframes progress-bar-stripes {
16
+ from { background-position: 0 0; }
17
+ to { background-position: 40px 0; }
18
+ }
19
+
20
+ // Spec
21
+ @keyframes progress-bar-stripes {
22
+ from { background-position: 0 0; }
23
+ to { background-position: 40px 0; }
24
+ }
25
+
26
+
27
+
28
+ // THE BARS
29
+ // --------
30
+
31
+ // Outer container
32
+ .progress {
33
+ overflow: hidden;
34
+ height: 18px;
35
+ margin-bottom: 18px;
36
+ #gradient > .vertical(#f5f5f5, #f9f9f9);
37
+ .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
38
+ .border-radius(4px);
39
+ }
40
+
41
+ // Bar of progress
42
+ .progress .bar {
43
+ width: 0%;
44
+ height: 18px;
45
+ color: @white;
46
+ font-size: 12px;
47
+ text-align: center;
48
+ text-shadow: 0 -1px 0 rgba(0,0,0,.25);
49
+ #gradient > .vertical(#149bdf, #0480be);
50
+ .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
51
+ .box-sizing(border-box);
52
+ .transition(width .6s ease);
53
+ }
54
+
55
+ // Striped bars
56
+ .progress-striped .bar {
57
+ #gradient > .striped(#62c462);
58
+ .background-size(40px 40px);
59
+ }
60
+
61
+ // Call animation for the active one
62
+ .progress.active .bar {
63
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
64
+ -moz-animation: progress-bar-stripes 2s linear infinite;
65
+ animation: progress-bar-stripes 2s linear infinite;
66
+ }
67
+
68
+
69
+
70
+ // COLORS
71
+ // ------
72
+
73
+ // Danger (red)
74
+ .progress-danger .bar {
75
+ #gradient > .vertical(#ee5f5b, #c43c35);
76
+ }
77
+ .progress-danger.progress-striped .bar {
78
+ #gradient > .striped(#ee5f5b);
79
+ }
80
+
81
+ // Success (green)
82
+ .progress-success .bar {
83
+ #gradient > .vertical(@green, darken(@green,10%));
84
+ }
85
+ .progress-success.progress-striped .bar {
86
+ #gradient > .striped(#62c462);
87
+ }
88
+
89
+ // Info (teal)
90
+ .progress-info .bar {
91
+ #gradient > .vertical(@blue, darken(@blue,10%));
92
+ }
93
+ .progress-info.progress-striped .bar {
94
+ #gradient > .striped(#5bc0de);
95
+ }
@@ -0,0 +1,126 @@
1
+ // Reset.less
2
+ // Adapted from Normalize.css http://github.com/necolas/normalize.css
3
+ // ------------------------------------------------------------------------
4
+
5
+ // Display in IE6-9 and FF3
6
+ // -------------------------
7
+
8
+ article,
9
+ aside,
10
+ details,
11
+ figcaption,
12
+ figure,
13
+ footer,
14
+ header,
15
+ hgroup,
16
+ nav,
17
+ section {
18
+ display: block;
19
+ }
20
+
21
+ // Display block in IE6-9 and FF3
22
+ // -------------------------
23
+
24
+ audio,
25
+ canvas,
26
+ video {
27
+ display: inline-block;
28
+ *display: inline;
29
+ *zoom: 1;
30
+ }
31
+
32
+ // Prevents modern browsers from displaying 'audio' without controls
33
+ // -------------------------
34
+
35
+ audio:not([controls]) {
36
+ display: none;
37
+ }
38
+
39
+ // Base settings
40
+ // -------------------------
41
+
42
+ html {
43
+ font-size: 100%;
44
+ -webkit-text-size-adjust: 100%;
45
+ -ms-text-size-adjust: 100%;
46
+ }
47
+ // Focus states
48
+ a:focus {
49
+ .tab-focus();
50
+ }
51
+ // Hover & Active
52
+ a:hover,
53
+ a:active {
54
+ outline: 0;
55
+ }
56
+
57
+ // Prevents sub and sup affecting line-height in all browsers
58
+ // -------------------------
59
+
60
+ sub,
61
+ sup {
62
+ position: relative;
63
+ font-size: 75%;
64
+ line-height: 0;
65
+ vertical-align: baseline;
66
+ }
67
+ sup {
68
+ top: -0.5em;
69
+ }
70
+ sub {
71
+ bottom: -0.25em;
72
+ }
73
+
74
+ // Img border in a's and image quality
75
+ // -------------------------
76
+
77
+ img {
78
+ max-width: 100%;
79
+ height: auto;
80
+ border: 0;
81
+ -ms-interpolation-mode: bicubic;
82
+ }
83
+
84
+ // Forms
85
+ // -------------------------
86
+
87
+ // Font size in all browsers, margin changes, misc consistency
88
+ button,
89
+ input,
90
+ select,
91
+ textarea {
92
+ margin: 0;
93
+ font-size: 100%;
94
+ vertical-align: middle;
95
+ }
96
+ button,
97
+ input {
98
+ *overflow: visible; // Inner spacing ie IE6/7
99
+ line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
100
+ }
101
+ button::-moz-focus-inner,
102
+ input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
103
+ padding: 0;
104
+ border: 0;
105
+ }
106
+ button,
107
+ input[type="button"],
108
+ input[type="reset"],
109
+ input[type="submit"] {
110
+ cursor: pointer; // Cursors on all buttons applied consistently
111
+ -webkit-appearance: button; // Style clickable inputs in iOS
112
+ }
113
+ input[type="search"] { // Appearance in Safari/Chrome
114
+ -webkit-appearance: textfield;
115
+ -webkit-box-sizing: content-box;
116
+ -moz-box-sizing: content-box;
117
+ box-sizing: content-box;
118
+ }
119
+ input[type="search"]::-webkit-search-decoration,
120
+ input[type="search"]::-webkit-search-cancel-button {
121
+ -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
122
+ }
123
+ textarea {
124
+ overflow: auto; // Remove vertical scrollbar in IE6-9
125
+ vertical-align: top; // Readability and alignment cross-browser
126
+ }
@@ -0,0 +1,29 @@
1
+ // Scaffolding
2
+ // Basic and global styles for generating a grid system, structural layout, and page templates
3
+ // -------------------------------------------------------------------------------------------
4
+
5
+
6
+ // STRUCTURAL LAYOUT
7
+ // -----------------
8
+
9
+ body {
10
+ margin: 0;
11
+ font-family: @baseFontFamily;
12
+ font-size: @baseFontSize;
13
+ line-height: @baseLineHeight;
14
+ color: @textColor;
15
+ background-color: @white;
16
+ }
17
+
18
+
19
+ // LINKS
20
+ // -----
21
+
22
+ a {
23
+ color: @linkColor;
24
+ text-decoration: none;
25
+ }
26
+ a:hover {
27
+ color: @linkColorHover;
28
+ text-decoration: underline;
29
+ }
@@ -0,0 +1,158 @@
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="icon-inbox"></i>.
13
+
14
+ // For the white version of the icons, just add the .icon-white class:
15
+ // <i class="icon-inbox icon-white"></i>
16
+
17
+ [class^="icon-"],
18
+ [class*=" icon-"] {
19
+ display: inline-block;
20
+ width: 14px;
21
+ height: 14px;
22
+ line-height: 14px;
23
+ vertical-align: text-top;
24
+ background-image: url(@iconSpritePath);
25
+ background-position: 14px 14px;
26
+ background-repeat: no-repeat;
27
+
28
+ .ie7-restore-right-whitespace();
29
+ }
30
+ .icon-white {
31
+ background-image: url(@iconWhiteSpritePath);
32
+ }
33
+
34
+ .icon-glass { background-position: 0 0; }
35
+ .icon-music { background-position: -24px 0; }
36
+ .icon-search { background-position: -48px 0; }
37
+ .icon-envelope { background-position: -72px 0; }
38
+ .icon-heart { background-position: -96px 0; }
39
+ .icon-star { background-position: -120px 0; }
40
+ .icon-star-empty { background-position: -144px 0; }
41
+ .icon-user { background-position: -168px 0; }
42
+ .icon-film { background-position: -192px 0; }
43
+ .icon-th-large { background-position: -216px 0; }
44
+ .icon-th { background-position: -240px 0; }
45
+ .icon-th-list { background-position: -264px 0; }
46
+ .icon-ok { background-position: -288px 0; }
47
+ .icon-remove { background-position: -312px 0; }
48
+ .icon-zoom-in { background-position: -336px 0; }
49
+ .icon-zoom-out { background-position: -360px 0; }
50
+ .icon-off { background-position: -384px 0; }
51
+ .icon-signal { background-position: -408px 0; }
52
+ .icon-cog { background-position: -432px 0; }
53
+ .icon-trash { background-position: -456px 0; }
54
+
55
+ .icon-home { background-position: 0 -24px; }
56
+ .icon-file { background-position: -24px -24px; }
57
+ .icon-time { background-position: -48px -24px; }
58
+ .icon-road { background-position: -72px -24px; }
59
+ .icon-download-alt { background-position: -96px -24px; }
60
+ .icon-download { background-position: -120px -24px; }
61
+ .icon-upload { background-position: -144px -24px; }
62
+ .icon-inbox { background-position: -168px -24px; }
63
+ .icon-play-circle { background-position: -192px -24px; }
64
+ .icon-repeat { background-position: -216px -24px; }
65
+ .icon-refresh { background-position: -240px -24px; }
66
+ .icon-list-alt { background-position: -264px -24px; }
67
+ .icon-lock { background-position: -287px -24px; } // 1px off
68
+ .icon-flag { background-position: -312px -24px; }
69
+ .icon-headphones { background-position: -336px -24px; }
70
+ .icon-volume-off { background-position: -360px -24px; }
71
+ .icon-volume-down { background-position: -384px -24px; }
72
+ .icon-volume-up { background-position: -408px -24px; }
73
+ .icon-qrcode { background-position: -432px -24px; }
74
+ .icon-barcode { background-position: -456px -24px; }
75
+
76
+ .icon-tag { background-position: 0 -48px; }
77
+ .icon-tags { background-position: -25px -48px; } // 1px off
78
+ .icon-book { background-position: -48px -48px; }
79
+ .icon-bookmark { background-position: -72px -48px; }
80
+ .icon-print { background-position: -96px -48px; }
81
+ .icon-camera { background-position: -120px -48px; }
82
+ .icon-font { background-position: -144px -48px; }
83
+ .icon-bold { background-position: -167px -48px; } // 1px off
84
+ .icon-italic { background-position: -192px -48px; }
85
+ .icon-text-height { background-position: -216px -48px; }
86
+ .icon-text-width { background-position: -240px -48px; }
87
+ .icon-align-left { background-position: -264px -48px; }
88
+ .icon-align-center { background-position: -288px -48px; }
89
+ .icon-align-right { background-position: -312px -48px; }
90
+ .icon-align-justify { background-position: -336px -48px; }
91
+ .icon-list { background-position: -360px -48px; }
92
+ .icon-indent-left { background-position: -384px -48px; }
93
+ .icon-indent-right { background-position: -408px -48px; }
94
+ .icon-facetime-video { background-position: -432px -48px; }
95
+ .icon-picture { background-position: -456px -48px; }
96
+
97
+ .icon-pencil { background-position: 0 -72px; }
98
+ .icon-map-marker { background-position: -24px -72px; }
99
+ .icon-adjust { background-position: -48px -72px; }
100
+ .icon-tint { background-position: -72px -72px; }
101
+ .icon-edit { background-position: -96px -72px; }
102
+ .icon-share { background-position: -120px -72px; }
103
+ .icon-check { background-position: -144px -72px; }
104
+ .icon-move { background-position: -168px -72px; }
105
+ .icon-step-backward { background-position: -192px -72px; }
106
+ .icon-fast-backward { background-position: -216px -72px; }
107
+ .icon-backward { background-position: -240px -72px; }
108
+ .icon-play { background-position: -264px -72px; }
109
+ .icon-pause { background-position: -288px -72px; }
110
+ .icon-stop { background-position: -312px -72px; }
111
+ .icon-forward { background-position: -336px -72px; }
112
+ .icon-fast-forward { background-position: -360px -72px; }
113
+ .icon-step-forward { background-position: -384px -72px; }
114
+ .icon-eject { background-position: -408px -72px; }
115
+ .icon-chevron-left { background-position: -432px -72px; }
116
+ .icon-chevron-right { background-position: -456px -72px; }
117
+
118
+ .icon-plus-sign { background-position: 0 -96px; }
119
+ .icon-minus-sign { background-position: -24px -96px; }
120
+ .icon-remove-sign { background-position: -48px -96px; }
121
+ .icon-ok-sign { background-position: -72px -96px; }
122
+ .icon-question-sign { background-position: -96px -96px; }
123
+ .icon-info-sign { background-position: -120px -96px; }
124
+ .icon-screenshot { background-position: -144px -96px; }
125
+ .icon-remove-circle { background-position: -168px -96px; }
126
+ .icon-ok-circle { background-position: -192px -96px; }
127
+ .icon-ban-circle { background-position: -216px -96px; }
128
+ .icon-arrow-left { background-position: -240px -96px; }
129
+ .icon-arrow-right { background-position: -264px -96px; }
130
+ .icon-arrow-up { background-position: -289px -96px; } // 1px off
131
+ .icon-arrow-down { background-position: -312px -96px; }
132
+ .icon-share-alt { background-position: -336px -96px; }
133
+ .icon-resize-full { background-position: -360px -96px; }
134
+ .icon-resize-small { background-position: -384px -96px; }
135
+ .icon-plus { background-position: -408px -96px; }
136
+ .icon-minus { background-position: -433px -96px; }
137
+ .icon-asterisk { background-position: -456px -96px; }
138
+
139
+ .icon-exclamation-sign { background-position: 0 -120px; }
140
+ .icon-gift { background-position: -24px -120px; }
141
+ .icon-leaf { background-position: -48px -120px; }
142
+ .icon-fire { background-position: -72px -120px; }
143
+ .icon-eye-open { background-position: -96px -120px; }
144
+ .icon-eye-close { background-position: -120px -120px; }
145
+ .icon-warning-sign { background-position: -144px -120px; }
146
+ .icon-plane { background-position: -168px -120px; }
147
+ .icon-calendar { background-position: -192px -120px; }
148
+ .icon-random { background-position: -216px -120px; }
149
+ .icon-comment { background-position: -240px -120px; }
150
+ .icon-magnet { background-position: -264px -120px; }
151
+ .icon-chevron-up { background-position: -288px -120px; }
152
+ .icon-chevron-down { background-position: -313px -119px; } // 1px off
153
+ .icon-retweet { background-position: -336px -120px; }
154
+ .icon-shopping-cart { background-position: -360px -120px; }
155
+ .icon-folder-close { background-position: -384px -120px; }
156
+ .icon-folder-open { background-position: -408px -120px; }
157
+ .icon-resize-vertical { background-position: -432px -119px; }
158
+ .icon-resize-horizontal { background-position: -456px -118px; }
@@ -0,0 +1,150 @@
1
+ //
2
+ // Tables.less
3
+ // Tables for, you guessed it, tabular data
4
+ // ----------------------------------------
5
+
6
+
7
+ // BASE TABLES
8
+ // -----------------
9
+
10
+ table {
11
+ max-width: 100%;
12
+ border-collapse: collapse;
13
+ border-spacing: 0;
14
+ }
15
+
16
+ // BASELINE STYLES
17
+ // ---------------
18
+
19
+ .table {
20
+ width: 100%;
21
+ margin-bottom: @baseLineHeight;
22
+ // Cells
23
+ th,
24
+ td {
25
+ padding: 8px;
26
+ line-height: @baseLineHeight;
27
+ text-align: left;
28
+ vertical-align: top;
29
+ border-top: 1px solid #ddd;
30
+ }
31
+ th {
32
+ font-weight: bold;
33
+ }
34
+ // Bottom align for column headings
35
+ thead th {
36
+ vertical-align: bottom;
37
+ }
38
+ // Remove top border from thead by default
39
+ thead:first-child tr th,
40
+ thead:first-child tr td {
41
+ border-top: 0;
42
+ }
43
+ // Account for multiple tbody instances
44
+ tbody + tbody {
45
+ border-top: 2px solid #ddd;
46
+ }
47
+ }
48
+
49
+
50
+
51
+ // CONDENSED TABLE W/ HALF PADDING
52
+ // -------------------------------
53
+
54
+ .table-condensed {
55
+ th,
56
+ td {
57
+ padding: 4px 5px;
58
+ }
59
+ }
60
+
61
+
62
+ // BORDERED VERSION
63
+ // ----------------
64
+
65
+ .table-bordered {
66
+ border: 1px solid #ddd;
67
+ border-collapse: separate; // Done so we can round those corners!
68
+ *border-collapse: collapsed; // IE7 can't round corners anyway
69
+ .border-radius(4px);
70
+ th + th,
71
+ td + td,
72
+ th + td,
73
+ td + th {
74
+ border-left: 1px solid #ddd;
75
+ }
76
+ // Prevent a double border
77
+ thead:first-child tr:first-child th,
78
+ tbody:first-child tr:first-child th,
79
+ tbody:first-child tr:first-child td {
80
+ border-top: 0;
81
+ }
82
+ // For first th or td in the first row in the first thead or tbody
83
+ thead:first-child tr:first-child th:first-child,
84
+ tbody:first-child tr:first-child td:first-child {
85
+ .border-radius(4px 0 0 0);
86
+ }
87
+ thead:first-child tr:first-child th:last-child,
88
+ tbody:first-child tr:first-child td:last-child {
89
+ .border-radius(0 4px 0 0);
90
+ }
91
+ // For first th or td in the first row in the first thead or tbody
92
+ thead:last-child tr:last-child th:first-child,
93
+ tbody:last-child tr:last-child td:first-child {
94
+ .border-radius(0 0 0 4px);
95
+ }
96
+ thead:last-child tr:last-child th:last-child,
97
+ tbody:last-child tr:last-child td:last-child {
98
+ .border-radius(0 0 4px 0);
99
+ }
100
+ }
101
+
102
+
103
+ // ZEBRA-STRIPING
104
+ // --------------
105
+
106
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
107
+ .table-striped {
108
+ tbody {
109
+ tr:nth-child(odd) td,
110
+ tr:nth-child(odd) th {
111
+ background-color: #f9f9f9;
112
+ }
113
+ }
114
+ }
115
+
116
+
117
+ // HOVER EFFECT
118
+ // ------------
119
+ // Placed here since it has to come after the potential zebra striping
120
+ .table {
121
+ tbody tr:hover td,
122
+ tbody tr:hover th {
123
+ background-color: #f5f5f5;
124
+ }
125
+ }
126
+
127
+
128
+ // TABLE CELL SIZING
129
+ // -----------------
130
+
131
+ // Change the columns
132
+ .tableColumns(@columnSpan: 1) {
133
+ float: none;
134
+ width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 16;
135
+ margin-left: 0;
136
+ }
137
+ table {
138
+ .span1 { .tableColumns(1); }
139
+ .span2 { .tableColumns(2); }
140
+ .span3 { .tableColumns(3); }
141
+ .span4 { .tableColumns(4); }
142
+ .span5 { .tableColumns(5); }
143
+ .span6 { .tableColumns(6); }
144
+ .span7 { .tableColumns(7); }
145
+ .span8 { .tableColumns(8); }
146
+ .span9 { .tableColumns(9); }
147
+ .span10 { .tableColumns(10); }
148
+ .span11 { .tableColumns(11); }
149
+ .span12 { .tableColumns(12); }
150
+ }
@@ -0,0 +1,35 @@
1
+ // THUMBNAILS
2
+ // ----------
3
+
4
+ .thumbnails {
5
+ margin-left: -@gridGutterWidth;
6
+ list-style: none;
7
+ .clearfix();
8
+ }
9
+ .thumbnails > li {
10
+ float: left;
11
+ margin: 0 0 @baseLineHeight @gridGutterWidth;
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
+ }