try_api 0.0.16 → 0.0.17

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 (125) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/try_api/application.css.sass +0 -2
  3. data/app/views/layouts/try_api/application.html.erb +2 -0
  4. data/app/views/try_api/pages/index.html +1 -1
  5. data/lib/try_api/version.rb +1 -1
  6. metadata +2 -121
  7. data/app/assets/javascripts/try_api/bower_components/bootstrap/CHANGELOG.md +0 -5
  8. data/app/assets/javascripts/try_api/bower_components/bootstrap/Gruntfile.js +0 -511
  9. data/app/assets/javascripts/try_api/bower_components/bootstrap/ISSUE_TEMPLATE.md +0 -22
  10. data/app/assets/javascripts/try_api/bower_components/bootstrap/LICENSE.txt +0 -21
  11. data/app/assets/javascripts/try_api/bower_components/bootstrap/README.md +0 -142
  12. data/app/assets/javascripts/try_api/bower_components/bootstrap/bower.json +0 -34
  13. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap-theme.css +0 -587
  14. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap-theme.min.css +0 -6
  15. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap.css +0 -6757
  16. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap.min.css +0 -6
  17. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  18. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -288
  19. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  20. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  21. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
  22. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/js/bootstrap.js +0 -2377
  23. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/js/bootstrap.min.js +0 -7
  24. data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/js/npm.js +0 -13
  25. data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  26. data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
  27. data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  28. data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  29. data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  30. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-commonjs-generator.js +0 -30
  31. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-glyphicons-data-generator.js +0 -42
  32. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-lessdoc-parser.js +0 -237
  33. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-raw-files-generator.js +0 -44
  34. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/change-version.js +0 -109
  35. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/configBridge.json +0 -46
  36. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/npm-shrinkwrap.json +0 -2679
  37. data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/sauce_browsers.yml +0 -82
  38. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/affix.js +0 -162
  39. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/alert.js +0 -94
  40. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/button.js +0 -125
  41. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/carousel.js +0 -237
  42. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/collapse.js +0 -212
  43. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/dropdown.js +0 -165
  44. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/modal.js +0 -339
  45. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/popover.js +0 -108
  46. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/scrollspy.js +0 -172
  47. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/tab.js +0 -155
  48. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/tooltip.js +0 -520
  49. data/app/assets/javascripts/try_api/bower_components/bootstrap/js/transition.js +0 -59
  50. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/alerts.less +0 -73
  51. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/badges.less +0 -66
  52. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/bootstrap.less +0 -56
  53. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/breadcrumbs.less +0 -26
  54. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/button-groups.less +0 -244
  55. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/buttons.less +0 -166
  56. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/carousel.less +0 -270
  57. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/close.less +0 -34
  58. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/code.less +0 -69
  59. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/component-animations.less +0 -33
  60. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/dropdowns.less +0 -216
  61. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/forms.less +0 -613
  62. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/glyphicons.less +0 -305
  63. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/grid.less +0 -84
  64. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/input-groups.less +0 -171
  65. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/jumbotron.less +0 -54
  66. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/labels.less +0 -64
  67. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/list-group.less +0 -130
  68. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/media.less +0 -66
  69. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins.less +0 -40
  70. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/alerts.less +0 -14
  71. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/background-variant.less +0 -9
  72. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/border-radius.less +0 -18
  73. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/buttons.less +0 -65
  74. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/center-block.less +0 -7
  75. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/clearfix.less +0 -22
  76. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/forms.less +0 -85
  77. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/gradients.less +0 -59
  78. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/grid-framework.less +0 -91
  79. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/grid.less +0 -122
  80. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/hide-text.less +0 -21
  81. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/image.less +0 -33
  82. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/labels.less +0 -12
  83. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/list-group.less +0 -30
  84. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/nav-divider.less +0 -10
  85. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/nav-vertical-align.less +0 -9
  86. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/opacity.less +0 -8
  87. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/pagination.less +0 -24
  88. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/panels.less +0 -24
  89. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/progress-bar.less +0 -10
  90. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/reset-filter.less +0 -8
  91. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/reset-text.less +0 -18
  92. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/resize.less +0 -6
  93. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/responsive-visibility.less +0 -15
  94. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/size.less +0 -10
  95. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/tab-focus.less +0 -9
  96. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/table-row.less +0 -28
  97. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/text-emphasis.less +0 -9
  98. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/text-overflow.less +0 -8
  99. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/vendor-prefixes.less +0 -227
  100. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/modals.less +0 -150
  101. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/navbar.less +0 -660
  102. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/navs.less +0 -242
  103. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/normalize.less +0 -424
  104. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/pager.less +0 -54
  105. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/pagination.less +0 -89
  106. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/panels.less +0 -271
  107. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/popovers.less +0 -131
  108. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/print.less +0 -101
  109. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/progress-bars.less +0 -87
  110. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/responsive-embed.less +0 -35
  111. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/responsive-utilities.less +0 -194
  112. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/scaffolding.less +0 -161
  113. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/tables.less +0 -234
  114. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/theme.less +0 -291
  115. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/thumbnails.less +0 -36
  116. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/tooltip.less +0 -101
  117. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/type.less +0 -302
  118. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/utilities.less +0 -55
  119. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/variables.less +0 -869
  120. data/app/assets/javascripts/try_api/bower_components/bootstrap/less/wells.less +0 -29
  121. data/app/assets/javascripts/try_api/bower_components/bootstrap/nuget/MyGet.ps1 +0 -8
  122. data/app/assets/javascripts/try_api/bower_components/bootstrap/nuget/bootstrap.less.nuspec +0 -28
  123. data/app/assets/javascripts/try_api/bower_components/bootstrap/nuget/bootstrap.nuspec +0 -28
  124. data/app/assets/javascripts/try_api/bower_components/bootstrap/package.js +0 -32
  125. data/app/assets/javascripts/try_api/bower_components/bootstrap/package.json +0 -89
