magic_stylez 0.0.0.13 → 0.0.0.19

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 +4 -4
  2. data/.gitignore +2 -1
  3. data/lib/magic_stylez/engine.rb +3 -6
  4. data/lib/magic_stylez/version.rb +1 -1
  5. data/test/dummy/app/assets/javascripts/app.js.coffee +41 -18
  6. data/test/dummy/app/assets/javascripts/application.js +1 -0
  7. data/test/dummy/app/assets/javascripts/assets.js.coffee.erb +29 -0
  8. data/test/dummy/app/assets/javascripts/blank.js +14 -0
  9. data/test/dummy/app/assets/javascripts/views/app/start.jst.eco +13 -3
  10. data/test/dummy/app/assets/javascripts/views/effects/shadows.jst.eco +24 -24
  11. data/test/dummy/app/assets/javascripts/views/elements/buttons.jst.eco +131 -0
  12. data/test/dummy/app/assets/javascripts/views/elements/circle_diagram.jst.eco +67 -0
  13. data/test/dummy/app/assets/javascripts/views/elements/inputs.jst.eco +185 -0
  14. data/test/dummy/app/assets/javascripts/views/{elements → helper}/arrow_infos.jst.eco +5 -5
  15. data/test/dummy/app/assets/javascripts/views/helper/crossed_text.jst.eco +33 -0
  16. data/test/dummy/app/assets/javascripts/views/helper/divider.jst.eco +82 -0
  17. data/test/dummy/app/assets/javascripts/views/helper/three_previews.jst.eco +46 -0
  18. data/test/dummy/app/assets/javascripts/views/icons/glyphicons.jst.eco +24 -0
  19. data/test/dummy/app/assets/javascripts/views/icons/icomoon.jst.eco +24 -0
  20. data/test/dummy/app/assets/javascripts/views/icons/magicons.jst.eco +25 -0
  21. data/test/dummy/app/assets/javascripts/views/icons/olicons.jst.eco +1774 -0
  22. data/test/dummy/app/assets/javascripts/views/templates/fixed_header.jst.eco +5 -0
  23. data/test/dummy/app/assets/javascripts/views/templates/responsive_slidebar.jst.eco +5 -0
  24. data/test/dummy/app/assets/stylesheets/application.css.scss +80 -31
  25. data/test/dummy/app/controllers/front_controller.rb +11 -0
  26. data/test/dummy/app/views/front/_aside.html.erb +27 -28
  27. data/test/dummy/app/views/front/start.html.erb +13 -3
  28. data/test/dummy/app/views/front/templates.html.erb +85 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +0 -2
  30. data/test/dummy/app/views/layouts/blank.html.erb +17 -0
  31. data/test/dummy/app/views/templates/_lorem.html.erb +89 -0
  32. data/test/dummy/app/views/templates/fixed-header.html.erb +53 -0
  33. data/test/dummy/app/views/templates/responsive-slidebar.html.erb +55 -0
  34. data/test/dummy/config/application.rb +1 -0
  35. data/test/dummy/config/routes.rb +7 -0
  36. data/test/dummy/public/html/fixed-header.html.erb +158 -0
  37. data/test/dummy/public/html/index.html +173 -0
  38. data/test/dummy/public/html/responsive-slidebar.html.erb +160 -0
  39. data/vendor/assets/fonts/magic/icomoon.eot +0 -0
  40. data/vendor/assets/fonts/magic/icomoon.svg +461 -0
  41. data/vendor/assets/fonts/magic/icomoon.ttf +0 -0
  42. data/vendor/assets/fonts/magic/icomoon.woff +0 -0
  43. data/vendor/assets/images/magic/helper/blank_10.png +0 -0
  44. data/vendor/assets/images/magic/helper/white_10.png +0 -0
  45. data/vendor/assets/javascripts/magic/circle_diagram.js.coffee +146 -0
  46. data/vendor/assets/javascripts/magic/collapse.js.coffee +11 -0
  47. data/vendor/assets/javascripts/magic/helper.js.coffee +19 -0
  48. data/vendor/assets/javascripts/magic-min.js.coffee +22 -0
  49. data/vendor/assets/javascripts/magic-stylez.js.coffee +5 -0
  50. data/vendor/assets/stylesheets/magic/content/_box.scss +14 -5
  51. data/vendor/assets/stylesheets/magic/content/_buttons.scss +285 -0
  52. data/vendor/assets/stylesheets/magic/content/_forms.scss +2 -70
  53. data/vendor/assets/stylesheets/magic/content/_inputs.scss +149 -0
  54. data/vendor/assets/stylesheets/magic/content/_navbar.scss +59 -0
  55. data/vendor/assets/stylesheets/magic/corporate/_fonts.scss +1 -1
  56. data/vendor/assets/stylesheets/magic/corporate/_typo.scss +8 -1
  57. data/vendor/assets/stylesheets/magic/corporate/_variables.scss +1 -3
  58. data/vendor/assets/stylesheets/magic/effects/_noise.scss +36 -0
  59. data/vendor/assets/stylesheets/magic/effects/_shadows.scss +22 -22
  60. data/vendor/assets/stylesheets/magic/elements/_circle_diagram.scss +214 -0
  61. data/vendor/assets/stylesheets/magic/helper/_all.scss +5 -0
  62. data/vendor/assets/stylesheets/magic/helper/_arrow_hints.scss +28 -0
  63. data/vendor/assets/stylesheets/magic/helper/_crossed.scss +22 -0
  64. data/vendor/assets/stylesheets/magic/helper/_divider.scss +48 -0
  65. data/vendor/assets/stylesheets/magic/helper/_dots.scss +26 -0
  66. data/vendor/assets/stylesheets/magic/helper/_three_previews.scss +33 -0
  67. data/vendor/assets/stylesheets/magic/icons/icomoon.scss +1392 -0
  68. data/vendor/assets/stylesheets/magic/layout/_section.scss +18 -2
  69. data/vendor/assets/stylesheets/magic/lib/_animation.scss +0 -6
  70. data/vendor/assets/stylesheets/magic/lib/_helper.scss +92 -0
  71. data/vendor/assets/stylesheets/magic/{layout → xxx}/_body.scss +0 -0
  72. data/vendor/assets/stylesheets/magic/{content → xxx}/_header.scss +0 -0
  73. data/vendor/assets/stylesheets/magic-stylez.scss +18 -79
  74. metadata +103 -41
  75. data/test/dummy/app/assets/javascripts/views/elements/icons.jst.eco +0 -9004
  76. data/test/dummy/public/xindex.html +0 -136
  77. data/vendor/assets/stylesheets/magic/content/_helper.scss +0 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 993f733c4b4d669b4ab87acfafbd39353adfbde2
