spuit 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +11 -0
  3. data/.gitignore +70 -0
  4. data/.npmignore +9 -0
  5. data/Gemfile +4 -0
  6. data/README.md +16 -0
  7. data/Rakefile +1 -0
  8. data/assets/javascripts/index.js +2 -0
  9. data/assets/javascripts/spuit/Common.js +316 -0
  10. data/assets/javascripts/spuit/extend.js +46 -0
  11. data/assets/stylesheets/spuit/components/_body.sass +175 -0
  12. data/assets/stylesheets/spuit/components/_button.sass +116 -0
  13. data/assets/stylesheets/spuit/components/_form.sass +44 -0
  14. data/assets/stylesheets/spuit/components/_gist.sass +57 -0
  15. data/assets/stylesheets/spuit/components/_grids.sass +44 -0
  16. data/assets/stylesheets/spuit/components/_icon.scss +68 -0
  17. data/assets/stylesheets/spuit/components/_markdown.sass +182 -0
  18. data/assets/stylesheets/spuit/components/_messages.sass +18 -0
  19. data/assets/stylesheets/spuit/components/_shoulder.sass +13 -0
  20. data/assets/stylesheets/spuit/components/_split.sass +32 -0
  21. data/assets/stylesheets/spuit/components/_triangle.sass +40 -0
  22. data/assets/stylesheets/spuit/components/_wordwrap-fadeout.sass +19 -0
  23. data/assets/stylesheets/spuit/components/_wrap.sass +22 -0
  24. data/assets/stylesheets/spuit/elements/_checkbox.sass +46 -0
  25. data/assets/stylesheets/spuit/elements/_dl.sass +30 -0
  26. data/assets/stylesheets/spuit/elements/_fieldset.sass +46 -0
  27. data/assets/stylesheets/spuit/elements/_hr.sass +36 -0
  28. data/assets/stylesheets/spuit/elements/_input.sass +27 -0
  29. data/assets/stylesheets/spuit/elements/_radio.sass +47 -0
  30. data/assets/stylesheets/spuit/elements/_select.sass +54 -0
  31. data/assets/stylesheets/spuit/elements/_table.sass +58 -0
  32. data/assets/stylesheets/spuit/includes/_animations.scss +55 -0
  33. data/assets/stylesheets/spuit/includes/_grid.scss +345 -0
  34. data/assets/stylesheets/spuit/includes/_hiddens.scss +17 -0
  35. data/assets/stylesheets/spuit/includes/_normalize.scss +467 -0
  36. data/assets/stylesheets/spuit/includes/_spacers.scss +79 -0
  37. data/assets/stylesheets/spuit/includes/_spuit-utils.scss +11 -0
  38. data/assets/stylesheets/spuit/includes/_stickey-footer.scss +18 -0
  39. data/assets/stylesheets/spuit/includes/_webfonts.scss +30 -0
  40. data/assets/stylesheets/spuit/modules/_background-image.scss +63 -0
  41. data/assets/stylesheets/spuit/modules/_breakpoints.scss +19 -0
  42. data/assets/stylesheets/spuit/modules/_clearfix.scss +7 -0
  43. data/assets/stylesheets/spuit/modules/_fa.scss +28 -0
  44. data/assets/stylesheets/spuit/modules/_font-face.scss +31 -0
  45. data/assets/stylesheets/spuit/modules/_hide-text.scss +9 -0
  46. data/assets/stylesheets/spuit/modules/_inherit.scss +6 -0
  47. data/assets/stylesheets/spuit/modules/_reset.scss +55 -0
  48. data/assets/stylesheets/spuit/modules/_text-overflow.scss +15 -0
  49. data/assets/stylesheets/spuit/modules/_word-break.scss +11 -0
  50. data/assets/stylesheets/spuit/shortcuts/_absolute.scss +17 -0
  51. data/assets/stylesheets/spuit/shortcuts/_centering.scss +6 -0
  52. data/assets/stylesheets/spuit/shortcuts/_disc.scss +6 -0
  53. data/assets/stylesheets/spuit/variables/_colors.scss +3 -0
  54. data/assets/stylesheets/spuit/variables/_defaults.scss +3 -0
  55. data/assets/stylesheets/spuit/variables/_fonts.scss +6 -0
  56. data/assets/stylesheets/spuit/variables/_media-queries.scss +31 -0
  57. data/assets/stylesheets/spuit/variables/_svgs.scss +7 -0
  58. data/assets/stylesheets/spuit/variables/_timing-functions.sass +37 -0
  59. data/assets/stylesheets/styles.scss +164 -0
  60. data/assets/stylesheets/styles/config/_mixins.scss +23 -0
  61. data/assets/stylesheets/styles/config/_variables.scss +4 -0
  62. data/dist/favicon.png +0 -0
  63. data/dist/index.html +307 -0
  64. data/dist/javascripts/scripts.min.js +2 -0
  65. data/dist/javascripts/scripts.min.js.map +1 -0
  66. data/dist/stylesheets/styles.css +1 -0
  67. data/gulp/README.md +7 -0
  68. data/gulp/tasks/watch.js +79 -0
  69. data/gulpfile.js +2 -0
  70. data/lib/spuit.rb +41 -0
  71. data/lib/spuit/engine.rb +5 -0
  72. data/lib/spuit/generator.rb +80 -0
  73. data/lib/spuit/version.rb +3 -0
  74. data/package.json +38 -0
  75. data/spuit.gemspec +23 -0
  76. data/spuit.scss +47 -0
  77. metadata +147 -0
