staple 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/Rakefile +1 -0
  4. data/lib/staple/install_generator.rb +11 -1
  5. data/source/stylesheets/after.scss +5 -0
  6. data/source/stylesheets/before.scss +9 -0
  7. data/source/stylesheets/buttons.scss +0 -0
  8. data/source/stylesheets/color.scss +0 -0
  9. data/source/stylesheets/forms.scss +0 -0
  10. data/source/stylesheets/foundation_and_overrides.scss +3 -0
  11. data/source/stylesheets/sizing.scss +0 -0
  12. data/source/stylesheets/typography.scss +0 -0
  13. data/source/stylesheets/utilities.scss +0 -0
  14. data/staple.gemspec +6 -6
  15. metadata +12 -190
  16. data/config.rb +0 -24
  17. data/source/CNAME +0 -1
  18. data/source/_accordion.html.erb +0 -24
  19. data/source/_accordion_tabs.html.erb +0 -26
  20. data/source/_accordion_tabs_minimal.html.erb +0 -26
  21. data/source/_badges.html.erb +0 -7
  22. data/source/_breadcrumbs.html.erb +0 -7
  23. data/source/_browser.html.erb +0 -29
  24. data/source/_button_group.html.erb +0 -18
  25. data/source/_cards.html.erb +0 -59
  26. data/source/_centered_navigation.html.erb +0 -38
  27. data/source/_code.html.erb +0 -10
  28. data/source/_comment.html.erb +0 -21
  29. data/source/_device.html.erb +0 -10
  30. data/source/_dropdown.html.erb +0 -12
  31. data/source/_expander.html.erb +0 -6
  32. data/source/_flashes.html.erb +0 -15
  33. data/source/_footer.html.erb +0 -28
  34. data/source/_footer_2.html.erb +0 -33
  35. data/source/_grid_items.html.erb +0 -37
  36. data/source/_grid_items_lines.html.erb +0 -44
  37. data/source/_hero.html.erb +0 -11
  38. data/source/_hover_tile_animation.html.erb +0 -11
  39. data/source/_icon_bullet_points.html.erb +0 -30
  40. data/source/_image_gradient_dynamic.html.erb +0 -7
  41. data/source/_intro_text.html.erb +0 -6
  42. data/source/_label_alerts.html.erb +0 -5
  43. data/source/_modal.html.erb +0 -14
  44. data/source/_navigation.html.erb +0 -44
  45. data/source/_pagination.html.erb +0 -17
  46. data/source/_progress_bar.html.erb +0 -3
  47. data/source/_progress_bar_indication.html.erb +0 -5
  48. data/source/_search_bar.html.erb +0 -8
  49. data/source/_search_tools.html.erb +0 -58
  50. data/source/_side_image.html.erb +0 -10
  51. data/source/_sliding_menu.html.erb +0 -13
  52. data/source/_snippet.html.erb +0 -4
  53. data/source/_switch.html.erb +0 -4
  54. data/source/_tables.html.erb +0 -31
  55. data/source/_tables_minimal.html.erb +0 -31
  56. data/source/_texture-legend.html.erb +0 -24
  57. data/source/_textures.html.erb +0 -4
  58. data/source/_tooltip.html.erb +0 -6
  59. data/source/_type_system_geometric.html.erb +0 -18
  60. data/source/_type_system_rounded.html.erb +0 -18
  61. data/source/_type_system_sans.html.erb +0 -18
  62. data/source/_type_system_serif.html.erb +0 -19
  63. data/source/_type_system_slab.html.erb +0 -18
  64. data/source/_type_system_traditional.html.erb +0 -18
  65. data/source/_vertical_tabs.html.erb +0 -30
  66. data/source/_video.html.erb +0 -5
  67. data/source/components.html.erb +0 -174
  68. data/source/foundation/application.html.slim +0 -17
  69. data/source/foundation/foundation_and_overrides.scss +0 -4
  70. data/source/index.html.erb +0 -162
  71. data/source/javascripts/all.js +0 -11
  72. data/source/javascripts/jquery.erToc.js +0 -477
  73. data/source/javascripts/jquery.glide.js +0 -941
  74. data/source/javascripts/staple/accordion.js +0 -5
  75. data/source/javascripts/staple/accordion_tabs.js +0 -19
  76. data/source/javascripts/staple/accordion_tabs_minimal.js +0 -19
  77. data/source/javascripts/staple/centered_navigation.js +0 -14
  78. data/source/javascripts/staple/dropdown.js +0 -9
  79. data/source/javascripts/staple/expander.js +0 -53
  80. data/source/javascripts/staple/navigation.js +0 -23
  81. data/source/javascripts/staple/search_tools.js +0 -110
  82. data/source/javascripts/staple/sliding_menu.js +0 -13
  83. data/source/javascripts/staple/vertical_tabs.js +0 -32
  84. data/source/layouts/layout.erb +0 -1
  85. data/source/refills-hero.html.erb +0 -7
  86. data/source/refills-menu.html.erb +0 -5
  87. data/source/refills-page-scripts.html.erb +0 -66
  88. data/source/stylesheets/_bourbon-nav.scss +0 -86
  89. data/source/stylesheets/_normalize.scss +0 -425
  90. data/source/stylesheets/_refills-nav.scss +0 -102
  91. data/source/stylesheets/_refills-styles.scss +0 -543
  92. data/source/stylesheets/all.scss +0 -61
  93. data/source/stylesheets/staple/_accordion-tabs-minimal.scss +0 -60
  94. data/source/stylesheets/staple/_accordion-tabs.scss +0 -88
  95. data/source/stylesheets/staple/_accordion.scss +0 -55
  96. data/source/stylesheets/staple/_badges.scss +0 -44
  97. data/source/stylesheets/staple/_breadcrumbs.scss +0 -84
  98. data/source/stylesheets/staple/_browser.scss +0 -141
  99. data/source/stylesheets/staple/_button-group.scss +0 -81
  100. data/source/stylesheets/staple/_cards.scss +0 -132
  101. data/source/stylesheets/staple/_centered-navigation.scss +0 -251
  102. data/source/stylesheets/staple/_comment.scss +0 -60
  103. data/source/stylesheets/staple/_device.scss +0 -83
  104. data/source/stylesheets/staple/_dropdown.scss +0 -127
  105. data/source/stylesheets/staple/_expander.scss +0 -30
  106. data/source/stylesheets/staple/_flashes.scss +0 -29
  107. data/source/stylesheets/staple/_footer-2.scss +0 -117
  108. data/source/stylesheets/staple/_footer.scss +0 -76
  109. data/source/stylesheets/staple/_grid-items-lines.scss +0 -86
  110. data/source/stylesheets/staple/_grid-items.scss +0 -97
  111. data/source/stylesheets/staple/_hero.scss +0 -54
  112. data/source/stylesheets/staple/_hover-tile-animation.scss +0 -52
  113. data/source/stylesheets/staple/_icon-bullet-points.scss +0 -63
  114. data/source/stylesheets/staple/_image-gradient-dynamic.scss +0 -59
  115. data/source/stylesheets/staple/_intro-text.scss +0 -67
  116. data/source/stylesheets/staple/_label-alerts.scss +0 -11
  117. data/source/stylesheets/staple/_modal.scss +0 -147
  118. data/source/stylesheets/staple/_navigation.scss +0 -329
  119. data/source/stylesheets/staple/_pagination.scss +0 -51
  120. data/source/stylesheets/staple/_progress-bar-indication.scss +0 -39
  121. data/source/stylesheets/staple/_progress-bar.scss +0 -83
  122. data/source/stylesheets/staple/_search-bar.scss +0 -40
  123. data/source/stylesheets/staple/_search-tools.scss +0 -67
  124. data/source/stylesheets/staple/_side-image.scss +0 -59
  125. data/source/stylesheets/staple/_sliding-menu.scss +0 -63
  126. data/source/stylesheets/staple/_switch.scss +0 -77
  127. data/source/stylesheets/staple/_tables-minimal.scss +0 -60
  128. data/source/stylesheets/staple/_tables.scss +0 -88
  129. data/source/stylesheets/staple/_texture-legend.scss +0 -182
  130. data/source/stylesheets/staple/_textures.scss +0 -119
  131. data/source/stylesheets/staple/_tooltip.scss +0 -57
  132. data/source/stylesheets/staple/_type-system-geometric.scss +0 -103
  133. data/source/stylesheets/staple/_type-system-rounded.scss +0 -107
  134. data/source/stylesheets/staple/_type-system-sans.scss +0 -110
  135. data/source/stylesheets/staple/_type-system-serif.scss +0 -111
  136. data/source/stylesheets/staple/_type-system-slab.scss +0 -107
  137. data/source/stylesheets/staple/_type-system-traditional.scss +0 -114
  138. data/source/stylesheets/staple/_vertical-tabs.scss +0 -105
  139. data/source/stylesheets/staple/_video.scss +0 -21
  140. data/source/type-systems.html.erb +0 -67
  141. data/source/vendor/javascripts/ZeroClipboard.min.js +0 -9
  142. data/source/vendor/javascripts/fixedsticky.js +0 -185
  143. data/source/vendor/javascripts/prism.js +0 -13
  144. data/source/vendor/javascripts/smooth-scroll.js +0 -125
  145. data/source/vendor/stylesheets/fixedsticky.css +0 -22
  146. data/source/vendor/stylesheets/prism.css +0 -126