4
- data.tar.gz: c678f17a256639f1bad44c85f8c9416f749542be
3
+ metadata.gz: 145a343f58f8826bc6f4533dc57106f4d964ceee
4
+ data.tar.gz: 7f9393e5a5e61d65e4841d00c5daa03bd4df6a28
5
5
  SHA512:
6
- metadata.gz: 2387d4702778d509d4090fad10e6c39d214822fff96fadc345b0ef657bbcc69f6d94212ee5bbee90b2786e22ab9aebfad6ebb64b2c01cc83897033a85ebe9b5c
7
- data.tar.gz: 7fa3befeae7c5a14d0bd4b51c97c4f286abace9929fa5532ac566fd09ec636c76cf10c41f20e4f4a07e7f1b410ce45379b75bc8e2ec0b3743f9302081742b151
6
+ metadata.gz: 758077bd498fcd88dbfe45c4ac1b35d00e9476c10f1cf62e91806a86ab7e13994c3bc56ecbd001f72889df937d0a924b06f62c94dcfe0ec477021f98e4aacfd9
7
+ data.tar.gz: a83fe6ad7ac34a3e736efe884578ff36b6973578fbcbe9a741046dcfb8fd5207c0196aed432f4acefdc576a9128d09f56759e56fb4dd37f9b9be8d89386ec296
data/.gitignore CHANGED
@@ -8,4 +8,5 @@ test/dummy/log/*.log
8
8
  test/dummy/tmp/
9
9
  test/dummy/public/assets
10
10
  test/dummy/.sass-cache
11
- *.gem
11
+ *.gem
12
+ gems/
@@ -5,16 +5,13 @@ module MagicStylez
5
5
  module Rails
6
6
  class Engine < ::Rails::Engine
7
7
  initializer "magic-stylez.assets.precompile" do |app|
8
- # app.config.assets.precompile << %r(magic/magicons-regular-webfont\.(?:eot|svg|ttf|woff)$)
9
- # app.config.assets.precompile << %r(magic/orderlifticons-webfont\.(?:eot|svg|ttf|woff)$)
10
8
 
9
+ # compile pictures (this way also from vendor)
11
10
  config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
12
- config.assets.precompile += %w(*.eot *.svg *.ttf *.woff)
13
11
 
12
+ # compile fonts (this way also from vendor)
13
+ config.assets.precompile += %w(*.eot *.svg *.ttf *.woff)
14
14
 
15
- # config.sass.load_paths << stylesheets_path("bourbon")
16
- # config.sass.load_paths << stylesheets_path("bootstrap")
17
- # config.sass.load_paths << javascripts_path("bootstrap")
18
15
  end
19
16
  end
20
17
  end
@@ -1,3 +1,3 @@
1
1
  module MagicStylez
2
- VERSION = "0.0.0.13"
2
+ VERSION = "0.0.0.19"
3
3
  end
@@ -1,3 +1,39 @@
1
+ currentPath = ""
2
+
3
+ loadCircles = ->
4
+ if $('.circle-diagram').length > 1
5
+ window.circles = {}
6
+ count = 0
7
+ $('.circle-diagram').each ->
8
+ window.circles[count] = new CircleDiagram( circle: $(@) )
9
+ count = count + 1
10
+ else if $('.circle-diagram').length > 0
11
+ window.circleDiagram = new CircleDiagram( circle: $('.circle-diagram') )
12
+
13
+
14
+
15
+ navigate = ->
16
+ path = window.location.hash.replace(/#/, "")
17
+ if path != currentPath
18
+ if path != ""
19
+ $("#app_content").html( $(renderView( path )) )
20
+ else
21
+ $("#app_content").html( $(renderView( "app/start" )) )
22
+ lnk = $(".app_lnk[data-target='#{path}']").closest("li")
23
+ nav = lnk.closest(".nav_list")
24
+ nul = lnk.closest("ul")
25
+ nav.find("li.active").removeClass("active")
26
+ nav.find("li.current").removeClass("current")
27
+ if nav == nul
28
+ lnk.addClass("current")
29
+ else
30
+ nul.closest("li").addClass("current")
31
+ lnk.addClass("active")
32
+ loadCircles()
33
+ currentPath = path
34
+
35
+
36
+
1
37
  $ ->
2
38
 
3
39
  $("body").on "click", ".lst_lnk", ->
@@ -21,23 +57,10 @@ $ ->
21
57
  window.location.hash = path
22
58
 
23
59
  # $(window).on 'hashchange', ->
24
- # path = window.location.hash.replace(/#/, "")
25
- # $("#app_content").html( $(renderView( path )) )
60
+ # console.log "hashchange", window.location.pathname
61
+ # navigate()
26
62
 
27
63
  $(window).on 'popstate', ->
28
- console.log "Popstate"
29
- path = window.location.hash.replace(/#/, "")
30
- if path != ""
31
- $("#app_content").html( $(renderView( path )) )
32
- else
33
- $("#app_content").html( $(renderView( "app/start" )) )
34
- lnk = $(".app_lnk[data-target='#{path}']").closest("li")
35
- nav = lnk.closest(".nav_list")
36
- nul = lnk.closest("ul")
37
- nav.find("li.active").removeClass("active")
38
- nav.find("li.current").removeClass("current")
39
- if nav == nul
40
- lnk.addClass("current")
41
- else
42
- nul.closest("li").addClass("current")
43
- lnk.addClass("active")
64
+ console.log "Popstate", window.location.pathname
65
+ navigate()
66
+
@@ -13,5 +13,6 @@
13
13
  //= require jquery
14
14
  //= require_tree ./views
15
15
  //= require magic-stylez
16
+ //= require assets
16
17
  //= require magic/render_eco
17
18
  //= require app
@@ -0,0 +1,29 @@
1
+ <% imgs = {} %>
2
+ <% Dir.glob("#{MagicStylez::Rails::Engine.root}/vendor/assets/images/**/*").each do |ff| %>
3
+ <% img_path = ff.gsub("#{MagicStylez::Rails::Engine.root}/vendor/assets/images/", "") %>
4
+ <% imgs[img_path] = asset_path(img_path) if img_path.match(/\.png$/) || img_path.match(/\.jpg$/) || img_path.match(/\.jpeg$/) || img_path.match(/\.gif$/) %>
5
+ <% end %>
6
+
7
+ appImages = <%= imgs.to_json %>
8
+
9
+ @assetPath = (path) ->
10
+ # "/assets/angular/app/views/#{path}.html"
11
+ appImages["#{path}"]
12
+
13
+
14
+ @rootPath = ->
15
+ # if App.Environment == "production"
16
+ if window.location.hostname == "berlinmagic.github.io"
17
+ return "/magic_stylez/"
18
+ else
19
+ return "/"
20
+
21
+
22
+ @glyphicons = ["asterisk", "plus", "euro", "minus", "cloud", "envelope", "pencil", "glass", "music", "search", "heart", "star", "star-empty", "user", "film", "th-large", "th", "th-list", "ok", "remove", "zoom-in", "zoom-out", "off", "signal", "cog", "trash", "home", "file", "time", "road", "download-alt", "download", "upload", "inbox", "play-circle", "repeat", "refresh", "list-alt", "lock", "flag", "headphones", "volume-off", "volume-down", "volume-up", "qrcode", "barcode", "tag", "tags", "book", "bookmark", "print", "camera", "font", "bold", "italic", "text-height", "text-width", "align-left", "align-center", "align-right", "align-justify", "list", "indent-left", "indent-right", "facetime-video", "picture", "map-marker", "adjust", "tint", "edit", "share", "check", "move", "step-backward", "fast-backward", "backward", "play", "pause", "stop", "forward", "fast-forward", "step-forward", "eject", "chevron-left", "chevron-right", "plus-sign", "minus-sign", "remove-sign", "ok-sign", "question-sign", "info-sign", "screenshot", "remove-circle", "ok-circle", "ban-circle", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "share-alt", "resize-full", "resize-small", "exclamation-sign", "gift", "leaf", "fire", "eye-open", "eye-close", "warning-sign", "plane", "calendar", "random", "comment", "magnet", "chevron-up", "chevron-down", "retweet", "shopping-cart", "folder-close", "folder-open", "resize-vertical", "resize-horizontal", "hdd", "bullhorn", "bell", "certificate", "thumbs-up", "thumbs-down", "hand-right", "hand-left", "hand-up", "hand-down", "circle-arrow-right", "circle-arrow-left", "circle-arrow-up", "circle-arrow-down", "globe", "wrench", "tasks", "filter", "briefcase", "fullscreen", "dashboard", "paperclip", "heart-empty", "link", "phone", "pushpin", "usd", "gbp", "sort", "sort-by-alphabet", "sort-by-alphabet-alt", "sort-by-order", "sort-by-order-alt", "sort-by-attributes", "sort-by-attributes-alt", "unchecked", "expand", "collapse-down", "collapse-up", "log-in", "flash", "log-out", "new-window", "record", "save", "open", "saved", "import", "export", "send", "floppy-disk", "floppy-saved", "floppy-remove", "floppy-save", "floppy-open", "credit-card", "transfer", "cutlery", "header", "compressed", "earphone", "phone-alt", "tower", "stats", "sd-video", "hd-video", "subtitles", "sound-stereo", "sound-dolby", "sound-5-1", "sound-6-1", "sound-7-1", "copyright-mark", "registration-mark", "cloud-download", "cloud-upload", "tree-conifer", "tree-deciduous"]
23
+
24
+ @icomoons = ["home", "home2", "home3", "office", "newspaper", "pencil", "pencil2", "quill", "pen", "blog", "droplet", "paint-format", "image", "image2", "images", "camera", "music", "headphones", "play", "film", "camera2", "dice", "pacman", "spades", "clubs", "diamonds", "pawn", "bullhorn", "connection", "podcast", "feed", "book", "books", "library", "file", "profile", "file2", "file3", "file4", "copy", "copy2", "copy3", "paste", "paste2", "paste3", "stack", "folder", "folder-open", "tag", "tags", "barcode", "qrcode", "ticket", "cart", "cart2", "cart3", "coin", "credit", "calculate", "support", "phone", "phone-hang-up", "address-book", "notebook", "envelope", "pushpin", "location", "location2", "compass", "map", "map2", "history", "clock", "clock2", "alarm", "alarm2", "bell", "stopwatch", "calendar", "calendar2", "print", "keyboard", "screen", "laptop", "mobile", "mobile2", "tablet", "tv", "cabinet", "drawer", "drawer2", "drawer3", "box-add", "box-remove", "download", "upload", "disk", "storage", "undo", "redo", "flip", "flip2", "undo2", "redo2", "forward", "reply", "bubble", "bubbles", "bubbles2", "bubble2", "bubbles3", "bubbles4", "user", "users", "user2", "users2", "user3", "user4", "quotes-left", "busy", "spinner", "spinner2", "spinner3", "spinner4", "spinner5", "spinner6", "binoculars", "search", "zoomin", "zoomout", "expand", "contract", "expand2", "contract2", "key", "key2", "lock", "lock2", "unlocked", "wrench", "settings", "equalizer", "cog", "cogs", "cog2", "hammer", "wand", "aid", "bug", "pie", "stats", "bars", "bars2", "gift", "trophy", "glass", "mug", "food", "leaf", "rocket", "meter", "meter2", "dashboard", "hammer2", "fire", "lab", "magnet", "remove", "remove2", "briefcase", "airplane", "truck", "road", "accessibility", "target", "shield", "lightning", "switch", "powercord", "signup", "list", "list2", "numbered-list", "menu", "menu2", "tree", "cloud", "cloud-download", "cloud-upload", "download2", "upload2", "download3", "upload3", "globe", "earth", "link", "flag", "attachment", "eye", "eye-blocked", "eye2", "bookmark", "bookmarks", "brightness-medium", "brightness-contrast", "contrast", "star", "star2", "star3", "heart", "heart2", "heart-broken", "thumbs-up", "thumbs-up2", "happy", "happy2", "smiley", "smiley2", "tongue", "tongue2", "sad", "sad2", "wink", "wink2", "grin", "grin2", "cool", "cool2", "angry", "angry2", "evil", "evil2", "shocked", "shocked2", "confused", "confused2", "neutral", "neutral2", "wondering", "wondering2", "point-up", "point-right", "point-down", "point-left", "warning", "notification", "question", "info", "info2", "blocked", "cancel-circle", "checkmark-circle", "spam", "close", "checkmark", "checkmark2", "spell-check", "minus", "plus", "enter", "exit", "play2", "pause", "stop", "backward", "forward2", "play3", "pause2", "stop2", "backward2", "forward3", "first", "last", "previous", "next", "eject", "volume-high", "volume-medium", "volume-low", "volume-mute", "volume-mute2", "volume-increase", "volume-decrease", "loop", "loop2", "loop3", "shuffle", "arrow-up-left", "arrow-up", "arrow-up-right", "arrow-right", "arrow-down-right", "arrow-down", "arrow-down-left", "arrow-left", "arrow-up-left2", "arrow-up2", "arrow-up-right2", "arrow-right2", "arrow-down-right2", "arrow-down2", "arrow-down-left2", "arrow-left2", "arrow-up-left3", "arrow-up3", "arrow-up-right3", "arrow-right3", "arrow-down-right3", "arrow-down3", "arrow-down-left3", "arrow-left3", "tab", "checkbox-checked", "checkbox-unchecked", "checkbox-partial", "radio-checked", "radio-unchecked", "crop", "scissors", "filter", "filter2", "font", "text-height", "text-width", "bold", "underline", "italic", "strikethrough", "omega", "sigma", "table", "table2", "insert-template", "pilcrow", "lefttoright", "righttoleft", "paragraph-left", "paragraph-center", "paragraph-right", "paragraph-justify", "paragraph-left2", "paragraph-center2", "paragraph-right2", "paragraph-justify2", "indent-increase", "indent-decrease", "newtab", "embed", "code", "console", "share", "mail", "mail2", "mail3", "mail4", "google", "googleplus", "googleplus2", "googleplus3", "googleplus4", "google-drive", "facebook", "facebook2", "facebook3", "instagram", "twitter", "twitter2", "twitter3", "feed2", "feed3", "feed4", "youtube", "youtube2", "vimeo", "vimeo2", "vimeo3", "lanyrd", "flickr", "flickr2", "flickr3", "flickr4", "picassa", "picassa2", "dribbble", "dribbble2", "dribbble3", "forrst", "forrst2", "deviantart", "deviantart2", "steam", "steam2", "github", "github2", "github3", "github4", "github5", "wordpress", "wordpress2", "joomla", "blogger", "blogger2", "tumblr", "tumblr2", "yahoo", "tux", "apple", "finder", "android", "windows", "windows8", "soundcloud", "soundcloud2", "skype", "reddit", "linkedin", "lastfm", "lastfm2", "delicious", "stumbleupon", "stumbleupon2", "stackoverflow", "pinterest", "pinterest2", "xing", "xing2", "flattr", "foursquare", "foursquare2", "paypal", "paypal2", "paypal3", "yelp", "libreoffice", "file-pdf", "file-openoffice", "file-word", "file-excel", "file-zip", "file-powerpoint", "file-xml", "file-css", "html5", "html52", "css3", "chrome", "firefox", "IE", "opera", "safari", "IcoMoon"]
25
+
26
+ @magicons = ["close-round", "ok-round", "minus-round", "plus-round", "ban-circle", "attention-round", "info-round", "question-round", "arrow-up", "arrow-right", "arrow-down", "arrow-left", "fat-arrow-up", "fat-arrow-right", "fat-arrow-down", "fat-arrow-left", "chevron-round-up", "chevron-round-right", "chevron-round-down", "chevron-round-left", "caret-up", "caret-right", "caret-down", "caret-left", "hand-up", "hand-right", "hand-down", "hand-left", "hand-fuck", "hand-rock-back", "hand-rock", "thumb-up", "thumb-right", "thumb-down", "thumb-left", "handflat-left", "handflat-both", "handflat-right", "heart-round", "heart-empty", "comment", "comment-round", "comment-empty", "comments-round", "comments-empty", "bookmark", "bookmark-empty", "envelope", "envelope-alt", "envelope-open", "envelope-open-alt", "envelope-filled", "envelope-filled-alt", "envelope-inlay-open", "envelope-inlay-open-alt", "envelope-inlay-filled", "envelope-inlay-filled-alt", "tag", "tags", "star-round", "star-empty", "star-half-round", "star-half-empty", "user-male-round", "user-female-round", "user-group-round", "user-group-alt", "user-group-big", "search-round", "zoom-in", "zoom-out", "lock-round", "unlock-round", "wrench-round", "cog-round", "cog-alt", "cogs", "trash-round", "key", "key-alt", "pushpin-round", "map-marker-round", "time-round", "time-alt", "move", "resize-horizontal", "resize-vertical", "retweet", "reload", "random", "refresh", "adjust", "asterisk", "screenshot", "target-round", "volume-one", "volume-two", "volume-three", "sort-round", "sort-round-down", "sort-round-up", "signin", "signout", "sitemap", "signal", "download", "upload", "facebook", "twitter", "github", "github-alt", "pinterest", "linkedin", "google-plus", "flickr", "picasa", "rss", "firefox", "ie", "opera", "chrome", "safari", "phone", "phone-pickup", "phone-hangup", "pencil-round", "pencil-alt", "ballpen", "briefcase", "briefcase-alt", "inbox-round", "dashboard", "folder-close", "folder-open", "folder-alt", "book", "book-marked", "book-marked-alt", "address-book", "address-book-marked", "address-book-marked-alt", "book-open-round", "book-open-alt", "book-open-filled", "tasks", "reorder", "bar-chart-round", "clipboard-tasks", "clipboard-check", "clipboard-tasks-edge", "clipboard-check-edge", "pile-list-marked", "pile-check-marked-edge", "ringbinder-month", "ringbinder-day", "ringbinder-list", "ringbinder-month-edge", "ringbinder-day-edge", "ringbinder-list-edge", "picture-round", "picture-alt", "pictures", "external-link", "share", "edit", "check", "check-empty", "credit-card", "qrcode", "shopping-cart", "shopping-cart-alt", "shopping-cart-in", "shopping-cart-in-alt", "money", "money-euro-round", "money-dollar", "barcode", "barcode-alt", "globe-round", "globe-alt", "home", "truck", "plane", "road", "compass-round", "file", "files", "file-text", "file-alt", "file-edge", "file-black", "cut", "paste", "save", "paper-clip", "link", "link-alt", "undo", "repeat", "undo-alt", "repeat-alt", "text-height", "text-width", "align-left", "align-center", "align-right", "align-justify", "indent-left", "indent-right", "font", "bold", "italic", "strikethrough", "underline", "columns", "table", "th-large", "th", "th-list", "list-round", "list-ol", "list-ul", "list-alt", "staple", "staple-alt", "music", "power-round", "facetime-video", "film", "bullhorn", "camera-round", "camera-retro", "print-round", "print-alt", "hdd", "headphones", "play", "play-circle", "pause", "stop", "backward", "forward", "fast-backward", "fast-forward", "step-backward", "step-forward", "eject", "fullscreen", "resize-full", "resize-small", "trophy", "umbrella-round", "gift", "flag", "flag-alt", "certificate", "glass", "tint", "tints", "leaf", "legal", "cloud", "beaker", "lemon", "magic", "magic-alt", "bolt", "bolt-alt", "magnet", "thermometer", "bell", "filter", "hammer", "plug-round", "shirt", "steering-wheel", "triangle", "hands-up", "clock", "chart", "chart-open", "vitro", "vitro-bubble", "vitro-bubbles", "moon-round", "moon-empty", "moon-full", "sun-round", "sun-alt", "micro-round", "equalizer-round", "knots", "crop", "lectern", "html", "graph", "graph-alt", "transmit", "graduation-hat", "star-alt-round", "cog-more", "close-sign-round", "ok-sign-round", "plus-sign-round", "minus-sign-round", "attention-sign-round", "question-sign-round", "info-sign-round", "caret-up-sign", "caret-right-sign", "caret-down-sign", "caret-left-sign", "edit-sign", "user-minus", "user-plus", "user-unknown", "user-ok", "hand-high5", "hand-high5-back", "hand-shake", "hand-card", "compass", "globe", "inbox-empty", "inbox", "task-list", "user", "mail-empty", "mail", "cog", "chevron-cut-right", "chevron-cut-down", "chevron-cut-left", "chevron-up", "chevron-right", "chevron-down", "chevron-left", "lock", "unlock", "search", "visible", "unvisible", "pencil", "trash", "sort-down", "sort-up", "sort", "plus-sign", "minus-sign","ok-sign","close-sign","question-sign","info-sign","attention-sign","plus","minus","ok","close","question","info","attention","work", "private","picture","pushpin","heart","map-marker","user-group","time","star-alt","book-open","calendar", "calendar-invert", "target","umbrella","equalizer","list","star","star-half","money-euro","tag-alt", "print","message", "comment","comments","camera","description", "bar-chart","wrench","user-male","user-female","user-male-alt", "user-female-alt", "company", "sun","moon","inside", "outside", "wlan", "beamer", "micro","plug","internet", "power","wheelchair", "smoking-sign", "smoking", "no-smoking", "parking-sign", "parking-meter", "elevator", "toilette", "coffee", "water", "pizza", "burger", "softdrink", "fastfood", "catering", "wine", "plates", "kitchen", "layout-round-table", "layout-classroom", "layout-banquet", "layout-theater", "layout-u-table", "layout-workspace"]
27
+
28
+ @olicons = ["market", "projects-empty", "projects-full", "tasks-empty", "tasks-full", "settings", "overview", "contacts", "message-empty", "message-full", "basket-empty", "basket-full", "bell", "notify", "about-me", "portfolio", "portfolio-alt", "general-informations", "contact-data", "career", "skills", "view-list", "view-tile", "view-cards", "view-map", "state-active", "state-inactive", "edit", "view-map-2", "search", "zoom-in", "zoom-out", "comment", "share", "like", "lock", "lock-open", "chevron-up", "chevron-right", "chevron-down", "chevron-left", "chevron-2-up", "chevron-2-right", "chevron-2-down", "chevron-2-left", "plus", "minus", "ok", "close", "plus-sign", "minus-sign", "ok-sign", "close-sign", "show-sb", "hide-sb", "filter", "preview", "hide-filter", "female", "male", "sex", "sort-down", "sort-up", "sort", "product", "object", "question-answer", "secure", "analytics", "inquiry", "orders", "environmentally-friendly", "waterproof", "delivery", "bright", "dark", "indoor", "outdoor", "accessible", "smoker", "non-smoker", "parking", "parking-meter", "elevator", "max-people", "wlan", "beamer", "microphone", "sockets", "internet", "electricity", "coffee", "water", "pizza", "burger", "drinks", "fast-food", "waiter", "wine", "dishes", "stove", "conference", "classroom", "banquet", "theatre", "u-shape", "workspace", "men", "woman", "company", "store", "bar", "restaurant", "men-investor", "men-work", "men-business", "men-normal", "men-business2", "men-dev", "men-html", "plus-contact", "plus-picture", "plus-company", "plus-company-contact", "ruby", "html5", "facebook", "facebook-block", "google", "google-block", "google-cut", "google-cut-block", "twitter", "twitter-block", "linkedin", "linkedin-block", "xing", "xing-block", "qr-code", "barcode", "cash", "gift", "auge", "inventar", "analytics-alt", "settings-alt", "slidebar", "info-circle", "product-circle", "pos-circle", "user", "calendar", "glass", "trash", "resize", "product-alt", "circle-plus", "circle-times", "circle-minus", "circle-ok", "auge-alt", "inventar-alt", "analytics-alt", "euro-circle", "reports", "tasks", "vcard", "catalog", "flyer", "euro"]
29
+
@@ -0,0 +1,14 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require jquery
14
+ //= require magic-min
@@ -1,6 +1,16 @@
1
1
  <div class="section head">