@@ -1,101 +0,0 @@
1
- /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
2
-
3
- // ==========================================================================
4
- // Print styles.
5
- // Inlined to avoid the additional HTTP request: h5bp.com/r
6
- // ==========================================================================
7
-
8
- @media print {
9
- *,
10
- *:before,
11
- *:after {
12
- background: transparent !important;
13
- color: #000 !important; // Black prints faster: h5bp.com/s
14
- box-shadow: none !important;
15
- text-shadow: none !important;
16
- }
17
-
18
- a,
19
- a:visited {
20
- text-decoration: underline;
21
- }
22
-
23
- a[href]:after {
24
- content: " (" attr(href) ")";
25
- }
26
-
27
- abbr[title]:after {
28
- content: " (" attr(title) ")";
29
- }
30
-
31
- // Don't show links that are fragment identifiers,
32
- // or use the `javascript:` pseudo protocol
33
- a[href^="#"]:after,
34
- a[href^="javascript:"]:after {
35
- content: "";
36
- }
37
-
38
- pre,
39
- blockquote {
40
- border: 1px solid #999;
41
- page-break-inside: avoid;
42
- }
43
-
44
- thead {
45
- display: table-header-group; // h5bp.com/t
46
- }
47
-
48
- tr,
49
- img {
50
- page-break-inside: avoid;
51
- }
52
-
53
- img {
54
- max-width: 100% !important;
55
- }
56
-
57
- p,
58
- h2,
59
- h3 {
60
- orphans: 3;
61
- widows: 3;
62
- }
63
-
64
- h2,
65
- h3 {
66
- page-break-after: avoid;
67
- }
68
-
69
- // Bootstrap specific changes start
70
-
71
- // Bootstrap components
72
- .navbar {
73
- display: none;
74
- }
75
- .btn,
76
- .dropup > .btn {
77
- > .caret {
78
- border-top-color: #000 !important;
79
- }
80
- }
81
- .label {
82
- border: 1px solid #000;
83
- }
84
-
85
- .table {
86
- border-collapse: collapse !important;
87
-
88
- td,
89
- th {
90
- background-color: #fff !important;
91
- }
92
- }
93
- .table-bordered {
94
- th,
95
- td {
96
- border: 1px solid #ddd !important;
97
- }
98
- }
99
-
100
- // Bootstrap specific changes end
101
- }
@@ -1,87 +0,0 @@
1
- //
2
- // Progress bars
3
- // --------------------------------------------------
4
-
5
-
6
- // Bar animations
7
- // -------------------------
8
-
9
- // WebKit
10
- @-webkit-keyframes progress-bar-stripes {
11
- from { background-position: 40px 0; }
12
- to { background-position: 0 0; }
13
- }
14
-
15
- // Spec and IE10+
16
- @keyframes progress-bar-stripes {
17
- from { background-position: 40px 0; }
18
- to { background-position: 0 0; }
19
- }
20
-
21
-
22
- // Bar itself
23
- // -------------------------
24
-
25
- // Outer container
26
- .progress {
27
- overflow: hidden;
28
- height: @line-height-computed;
29
- margin-bottom: @line-height-computed;
30
- background-color: @progress-bg;
31
- border-radius: @progress-border-radius;
32
- .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
33
- }
34
-
35
- // Bar of progress
36
- .progress-bar {
37
- float: left;
38
- width: 0%;
39
- height: 100%;
40
- font-size: @font-size-small;
41
- line-height: @line-height-computed;
42
- color: @progress-bar-color;
43
- text-align: center;
44
- background-color: @progress-bar-bg;
45
- .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
46
- .transition(width .6s ease);
47
- }
48
-
49
- // Striped bars
50
- //
51
- // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
52
- // `.progress-bar-striped` class, which you just add to an existing
53
- // `.progress-bar`.
54
- .progress-striped .progress-bar,
55
- .progress-bar-striped {
56
- #gradient > .striped();
57
- background-size: 40px 40px;
58
- }
59
-
60
- // Call animation for the active one
61
- //
62
- // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
63
- // `.progress-bar.active` approach.
64
- .progress.active .progress-bar,
65
- .progress-bar.active {
66
- .animation(progress-bar-stripes 2s linear infinite);
67
- }
68
-
69
-
70
- // Variations
71
- // -------------------------
72
-
73
- .progress-bar-success {
74
- .progress-bar-variant(@progress-bar-success-bg);
75
- }
76
-
77
- .progress-bar-info {
78
- .progress-bar-variant(@progress-bar-info-bg);
79
- }
80
-
81
- .progress-bar-warning {
82
- .progress-bar-variant(@progress-bar-warning-bg);
83
- }
84
-
85
- .progress-bar-danger {
86
- .progress-bar-variant(@progress-bar-danger-bg);
87
- }
@@ -1,35 +0,0 @@
1
- // Embeds responsive
2
- //
3
- // Credit: Nicolas Gallagher and SUIT CSS.
4
-
5
- .embed-responsive {
6
- position: relative;
7
- display: block;
8
- height: 0;
9
- padding: 0;
10
- overflow: hidden;
11
-
12
- .embed-responsive-item,
13
- iframe,
14
- embed,
15
- object,
16
- video {
17
- position: absolute;
18
- top: 0;
19
- left: 0;
20
- bottom: 0;
21
- height: 100%;
22
- width: 100%;
23
- border: 0;
24
- }
25
- }
26
-
27
- // Modifier class for 16:9 aspect ratio
28
- .embed-responsive-16by9 {
29
- padding-bottom: 56.25%;
30
- }
31
-
32
- // Modifier class for 4:3 aspect ratio
33
- .embed-responsive-4by3 {
34
- padding-bottom: 75%;
35
- }
@@ -1,194 +0,0 @@
1
- //
2
- // Responsive: Utility classes
3
- // --------------------------------------------------
4
-
5
-
6
- // IE10 in Windows (Phone) 8
7
- //
8
- // Support for responsive views via media queries is kind of borked in IE10, for
9
- // Surface/desktop in split view and for Windows Phone 8. This particular fix
10
- // must be accompanied by a snippet of JavaScript to sniff the user agent and
11
- // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
12
- // our Getting Started page for more information on this bug.
13
- //
14
- // For more information, see the following:
15
- //
16
- // Issue: https://github.com/twbs/bootstrap/issues/10497
17
- // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
18
- // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
19
- // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
20
-
21
- @-ms-viewport {
22
- width: device-width;
23
- }
24
-
25
-
26
- // Visibility utilities
27
- // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
28
- .visible-xs,
29
- .visible-sm,
30
- .visible-md,
31
- .visible-lg {
32
- .responsive-invisibility();
33
- }
34
-
35
- .visible-xs-block,
36
- .visible-xs-inline,
37
- .visible-xs-inline-block,
38
- .visible-sm-block,
39
- .visible-sm-inline,
40
- .visible-sm-inline-block,
41
- .visible-md-block,
42
- .visible-md-inline,
43
- .visible-md-inline-block,
44
- .visible-lg-block,
45
- .visible-lg-inline,
46
- .visible-lg-inline-block {
47
- display: none !important;
48
- }
49
-
50
- .visible-xs {
51
- @media (max-width: @screen-xs-max) {
52
- .responsive-visibility();
53
- }
54
- }
55
- .visible-xs-block {
56
- @media (max-width: @screen-xs-max) {
57
- display: block !important;
58
- }
59
- }
60
- .visible-xs-inline {
61
- @media (max-width: @screen-xs-max) {
62
- display: inline !important;
63
- }
64
- }
65
- .visible-xs-inline-block {
66
- @media (max-width: @screen-xs-max) {
67
- display: inline-block !important;
68
- }
69
- }
70
-
71
- .visible-sm {
72
- @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
73
- .responsive-visibility();
74
- }
75
- }
76
- .visible-sm-block {
77
- @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
78
- display: block !important;
79
- }
80
- }
81
- .visible-sm-inline {
82
- @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
83
- display: inline !important;
84
- }
85
- }
86
- .visible-sm-inline-block {
87
- @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
88
- display: inline-block !important;
89
- }
90
- }
91
-
92
- .visible-md {
93
- @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
94
- .responsive-visibility();
95
- }
96
- }
97
- .visible-md-block {
98
- @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
99
- display: block !important;
100
- }
101
- }
102
- .visible-md-inline {
103
- @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
104
- display: inline !important;
105
- }
106
- }
107
- .visible-md-inline-block {
108
- @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
109
- display: inline-block !important;
110
- }
111
- }
112
-
113
- .visible-lg {
114
- @media (min-width: @screen-lg-min) {
115
- .responsive-visibility();
116
- }
117
- }
118
- .visible-lg-block {
119
- @media (min-width: @screen-lg-min) {
120
- display: block !important;
121
- }
122
- }
123
- .visible-lg-inline {
124
- @media (min-width: @screen-lg-min) {
125
- display: inline !important;
126
- }
127
- }
128
- .visible-lg-inline-block {
129
- @media (min-width: @screen-lg-min) {
130
- display: inline-block !important;
131
- }
132
- }
133
-
134
- .hidden-xs {
135
- @media (max-width: @screen-xs-max) {
136
- .responsive-invisibility();
137
- }
138
- }
139
- .hidden-sm {
140
- @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
141
- .responsive-invisibility();
142
- }
143
- }
144
- .hidden-md {
145
- @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
146
- .responsive-invisibility();
147
- }
148
- }
149
- .hidden-lg {
150
- @media (min-width: @screen-lg-min) {
151
- .responsive-invisibility();
152
- }
153
- }
154
-
155
-
156
- // Print utilities
157
- //
158
- // Media queries are placed on the inside to be mixin-friendly.
159
-
160
- // Note: Deprecated .visible-print as of v3.2.0
161
- .visible-print {
162
- .responsive-invisibility();
163
-
164
- @media print {
165
- .responsive-visibility();
166
- }
167
- }
168
- .visible-print-block {
169
- display: none !important;
170
-
171
- @media print {
172
- display: block !important;
173
- }
174
- }
175
- .visible-print-inline {
176
- display: none !important;
177
-
178
- @media print {
179
- display: inline !important;
180
- }
181
- }
182
- .visible-print-inline-block {
183
- display: none !important;
184
-
185
- @media print {
186
- display: inline-block !important;
187
- }
188
- }
189
-
190
- .hidden-print {
191
- @media print {
192
- .responsive-invisibility();
193
- }
194
- }
@@ -1,161 +0,0 @@
1
- //
2
- // Scaffolding
3
- // --------------------------------------------------
4
-
5
-
6
- // Reset the box-sizing
7
- //
8
- // Heads up! This reset may cause conflicts with some third-party widgets.
9
- // For recommendations on resolving such conflicts, see
10
- // http://getbootstrap.com/getting-started/#third-box-sizing
11
- * {
12
- .box-sizing(border-box);
13
- }
14
- *:before,
15
- *:after {
16
- .box-sizing(border-box);
17
- }
18
-
19
-
20
- // Body reset
21
-
22
- html {
23
- font-size: 10px;
24
- -webkit-tap-highlight-color: rgba(0,0,0,0);
25
- }
26
-
27
- body {
28
- font-family: @font-family-base;
29
- font-size: @font-size-base;
30
- line-height: @line-height-base;
31
- color: @text-color;
32
- background-color: @body-bg;
33
- }
34
-
35
- // Reset fonts for relevant elements
36
- input,
37
- button,
38
- select,
39
- textarea {
40
- font-family: inherit;
41
- font-size: inherit;
42
- line-height: inherit;
43
- }
44
-
45
-
46
- // Links
47
-
48
- a {
49
- color: @link-color;
50
- text-decoration: none;
51
-
52
- &:hover,
53
- &:focus {
54
- color: @link-hover-color;
55
- text-decoration: @link-hover-decoration;
56
- }
57
-
58
- &:focus {
59
- .tab-focus();
60
- }
61
- }
62
-
63
-
64
- // Figures
65
- //
66
- // We reset this here because previously Normalize had no `figure` margins. This
67
- // ensures we don't break anyone's use of the element.
68
-
69
- figure {
70
- margin: 0;
71
- }
72
-
73
-
74
- // Images
75
-
76
- img {
77
- vertical-align: middle;
78
- }
79
-
80
- // Responsive images (ensure images don't scale beyond their parents)
81
- .img-responsive {
82
- .img-responsive();
83
- }
84
-
85
- // Rounded corners
86
- .img-rounded {
87
- border-radius: @border-radius-large;
88
- }
89
-
90
- // Image thumbnails
91
- //
92
- // Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
93
- .img-thumbnail {
94
- padding: @thumbnail-padding;
95
- line-height: @line-height-base;
96
- background-color: @thumbnail-bg;
97
- border: 1px solid @thumbnail-border;
98
- border-radius: @thumbnail-border-radius;
99
- .transition(all .2s ease-in-out);
100
-
101
- // Keep them at most 100% wide
102
- .img-responsive(inline-block);
103
- }
104
-
105
- // Perfect circle
106
- .img-circle {
107
- border-radius: 50%; // set radius in percents
108
- }
109
-
110
-
111
- // Horizontal rules
112
-
113
- hr {
114
- margin-top: @line-height-computed;
115
- margin-bottom: @line-height-computed;
116
- border: 0;
117
- border-top: 1px solid @hr-border;
118
- }
119
-
120
-
121
- // Only display content to screen readers
122
- //
123
- // See: http://a11yproject.com/posts/how-to-hide-content
124
-
125
- .sr-only {
126
- position: absolute;
127
- width: 1px;
128
- height: 1px;
129
- margin: -1px;
130
- padding: 0;
131
- overflow: hidden;
132
- clip: rect(0,0,0,0);
133
- border: 0;
134
- }
135
-
136
- // Use in conjunction with .sr-only to only display content when it's focused.
137
- // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
138
- // Credit: HTML5 Boilerplate
139
-
140
- .sr-only-focusable {
141
- &:active,
142
- &:focus {
143
- position: static;
144
- width: auto;
145
- height: auto;
146
- margin: 0;
147
- overflow: visible;
148
- clip: auto;
149
- }
150
- }
151
-
152
-
153
- // iOS "clickable elements" fix for role="button"
154
- //
155
- // Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
156
- // for traditionally non-focusable elements with role="button"
157
- // see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
158
-
159
- [role="button"] {
160
- cursor: pointer;
161
- }