expressionui 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d68e0e2db03169692417357701a46e2fdc929318
4
- data.tar.gz: 42b9084fd1ea3bc647a32537fe6fd7bf7f7f54ca
3
+ metadata.gz: 104072e97a58ea7683932be898570807818e325f
4
+ data.tar.gz: 08ca5af1a6ba90fe426998b323c0ce262cf9f715
5
5
  SHA512:
6
- metadata.gz: 76451281cb181c0999799722c5c6d08bdbe02c95fc3a029c7c82a1fcab3f3b50ed49012c2614623f0d642b1d94fa6a2f7632042312f13489d5be62d86cf714ff
7
- data.tar.gz: 51fee37b71dfc0facc9d9bf3ca68b1d84995f6f0613c80fd6fecb4eecb4114942047d55e110f0cce5c9a6b47db39814216d990f51550c64c08eb4a970e8010d7
6
+ metadata.gz: 5ec7f26ec7e761493471a66d453323dcb30e19bd4861e142646b9f76f2cb2abe73c6c26910be6a809f815c93dbfba6b59f0e8fd327069307cd3bae8e84e73144
7
+ data.tar.gz: 502eaa7b4bc8df4c16b9c327be617a86b89cb4e3882a78bd7a7553707bce678287bbd709b63d91c37f325a236fd12d6e458a0705fa94c978f7e34123261cc7c9
data/.gitignore CHANGED
@@ -6,3 +6,7 @@ pkg/
6
6
  pkg/*
7
7
 
8
8
  .ruby-version
9
+
10
+ *.lock
11
+
12
+ Gemfile.lock
data/README.md CHANGED
@@ -1,24 +1,67 @@
1
1
  # Expressionui
2
2
 
3
- Some awesome SASS and JS shiz for your rails project
3
+ A set of small JavaScript and SASS plugins that are designed to be reusable and enhance your UI. Ready to play with the Rails Asset Pipeline for faster and easier web development.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'expressionui'
9
+ ```ruby
10
+ gem 'expressionui'
11
+ ```
10
12
 
11
13
  And then execute:
12
14
 
13
- $ bundle
15
+ ```
16
+ $ bundle
17
+ ```
14
18
 
15
19
  Or install it yourself as:
16
20
 
17
- $ gem install expressionui
21
+ ```
22
+ $ gem install expressionui
23
+ ```
18
24
 
19
- ## Usage
20
25
 
21
- TODO: Write usage instructions here
26
+ ## Add to your application
27
+
28
+ To require all UI modules, add the following to your application.js:
29
+
30
+ ```javascript
31
+ //= require expressionui.all.js
32
+ ```
33
+
34
+ Also add the expressionui sass to your application.css.sass:
35
+
36
+ ```sass
37
+ @import expressionui
38
+ ```
39
+
40
+ ##Require Specific Modules
41
+
42
+ If you don't need all the awesomeness just bring in what you'd like
43
+
44
+ ###JavaScript
45
+
46
+ ```javascript
47
+ //= require expressionui.popover.js
48
+ //= require expressionui.notify.js
49
+ //= require expressionui.modal.js
50
+ ```
51
+
52
+ ###SASS
53
+
54
+ ```sass
55
+ @import expressionui/variables
56
+ @import expressionui/helpers
57
+ @import expressionui/notifications
58
+ @import expressionui/modals
59
+ @import expressionui/forms
60
+ @import expressionui/popover
61
+ @import expressionui/boilerplate
62
+ @import expressionui/class_helpers
63
+ @import expressionui/post_style
64
+ ```
22
65
 
23
66
  ## Contributing
24
67
 
@@ -1,3 +1,3 @@
1
1
  module Expressionui
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -0,0 +1,65 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="expressionuiregular" horiz-adv-x="1714" >
7
+ <font-face units-per-em="2048" ascent="1536" descent="-512" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph horiz-adv-x="2048" />
10
+ <glyph horiz-adv-x="2048" />
11
+ <glyph unicode="&#xd;" horiz-adv-x="2048" />
12
+ <glyph unicode=" " horiz-adv-x="1024" />
13
+ <glyph unicode="&#x09;" horiz-adv-x="1024" />
14
+ <glyph unicode="&#xa0;" horiz-adv-x="1024" />
15
+ <glyph unicode="!" d="M35 80q0 21 11 59.5t30 71.5l610 1046q35 60 79 91.5t91 31.5q102 0 172 -123l608 -1046q39 -68 39 -131q0 -75 -56.5 -120.5t-154.5 -45.5h-1216q-100 0 -156.5 45.5t-56.5 120.5zM739 979l49 -604h148l49 604h-246zM758 205q0 -44 30.5 -75.5t73.5 -31.5t75 31.5 t32 75.5t-32 74t-75 30t-73.5 -30t-30.5 -74z" />
16
+ <glyph unicode="+" horiz-adv-x="1603" d="M72 428v414h524v524h414v-524h526v-414h-526v-526h-414v526h-524z" />
17
+ <glyph unicode="/" horiz-adv-x="1896" d="M2 569q0 31 23 54l188 188q20 20 53 20t56 -20l303 -305q23 -23 53 -23q29 0 55 23l838 842q20 20 53 20q32 0 55 -20l187 -187q20 -20 20 -53t-20 -53l-1016 -1020q-22 -22 -60 -37.5t-69 -15.5h-88q-79 0 -129 53l-479 481q-23 23 -23 53z" />
18
+ <glyph unicode="1" horiz-adv-x="1476" d="M-2 193v854l737 430l748 -430v-854l-748 -429zM322 621q0 -175 122 -297q123 -123 295 -123q169 0 294.5 124t125.5 291q0 38 -6 78l-80 -20q4 -36 4 -56q0 -134 -101.5 -235.5t-234.5 -101.5q-140 0 -239 102q-5 3 -10 12l475 475l59 58q-121 112 -287 112 q-170 0 -293.5 -125t-123.5 -294zM401 618q0 138 103 239t239 101q72 0 144 -32l-451 -453q-35 68 -35 145z" />
19
+ <glyph unicode="4" horiz-adv-x="995" d="M70 -82v1436q0 37 29 68.5t75 31.5q39 0 70 -31l717 -714q30 -30 30 -74q0 -42 -30 -72l-717 -717q-30 -30 -70 -30q-20 0 -39 8q-65 30 -65 94z" />
20
+ <glyph unicode="5" horiz-adv-x="1998" d="M-2 1057q0 41 39 80l129 133q36 39 88 39q53 0 86 -39l664 -666l649 666q36 39 88 39q49 0 88 -39l129 -133q39 -39 39 -95q0 -44 -35 -79l-877 -881q-39 -39 -88 -39q-52 0 -88 39l-872 881q-39 39 -39 94z" />
21
+ <glyph unicode="A" horiz-adv-x="1314" d="M2 -74v1602h881l432 -443v-1159h-1313zM190 117h936v907h-342v315h-594v-1222zM319 315v72h668v-72h-668zM319 524v74h668v-74h-668zM319 733v78h668v-78h-668z" />
22
+ <glyph unicode="B" horiz-adv-x="2033" d="M8 143q11 145 52.5 296.5t107 292.5t156.5 266t195 218t230 147t255 54q134 0 263.5 -54t236 -147t198.5 -218t157.5 -266t107.5 -292.5t54 -296.5q-89 -133 -248 -222.5t-351 -129t-418 -39.5q-217 0 -408 39.5t-350.5 129.5t-237.5 222zM147 215q1 -7 5.5 -18.5 t27.5 -45t57.5 -64.5t103 -68t156 -64t225 -45.5t302.5 -18.5q126 0 236.5 11t190 30t146 43t110 51t77 54t51.5 51t29.5 43t14.5 30l3 11l-24 68q-13 29 -35 76t-83 158.5t-112 182.5q-44 54 -68 83t-68 77t-75 73.5t-68 45.5t-67 20q-26 0 -72.5 -42.5t-98.5 -103.5 t-105.5 -121.5t-104 -103t-82.5 -42.5q-31 0 -67.5 29t-66.5 63t-75 63t-90 29q-39 0 -90 -47.5t-95 -115t-82 -135.5t-61 -116l-22 -47z" />
23
+ <glyph unicode="C" horiz-adv-x="2197" d="M-8 637q0 20 17.5 45.5t49.5 42.5q68 43 288 167t306 185v-241q-14 -10 -29 -19.5t-37 -21.5t-39 -21.5t-52 -27l-58 -29t-75.5 -37.5t-86.5 -43q61 -30 123.5 -66t145.5 -88t108 -67v-244l-594 352q-67 36 -67 113zM872 152l308 948h153l-305 -948h-156zM1532 172v244 q11 5 397 196q-66 34 -198.5 112t-198.5 112v241l616 -352q30 -18 37.5 -43t7.5 -70q0 -26 -1.5 -37t-11.5 -24.5t-32 -26.5q-70 -42 -294 -166t-322 -186z" />
24
+ <glyph unicode="D" horiz-adv-x="1671" d="M0 627q0 170 66 324t178 265.5t266.5 177.5t325.5 66q228 0 420.5 -111.5t304.5 -303t112 -418.5q0 -171 -66 -325.5t-178 -266.5t-267 -178t-326 -66t-325.5 66t-266.5 178t-178 266.5t-66 325.5zM174 616q0 -135 52.5 -258t141.5 -211.5t212.5 -141t259.5 -52.5 q135 0 258 52.5t211.5 141t141 211.5t52.5 258q0 136 -52.5 259.5t-141 212.5t-211.5 141.5t-258 52.5q-182 0 -335 -89t-242 -242t-89 -335zM319 627q6 0 24.5 -1t31.5 -1q274 5 473 67q5 -11 15.5 -33t15.5 -34q-85 -29 -160.5 -74t-129 -95t-88.5 -92t-59 -81 q-123 144 -123 344zM334 743q27 111 99.5 199.5t174.5 140.5q102 -124 187 -282q-193 -58 -412 -58h-49zM530 203q153 231 390 311q60 -163 102 -381q-91 -33 -182 -33q-176 0 -310 103zM729 1124q57 13 111 13q184 0 321 -115q-88 -109 -254 -182q-79 154 -178 284z M961 733q172 78 286 205q102 -127 111 -295q-106 23 -213 23q-76 0 -152 -13q-5 14 -16 40t-16 40zM1036 541q52 6 107 6h2q96 0 205 -23q-20 -104 -76.5 -189.5t-140.5 -141.5q-38 183 -97 348z" />
25
+ <glyph unicode="E" d="M63 1126q0 2 13 14.5t20 18.5q26 -25 54.5 -53t40 -39t24.5 -23t20.5 -15t16.5 -5t22 -2q4 0 17 1t22 1q54 0 123.5 68t69.5 122v20v7q0 39 -10 57q-14 23 -91 99l-38 37l36 30q139 0 252 -112t113 -252q0 -43 -31 -107l148 -145l-189 -184q-18 0 -28 -2l-136 126 q-54 -26 -102 -26q-92 0 -177 52t-137 136.5t-53 175.5zM225 78q0 30 21 51l405 403q23 23 51 23q15 0 35 -4l367 364q1 1 7 9t8.5 11.5t8 12.5t8 16t5 17t2.5 20q0 29 -14.5 52.5t-36.5 36.5t-40.5 19.5t-33.5 8.5q-38 0 -103 70l-12 12q-39 36 -39 51q0 12 35 47l135 136 q15 15 20.5 20t13.5 9.5t17 4.5q12 0 48 -36l12 -13q22 -22 30.5 -31t21 -28t15.5 -35q14 -41 50 -86q4 -6 31.5 -7t33.5 -9l227 -219q82 -79 82 -252q0 -71 -14 -150.5t-28 -123.5l-15 -44l-100 94q2 19 2 50q0 208 -119 278q-38 -5 -72 -39l-413 -409q6 -18 6 -37 q0 -38 -33 -62q-297 -303 -377 -379q-17 -15 -23.5 -20.5t-17 -9.5t-24.5 -4q-60 0 -121.5 61.5t-61.5 120.5zM993 338q0 5 1 15t1 16l185 184l262 -260l176 -133l20 -70l-196 -196l-70 18l-133 178zM1341 111q0 -35 23.5 -58.5t56.5 -23.5q35 0 59.5 23.5t24.5 58.5 q0 34 -24.5 58t-59.5 24q-32 0 -56 -24t-24 -58z" />
26
+ <glyph unicode="F" horiz-adv-x="1800" d="M59 637q0 169 66.5 323t178 265t266 177t323.5 66q170 0 324.5 -66t266.5 -177t178.5 -265t66.5 -323t-66.5 -323t-178.5 -265.5t-266.5 -177.5t-324.5 -66q-169 0 -323.5 66t-266 177.5t-178 265.5t-66.5 323zM651 637h105v-520h215v520h145q15 84 21 176h-164v123 q0 13 14.5 27t30.5 14h119v180h-160q-48 0 -86 -10.5t-60 -27.5t-39 -38t-22.5 -41.5t-10.5 -39t-3 -30t0 -14.5v-145h-105v-174z" />
27
+ <glyph unicode="N" horiz-adv-x="1636" d="M0 741v498q0 62 44 106t103 44h1344q46 0 85 -27.5t54 -71.5q8 -21 8 -51v-498l-6 -98q-17 -167 -100 -310t-219 -247q-2 -4 -10 -8l-3 -2q-137 -101 -307 -139h-4q-58 -19 -170 -19q-268 0 -483 158l-2 2l-8 8q-137 104 -220 247t-100 310zM322 852q0 -50 34 -80 l387 -371q32 -32 76 -32q46 0 78 32l387 371q33 33 33 82q0 46 -33.5 79.5t-79.5 33.5q-45 0 -76 -31l-309 -297l-307 297q-36 31 -78 31q-44 0 -78 -34.5t-34 -80.5z" />
28
+ <glyph unicode="P" horiz-adv-x="1650" d="M2 639q0 167 65 319t175.5 262t262.5 175t320 65t320.5 -65t263.5 -175t176.5 -262t65.5 -319t-65.5 -319t-176.5 -262t-263.5 -175t-320.5 -65q-113 0 -231 32q43 78 85.5 197.5t55.5 204.5q21 -41 78.5 -71.5t122.5 -30.5q195 0 319.5 160t124.5 403q0 91 -38 176.5 t-104.5 150.5t-165.5 104.5t-214 39.5q-113 0 -211 -31t-166 -82t-117 -118t-72.5 -139t-23.5 -144q0 -110 43 -194t125 -120q6 -2 15 -2q20 0 33.5 44.5t13.5 64.5q0 8 -17 35.5t-34 69t-17 83.5q0 160 112.5 276.5t293.5 116.5q160 0 252 -88.5t92 -228.5 q0 -181 -74.5 -308.5t-190.5 -127.5q-56 0 -94.5 36.5t-38.5 88.5q0 13 4 33q9 38 28.5 101t31.5 110.5t12 82.5q0 53 -27.5 87t-80.5 34q-66 0 -112 -60.5t-46 -150.5q0 -36 5.5 -68.5t10.5 -47.5l6 -15q-88 -380 -104 -446q-16 -63 -16 -189q-220 95 -356 298.5 t-136 453.5z" />
29
+ <glyph unicode="R" horiz-adv-x="1622" d="M25 264l303 146l186 -185l-162 -297v244l-299 -299l148 375zM25 666q74 94 151.5 161t147.5 100.5t127.5 47.5t111.5 14q21 0 53 -4q-108 -152 -208 -334q-55 31 -117 31q-51 0 -101 -21t-74 -42l-24 -21zM385 455q93 196 192 357t187 269.5t179.5 191.5t166.5 130 t150 76t128 38t103 9q33 0 62 -4t42 -8l13 -5q16 -42 16 -116q0 -50 -9 -102.5t-38 -127t-76 -149t-130 -166t-192 -179.5t-270.5 -187.5t-357.5 -192.5zM696 -4q3 3 9 9.5t20.5 27t25.5 42.5t20 54t9 64q0 63 -30 116q159 88 331 213q4 -32 4 -57q0 -55 -14 -112t-47 -127 t-99.5 -147.5t-160.5 -152.5zM1096 1124q0 -51 37.5 -89t87.5 -38q51 0 89 38t38 89t-37 88q-39 39 -90 39q-50 0 -87.5 -38t-37.5 -89z" />
30
+ <glyph unicode="S" horiz-adv-x="2115" d="M2 33q0 172 63 316t163.5 237.5t221.5 166t242.5 111t222 63t163.5 31.5l63 7v397l987 -662l-987 -667v430q-256 0 -445 -21q-112 -13 -211 -43t-167.5 -67t-125 -78.5t-90.5 -80.5t-58 -70.5t-33 -50.5z" />
31
+ <glyph unicode="T" horiz-adv-x="1658" d="M2 627q0 171 65.5 327t176 268.5t263 179t320.5 66.5t321 -66.5t263.5 -179t176 -268.5t65.5 -327t-65.5 -326.5t-176 -268t-263.5 -179t-321 -66.5t-320.5 66.5t-263 179t-176 268t-65.5 326.5zM504 713h141v-369q0 -36 6.5 -69t25 -67t47.5 -58.5t78 -40t113 -15.5 q66 0 118 12.5t118 45.5v165q-74 -51 -156 -51q-50 0 -77 19q-22 13 -30 24t-12 40t-4 95v269h238v188h-238v242h-147q-13 -119 -66.5 -185t-154.5 -96v-149z" />
32
+ <glyph unicode="U" d="M47 -92q0 36 2 128.5t2 117.5q9 27 32.5 48t43 30t60 23.5t55.5 20.5q249 103 323 125q9 6 20.5 22t18.5 29.5t17.5 36t13.5 27.5l33 8q-3 23 -22 43.5t-23 30.5l-13 133q-82 0 -82 193q0 8 10.5 26.5t10.5 34.5q0 28 -8.5 76t-8.5 67q0 184 142 234q12 4 40.5 15 t47 17.5t47 12.5t55.5 6q80 0 152 -45l33 -29l53 -10q11 -6 21.5 -22.5t14.5 -29.5l5 -13q10 -39 12 -55t2 -60q-10 -90 -10 -135q0 -31 15.5 -65t15.5 -62q0 -87 -29 -129q-6 -8 -26 -18t-25 -21q-10 -19 -12.5 -57.5t-6.5 -51.5q-4 -14 -24 -37t-21 -51q24 -3 45 -6 q3 -5 13.5 -27.5t17.5 -36t18.5 -29.5t20.5 -22q36 -9 81.5 -25.5t76 -29t89 -37t79.5 -33.5q15 -6 54 -20.5t58.5 -23.5t43 -30t32.5 -48q0 -25 2 -117.5t2 -128.5h-1620z" />
33
+ <glyph unicode="X" horiz-adv-x="1357" d="M8 1047v18v74q0 18 8 31.5t25.5 22t37.5 14t53 9t62 5.5t74 5t80 7q-2 16 -2 47q0 53 17 89.5t43 57t72.5 31.5t90 14t111.5 3q40 0 64.5 -0.5t62 -4.5t60.5 -11t50.5 -21t43 -34t26 -50.5t10.5 -69.5v-27q0 -16 -2 -24q8 -1 75.5 -6.5t108.5 -10t96.5 -15t84.5 -23.5 v-76v-74q-4 -2 -14 -2q-50 0 -636 -1t-683 -1q-19 0 -19 23zM133 -2v874q12 -2 41 -2h1008q29 0 43 2v-874q0 -66 -47.5 -114t-116.5 -48h-762q-68 0 -117 47.5t-49 114.5zM367 115q0 -39 39 -39h43q16 0 28 10t12 29v506q0 15 -12.5 28t-27.5 13h-43q-18 0 -28.5 -11.5 t-10.5 -29.5v-506zM512 1284q0 -35 4 -47h313q0 6 2.5 18t2.5 17q0 2 -1.5 6t-1.5 6v14q-53 15 -180 15q-90 0 -139 -15v-14zM606 115q0 -39 41 -39h49q17 0 29 10t12 29v506q0 15 -13 28t-28 13h-49q-19 0 -30 -13t-11 -28v-506zM856 115q0 -18 11.5 -28.5t29.5 -10.5h43 q19 0 31 10t12 29v506q0 16 -12.5 28.5t-30.5 12.5h-43q-17 0 -29 -12.5t-12 -28.5v-506z" />
34
+ <glyph unicode="[" horiz-adv-x="1986" d="M0 33v1294q0 69 18 88t82 19h1295q69 0 87.5 -19t18.5 -88v-274h-274v102h-948v-950h948v106h274v-278q0 -65 -18.5 -83t-87.5 -18h-1295q-64 0 -82 18t-18 83zM1028 539h594v-177l363 336l-363 336v-176h-594v-319z" />
35
+ <glyph unicode="a" horiz-adv-x="1705" d="M4 664q0 173 67 330.5t180.5 271t270 180.5t328.5 67q174 0 331 -67t271 -180.5t181 -270.5t67 -331q0 -172 -67 -328.5t-180.5 -270t-271.5 -180.5t-331 -67q-230 0 -424.5 113.5t-308 308t-113.5 424.5zM500 383l350 -352l332 352h-211v895h-238v-895h-233z" />
36
+ <glyph unicode="b" horiz-adv-x="1685" d="M2 248q0 10 18 21.5t65.5 33.5t78.5 39q24 12 61 12q23 0 33 -4l526 -248q27 -10 58 -10q30 0 57 10q487 228 518 240q19 8 45 8q13 0 26.5 -2t20.5 -4l7 -2l147 -68q25 -9 25 -24q0 -16 -25 -25l-764 -356q-20 -10 -57 -10q-38 0 -58 10l-759 352q-23 11 -23 27zM2 715 q0 13 20.5 23.5t64 29.5t77.5 41q32 12 59 12q20 0 35 -6l526 -246q20 -10 58 -10q37 0 57 10q487 226 518 240q19 8 45 8q13 0 26.5 -2t20.5 -4l7 -2l147 -68q25 -13 25 -26q0 -16 -25 -25l-764 -356q-20 -10 -57 -10q-38 0 -58 10l-759 352q-23 12 -23 29zM2 1180 q0 14 23 26l766 355q24 12 55 12t55 -12l762 -355q25 -12 25 -26t-25 -23l-764 -358q-29 -11 -57 -11q-29 0 -58 11l-759 352q-23 11 -23 29z" />
37
+ <glyph unicode="d" horiz-adv-x="1671" d="M4 700q0 171 67.5 327t180 267t265.5 176.5t319 65.5q172 0 327 -65.5t266 -177t176.5 -266.5t65.5 -327q0 -166 -65.5 -319t-176.5 -265.5t-266.5 -179.5t-326.5 -67q-165 0 -319 67t-266 179.5t-179.5 266t-67.5 318.5zM221 700q0 -79 15 -114h354q26 -63 94 -106.5 t152 -43.5q99 0 170.5 42.5t97.5 107.5h350q0 16 9.5 57t9.5 57q0 174 -85 320.5t-231.5 231.5t-320.5 85q-123 0 -236 -50t-196.5 -135t-133 -203.5t-49.5 -248.5zM340 737q0 -12 8 -15t25 -3h80q12 0 17 0.5t10 5t5 12.5q0 12 -9.5 22.5t-22.5 10.5h-80q-13 0 -23 -10.5 t-10 -22.5zM424 944q0 -14 12 -26l84 -33l17 -17q8 0 16.5 8.5t17.5 8.5q0 33 -18 51l-82 51q-23 0 -35 -14.5t-12 -28.5zM590 1153q18 0 164.5 -165t185.5 -218q4 -16 4 -49q0 -53 -23.5 -90t-74.5 -37q-38 0 -69.5 15t-41.5 44q-15 21 -51 146t-65 239zM821 1069 q0 -10 2 -12t13 -2q36 0 36 14v98q0 13 -11 24t-25 11q-15 0 -15 -35v-98zM987 1055q0 -14 0.5 -18.5t3 -14.5t10 -14t19.5 -4q14 0 18.5 2t14.5 14l34 67q7 7 7 15q0 14 -6.5 27.5t-18.5 13.5q-10 0 -20.5 -9t-10.5 -18zM1122 903q17 -18 33 -18l16 18l68 33q12 16 12 51 q-9 12 -22 12t-25 -12l-65 -35q-17 -17 -17 -49zM1190 754q0 -13 10 -24t23 -11h98q16 0 16 35q0 32 -16 32h-98q-13 0 -23 -10t-10 -22z" />
38
+ <glyph unicode="e" horiz-adv-x="1685" d="M2 43v823q45 -45 152.5 -121t117.5 -83q66 -50 194 -146t187 -141q104 -49 183 -49q53 0 101 13t97 43.5t71 46.5t71 56q201 161 462 351q9 9 21 17.5t16 12.5v-823q0 -40 -31.5 -71t-72.5 -31h-1467q-40 0 -71 31t-31 71zM4 1243q0 35 31 63.5t69 28.5h1467 q38 0 69 -28.5t31 -63.5q0 -48 -51 -122.5t-107 -114.5q-129 -91 -438 -332q-46 -46 -121.5 -94t-111.5 -48h-4h-2q-50 0 -126 54t-110 88q-212 170 -438 332q-54 39 -106 114.5t-52 122.5z" />
39
+ <glyph unicode="f" horiz-adv-x="1619" d="M-6 809q0 16 4 28.5t12.5 20.5t16 14t20 9.5t19 5t18 3t12.5 1.5h461q8 0 20 9.5t17 17.5l131 479q0 1 4.5 12.5t7 17.5t9.5 17t15 17t21 11t29 5q10 0 18.5 -2t15 -4.5t12.5 -7t10 -8.5t8.5 -10.5t6.5 -10.5t4.5 -11t3.5 -10l3 -9t2 -7l133 -479q4 -8 15 -17.5t22 -9.5 h461q55 0 86 -35q16 -19 16 -47q0 -23 -11 -42t-19 -25.5t-23 -16.5l-369 -244q-5 -2 -10.5 -12.5t-5.5 -19.5q0 -2 1 -5t1 -4l162 -475q8 -28 8 -45q0 -26 -20.5 -54t-53.5 -28q-9 0 -18 1.5t-14.5 3t-13 5.5t-10.5 6.5t-10.5 7.5t-9.5 7l-381 309q-3 6 -18 6q-12 0 -18 -6 l-363 -307q-3 -2 -13 -9.5t-16.5 -11.5t-18 -8t-24.5 -4q-33 0 -55 25.5t-22 58.5q0 22 6 43l145 471q0 12 -4.5 27t-11.5 18l-371 244q-15 10 -23 16.5t-19 25.5t-11 42z" />
40
+ <glyph unicode="g" horiz-adv-x="1675" d="M4 625q0 176 67 336t178 273t259.5 180t306.5 67q177 0 336 -66.5t273 -180.5t180.5 -273t66.5 -336q0 -158 -67 -307t-180 -260.5t-273 -178.5t-336 -67q-157 0 -306.5 67.5t-260 178t-177.5 260.5t-67 307zM174 625q0 -197 138 -378.5t341 -262.5v159q-41 -14 -94 -14 q-104 0 -172 68q0 9 -4.5 26t-30.5 57t-71 78q12 0 31 -1.5t61.5 -14.5t66.5 -37q0 -33 24.5 -55.5t74.5 -22.5q46 0 114 23q0 6 1.5 15t15 24.5t37.5 15.5q-157 0 -244.5 77.5t-128.5 242.5q0 43 1 65.5t6 59t15.5 58t31.5 45.5t52 40q-41 0 -41 65q0 68 41 148 q35 0 56.5 -2t64.5 -14t92 -37h375q26 0 106.5 26.5t108.5 26.5q0 -16 11.5 -67t11.5 -78q0 -45 -23 -68q31 -16 52 -39.5t31.5 -46t16 -58t6.5 -59t1 -65.5q-17 -51 -39 -95t-55 -86.5t-72.5 -72.5t-93 -48t-115.5 -18q59 -61 59 -180q0 -25 -3 -72.5t-3 -68.5 q204 81 343.5 262.5t139.5 378.5q0 138 -56.5 266.5t-151 222.5t-223 150.5t-265.5 56.5t-257.5 -56t-204 -151t-131.5 -222.5t-48 -266.5z" />
41
+ <glyph unicode="i" horiz-adv-x="1681" d="M51 627q0 214 106 396t288.5 288t396.5 106q215 0 397.5 -106t288.5 -287.5t106 -396.5q0 -161 -62.5 -308t-168.5 -253t-253 -169t-308 -63t-307 63t-252 169t-169 253t-63 308zM643 86h406v74q-39 6 -56 11t-29.5 19.5t-15 35.5t-2.5 65v563q-120 -38 -287 -59v-68 q42 -7 57.5 -14.5t23.5 -30.5t8 -76v-315q0 -45 -2.5 -67t-16 -36t-30.5 -18.5t-56 -9.5v-74zM721 1042q0 -44 33.5 -77t76.5 -33q50 0 82.5 32.5t32.5 77.5q0 48 -31.5 80.5t-80.5 32.5q-45 0 -79 -33t-34 -80z" />
42
+ <glyph unicode="l" horiz-adv-x="1689" d="M61 989q0 170 123.5 294t300.5 124q32 0 60.5 -4t56.5 -14.5t47.5 -18.5t48.5 -27t42.5 -29t47 -35.5t46.5 -35.5q3 -4 8 -11t8 -11t6 -9.5t4.5 -10t1.5 -9.5q0 -23 -56.5 -47t-108.5 -36.5t-58 -12.5q-16 0 -66 30.5t-88 30.5q-67 0 -117.5 -49.5t-50.5 -118.5 q0 -38 18 -73t40 -56.5t58 -55.5t56 -56l177 -173q47 -47 120 -47q32 0 71.5 15.5t45.5 15.5q28 0 96 -71t68 -91q0 -31 -54.5 -60.5t-119.5 -46t-107 -16.5q-85 0 -163.5 32t-137.5 91l-297 295q-127 124 -127 297zM631 866q0 21 22.5 40.5t58.5 33.5t67.5 23.5t62.5 15.5 q41 8 69 8q84 0 164 -32t137 -89l297 -297q61 -55 94 -135t33 -162q0 -108 -53.5 -203t-152 -154.5t-218.5 -59.5q-91 0 -165 36t-158 107q-19 15 -36 36.5t-17 37.5q0 21 40 38.5t96 33t70 22.5q16 4 17 4q21 0 68 -30.5t85 -30.5q69 0 118.5 47t49.5 116q0 34 -13 66.5 t-37.5 60.5t-43.5 46.5t-46.5 40.5t-31.5 26l-176 176q-47 47 -121 47q-35 0 -73.5 -16.5t-42.5 -16.5q-24 0 -64.5 39.5t-70 79t-29.5 45.5z" />
43
+ <glyph unicode="p" horiz-adv-x="1611" d="M-10 -156l145 441l885 886l299 -297l-887 -884zM287 287l49 -54l739 738l-53 47zM1124 1274l195 194l297 -297l-195 -194z" />
44
+ <glyph unicode="q" horiz-adv-x="1746" d="M68 856q0 129 50.5 246.5t135.5 202.5t203 135.5t248 50.5q171 0 316.5 -85t230.5 -231.5t85 -318.5q0 -185 -96 -336l447 -444q47 -50 47 -111q0 -55 -41 -96t-97 -41q-63 0 -110 47l-447 447q-148 -97 -335 -97q-130 0 -248 50t-203 134t-135.5 201t-50.5 246zM348 856 q0 -146 104.5 -249t252.5 -103q146 0 249 103t103 249q0 148 -103 251t-249 103q-148 0 -252.5 -103.5t-104.5 -250.5z" />
45
+ <glyph unicode="s" horiz-adv-x="2203" d="M119 74v555h237v-488h1489v488h238v-555q0 -70 -50.5 -120t-121.5 -50h-1622q-70 0 -120 50.5t-50 119.5zM461 887h418v581h444v-581h416l-637 -598z" />
46
+ <glyph unicode="t" horiz-adv-x="1902" d="M8 49q46 -6 94 -6q263 0 482 168q-126 3 -226 79.5t-139 194.5q37 -6 74 -6q52 0 102 13q-136 29 -222.5 138t-86.5 253q83 -47 174 -47q-79 52 -125.5 138t-46.5 187q0 109 51 197q148 -181 356 -289.5t447 -120.5q-10 36 -10 90q0 163 113 278.5t274 115.5 q82 0 156 -33t127 -92q136 27 247 96q-43 -136 -170 -219q123 16 222 63q-74 -115 -193 -205v-49q0 -112 -23.5 -226t-71 -224t-115.5 -209.5t-161 -184t-202.5 -146t-246.5 -96t-286 -34.5q-326 0 -594 176z" />
47
+ <glyph unicode="v" horiz-adv-x="2154" d="M2 688q10 15 28.5 41t80 101.5t126.5 144t164.5 152t198.5 144t223 101.5t244 41q96 0 195 -25t184 -67t168 -96t151.5 -114t130 -120.5t107.5 -114.5t79.5 -96t50.5 -67l17 -25q-10 -15 -28.5 -40t-80.5 -98t-128.5 -139.5t-167 -147.5t-201.5 -139t-228 -98t-249 -40 q-94 0 -190.5 24t-180.5 64.5t-165.5 93.5t-149 111t-128 116t-106 111t-78.5 93.5t-50 64.5zM690 688q0 -154 111.5 -265.5t265.5 -111.5q164 0 270.5 110t106.5 267q0 169 -105 275t-272 106q-157 0 -267 -107.5t-110 -273.5zM862 688q0 93 58 159t147 66q91 0 157 -67 t66 -158q0 -87 -65.5 -146t-157.5 -59q-90 0 -147.5 58.5t-57.5 146.5z" />
48
+ <glyph unicode="w" horiz-adv-x="1792" d="M68 614q0 170 66 324.5t178 266t266.5 177.5t324.5 66t324.5 -66t266.5 -177.5t178.5 -266t66.5 -324.5t-66.5 -324t-178.5 -265.5t-266.5 -177.5t-324.5 -66q-227 0 -419 111.5t-304 303t-112 418.5zM274 614q0 -127 50 -242.5t134.5 -199t201 -133t243.5 -49.5 t243 49.5t199.5 133t133 199t49.5 242.5q0 169 -83.5 313.5t-227.5 229t-314 84.5t-315 -84.5t-229.5 -229t-84.5 -313.5zM817 582v450q0 13 10 25t23 12h94q14 0 23.5 -12t9.5 -25v-381l332 -223q14 -14 14 -31q0 -4 -4 -16l-47 -76q-6 -11 -25 -18q-8 0 -26 6l-385 258 q-3 3 -7.5 7t-5.5 5.5l-3 4.5t-2.5 6t-0.5 8z" />
49
+ <glyph unicode="x" horiz-adv-x="1531" d="M57 154q0 71 33 104l328 326q33 33 33 82t-33 82l-328 325q-33 33 -33 84t33 84l92 92q33 33 84 33t84 -33l326 -325q35 -35 82 -35q49 0 84 35l327 325q33 33 82 33q44 0 82 -33l97 -92q32 -32 32 -84t-32 -84l-328 -325q-33 -33 -33 -82q0 -53 33 -82l328 -326 q32 -32 32 -84q0 -22 -9 -46.5t-23 -37.5l-97 -92q-33 -33 -82 -33t-82 33l-327 326q-34 34 -84 34q-48 0 -82 -34l-326 -326q-33 -33 -84 -33t-84 33l-92 92q-33 33 -33 64z" />
50
+ <glyph unicode="&#x2000;" horiz-adv-x="786" />
51
+ <glyph unicode="&#x2001;" horiz-adv-x="1573" />
52
+ <glyph unicode="&#x2002;" horiz-adv-x="786" />
53
+ <glyph unicode="&#x2003;" horiz-adv-x="1573" />
54
+ <glyph unicode="&#x2004;" horiz-adv-x="524" />
55
+ <glyph unicode="&#x2005;" horiz-adv-x="393" />
56
+ <glyph unicode="&#x2006;" horiz-adv-x="262" />
57
+ <glyph unicode="&#x2007;" horiz-adv-x="262" />
58
+ <glyph unicode="&#x2008;" horiz-adv-x="196" />
59
+ <glyph unicode="&#x2009;" horiz-adv-x="314" />
60
+ <glyph unicode="&#x200a;" horiz-adv-x="87" />
61
+ <glyph unicode="&#x202f;" horiz-adv-x="314" />
62
+ <glyph unicode="&#x205f;" horiz-adv-x="393" />
63
+ <glyph unicode="&#xe000;" horiz-adv-x="1361" d="M0 0v1362h1362v-1362h-1362z" />
64
+ </font>
65
+ </defs></svg>
@@ -0,0 +1,3 @@
1
+ //= require expressionui.popover.js
2
+ //= require expressionui.notify.js
3
+ //= require expressionui.modal.js
@@ -9,7 +9,7 @@
9
9
  var methods = {
10
10
  defaults: {
11
11
  title: 'Alert',
12
- id: 'dialog',
12
+ id: 'modal',
13
13
  closeID: 'closeDialog',
14
14
  overlay: true,
15
15
  overlayMrk: '<div class="pageOverlay"></div>',
@@ -17,6 +17,7 @@
17
17
  threshold: 15,
18
18
  ajax: '',
19
19
  ajaxTarget: '',
20
+ autoresize: true,
20
21
  notify: false,
21
22
  width: 'auto',
22
23
  height: 'auto',
@@ -36,7 +37,7 @@
36
37
  },
37
38
  init: function (options) {
38
39
  options = $.extend({}, methods.defaults, options);
39
- $(this).dialog('_open', options);
40
+ $(this).modal('_open', options);
40
41
  },
41
42
  _open: function (options) {
42
43
  options.beforeOpen();
@@ -51,7 +52,7 @@
51
52
  var className = '';
52
53
  if (typeof btn.className != 'undefined')
53
54
  className = btn.className;
54
- buttons += '<a href="javascript:;" id="dialogBtn' + i + '" class="' + className + defaultBtn + '"><span>' + btn.buttonText + '</span></a>';
55
+ buttons += '<a href="javascript:;" id="modalBtn' + i + '" class="' + className + defaultBtn + '"><span>' + btn.buttonText + '</span></a>';
55
56
  });
56
57
  if (options.width != "auto") {
57
58
  options.width = options.width + 'px'
@@ -59,28 +60,28 @@
59
60
  if (options.overlay) {
60
61
  overlay = options.overlayMrk;
61
62
  }
62
- buildModal = '<div id="' + options.id + '" class="dialog_container ' + isMobile + ' ' + options.height + '">' + overlay + '<div style="width:' + options.width + ';" class="dialog">';
63
+ buildModal = '<div id="' + options.id + '" class="modal_wrapper ' + isMobile + ' ' + options.height + '">' + overlay + '<div style="width:' + options.width + ';" class="modal">';
63
64
  if (options.header) {
64
- buildModal += '<h1><span class="container"><span class="title">' + options.title + '</span><a href="javascript:;" id="' + options.closeID + '" class="closeDialog ' + options.closeClass + '">x</a></span></h1>';
65
+ buildModal += '<h1><span class="wrapper"><span class="title">' + options.title + '</span><a href="javascript:;" id="' + options.closeID + '" class="closeDialog ' + options.closeClass + '">x</a></span></h1>';
65
66
  } else {
66
67
  buttons += '<a href="javascript:;" class="closeDialog"><span>Cancel</span></a>';
67
68
  }
68
- buildModal += '<div class="dialogBody"><div class="container"><div class="d_content"></div></div></div>';
69
+ buildModal += '<div class="modalBody"><div class="wrapper"><div class="d_content"></div></div></div>';
69
70
  if (options.footer) {
70
- buildModal += '<div class="dialogFooter"><span class="container">' + buttons + '</span></div>';
71
+ buildModal += '<div class="modalFooter"><span class="wrapper">' + buttons + '</span></div>';
71
72
  }
72
73
  buildModal += '</div></div>';
73
74
  $(options.appendTo).append(buildModal);
74
75
  if (options.headerContent && options.header) {
75
- $(options.headerContent).appendTo('#' + options.id + ' h1 .container').css('display', 'block');
76
+ $(options.headerContent).appendTo('#' + options.id + ' h1 .wrapper').css('display', 'block');
76
77
  }
77
78
  $(this).appendTo('#' + options.id + ' .d_content').css('display', 'block');
78
79
  if (options.ajax) {
79
- $(this).dialog('ajax', options);
80
+ $(this).modal('ajax', options);
80
81
  }
81
- $('#' + options.id + ' .dialog').dialog('position', options);
82
- $('#' + options.id).dialog('_setupEvents', options);
83
- $(options.appendTo).addClass("dialog_open");
82
+ $('#' + options.id + ' .modal').modal('position', options);
83
+ $('#' + options.id).modal('_setupEvents', options);
84
+ $(options.appendTo).addClass("modal_open");
84
85
  if(!options.ajaxTarget){
85
86
  options.afterOpen.call();
86
87
  }
@@ -89,10 +90,10 @@
89
90
  var _this = $(this)
90
91
  if (options.ajaxTarget) options.ajax = options.ajax + ' ' + options.ajaxTarget
91
92
  if (options.notify) {
92
- _this.parents('.dialogBody').notify({ style: "none", position: "middle", loading: "circles", sticky: true, content: "hidden" });
93
+ _this.parents('.modalBody').notify({ style: "none", position: "middle", loading: "circles", sticky: true, content: "hidden" });
93
94
  }
94
95
  _this.load(options.ajax, function (response, status, xhr) {
95
- _this.parents('.dialogBody').find('.notify').notify("close")
96
+ _this.parents('.modalBody').find('.notify').notify("close")
96
97
  options.afterOpen.call();
97
98
  if (status == "error") {
98
99
  var msg = "Sorry but there was an error: ";
@@ -102,20 +103,20 @@
102
103
  },
103
104
  close: function (options) {
104
105
  options = $.extend({}, methods.defaults, options);
105
- if ($('.dialog')[1]) {
106
- var amount = $('.dialog').length - 1
107
- $.each($('.dialog'), function (i, v) {
106
+ if ($('.modal')[1]) {
107
+ var amount = $('.modal').length - 1
108
+ $.each($('.modal'), function (i, v) {
108
109
  if (i === amount) {
109
- $(v).parents('.dialog_container').fadeOut('fast');
110
+ $(v).parents('.modal_wrapper').fadeOut('fast');
110
111
  }
111
112
  });
112
113
  } else {
113
- $(options.appendTo).removeClass('dialog_open').addClass('dialog_close');
114
+ $(options.appendTo).removeClass('modal_open').addClass('modal_close');
114
115
  }
115
116
  options.beforeClose();
116
117
  var modal_content = $(this).find('.d_content').children(),
117
- parent = $(this).parents('.dialog_container'),
118
- body = $(this).find('.dialogBody'),
118
+ parent = $(this).parents('.modal_wrapper'),
119
+ body = $(this).find('.modalBody'),
119
120
  b_width = body.outerWidth(),
120
121
  b_height = body.outerHeight();
121
122
  body.css({width: b_width, height: b_height});
@@ -128,8 +129,8 @@
128
129
  modal_content.remove();
129
130
  }
130
131
  setTimeout(function () {
131
- if (!$('.dialog')[1]) {
132
- $(options.appendTo).removeClass("dialog_close");
132
+ if (!$('.modal')[1]) {
133
+ $(options.appendTo).removeClass("modal_close");
133
134
  }
134
135
  parent.remove();
135
136
  $(window).unbind("resize.modal");
@@ -138,35 +139,39 @@
138
139
  },
139
140
  _setupEvents: function (options) {
140
141
  var _this = $(this)
141
- $(window).bind("resize.modal", function () {
142
- _this.find('.dialog').dialog('position', options)
143
- });
144
- $(this).find('.dialogFooter a:not(.closeDialog)').each(function (i) {
142
+ if (options.autoresize) {
143
+ $(window).bind("resize.modal", function () {
144
+ _this.find('.modal').modal('position', options)
145
+ });
146
+ }
147
+ $(this).find('.modalFooter a:not(.closeDialog)').each(function (i) {
145
148
  $(this).click(options.buttons[i].context ? function () {
146
149
  options.buttons[i].callback.apply(options.buttons[i].context)
147
150
  } : options.buttons[i].callback);
148
151
  });
149
152
  $(this).find('.closeDialog').click(function () {
150
- (typeof options.closeCallback === 'undefined') ? $('#' + options.id + ' .dialog').dialog('close', options) : options.closeCallback();
153
+ (typeof options.closeCallback === 'undefined') ? $('#' + options.id + ' .modal').modal('close', options) : options.closeCallback();
151
154
  });
152
155
  },
153
156
  position: function (options) {
154
- var dialog = $(this);
155
- var dialogHeight = dialog.outerHeight();
156
- var dialogPadding = dialogHeight - dialog.height();
157
+ var modal = $(this);
158
+ modal.css('bottom', 'auto')
159
+ var modalHeight = modal.outerHeight();
160
+ var modalPadding = modalHeight - modal.height();
157
161
  var win = $(window).height();
158
162
  var threshold = options.threshold;
159
163
  if (options.height == 'auto') {
160
- if ( dialogHeight > (win - (threshold * 2)) ) {
161
- dialog.css('height', (win - ((threshold * 2) - dialogPadding)) );
164
+ if ( modalHeight > (win - (threshold * 2)) ) {
165
+ modal.css({ 'top': threshold, 'bottom': threshold, 'margin-left': -(modal.outerWidth() / 2), 'margin-top': 0 });
166
+ } else {
167
+ modal.css({'top': '50%', 'margin-top': -(modal.outerHeight() / 2), 'margin-left': -(modal.outerWidth() / 2) });
162
168
  }
163
- dialog.css({ 'margin-top': -(dialog.outerHeight() / 2), 'margin-left': -(dialog.outerWidth() / 2) });
164
169
  } else {
165
- dialog.css({ 'top': threshold, 'bottom': threshold, 'margin-left': -(dialog.outerWidth() / 2) });
170
+ modal.css({ 'top': threshold, 'bottom': threshold, 'margin-left': -(modal.outerWidth() / 2) });
166
171
  }
167
172
  }
168
173
  };
169
- $.fn.dialog = function (method) {
174
+ $.fn.modal = function (method) {
170
175
  if (methods[method]) {
171
176
  return methods[ method ].apply(this, Array.prototype.slice.call(arguments, 1));
172
177
  } else if (typeof method === 'object' || !method) {
@@ -1,19 +1,15 @@
1
1
  @import normalize
2
2
 
3
3
  *
4
- margin: 0
5
- padding: 0
6
4
  +box-sizing(border-box)
7
5
  -webkit-font-smoothing: antialiased
8
6
 
7
+ a
8
+ text-decoration: none
9
+
9
10
  article, aside, details, figcaption, figure, footer, header, hgroup, nav, section
10
11
  display: block
11
12
 
12
- audio[controls], canvas, video
13
- display: inline-block
14
- *display: inline
15
- *zoom: 1
16
-
17
13
  html
18
14
  font-size: 100%
19
15
  overflow-y: scroll
@@ -23,188 +19,18 @@ html
23
19
 
24
20
  body
25
21
  margin: 0
26
- font-size: 16px
22
+ font-size: $font_size
27
23
  line-height: 1.231
28
24
  +font_stack
29
25
  font-weight: normal
30
- //color: #404040
26
+ &:after
27
+ content: $font_size
28
+ width: 400px
29
+ height: 400px
30
+ position: absolute
31
+ top: 0
32
+ display: block
31
33
 
32
34
  button, input, select, textarea
33
35
  +font_stack
34
- font-weight: normal
35
- //color: #404040
36
-
37
- a
38
- //color: #0067AF
39
- text-decoration: none
40
- outline: 0
41
- outline: none
42
- &:visited
43
- //color: #0067AF
44
- &:focus
45
- outline: 0
46
- outline: none
47
- &:hover, &:active
48
- outline: 0
49
- outline: none
50
- color: $accent
51
-
52
- abbr[title]
53
- border-bottom: 1px dotted
54
-
55
- b, strong
56
- +font_stack
57
-
58
- blockquote
59
- margin: 1em 40px
60
-
61
- dfn
62
- font-style: italic
63
-
64
- hr
65
- display: block
66
- height: 1px
67
- border: 0
68
- border-top: 1px solid #ccc
69
- margin: 1em 0
70
- padding: 0
71
-
72
- ins
73
- background: #ff9
74
- color: #000
75
- text-decoration: none
76
-
77
- mark
78
- background: #ff0
79
- color: #000
80
- font-style: italic
81
-
82
- pre, code, kbd, samp
83
- font-family: monospace, monospace
84
- _font-family: 'courier new', monospace
85
- font-size: 1em
86
-
87
- pre
88
- white-space: pre
89
- white-space: pre-wrap
90
- word-wrap: break-word
91
-
92
- q
93
- quotes: none
94
- &:before, &:after
95
- content: ""
96
- content: none
97
-
98
- small
99
- font-size: 85%
100
-
101
- sub
102
- font-size: 75%
103
- line-height: 0
104
- position: relative
105
- vertical-align: baseline
106
-
107
- sup
108
- font-size: 75%
109
- line-height: 0
110
- position: relative
111
- vertical-align: baseline
112
- top: -0.5em
113
-
114
- sub
115
- bottom: -0.25em
116
-
117
- ul, ol
118
- margin: 0
119
- padding: 0
120
- list-style: none
121
-
122
- dd
123
- margin: 0 0 0 40px
124
-
125
- nav
126
- ul, ol
127
- list-style: none
128
- margin: 0
129
- padding: 0
130
-
131
- img
132
- border: 0
133
- -ms-interpolation-mode: bicubic
134
-
135
- svg:not(:root)
136
- overflow: hidden
137
-
138
- figure, form
139
- margin: 0
140
-
141
- fieldset
142
- border: 0
143
- margin: 0
144
- padding: 0
145
-
146
- legend
147
- border: 0
148
- *margin-left: -7px
149
- padding: 0
150
-
151
- label
152
- cursor: pointer
153
-
154
- button, input, select, textarea
155
- font-size: 100%
156
- margin: 0
157
- vertical-align: baseline
158
- *vertical-align: middle
159
-
160
- select
161
- margin-top: 2px
162
-
163
- button, input
164
- line-height: normal
165
- *overflow: visible
166
-
167
- button
168
- cursor: pointer
169
- -webkit-appearance: button
170
-
171
- input
172
- &[type="button"], &[type="reset"], &[type="submit"]
173
- cursor: pointer
174
- -webkit-appearance: button
175
- &[type="checkbox"], &[type="radio"]
176
- box-sizing: border-box
177
- &[type="search"]
178
- -moz-box-sizing: content-box
179
- -webkit-box-sizing: content-box
180
- box-sizing: content-box
181
-
182
- button::-moz-focus-inner, input::-moz-focus-inner
183
- border: 0
184
- padding: 0
185
-
186
- textarea
187
- overflow: auto
188
- vertical-align: top
189
-
190
- input:invalid, textarea:invalid
191
- background-color: #f0dddd
192
-
193
- table
194
- border-collapse: collapse
195
- border-spacing: 0
196
-
197
- +font-face("#{$icon_font}", font-files("#{$icon_font}.woff#{$ver}", woff, "#{$icon_font}.otf#{$ver}", opentype, "#{$icon_font}.svg#$icon_font#{$ver}", svg), "#{$icon_font}.eot#{$ver}", "normal", "normal")
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
36
+ font-weight: normal