2
2
  <div class="corset">
3
- <h1>magic-stylez</h1>
3
+ <div class="row">
4
+ <div class="col-sm-9">
5
+ <h1>magic-stylez</h1>
6
+ </div>
7
+ <div class="col-sm-3">
8
+ <a href="https://github.com/berlinmagic/magic_stylez/tree/master" target="_blank" class="btn btn-sm btn-default btn-divided pull-right">
9
+ <span class="icn"><i class="icomoon-github3"></i></span>
10
+ <span>SourceCode</span>
11
+ </a>
12
+ </div>
13
+ </div>
4
14
  </div>
5
15
  </div>
6
16
 
@@ -23,7 +33,7 @@
23
33
  <div class="section compact hard-top">
24
34
  <div class="corset">
25
35
  <h3>Dependencies</h3>
26
- <ul>
36
+ <ul class="list">
27
37
  <li><a href="https://github.com/twbs/bootstrap-sass" target="_blank">bootstrap-sass</a></li>
28
38
  <li><a href="http://bourbon.io/" target="_blank">bourbon</a></li>
29
39
  </ul>
@@ -45,7 +55,7 @@
45
55
  <div class="section compact">
46
56
  <div class="corset">
47
57
  <h3>Authors</h3>
48
- <ul>
58
+ <ul class="list">
49
59
  <li><a href="http://twetzel.github.io/" target="_blank">Torsten Wetzel</a></li>