@@ -0,0 +1,3 @@
1
+ $gradient: linear-gradient(to right bottom, #000 0%, lighten(#000, 10%) 100%) !default;
2
+ $shadow: 0px 5px 10px rgba(0, 0, 0, 0.1) !default;
3
+ $transition: all 0.2s ease-out !default;
@@ -0,0 +1,6 @@
1
+ $font-sans: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'MS Pゴシック', sans-serif !default;
2
+ $font-serif: 'ヒラギノ明朝 Pro W6', 'Hiragino Mincho Pro', 'HGS明朝E', 'MS P明朝', serif !default;
3
+
4
+ $font-yu: YuGothic, '游ゴシック',$font-sans !default;
5
+ $font-yumin: YuMincho, '游明朝',$font-serif !default;
6
+ $font-code: Consolas, 'Courier New', Courier, monospace !default;
@@ -0,0 +1,31 @@
1
+ $grid-breakpoints: (
2
+ xs: 0,
3
+ sm: 34em,
4
+ md: 48em,
5
+ lg: 62em,
6
+ xl: 75em
7
+ ) !default;
8
+
9
+ $grid-breakpoints-px: (
10
+ xs: 0,
11
+ sm: 576px,
12
+ md: 768px,
13
+ lg: 992px,
14
+ xl: 1200px
15
+ ) !default;
16
+
17
+ $grid-breakpoints-bs3: (
18
+ xs: 0,
19
+ sm: 34em,
20
+ md: 48em,
21
+ lg: 62em
22
+ ) !default;
23
+
24
+ $grids-breakpoints-bs3-px: (
25
+ xs: 0,
26
+ sm: 750px,
27
+ md: 970px,
28
+ lg: 1170px
29
+ ) !default;
30
+
31
+ $media-retina: (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi);
@@ -0,0 +1,7 @@
1
+ $svg-hamburger: '%0A%3Csvg%20width%3D%2228px%22%20height%3D%2224px%22%20viewBox%3D%226%208%2028%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22evenodd%22%20x%3D%226%22%20y%3D%228%22%20width%3D%2228%22%20height%3D%224%22%3E%3C/rect%3E%0A%20%20%20%20%3Crect%20id%3D%22Rectangle1%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22evenodd%22%20x%3D%226%22%20y%3D%2218%22%20width%3D%2228%22%20height%3D%224%22%3E%3C/rect%3E%0A%20%20%20%20%3Crect%20id%3D%22Rectangle2%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22evenodd%22%20x%3D%226%22%20y%3D%2228%22%20width%3D%2228%22%20height%3D%224%22%3E%3C/rect%3E%0A%3C/svg%3E';
2
+
3
+ $svg-twitter: '%3Csvg%20width%3D%2226px%22%20height%3D%2222px%22%20viewBox%3D%228%209%2026%2022%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M16.26924%2C30.6112994%20C25.89192%2C30.6112994%2031.15512%2C22.6389794%2031.15512%2C15.7254194%20C31.15512%2C15.4989794%2031.15512%2C15.2735594%2031.13982%2C15.0491594%20C32.163728%2C14.3085485%2033.0475826%2C13.3915364%2033.75%2C12.3410594%20C32.7951566%2C12.7641572%2031.7822459%2C13.0416247%2030.74508%2C13.1641994%20C31.8372389%2C12.5103611%2032.654646%2C11.4819869%2033.04518%2C10.2704594%20C32.0182006%2C10.8798639%2030.894659%2C11.3093417%2029.72304%2C11.5403594%20C28.1013244%2C9.8159416%2025.5244337%2C9.39388427%2023.4373403%2C10.510853%20C21.3502468%2C11.6278216%2020.2720005%2C14.0060317%2020.80722%2C16.3119194%20C16.6006337%2C16.101034%2012.6813653%2C14.1141492%2010.0248%2C10.8457394%20C8.63619521%2C13.2362571%209.34546764%2C16.2944361%2011.64456%2C17.8296794%20C10.811976%2C17.8050031%209.99754496%2C17.5804049%209.27%2C17.1748394%20L9.27%2C17.2411394%20C9.2706815%2C19.7315643%2011.0261865%2C21.8765653%2013.4673%2C22.3696994%20C12.697067%2C22.5797583%2011.8889322%2C22.6104646%2011.10498%2C22.4594594%20C11.7903669%2C24.5906707%2013.7545061%2C26.050659%2015.99282%2C26.0926994%20C14.1402297%2C27.54868%2011.8516807%2C28.3390737%209.49542%2C28.3366994%20C9.07916164%2C28.3359003%208.66330815%2C28.3106971%208.25%2C28.2612194%20C10.6425487%2C29.7966015%2013.4264117%2C30.6110107%2016.26924%2C30.6072194%22%20id%3D%22shape%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%3C/path%3E%0A%3C/svg%3E';
4
+
5
+ $svg-hatena: '%0A%3Csvg%20width%3D%2222px%22%20height%3D%2220px%22%20viewBox%3D%229%2010%2022%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M17.91544%2C25.36632%20C17.43128%2C25.66368%2016.59696%2C25.80976%2015.42632%2C25.80976%20L13.69448%2C25.80976%20L13.69448%2C21.83744%20L15.50112%2C21.83744%20C16.70336%2C21.83744%2017.53432%2C21.98864%2017.97632%2C22.29072%20C18.42552%2C22.59296%2018.64648%2C23.12664%2018.64648%2C23.89272%20C18.64648%2C24.57832%2018.40432%2C25.07072%2017.91544%2C25.36632%20Z%20M13.69448%2C14.93992%20L14.75864%2C14.93992%20C15.98848%2C14.93992%2016.81472%2C15.0788%2017.24112%2C15.35504%20C17.66192%2C15.63296%2017.8764%2C16.11224%2017.8764%2C16.79536%20C17.8764%2C17.45248%2017.64808%2C17.91544%2017.1964%2C18.18688%20C16.73904%2C18.45328%2015.9048%2C18.58816%2014.68384%2C18.58816%20L13.69448%2C18.58816%20L13.69448%2C14.93992%20Z%20M22.25328%2C20.64824%20C21.52864%2C19.8384%2020.52144%2C19.38336%2019.22888%2C19.28504%20C20.37848%2C18.9716%2021.21344%2C18.51336%2021.74152%2C17.90088%20C22.26712%2C17.29656%2022.52784%2C16.47616%2022.52784%2C15.44368%20C22.52784%2C14.6264%2022.3492%2C13.90328%2022.00304%2C13.27872%20C21.64816%2C12.658%2021.13792%2C12.16088%2020.46776%2C11.78896%20C19.8812%2C11.4664%2019.18432%2C11.23896%2018.37192%2C11.1048%20C17.55552%2C10.9748%2016.12656%2C10.90912%2014.07624%2C10.90912%20L9.09088%2C10.90912%20L9.09088%2C29.09088%20L14.22736%2C29.09088%20C16.29064%2C29.09088%2017.77888%2C29.01864%2018.68872%2C28.8804%20C19.59768%2C28.73752%2020.36048%2C28.49704%2020.97792%2C28.16736%20C21.74152%2C27.76432%2022.32392%2C27.19088%2022.73096%2C26.45408%20C23.1404%2C25.71488%2023.34344%2C24.86256%2023.34344%2C23.88776%20C23.34344%2C22.53944%2022.98024%2C21.45576%2022.25328%2C20.64824%20L22.25328%2C20.64824%20Z%22%20id%3D%22Fill-4%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22evenodd%22%3E%3C/path%3E%0A%20%20%20%20%3Cpath%20d%3D%22M28.60648%2C24.48488%20C27.33392%2C24.48488%2026.30304%2C25.51504%2026.30304%2C26.78752%20C26.30304%2C28.06%2027.33392%2C29.09088%2028.60648%2C29.09088%20C29.87736%2C29.09088%2030.90912%2C28.06%2030.90912%2C26.78752%20C30.90912%2C25.51504%2029.87736%2C24.48488%2028.60648%2C24.48488%22%20id%3D%22Fill-5%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22evenodd%22%3E%3C/path%3E%0A%20%20%20%20%3Cpolygon%20id%3D%22Fill-6%22%20stroke%3D%22none%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22evenodd%22%20points%3D%2226.60608%2023.0311998%2030.60608%2023.0311998%2030.60608%2010.9099998%2026.60608%2010.9099998%22%3E%3C/polygon%3E%0A%3C/svg%3E';
6
+
7
+ $svg-facebook: '%0A%3Csvg%20width%3D%2218px%22%20height%3D%2234px%22%20viewBox%3D%2216%206%2018%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M27.4852836%2C39.9843284%20L27.4852836%2C24.558209%20L32.6633433%2C24.558209%20L33.4385672%2C18.5462687%20L27.4852836%2C18.5462687%20L27.4852836%2C14.7079104%20C27.4852836%2C12.9673134%2027.9685672%2C11.781194%2030.4646866%2C11.781194%20L33.6482687%2C11.7797015%20L33.6482687%2C6.40268657%20C33.0975224%2C6.32955224%2031.2078209%2C6.1658209%2029.0093134%2C6.1658209%20C24.4193134%2C6.1658209%2021.2770746%2C8.96746269%2021.2770746%2C14.1126866%20L21.2770746%2C18.5462687%20L16.0858806%2C18.5462687%20L16.0858806%2C24.558209%20L21.2770746%2C24.558209%20L21.2770746%2C39.9843284%20L27.4852836%2C39.9843284%20Z%22%20id%3D%22Fill-4%22%20stroke%3D%22none%22%20fill%3D%22%23FEFEFE%22%20fill-rule%3D%22evenodd%22%3E%3C/path%3E%0A%3C/svg%3E';
@@ -0,0 +1,37 @@
1
+ // from: https://github.com/thoughtbot/bourbon/blob/master/dist/addons/_timing-functions.scss
2
+ // CSS cubic-bezier timing functions. Timing functions courtesy of jquery.easie (github.com/jaukia/easie)
3
+ // Timing functions are the same as demo'ed here: http://jqueryui.com/resources/demos/effect/easing.html
4
+
5
+ // EASE IN
6
+ $ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530)
7
+ $ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190)
8
+ $ease-in-quart: cubic-bezier(0.895, 0.030, 0.685, 0.220)
9
+ $ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060)
10
+ $ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715)
11
+ $ease-in-expo: cubic-bezier(0.950, 0.050, 0.795, 0.035)
12
+ $ease-in-circ: cubic-bezier(0.600, 0.040, 0.980, 0.335)
13
+ $ease-in-back: cubic-bezier(0.600, -0.280, 0.735, 0.045)
14
+
15
+ // EASE OUT
16
+ $ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940)
17
+ $ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000)
18
+ $ease-out-quart: cubic-bezier(0.165, 0.840, 0.440, 1.000)
19
+ $ease-out-quint: cubic-bezier(0.230, 1.000, 0.320, 1.000)
20
+ $ease-out-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000)
21
+ $ease-out-expo: cubic-bezier(0.190, 1.000, 0.220, 1.000)
22
+ $ease-out-circ: cubic-bezier(0.075, 0.820, 0.165, 1.000)
23
+ $ease-out-back: cubic-bezier(0.175, 0.885, 0.320, 1.275)
24
+
25
+ // EASE IN OUT
26
+ $ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955)
27
+ $ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1.000)
28
+ $ease-in-out-quart: cubic-bezier(0.770, 0.000, 0.175, 1.000)
29
+ $ease-in-out-quint: cubic-bezier(0.860, 0.000, 0.070, 1.000)
30
+ $ease-in-out-sine: cubic-bezier(0.445, 0.050, 0.550, 0.950)
31
+ $ease-in-out-expo: cubic-bezier(1.000, 0.000, 0.000, 1.000)
32
+ $ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.150, 0.860)
33
+ $ease-in-out-back: cubic-bezier(0.680, -0.550, 0.265, 1.550)
34
+
35
+ // (similar elastic).
36
+ $ease-out-elastic: cubic-bezier(0.370, 1.650, 0.410, 0.780)
37
+ $ease-in-elastic: cubic-bezier(0.370, 0.650, 0.410, -0.780)
@@ -0,0 +1,164 @@
1
+ @import '../../spuit';
2
+
3
+ @import 'styles/config/variables';
4
+ @import 'styles/config/mixins';
5
+
6
+ @include include-animations
7
+ @include include-normalize
8
+ @include include-grid
9
+
10
+ // basic styles
11
+
12
+ html {
13
+ font-size: 100%;
14
+ @include breakpoint-down(md) {
15
+ font-size: 80%;
16
+ }
17
+ }
18
+
19
+ body {
20
+ @include font(1rem);
21
+ color: $color-black;
22
+ }
23
+
24
+ // demo styles
25
+
26
+ .demo-styles {
27
+ color: $color-black;
28
+
29
+ h1 {
30
+ @include font(2.8rem);
31
+ font-weight: 300;
32
+ }
33
+ h2 {
34
+ @include font(2.0rem);
35
+ font-weight: 300;
36
+ }
37
+ h3 {
38
+ @include font(1.6rem);
39
+ }
40
+ h4 {
41
+ @include font(1.5rem);
42
+ }
43
+ h5 {
44
+ @include font(1.3rem);
45
+ }
46
+ h6 {
47
+ @include font(1.2rem);
48
+ }
49
+ p {
50
+ @include font(1rem);
51
+ }
52
+ form {
53
+ @include font(1rem);
54
+ }
55
+ input[type=text] {
56
+ @include input;
57
+ }
58
+ textarea {
59
+ @include input;
60
+ line-height: 1.6rem;
61
+ height: 120px;
62
+ }
63
+ legend {
64
+ @include font(inherit);
65
+ }
66
+ .radio {
67
+ @include radio-base;
68
+ }
69
+ .radio-inside {
70
+ @include radio-base(span);
71
+ }
72
+ .checkbox {
73
+ @include checkbox-base;
74
+ }
75
+ .checkbox-inside {
76
+ @include checkbox-base(span);
77
+ }
78
+ .select {
79
+ @include select-base;
80
+ }
81
+ .table {
82
+ @include table;
83
+ margin-bottom: 10px;
84
+
85
+ &-line{
86
+ @include table-line;
87
+ margin-bottom: 10px;
88
+ }
89
+ &-stripe{
90
+ @include table-stripe;
91
+ margin-bottom: 10px;
92
+ }
93
+ }
94
+ .fieldset {
95
+ @include fieldset-flex;
96
+ }
97
+ .button {
98
+ @include button;
99
+ }
100
+ .button-semiflat {
101
+ @include font;
102
+ @include button-semiflat;
103
+ }
104
+ .button-border {
105
+ @include font;
106
+ @include button-border;
107
+ }
108
+ .button-emboss {
109
+ @include font;
110
+ @include button-emboss;
111
+ }
112
+ .button-group {
113
+ display: flex;
114
+ justify-content: space-between;
115
+ > * {
116
+ width: 100%;
117
+ border-radius: 0;
118
+ &:first-child {
119
+ border-radius: 3px 0 0 3px;
120
+ }
121
+ &:last-child {
122
+ border-radius: 0 3px 3px 0;
123
+ }
124
+ }
125
+ }
126
+ .reset-ul {
127
+ @include reset-ul;
128
+ }
129
+ .word-break {
130
+ @include word-break;
131
+ display: inline-block;
132
+ width: 100px;
133
+ background: #f8f8f8;
134
+ padding: 10px;
135
+ }
136
+ .word-break-none {
137
+ @include word-break(false);
138
+ display: inline-block;
139
+ width: 100px;
140
+ background: #f8f8f8;
141
+ padding: 10px;
142
+ }
143
+ .text-overflow {
144
+ @include text-overflow();
145
+ display: inline-block;
146
+ width: 100px;
147
+ background: #f8f8f8;
148
+ padding: 10px;
149
+ }
150
+
151
+ .icon-hamburger {
152
+ @include icon-hamburger;
153
+ }
154
+ .icon-twitter {
155
+ @include icon-twitter;
156
+ }
157
+ .icon-facebook {
158
+ @include icon-facebook;
159
+ }
160
+ .icon-hatena {
161
+ @include icon-hatena;
162
+ }
163
+
164
+ }
@@ -0,0 +1,23 @@
1
+ @include include-opensans;
2
+
3
+ @mixin font($size: 1rem, $line-height: normal, $weight: 400) {
4
+ font-family: 'Open Sans', $font-sans;
5
+ font-size: $size;
6
+ font-weight: $weight;
7
+ line-height: $line-height;
8
+ }
9
+
10
+ @mixin button {
11
+ @include font;
12
+ @include button-normal;
13
+ }
14
+
15
+ @mixin input {
16
+ @include font;
17
+ @include input-normal(100%);
18
+ }
19
+
20
+ @mixin table {
21
+ @include font(1rem);
22
+ @include table-normal;
23
+ }
@@ -0,0 +1,4 @@
1
+ // colors
2
+ $color-black: #444;
3
+ $color-blue: #529ef6;
4
+ $color-pink: #E87571;
data/dist/favicon.png ADDED
Binary file
data/dist/index.html ADDED
@@ -0,0 +1,307 @@
1
+ <!DOCTYPE html>
2
+ <html lang="ja">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <title></title>
8
+
9
+ <link href="/stylesheets/styles.css" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+
13
+ <div class="container">
14
+ <div class="row">
15
+ <div class="col-12">
16
+ <p>Spuit</p>
17
+ </div>
18
+ </div>
19
+ </div>
20
+
21
+ <div class="container">
22
+ <div class="row">
23
+ <div class="col-md-4">
24
+ <section class="demo-styles">
25
+ <h2>Text Styles</h2>
26
+ <h1>heading 1</h1>
27
+ <h2>heading 2</h2>
28
+ <h3>heading 3</h3>
29
+ <h4>heading 4</h4>
30
+ <h5>heading 5</h5>
31
+ <h6>heading 6</h6>
32
+ <p>paragraf <a href="#">link</a> <b>bold</b></p>
33
+ </section>
34
+ </div>
35
+ <div class="col-md-4">
36
+ <section class="demo-styles">
37
+ <h2>Utilities</h2>
38
+ <h3>word break</h3>
39
+ <p class="word-break">.word-break</p>
40
+ <br>
41
+ <p class="word-break-none">.word-break-none</p>
42
+ <h3>text-overflow</h3>
43
+ <p class="text-overflow">.text-overflow</p>
44
+ </section>
45
+ </div>
46
+ <div class="col-md-4">
47
+ <section class="demo-styles">
48
+ <h2>button styles</h2>
49
+ <a href="#" class="button">Button</a>
50
+ <input type="submit" class="button" value="Button" />
51
+ <button type="button" class="button">Button</button>
52
+ <a href="#" class="button is-loading">Button</a>
53
+ <a href="#" class="button-semiflat">Button</a>
54
+ <a href="#" class="button-border">Button</a>
55
+ <a href="#" class="button-emboss">Button</a>
56
+ </section>
57
+
58
+ <section class="demo-styles">
59
+ <h2>icon styles</h2>
60
+ <i class="icon-hamburger"></i>
61
+ <i class="icon-twitter"></i>
62
+ <i class="icon-facebook"></i>
63
+ <i class="icon-hatena"></i>
64
+ </section>
65
+
66
+ </div>
67
+ </div>
68
+
69
+ <div class="row">
70
+ <div class="col-md-4">
71
+ <section class="demo-styles">
72
+ <h2>Form styles</h2>
73
+
74
+ <form>
75
+ <div class="fieldset">
76
+ <legend>お名前</legend>
77
+ <div>
78
+ <input id="field-text" placeholder="お名前" type="text">
79
+ </div>
80
+ </div>
81
+ <div class="fieldset">
82
+ <legend>お問い合わせ内容</legend>
83
+ <textarea cols="50" id="field-textarea" placeholder="お問い合わせ内容を入力下さい" rows="10"></textarea>
84
+ </div>
85
+ <div class="fieldset">
86
+ <legend>ラジオボタン(並列)</legend>
87
+ <ul class="reset-ul">
88
+ <li class="radio">
89
+ <input id="field-radio-0" name="field-radio" type="radio" value="0">
90
+ <label for="field-radio-0">
91
+ ラジオボタン 0
92
+ </label>
93
+ </li>
94
+ <li class="radio">
95
+ <input id="field-radio-1" name="field-radio" type="radio" value="1">
96
+ <label for="field-radio-1">
97
+ ラジオボタン 1
98
+ </label>
99
+ </li>
100
+ <li class="radio">
101
+ <input id="field-radio-2" name="field-radio" type="radio" value="2">
102
+ <label for="field-radio-2">
103
+ ラジオボタン 2
104
+ </label>
105
+ </li>
106
+ </ul>
107
+ </div>
108
+ <div class="fieldset">
109
+ <legend>ラジオボタン(入れ子)</legend>
110
+ <ul class="reset-ul">
111
+ <li class="radio-inside">
112
+ <label for="field-radio-inside-0">
113
+ <input id="field-radio-inside-0" name="field-radio-inside" type="radio" value="0">
114
+ <span>
115
+ ラジオボタン 0
116
+ </span>
117
+ </label>
118
+ </li>
119
+ <li class="radio-inside">
120
+ <label for="field-radio-inside-1">
121
+ <input id="field-radio-inside-1" name="field-radio-inside" type="radio" value="1">
122
+ <span>
123
+ ラジオボタン 1
124
+ </span>
125
+ </label>
126
+ </li>
127
+ <li class="radio-inside">
128
+ <label for="field-radio-inside-2">
129
+ <input id="field-radio-inside-2" name="field-radio-inside" type="radio" value="2">
130
+ <span>
131
+ ラジオボタン 2
132
+ </span>
133
+ </label>
134
+ </li>
135
+ </ul>
136
+ </div>
137
+ <div class="fieldset">
138
+ <legend>チェックボックス(並列)</legend>
139
+ <ul class="reset-ul">
140
+ <li class="checkbox">
141
+ <input id="field-checkbox-0" type="checkbox" value="0">
142
+ <label for="field-checkbox-0">
143
+ チェックボックス 0
144
+ </label>
145
+ </li>
146
+ <li class="checkbox">
147
+ <input id="field-checkbox-1" type="checkbox" value="1">
148
+ <label for="field-checkbox-1">
149
+ チェックボックス 1
150
+ </label>
151
+ </li>
152
+ <li class="checkbox">
153
+ <input id="field-checkbox-2" type="checkbox" value="2">
154
+ <label for="field-checkbox-2">
155
+ チェックボックス 2
156
+ </label>
157
+ </li>
158
+ </ul>
159
+ </div>
160
+ <div class="fieldset">
161
+ <legend>チェックボックス(入れ子)</legend>
162
+ <ul class="reset-ul">
163
+ <li class="checkbox-inside">
164
+ <label for="field-checkbox-inside-0">
165
+ <input id="field-checkbox-inside-0" type="checkbox" value="0">
166
+ <span>
167
+ チェックボックス 0
168
+ </span>
169
+ </label>
170
+ </li>
171
+ <li class="checkbox-inside">
172
+ <label for="field-checkbox-inside-1">
173
+ <input id="field-checkbox-inside-1" type="checkbox" value="1">
174
+ <span>
175
+ チェックボックス 1
176
+ </span>
177
+ </label>
178
+ </li>
179
+ <li class="checkbox-inside">
180
+ <label for="field-checkbox-inside-2">
181
+ <input id="field-checkbox-inside-2" type="checkbox" value="2">
182
+ <span>
183
+ チェックボックス 2
184
+ </span>
185
+ </label>
186
+ </li>
187
+ </ul>
188
+ </div>
189
+ <div class="fieldset">
190
+ <legend>セレクトボックス</legend>
191
+ <div class="select">
192
+ <select id="field-select">
193
+ <option value="1">選択肢1</option>
194
+ <option value="2">選択肢2</option>
195
+ <option value="3">選択肢3</option>
196
+ </select>
197
+ </div>
198
+ </div>
199
+ <div class="fieldset">
200
+ <div class="button-group">
201
+ <input class="button" type="submit" value="送信">
202
+ <input class="button-border" type="reset" value="リセット">
203
+ </div>
204
+ </div>
205
+ </form>
206
+ </section>
207
+ </div>
208
+ <div class="col-md-4">
209
+ <section class="demo-styles">
210
+ <h2>Table styles</h2>
211
+ <table class="table">
212
+ <thead>
213
+ <tr>
214
+ <th>xxx</th>
215
+ <th>xxx</th>
216
+ <th>xxx</th>
217
+ </tr>
218
+ </thead>
219
+ <tbody>
220
+ <tr>
221
+ <td>xxx</td>
222
+ <td>xxx</td>
223
+ <td>xxx</td>
224
+ </tr>
225
+ <tr>
226
+ <td>xxx</td>
227
+ <td>xxx</td>
228
+ <td>xxx</td>
229
+ </tr>
230
+ <tr>
231
+ <td>xxx</td>
232
+ <td>xxx</td>
233
+ <td>xxx</td>
234
+ </tr>
235
+ </tbody>
236
+ </table>
237
+ <table class="table-line">
238
+ <thead>
239
+ <tr>
240
+ <th>xxx</th>
241
+ <th>xxx</th>
242
+ <th>xxx</th>
243
+ </tr>
244
+ </thead>
245
+ <tbody>
246
+ <tr>
247
+ <td>xxx</td>
248
+ <td>xxx</td>
249
+ <td>xxx</td>
250
+ </tr>
251
+ <tr>
252
+ <td>xxx</td>
253
+ <td>xxx</td>
254
+ <td>xxx</td>
255
+ </tr>
256
+ <tr>
257
+ <td>xxx</td>
258
+ <td>xxx</td>
259
+ <td>xxx</td>
260
+ </tr>
261
+ </tbody>
262
+ </table>
263
+ <table class="table-stripe">
264
+ <thead>
265
+ <tr>
266
+ <th>xxx</th>
267
+ <th>xxx</th>
268
+ <th>xxx</th>
269
+ </tr>
270
+ </thead>
271
+ <tbody>
272
+ <tr>
273
+ <td>xxx</td>
274
+ <td>xxx</td>
275
+ <td>xxx</td>
276
+ </tr>
277
+ <tr>
278
+ <td>xxx</td>
279
+ <td>xxx</td>
280
+ <td>xxx</td>
281
+ </tr>
282
+ <tr>
283
+ <td>xxx</td>
284
+ <td>xxx</td>
285
+ <td>xxx</td>
286
+ </tr>
287
+ </tbody>
288
+ </table>
289
+ </section>
290
+ </div>
291
+ </div>
292
+ </div>
293
+
294
+ <div class="container pt-3">
295
+ <div class="row">
296
+ <div class="col-12">
297
+ <p><a href="https://github.com/is8r/spuit" target="_blank">github</a></p>
298
+ </div>
299
+ </div>
300
+ </div>
301
+
302
+ <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
303
+ <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
304
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> -->
305
+ <script src="/javascripts/scripts.min.js"></script>
306
+ </body>
307
+ </html>