@@ -1,63 +0,0 @@
1
- $sliding-menu-border-color: $dark-gray;
2
- $sliding-menu-background: lighten($sliding-menu-border-color, 5);
3
- $sliding-menu-color: #fff;
4
- $sliding-menu-border: 1px solid $sliding-menu-border-color;
5
- $sliding-menu-background-hover: $base-accent-color;
6
- $sliding-menu-color-hover: #fff;
7
-
8
- .sliding-menu-button {
9
- @include inline-block;
10
- cursor: pointer;
11
- font-size: $base-font-size;
12
- margin-bottom: $base-line-height;
13
- position: relative;
14
- outline: none;
15
-
16
- img {
17
- height: 1.3em;
18
- }
19
- }
20
-
21
- .sliding-menu-content {
22
- @include position(fixed, 0px auto 0px 0px);
23
- @include size(220px 100%);
24
- @include transform(translateX(-220px));
25
- @include transition(all .25s linear);
26
- background: $sliding-menu-background;
27
- z-index: 999999;
28
- overflow-y: scroll;
29
- -webkit-overflow-scrolling: touch;
30
-
31
- li a {
32
- border-bottom: $sliding-menu-border;
33
- color: $sliding-menu-color;
34
- display: block;
35
- font-weight: bold;
36
- padding: 1em;
37
-
38
- &:hover {
39
- background-color: $sliding-menu-background-hover;
40
- color: $sliding-menu-color-hover;
41
- }
42
- }
43
-
44
- &.is-visible {
45
- @include transform(translateX(0));
46
- }
47
- }
48
-
49
- .menu-screen {
50
- @include position(fixed, 0px 0px 0px 0px);
51
- @include transition;
52
- background: $sliding-menu-border-color;
53
- opacity: 0;
54
- visibility: hidden;
55
- z-index: 999998;
56
-
57
- &.is-visible {
58
- opacity: .4;
59
- visibility: visible;
60
- }
61
- }
62
-
63
- // Based on code by Diego Eis
@@ -1,77 +0,0 @@
1
- .label-switch {
2
- $switch-width: 52px;
3
- $switch-padding: 2px;
4
- $switch-height: 32px;
5
- $switch-radius: $switch-height;
6
- $knob-height: $switch-height - ($switch-padding * 2);
7
- $knob-width: $knob-height;
8
- $knob-radius: $switch-height - ($switch-padding * 2);
9
-
10
- align-self: center;
11
- border-radius: $switch-radius;
12
- cursor: pointer;
13
- display: inline-block;
14
- height: $switch-height;
15
- position: relative;
16
- vertical-align: middle;
17
- width: $switch-width;
18
- @include box-sizing(border-box);
19
-
20
- input[type="checkbox"] {
21
- display: none;
22
-
23
- + .checkbox {
24
- background: #e5e5e5;
25
- border: none;
26
- border-radius: $switch-radius;
27
- cursor: pointer;
28
- height: $switch-height;
29
- margin: 0;
30
- padding: 0;
31
- position: relative;
32
- width: $switch-width;
33
- z-index: 0;
34
- @include box-sizing(border-box);
35
- @include transition(all 0.3s ease);
36
-
37
- &:before {
38
- background: white;
39
- border-radius: $switch-radius;
40
- content: ' ';
41
- height: $knob-radius;
42
- width: $switch-width - ($switch-padding * 2);
43
- z-index: 1;
44
- @include box-sizing(border-box);
45
- @include position(absolute, 2px 0 0 2px);
46
- @include transition(all 0.3s ease);
47
- @include transform(scale(1));
48
- }
49
-
50
- &:after {
51
- background: white;
52
- border-radius: $knob-radius;
53
- content: ' ';
54
- height: $knob-height;
55
- width: $knob-width;
56
- z-index: 2;
57
- box-shadow: 0 2px 5px rgba(0,0,0,0.4);
58
- @include position(absolute, 2px 0 0 2px);
59
- @include transition(all 0.3s ease);
60
- }
61
- }
62
-
63
- &:checked {
64
- + .checkbox {
65
- background: $blue;
66
-
67
- &:before {
68
- @include transform(scale(0));
69
- }
70
-
71
- &:after {
72
- left: $switch-width - $knob-width - ($switch-padding);
73
- }
74
- }
75
- }
76
- }
77
- }
@@ -1,60 +0,0 @@
1
- .table-minimal {
2
- $table-border-color: $base-border-color;
3
- $table-border: 1px solid $table-border-color;
4
- $table-background: $base-background-color;
5
- $table-header-color: lighten($table-background, 10);
6
- $table-hover-color: darken($table-background, 2);
7
- $table-stripe-color: darken($table-background, 4);
8
- $table-stripe-color-hover: darken($table-stripe-color, 5);
9
- $table-padding: .75em 1em;
10
-
11
- border-collapse: separate;
12
- border-spacing: 0;
13
-
14
- tbody {
15
- tr:hover > td, tr:hover > th {
16
- background-color: $table-hover-color;
17
- }
18
- tr:first-child td {
19
- border-top: 2px solid $table-border-color;
20
- }
21
- }
22
-
23
- thead {
24
- th {
25
- background-color: $table-header-color;
26
- padding: $table-padding;
27
- border-bottom: 0px;
28
- }
29
- }
30
-
31
- tbody {
32
- background-color: $table-background;
33
-
34
- td {
35
- padding: $table-padding;
36
- border-top: 1px solid $table-border-color;
37
- border-bottom: 0px;
38
-
39
- button {
40
- padding: .5em 1em .6em;
41
- font-size: .7em;
42
- margin-right: 0.5em;
43
- display: inline-block;
44
- width: 100%;
45
- margin-bottom: .3em;
46
- outline: none;
47
-
48
- @include media($medium-screen) {
49
- width: auto;
50
- font-size: .8em;
51
- margin-bottom: 0;
52
- }
53
-
54
- @include media($large-screen) {
55
- font-size: .8em;
56
- }
57
- }
58
- }
59
- }
60
- }
@@ -1,88 +0,0 @@
1
- .table-borders {
2
- $table-border-color: $base-border-color;
3
- $table-border: 1px solid $table-border-color;
4
- $table-background: lighten($table-border-color, 10);
5
- $table-header-color: lighten($table-background, 10);
6
- $table-hover-color: darken($table-background, 5);
7
- $table-stripe-color: darken($table-background, 4);
8
- $table-stripe-color-hover: darken($table-stripe-color, 5);
9
- $table-padding: .75em 1em;
10
-
11
- border: $table-border;
12
- border-left: 0px;
13
- border-collapse: separate;
14
- border-spacing: 0;
15
- border-radius: $base-border-radius;
16
-
17
- tbody {
18
- background-color: $table-background;
19
- tr:hover > td, tr:hover > th {
20
- background-color: $table-hover-color;
21
- }
22
- tr:nth-child(even) {
23
- background-color: $table-stripe-color;
24
- &:hover > td {
25
- background-color: $table-stripe-color-hover;
26
- }
27
- }
28
- }
29
-
30
- thead:first-of-type {
31
- tr:first-child > th:first-child {
32
- border-top-left-radius: $base-border-radius;
33
- }
34
-
35
- tr:first-child > th:last-child {
36
- border-top-right-radius: $base-border-radius;
37
- }
38
- }
39
-
40
- tbody:last-child {
41
- tr:last-child > td:first-child {
42
- border-bottom-left-radius: $base-border-radius;
43
- }
44
-
45
- tr:last-child > td:last-child {
46
- border-bottom-right-radius: $base-border-radius;
47
- }
48
- }
49
-
50
- thead {
51
- th {
52
- background-color: $table-header-color;
53
- padding: $table-padding;
54
- border-left: 1px solid $table-border-color;
55
- border-bottom: 0px;
56
- }
57
- }
58
-
59
- tbody {
60
- background-color: $table-background;
61
-
62
- td {
63
- padding: $table-padding;
64
- border-left: 1px solid $table-border-color;
65
- border-top: 1px solid $table-border-color;
66
- border-bottom: 0px;
67
-
68
- button {
69
- padding: .5em 1em .6em;
70
- font-size: .7em;
71
- margin-right: 0.5em;
72
- display: inline-block;
73
- width: 100%;
74
- margin-bottom: .3em;
75
- outline: none;
76
-
77
- @include media($medium-screen) {
78
- width: auto;
79
- margin-bottom: 0;
80
- }
81
-
82
- @include media($large-screen) {
83
- font-size: .8em;
84
- }
85
- }
86
- }
87
- }
88
- }
@@ -1,182 +0,0 @@
1
- @mixin texture($gradient-angle, $bg-color-1, $bg-color-2, $texture-number, $inverted) { $texture-list:
2
- "paper.png" // Fabric and paper
3
- "rice_paper.png"
4
- "noise_lines.png"
5
- "fabric_plaid.png"
6
- "first_aid_kit.png"
7
- "texturetastic_gray.png"
8
- "lil_fiber.png"
9
- "tex2res5.png"
10
- "skin_side_up.png"
11
- "light_noise_diagonal.png"
12
- "chruch.png"
13
- "45degreee_fabric.png"
14
- "bgnoise_lg.png"
15
- "little_pluses.png"
16
- "squairy_light.png"
17
- "white_texture.png"
18
- "binding_light.png"
19
- "double_lined.png" // Grid, mesh and squares
20
- "grid.png"
21
- "absurdidad.png"
22
- "grid_noise.png"
23
- "fancy_deboss.png"
24
- "graphy.png"
25
- "noise_pattern_with_crosslines.png"
26
- "old_mathematics.png"
27
- "ps_neutral.png"
28
- "subtle_freckles.png"
29
- "wavegrid.png"
30
- "az_subtle.png"
31
- "tiny_grid.png"
32
- "wavegrid.png"
33
- "gridme.png"
34
- "noisy_grid.png"
35
- "subtlenet2.png"
36
- "white_carbon.png"
37
- "lghtmesh.png"
38
- "p5.png" // Dots
39
- "worn_dots.png"
40
- "subtle_dots.png"
41
- "brillant.png"
42
- "farmer.png"
43
- "retina_dust.png" // Lines
44
- "pinstripe.png"
45
- "line_horizontal1.png"
46
- "line_horizontal2.png"
47
- "linen.png"
48
- "vintage_speckles.png" // Patina and irregular
49
- "subtle_grunge.png"
50
- "old_wall.png"
51
- "brushed.png"
52
- "stucco.png"
53
- "mooning.png"
54
- "husk.png"
55
- "concrete_wall_2.png"
56
- "noisy.png"
57
- "concrete_wall_3.png"
58
- "subtle_surface.png"
59
- "dust.png"
60
- "light_alu.png"
61
- "corrugation.png"
62
- "kindajean.png" // Diagonal
63
- "line_diagonal1.png"
64
- "line_diagonal2.png"
65
- "groovepaper.png"
66
- "brushed_alu.png"
67
- "rough_diagonal.png"
68
- "diagonal-noise.png"
69
- "cross_scratches.png"
70
- "striped_lens.png"
71
- "debut_light.png"
72
- "diagonal_waves.png" // Special
73
- "honey_im_subtle.png"
74
- "pw_maze_white.png"
75
- "subtle_zebra_3d.png"
76
- "white_wave.png"
77
- "circles.png"
78
- "crosses.png"
79
- "grilled.png"
80
- "pw_pattern.png"
81
- "struckaxiom.png"
82
- "vichy.png"
83
- "wavecut.png"
84
- "whitey.png"
85
- "cream_pixels.png"
86
- "grey.png"
87
- "shinedotted.png"
88
- "stacked_circles.png"
89
- "noisy_grid_simple.png";
90
-
91
- @if ($inverted == 1) {
92
- @include background(url("https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/textures/#{nth($texture-list, $texture-number)}"), linear-gradient($gradient-angle, $bg-color-1, $bg-color-2), center no-repeat $bg-color-1 scroll);
93
- }
94
-
95
- @else {
96
- @include background(url("https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/textures/inverted/#{nth($texture-list, $texture-number)}"), linear-gradient($gradient-angle, $bg-color-1, $bg-color-2), center no-repeat $bg-color-1 scroll);
97
- }
98
- }
99
-
100
- .texture-examples {
101
- @include clearfix;
102
- border-radius: $base-border-radius * 2;
103
- border: 1px solid silver;
104
- margin-bottom: 3em;
105
- padding: 1em;
106
-
107
- .texture-examples-container {
108
- @include clearfix;
109
- }
110
-
111
- h3 {
112
- color: #CDCDCD;
113
- font-size: 1em;
114
- margin-bottom: 1.5em;
115
- text-align: center;
116
- text-transform: uppercase;
117
- }
118
-
119
- h4 {
120
- color: gray;
121
- font-size: .8em;
122
- font-weight: 200;
123
- line-height: 2.2em;
124
- padding-left: .5em;
125
- text-align: center;
126
- }
127
-
128
- .instructions {
129
- clear: both;
130
- display: block;
131
- padding-top: 2em;
132
- text-align: center;
133
- }
134
-
135
- b {
136
- font-weight: 800;
137
- }
138
-
139
- p {
140
- color: #909090;
141
- font-size: .9em;
142
- margin: 1em auto 1em auto;
143
- max-width: 74%;
144
- }
145
- }
146
-
147
- .examples {
148
- height: 2.5em;
149
- width: 100%;
150
- }
151
-
152
- .example-normal {
153
- border-bottom-left-radius: $base-border-radius * 2;
154
- border-top-left-radius: $base-border-radius * 2;
155
- float: left;
156
- height: 100%;
157
- width: 50%;
158
- }
159
-
160
- .example-inverted {
161
- border-bottom-right-radius: $base-border-radius * 2;
162
- border-top-right-radius: $base-border-radius * 2;
163
- float: left;
164
- height: 100%;
165
- width: 50%;
166
- }
167
-
168
- @for $i from 1 through 88 {
169
- .texture-#{$i} {
170
- float: left;
171
- margin-bottom: 1em;
172
- margin: 0 0.95% 1em 0.95%;
173
- width: 14.7%;
174
-
175
- .example-normal {
176
- @include texture(180deg, lighten(#DDF0EF, 1), darken(#DDF0EF, 10), $i, 0); // gradient color 1, gradient color 2, gradient angle, texture-number, 0=inverted or 1=normal
177
- }
178
- .example-inverted {
179
- @include texture(180deg, lighten(#DDF0EF, 1), darken(#DDF0EF, 10), $i, 1); // gradient color 1, gradient color 2, gradient angle, texture-number, 0=inverted or 1=normal
180
- }
181
- }
182
- }
@@ -1,119 +0,0 @@
1
- @mixin texture($gradient-angle, $bg-color-1, $bg-color-2, $texture-number, $inverted) { $texture-list:
2
- "paper.png" // Fabric and paper
3
- "rice_paper.png"
4
- "noise_lines.png"
5
- "fabric_plaid.png"
6
- "first_aid_kit.png"
7
- "texturetastic_gray.png"
8
- "lil_fiber.png"
9
- "tex2res5.png"
10
- "skin_side_up.png"
11
- "light_noise_diagonal.png"
12
- "chruch.png"
13
- "45degreee_fabric.png"
14
- "bgnoise_lg.png"
15
- "little_pluses.png"
16
- "squairy_light.png"
17
- "white_texture.png"
18
- "binding_light.png"
19
- "double_lined.png" // Grid, mesh and squares
20
- "grid.png"
21
- "absurdidad.png"
22
- "grid_noise.png"
23
- "fancy_deboss.png"
24
- "graphy.png"
25
- "noise_pattern_with_crosslines.png"
26
- "old_mathematics.png"
27
- "ps_neutral.png"
28
- "subtle_freckles.png"
29
- "wavegrid.png"
30
- "az_subtle.png"
31
- "tiny_grid.png"
32
- "wavegrid.png"
33
- "gridme.png"
34
- "noisy_grid.png"
35
- "subtlenet2.png"
36
- "white_carbon.png"
37
- "lghtmesh.png"
38
- "p5.png" // Dots
39
- "worn_dots.png"
40
- "subtle_dots.png"
41
- "brillant.png"
42
- "farmer.png"
43
- "retina_dust.png" // Lines
44
- "pinstripe.png"
45
- "line_horizontal1.png"
46
- "line_horizontal2.png"
47
- "linen.png"
48
- "vintage_speckles.png" // Patina and irregular
49
- "subtle_grunge.png"
50
- "old_wall.png"
51
- "brushed.png"
52
- "stucco.png"
53
- "mooning.png"
54
- "husk.png"
55
- "concrete_wall_2.png"
56
- "noisy.png"
57
- "concrete_wall_3.png"
58
- "subtle_surface.png"
59
- "dust.png"
60
- "light_alu.png"
61
- "corrugation.png"
62
- "kindajean.png" // Diagonal
63
- "line_diagonal1.png"
64
- "line_diagonal2.png"
65
- "groovepaper.png"
66
- "brushed_alu.png"
67
- "rough_diagonal.png"
68
- "diagonal-noise.png"
69
- "cross_scratches.png"
70
- "striped_lens.png"
71
- "debut_light.png"
72
- "diagonal_waves.png" // Special
73
- "honey_im_subtle.png"
74
- "pw_maze_white.png"
75
- "subtle_zebra_3d.png"
76
- "white_wave.png"
77
- "circles.png"
78
- "crosses.png"
79
- "grilled.png"
80
- "pw_pattern.png"
81
- "struckaxiom.png"
82
- "vichy.png"
83
- "wavecut.png"
84
- "whitey.png"
85
- "cream_pixels.png"
86
- "grey.png"
87
- "shinedotted.png"
88
- "stacked_circles.png"
89
- "noisy_grid_simple.png";
90
-
91
- @if ($inverted == 1) {
92
- @include background(url("https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/textures/#{nth($texture-list, $texture-number)}"), linear-gradient($gradient-angle, $bg-color-1, $bg-color-2), center no-repeat $bg-color-1 scroll);
93
- }
94
-
95
- @else {
96
- @include background(url("https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/textures/inverted/#{nth($texture-list, $texture-number)}"), linear-gradient($gradient-angle, $bg-color-1, $bg-color-2), center no-repeat $bg-color-1 scroll);
97
- }
98
- }
99
-
100
- // The mixin above should preferably be in a file of its own. Below is the code for the object that has the texture.
101
-
102
- .texture {
103
- height: 5em;
104
- width: 100%;
105
- }
106
-
107
- .texture-normal {
108
- @include texture(180deg, lighten(#DDF0EF, 1), darken(#DDF0EF, 10), 67, 1); // gradient color 1, gradient color 2, gradient angle, texture-number, 0=inverted or 1=normal
109
- float: left;
110
- height: 5em;
111
- width: 50%;
112
- }
113
-
114
- .texture-inverted {
115
- @include texture(180deg, lighten(#DDF0EF, 1), darken(#DDF0EF, 10), 67, 0); // gradient color 1, gradient color 2, gradient angle, texture-number, 0=inverted or 1=normal
116
- float: left;
117
- height: 5em;
118
- width: 50%;
119
- }
@@ -1,57 +0,0 @@
1
- .tooltip-item {
2
- $tooltip-background: white;
3
- $tooltip-color: $base-font-color;
4
- $tooltip-width: 16em;
5
- $tooltip-arrow-width: 8px;
6
- $tooltip-shadow: 0 2px 2px silver;
7
- $tooltip-distance-from-item: 140%;
8
- $tooltip-arrow-distance-from-box: -$tooltip-arrow-width * 3.2;
9
-
10
- border: 1px solid $base-border-color;
11
- padding: .5em 1em;
12
- border-radius: $base-border-radius;
13
- position: relative;
14
- margin-bottom: $base-line-height;
15
-
16
- &:hover .tooltip {
17
- opacity: 1;
18
- visibility: visible;
19
- }
20
-
21
- .tooltip {
22
- @include position(absolute, null null null 50%);
23
- @include box-sizing(border-box);
24
- @include transition (all 0.2s ease-in-out);
25
- bottom: $tooltip-distance-from-item;
26
- background-color: $tooltip-background;
27
- border-radius: $base-border-radius;
28
- color: $tooltip-color;
29
- font-size: .9em; // Make sure you use -webkit-backface-visibility: hidden; on the body element to prevent 1px nudging bugs.
30
- line-height: 1.5em;
31
- margin-left: -($tooltip-width/2);
32
- opacity: 0;
33
- padding: 1em;
34
- box-shadow: $tooltip-shadow;
35
- text-align: center;
36
- visibility: hidden;
37
- min-width: $tooltip-width;
38
- z-index: 10;
39
- font-family: $serif;
40
-
41
- p {
42
- margin-bottom: 0;
43
- }
44
-
45
- &:after {
46
- @include position(absolute, null null null 46%);
47
- margin-left: -$tooltip-arrow-width;
48
- border: $tooltip-arrow-width solid transparent;
49
- color: $tooltip-background;
50
- content: '▼';
51
- text-shadow: $tooltip-shadow;
52
- font-size: 1.4em;
53
- pointer-events: none;
54
- bottom: $tooltip-arrow-distance-from-box;
55
- }
56
- }
57
- }