50
60
  <li>many others ...</li>
51
61
  </ul>
@@ -12,10 +12,10 @@
12
12
 
13
13
 
14
14
  <div class="box">
15
- <div class="head">
15
+ <div class="header">
16
16
  <a name="all">All Samples</a>
17
17
  </div>
18
- <div class="inner">
18
+ <div class="body onTop">
19
19
 
20
20
 
21
21
 
@@ -124,10 +124,10 @@
124
124
 
125
125
  <div class="box">
126
126
 
127
- <div class="head">
127
+ <div class="header">
128
128
  <a name="raised_shadow">Raised Shadow</a>
129
129
  </div>
130
- <div class="context" style="position: relative; z-index: 1">
130
+ <div class="body" style="position: relative; z-index: 1">
131
131
 
132
132
 
133
133
 
@@ -254,10 +254,10 @@
254
254
 
255
255
  <div class="box">
256
256
 
257
- <div class="head">
257
+ <div class="header">
258
258
  <a name="lifted_shadow">Lifted Shadow</a>
259
259
  </div>
260
- <div class="context" style="position: relative; z-index: 1">
260
+ <div class="body" style="position: relative; z-index: 1">
261
261
 
262
262
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
263
263
 
@@ -384,10 +384,10 @@
384
384
 
385
385
  <div class="box">
386
386
 
387
- <div class="head">
387
+ <div class="header">
388
388
  <a name="vertical_curves">Vertical Curves</a>
389
389
  </div>
390
- <div class="context" style="position: relative; z-index: 1">
390
+ <div class="body" style="position: relative; z-index: 1">
391
391
 
392
392
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
393
393
 
@@ -514,10 +514,10 @@
514
514
 
515
515
  <div class="box">
516
516
 
517
- <div class="head">
517
+ <div class="header">
518
518
  <a name="horizontal_curves">Horizontal Curves</a>
519
519
  </div>
520
- <div class="context" style="position: relative; z-index: 1">
520
+ <div class="body" style="position: relative; z-index: 1">
521
521
 
522
522
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
523
523
 
@@ -644,10 +644,10 @@
644
644
 
645
645
  <div class="box">
646
646
 
647
- <div class="head">
647
+ <div class="header">
648
648
  <a name="vertical_shine">Vertical Shine</a>
649
649
  </div>
650
- <div class="context" style="position: relative; z-index: 1">
650
+ <div class="body" style="position: relative; z-index: 1">
651
651
 
652
652
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
653
653
 
@@ -767,10 +767,10 @@
767
767
 
768
768
  <div class="box">
769
769
 
770
- <div class="head">
770
+ <div class="header">
771
771
  <a name="horizontal_shine">Horizontal Shine</a>
772
772
  </div>
773
- <div class="context" style="position: relative; z-index: 1">
773
+ <div class="body" style="position: relative; z-index: 1">
774
774
 
775
775
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
776
776
 
@@ -890,10 +890,10 @@
890
890
 
891
891
  <div class="box">
892
892
 
893
- <div class="head">
893
+ <div class="header">
894
894
  <a name="single_curve">Single Curve</a>
895
895
  </div>
896
- <div class="context" style="position: relative; z-index: 1">
896
+ <div class="body" style="position: relative; z-index: 1">
897
897
 
898
898
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
899
899
 
@@ -1027,10 +1027,10 @@
1027
1027
 
1028
1028
  <div class="box">
1029
1029
 
1030
- <div class="head">
1030
+ <div class="header">
1031
1031
  <a name="single_shine">Single Shine</a>
1032
1032
  </div>
1033
- <div class="context" style="position: relative; z-index: 1">
1033
+ <div class="body" style="position: relative; z-index: 1">
1034
1034
 
1035
1035
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
1036
1036
 
@@ -1164,10 +1164,10 @@
1164
1164
 
1165
1165
  <div class="box">
1166
1166
 
1167
- <div class="head">
1167
+ <div class="header">
1168
1168
  <a name="paper_shadow">Paper Shadow</a>
1169
1169
  </div>
1170
- <div class="context" style="position: relative; z-index: 1">
1170
+ <div class="body" style="position: relative; z-index: 1">
1171
1171
 
1172
1172
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
1173
1173
 
@@ -1267,10 +1267,10 @@
1267
1267
 
1268
1268
  <div class="box">
1269
1269
 
1270
- <div class="head">
1270
+ <div class="header">
1271
1271
  <a name="pseudo_raised_shadow">Pseudo Raised Shadow</a>
1272
1272
  </div>
1273
- <div class="context" style="position: relative; z-index: 1">
1273
+ <div class="body" style="position: relative; z-index: 1">
1274
1274
 
1275
1275
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
1276
1276
 
@@ -1411,10 +1411,10 @@
1411
1411
 
1412
1412
  <div class="box">
1413
1413
 
1414
- <div class="head">
1414
+ <div class="header">
1415
1415
  <a name="perspective_shadow">Perspective Shadow</a>
1416
1416
  </div>
1417
- <div class="context" style="position: relative; z-index: 1">
1417
+ <div class="body" style="position: relative; z-index: 1">
1418
1418
 
1419
1419
  <p class="warning">! <strong>Wrapper needs:</strong> "position: relative; z-index: 1" !</p>
1420
1420
 
@@ -0,0 +1,131 @@
1
+ <div class="section head">
2
+ <div class="corset">
3
+ <h1>Splited and divided Buttons</h1>
4
+ </div>
5
+ </div>
6
+
7
+
8
+
9
+ <div class="section">
10
+ <div class="corset tight">
11
+
12
+
13
+ <div class="btn btn-success btn-lg btn-block btn-splited press">
14
+ <div class="text">
15
+ .btn-splited
16
+ </div>
17
+ <div class="icn">
18
+ <i class="magicons-caret-right"></i>
19
+ </div>
20
+ </div>
21
+
22
+ <div class="btn btn-default btn-lg btn-block btn-splited half press">
23
+ <div class="icn">
24
+ <i class="icomoon-globe"></i>
25
+ </div>
26
+ <div class="text">
27
+ .btn-splited.half
28
+ </div>
29
+ </div>
30
+
31
+ <div class="btn btn-primary btn-lg btn-block btn-divided press">
32
+ <div class="icn">
33
+ <i class="icomoon-globe"></i>
34
+ </div>
35
+ <div class="text">
36
+ .btn-divided
37
+ </div>
38
+ </div>
39
+
40
+ <div class="btn btn-warning btn-block btn-divided half press">
41
+ <div class="icn">
42
+ <i class="icomoon-globe"></i>
43
+ </div>
44
+ <div class="text">
45
+ .btn-divided.half
46
+ </div>
47
+ </div>
48
+
49
+ <div class="btn btn-danger btn-sm btn-divided press">
50
+ <div class="icn">
51
+ <i class="icomoon-rocket"></i>
52
+ </div>
53
+ <div class="text">
54
+ .btn-divided
55
+ </div>
56
+ <div class="icn">
57
+ <i class="icomoon-rocket"></i>
58
+ </div>
59
+ </div>
60
+
61
+ <div class="btn btn-danger btn-xs btn-divided press">
62
+ <div class="icn">
63
+ <i class="icomoon-rocket"></i>
64
+ </div>
65
+ <div class="text">
66
+ .btn-divided
67
+ </div>
68
+ <div class="icn">
69
+ <i class="icomoon-rocket"></i>
70
+ </div>
71
+ </div>
72
+
73
+ </div>
74
+ </div>
75
+
76
+
77
+ <div class="section head">
78
+ <div class="corset">
79
+ <h1>Social Buttons</h1>
80
+ </div>
81
+ </div>
82
+
83
+ <div class="section">
84
+ <div class="corset">
85
+ <div class="row">
86
+ <div class="col-md-6">
87
+ <h4 class="center_text">Flat</h4>
88
+ <hr/>
89
+ <% buttons = ["facebook", "google", "paypal", "twitter"]%>
90
+ <% for btn, i in buttons: %>
91
+ <div class="btn btn-<%= btn %> btn-lg btn-divided press">
92
+ <div class="icn">
93
+ <i class="icomoon-<%= if btn == "google" then "googleplus" else btn %>"></i>
94
+ </div>
95
+ <div class="text">
96
+ .btn-<%= btn %>
97
+ </div>
98
+ </div>
99
+ <% end%>
100
+ </div>
101
+ <div class="col-md-6">
102
+ <h4 class="center_text">Nice</h4>
103
+ <hr/>
104
+ <% buttons = ["facebook", "google", "paypal", "twitter"]%>
105
+ <% for btn, i in buttons: %>
106
+ <div class="btn btn-<%= btn %>-nice btn-lg btn-divided press">
107
+ <div class="icn">
108
+ <i class="icomoon-<%= if btn == "google" then "googleplus" else btn %>"></i>
109
+ </div>
110
+ <div class="text">
111
+ .btn-<%= btn %>-nice
112
+ </div>
113
+ </div>
114
+ <% end%>
115
+ </div>
116
+ </div>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="section shine-top">
121
+ <div class="corset">
122
+ <p class="loud">splited and divided buttons are nice little helper for buttons that contain an icon</p>
123
+ <p class="loud"><strong>Be carefull! .btn-splited & .btn-divided are always block elements.</strong></p>
124
+ <pre>
125
+ <code>
126
+ &lt;div class=&quot;btn btn-success btn-lg btn-splited&quot;&gt;<br/> &lt;span&gt;.btn-splited&lt;/span&gt;<br/> &lt;span class=&quot;icn&quot;&gt;<br/> &lt;i class=&quot;magicons-caret-right&quot;&gt;&lt;/i&gt;<br/> &lt;/span&gt;<br/> &lt;/div&gt;<br/> <br/> <br/> &lt;div class=&quot;btn btn-primary btn-lg btn-divided&quot;&gt;<br/> &lt;div class=&quot;icn&quot;&gt;<br/> &lt;i class=&quot;icomoon-globe&quot;&gt;&lt;/i&gt;<br/> &lt;/div&gt;<br/> &lt;div&gt;<br/> .btn-divided<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/>
127
+ </code>
128
+ </pre>
129
+ <p class="loud">tag of inner element doesn't matter just the element conaining the icon need class <strong>.icn</strong></p>
130
+ </div>
131
+ </div>