milksteak 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -14
- data/.rspec +2 -0
- data/Gemfile +1 -1
- data/Guardfile +8 -0
- data/Rakefile +0 -1
- data/Readme.md +37 -0
- data/lib/helpers.rb +0 -0
- data/lib/milksteak/cms.rb +17 -0
- data/lib/milksteak/version.rb +1 -1
- data/lib/milksteak.rb +52 -1
- data/lib/models/page.rb +73 -0
- data/lib/models/user.rb +5 -0
- data/lib/public/milksteak/codemirror2/keymap/emacs.js +29 -0
- data/lib/public/milksteak/codemirror2/keymap/vim.js +347 -0
- data/lib/public/milksteak/codemirror2/lib/codemirror.css +110 -0
- data/lib/public/milksteak/codemirror2/lib/codemirror.js +2887 -0
- data/lib/public/milksteak/codemirror2/lib/util/dialog.css +23 -0
- data/lib/public/milksteak/codemirror2/lib/util/dialog.js +63 -0
- data/lib/public/milksteak/codemirror2/lib/util/foldcode.js +186 -0
- data/lib/public/milksteak/codemirror2/lib/util/formatting.js +294 -0
- data/lib/public/milksteak/codemirror2/lib/util/javascript-hint.js +132 -0
- data/lib/public/milksteak/codemirror2/lib/util/match-highlighter.js +44 -0
- data/lib/public/milksteak/codemirror2/lib/util/overlay.js +51 -0
- data/lib/public/milksteak/codemirror2/lib/util/runmode.js +49 -0
- data/lib/public/milksteak/codemirror2/lib/util/search.js +114 -0
- data/lib/public/milksteak/codemirror2/lib/util/searchcursor.js +117 -0
- data/lib/public/milksteak/codemirror2/lib/util/simple-hint.css +16 -0
- data/lib/public/milksteak/codemirror2/lib/util/simple-hint.js +66 -0
- data/lib/public/milksteak/codemirror2/mode/clike/clike.js +234 -0
- data/lib/public/milksteak/codemirror2/mode/clike/index.html +101 -0
- data/lib/public/milksteak/codemirror2/mode/clojure/clojure.js +207 -0
- data/lib/public/milksteak/codemirror2/mode/clojure/index.html +66 -0
- data/lib/public/milksteak/codemirror2/mode/coffeescript/LICENSE +22 -0
- data/lib/public/milksteak/codemirror2/mode/coffeescript/coffeescript.js +341 -0
- data/lib/public/milksteak/codemirror2/mode/coffeescript/index.html +721 -0
- data/lib/public/milksteak/codemirror2/mode/css/css.js +124 -0
- data/lib/public/milksteak/codemirror2/mode/css/index.html +55 -0
- data/lib/public/milksteak/codemirror2/mode/diff/diff.css +3 -0
- data/lib/public/milksteak/codemirror2/mode/diff/diff.js +13 -0
- data/lib/public/milksteak/codemirror2/mode/diff/index.html +99 -0
- data/lib/public/milksteak/codemirror2/mode/ecl/ecl.js +203 -0
- data/lib/public/milksteak/codemirror2/mode/ecl/index.html +42 -0
- data/lib/public/milksteak/codemirror2/mode/gfm/gfm.js +108 -0
- data/lib/public/milksteak/codemirror2/mode/gfm/index.html +47 -0
- data/lib/public/milksteak/codemirror2/mode/go/go.js +170 -0
- data/lib/public/milksteak/codemirror2/mode/go/index.html +72 -0
- data/lib/public/milksteak/codemirror2/mode/groovy/groovy.js +210 -0
- data/lib/public/milksteak/codemirror2/mode/groovy/index.html +71 -0
- data/lib/public/milksteak/codemirror2/mode/haskell/haskell.js +242 -0
- data/lib/public/milksteak/codemirror2/mode/haskell/index.html +60 -0
- data/lib/public/milksteak/codemirror2/mode/htmlembedded/htmlembedded.js +68 -0
- data/lib/public/milksteak/codemirror2/mode/htmlembedded/index.html +49 -0
- data/lib/public/milksteak/codemirror2/mode/htmlmixed/htmlmixed.js +83 -0
- data/lib/public/milksteak/codemirror2/mode/htmlmixed/index.html +51 -0
- data/lib/public/milksteak/codemirror2/mode/javascript/index.html +77 -0
- data/lib/public/milksteak/codemirror2/mode/javascript/javascript.js +360 -0
- data/lib/public/milksteak/codemirror2/mode/jinja2/index.html +37 -0
- data/lib/public/milksteak/codemirror2/mode/jinja2/jinja2.js +42 -0
- data/lib/public/milksteak/codemirror2/mode/less/index.html +577 -0
- data/lib/public/milksteak/codemirror2/mode/less/less.js +186 -0
- data/lib/public/milksteak/codemirror2/mode/lua/index.html +72 -0
- data/lib/public/milksteak/codemirror2/mode/lua/lua.js +140 -0
- data/lib/public/milksteak/codemirror2/mode/markdown/index.html +339 -0
- data/lib/public/milksteak/codemirror2/mode/markdown/markdown.js +276 -0
- data/lib/public/milksteak/codemirror2/mode/mysql/index.html +41 -0
- data/lib/public/milksteak/codemirror2/mode/mysql/mysql.js +188 -0
- data/lib/public/milksteak/codemirror2/mode/ntriples/index.html +32 -0
- data/lib/public/milksteak/codemirror2/mode/ntriples/ntriples.js +172 -0
- data/lib/public/milksteak/codemirror2/mode/pascal/LICENSE +7 -0
- data/lib/public/milksteak/codemirror2/mode/pascal/index.html +48 -0
- data/lib/public/milksteak/codemirror2/mode/pascal/pascal.js +94 -0
- data/lib/public/milksteak/codemirror2/mode/perl/LICENSE +19 -0
- data/lib/public/milksteak/codemirror2/mode/perl/index.html +62 -0
- data/lib/public/milksteak/codemirror2/mode/perl/perl.js +816 -0
- data/lib/public/milksteak/codemirror2/mode/php/index.html +48 -0
- data/lib/public/milksteak/codemirror2/mode/php/php.js +150 -0
- data/lib/public/milksteak/codemirror2/mode/plsql/index.html +62 -0
- data/lib/public/milksteak/codemirror2/mode/plsql/plsql.js +217 -0
- data/lib/public/milksteak/codemirror2/mode/properties/index.html +40 -0
- data/lib/public/milksteak/codemirror2/mode/properties/properties.css +3 -0
- data/lib/public/milksteak/codemirror2/mode/properties/properties.js +57 -0
- data/lib/public/milksteak/codemirror2/mode/python/LICENSE.txt +21 -0
- data/lib/public/milksteak/codemirror2/mode/python/index.html +122 -0
- data/lib/public/milksteak/codemirror2/mode/python/python.js +340 -0
- data/lib/public/milksteak/codemirror2/mode/r/LICENSE +24 -0
- data/lib/public/milksteak/codemirror2/mode/r/index.html +73 -0
- data/lib/public/milksteak/codemirror2/mode/r/r.js +141 -0
- data/lib/public/milksteak/codemirror2/mode/rpm/changes/changes.js +19 -0
- data/lib/public/milksteak/codemirror2/mode/rpm/changes/index.html +53 -0
- data/lib/public/milksteak/codemirror2/mode/rpm/spec/index.html +99 -0
- data/lib/public/milksteak/codemirror2/mode/rpm/spec/spec.css +5 -0
- data/lib/public/milksteak/codemirror2/mode/rpm/spec/spec.js +66 -0
- data/lib/public/milksteak/codemirror2/mode/rst/index.html +525 -0
- data/lib/public/milksteak/codemirror2/mode/rst/rst.js +326 -0
- data/lib/public/milksteak/codemirror2/mode/ruby/LICENSE +24 -0
- data/lib/public/milksteak/codemirror2/mode/ruby/index.html +171 -0
- data/lib/public/milksteak/codemirror2/mode/ruby/ruby.js +200 -0
- data/lib/public/milksteak/codemirror2/mode/rust/index.html +48 -0
- data/lib/public/milksteak/codemirror2/mode/rust/rust.js +432 -0
- data/lib/public/milksteak/codemirror2/mode/scheme/index.html +64 -0
- data/lib/public/milksteak/codemirror2/mode/scheme/scheme.js +202 -0
- data/lib/public/milksteak/codemirror2/mode/smalltalk/index.html +55 -0
- data/lib/public/milksteak/codemirror2/mode/smalltalk/smalltalk.js +139 -0
- data/lib/public/milksteak/codemirror2/mode/sparql/index.html +40 -0
- data/lib/public/milksteak/codemirror2/mode/sparql/sparql.js +143 -0
- data/lib/public/milksteak/codemirror2/mode/stex/index.html +95 -0
- data/lib/public/milksteak/codemirror2/mode/stex/stex.js +167 -0
- data/lib/public/milksteak/codemirror2/mode/tiddlywiki/index.html +183 -0
- data/lib/public/milksteak/codemirror2/mode/tiddlywiki/tiddlywiki.css +21 -0
- data/lib/public/milksteak/codemirror2/mode/tiddlywiki/tiddlywiki.js +374 -0
- data/lib/public/milksteak/codemirror2/mode/velocity/index.html +103 -0
- data/lib/public/milksteak/codemirror2/mode/velocity/velocity.js +146 -0
- data/lib/public/milksteak/codemirror2/mode/verilog/index.html +210 -0
- data/lib/public/milksteak/codemirror2/mode/verilog/verilog.js +194 -0
- data/lib/public/milksteak/codemirror2/mode/xml/index.html +45 -0
- data/lib/public/milksteak/codemirror2/mode/xml/xml.js +267 -0
- data/lib/public/milksteak/codemirror2/mode/xmlpure/index.html +59 -0
- data/lib/public/milksteak/codemirror2/mode/xmlpure/xmlpure.js +490 -0
- data/lib/public/milksteak/codemirror2/mode/yaml/index.html +67 -0
- data/lib/public/milksteak/codemirror2/mode/yaml/yaml.js +95 -0
- data/lib/public/milksteak/codemirror2/theme/cobalt.css +18 -0
- data/lib/public/milksteak/codemirror2/theme/eclipse.css +25 -0
- data/lib/public/milksteak/codemirror2/theme/elegant.css +10 -0
- data/lib/public/milksteak/codemirror2/theme/monokai.css +28 -0
- data/lib/public/milksteak/codemirror2/theme/neat.css +9 -0
- data/lib/public/milksteak/codemirror2/theme/night.css +21 -0
- data/lib/public/milksteak/codemirror2/theme/rubyblue.css +21 -0
- data/lib/public/milksteak/css/bootstrap-responsive.css +567 -0
- data/lib/public/milksteak/css/bootstrap-responsive.min.css +3 -0
- data/lib/public/milksteak/css/bootstrap.css +3365 -0
- data/lib/public/milksteak/css/bootstrap.min.css +610 -0
- data/lib/public/milksteak/css/calendrical.css +69 -0
- data/lib/public/milksteak/css/prettify.css +52 -0
- data/lib/public/milksteak/css/style.css +8 -0
- data/lib/public/milksteak/img/glyphicons-halflings-white.png +0 -0
- data/lib/public/milksteak/img/glyphicons-halflings.png +0 -0
- data/lib/public/milksteak/img/spinner.gif +0 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.asp +44 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.aspx +31 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.cf +19 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.jsp +49 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.php +43 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.pl +102 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.py +25 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree.rb +61 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree_huck.lasso +36 -0
- data/lib/public/milksteak/jqueryFileTree/connectors/jqueryFileTree_sabourdin.lasso +48 -0
- data/lib/public/milksteak/jqueryFileTree/images/application.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/code.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/css.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/db.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/directory.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/doc.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/file.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/film.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/flash.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/folder_open.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/html.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/java.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/linux.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/music.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/pdf.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/php.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/picture.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/ppt.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/psd.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/ruby.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/script.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/spinner.gif +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/txt.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/xls.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/images/zip.png +0 -0
- data/lib/public/milksteak/jqueryFileTree/jqueryFileTree.css +91 -0
- data/lib/public/milksteak/jqueryFileTree/jqueryFileTree.js +95 -0
- data/lib/public/milksteak/js/app.js +0 -0
- data/lib/public/milksteak/js/backbone.js +1290 -0
- data/lib/public/milksteak/js/bootstrap-alert.js +91 -0
- data/lib/public/milksteak/js/bootstrap-button.js +98 -0
- data/lib/public/milksteak/js/bootstrap-carousel.js +154 -0
- data/lib/public/milksteak/js/bootstrap-collapse.js +136 -0
- data/lib/public/milksteak/js/bootstrap-dropdown.js +92 -0
- data/lib/public/milksteak/js/bootstrap-modal.js +209 -0
- data/lib/public/milksteak/js/bootstrap-popover.js +95 -0
- data/lib/public/milksteak/js/bootstrap-scrollspy.js +125 -0
- data/lib/public/milksteak/js/bootstrap-tab.js +130 -0
- data/lib/public/milksteak/js/bootstrap-tooltip.js +270 -0
- data/lib/public/milksteak/js/bootstrap-transition.js +51 -0
- data/lib/public/milksteak/js/bootstrap-typeahead.js +271 -0
- data/lib/public/milksteak/js/bootstrap.js +1722 -0
- data/lib/public/milksteak/js/bootstrap.min.js +1 -0
- data/lib/public/milksteak/js/jquery-ui.min.js +15 -0
- data/lib/public/milksteak/js/jquery.calendrical.js +490 -0
- data/lib/public/milksteak/js/jquery.easing.js +146 -0
- data/lib/public/milksteak/js/jquery.js +9252 -0
- data/lib/public/milksteak/js/mustache.js +536 -0
- data/lib/public/milksteak/js/prettify.js +28 -0
- data/lib/public/milksteak/js/underscore.js +999 -0
- data/lib/public/milksteak/markitup/.DS_Store +0 -0
- data/lib/public/milksteak/markitup/jquery.markitup.js +593 -0
- data/lib/public/milksteak/markitup/sets/default/images/bold.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/clean.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/image.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/italic.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/link.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/list-bullet.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/list-numeric.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/picture.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/preview.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/images/stroke.png +0 -0
- data/lib/public/milksteak/markitup/sets/default/set.js +30 -0
- data/lib/public/milksteak/markitup/sets/default/style.css +34 -0
- data/lib/public/milksteak/markitup/sets/textile/images/bold.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/code.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/h1.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/h2.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/h3.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/h4.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/h5.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/h6.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/italic.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/link.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/list-bullet.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/list-numeric.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/paragraph.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/picture.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/preview.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/quotes.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/images/stroke.png +0 -0
- data/lib/public/milksteak/markitup/sets/textile/set.js +33 -0
- data/lib/public/milksteak/markitup/sets/textile/style.css +60 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-container.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-html.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-json.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/bg-editor.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/handle.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/menu.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/images/submenu.png +0 -0
- data/lib/public/milksteak/markitup/skins/markitup/style.css +147 -0
- data/lib/public/milksteak/markitup/skins/simple/images/handle.png +0 -0
- data/lib/public/milksteak/markitup/skins/simple/images/menu.png +0 -0
- data/lib/public/milksteak/markitup/skins/simple/images/submenu.png +0 -0
- data/lib/public/milksteak/markitup/skins/simple/style.css +118 -0
- data/lib/public/milksteak/markitup/templates/preview.css +5 -0
- data/lib/public/milksteak/markitup/templates/preview.html +11 -0
- data/lib/public/milksteak/uploadify-v2.1.4/cancel.png +0 -0
- data/lib/public/milksteak/uploadify-v2.1.4/check.php +35 -0
- data/lib/public/milksteak/uploadify-v2.1.4/expressInstall.swf +0 -0
- data/lib/public/milksteak/uploadify-v2.1.4/jquery-1.4.2.min.js +154 -0
- data/lib/public/milksteak/uploadify-v2.1.4/jquery.uploadify.v2.1.4.js +296 -0
- data/lib/public/milksteak/uploadify-v2.1.4/jquery.uploadify.v2.1.4.min.js +26 -0
- data/lib/public/milksteak/uploadify-v2.1.4/swfobject.js +4 -0
- data/lib/public/milksteak/uploadify-v2.1.4/uploadify.allglyphs.swf +0 -0
- data/lib/public/milksteak/uploadify-v2.1.4/uploadify.css +53 -0
- data/lib/public/milksteak/uploadify-v2.1.4/uploadify.fla +0 -0
- data/lib/public/milksteak/uploadify-v2.1.4/uploadify.php +46 -0
- data/lib/public/milksteak/uploadify-v2.1.4/uploadify.swf +0 -0
- data/lib/public/milksteak/wmd/Markdown.Converter.js +1332 -0
- data/lib/public/milksteak/wmd/Markdown.Editor.js +2160 -0
- data/lib/public/milksteak/wmd/Markdown.Sanitizer.js +108 -0
- data/lib/public/milksteak/wmd/wmd-buttons.png +0 -0
- data/lib/public/milksteak/wmd/wmd.css +103 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-blockquote.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-h1.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-h2.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-h3.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-h4.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-h5.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-h6.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-p.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/lbl-pre.png +0 -0
- data/lib/public/milksteak/wymeditor/iframe/default/wymiframe.css +90 -0
- data/lib/public/milksteak/wymeditor/iframe/default/wymiframe.html +26 -0
- data/lib/public/milksteak/wymeditor/jquery.wymeditor.js +4688 -0
- data/lib/public/milksteak/wymeditor/jquery.wymeditor.min.js +1 -0
- data/lib/public/milksteak/wymeditor/jquery.wymeditor.pack.js +1 -0
- data/lib/public/milksteak/wymeditor/lang/bg.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/ca.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/cs.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/cy.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/de.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/en.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/es.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/fa.js +46 -0
- data/lib/public/milksteak/wymeditor/lang/fi.js +44 -0
- data/lib/public/milksteak/wymeditor/lang/fr.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/gl.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/he.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/hr.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/hu.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/it.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/nb.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/nl.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/nn.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/pl.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/pt-br.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/pt.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/ru.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/sv.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/tr.js +45 -0
- data/lib/public/milksteak/wymeditor/lang/zh_cn.js +47 -0
- data/lib/public/milksteak/wymeditor/plugins/embed/jquery.wymeditor.embed.js +52 -0
- data/lib/public/milksteak/wymeditor/plugins/fullscreen/icon_fullscreen.gif +0 -0
- data/lib/public/milksteak/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js +127 -0
- data/lib/public/milksteak/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js +57 -0
- data/lib/public/milksteak/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js +91 -0
- data/lib/public/milksteak/wymeditor/plugins/resizable/readme.txt +124 -0
- data/lib/public/milksteak/wymeditor/plugins/tidy/README +19 -0
- data/lib/public/milksteak/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js +82 -0
- data/lib/public/milksteak/wymeditor/plugins/tidy/tidy.php +36 -0
- data/lib/public/milksteak/wymeditor/plugins/tidy/wand.png +0 -0
- data/lib/public/milksteak/wymeditor/skins/compact/icons.png +0 -0
- data/lib/public/milksteak/wymeditor/skins/compact/skin.css +134 -0
- data/lib/public/milksteak/wymeditor/skins/compact/skin.js +35 -0
- data/lib/public/milksteak/wymeditor/skins/default/icons.png +0 -0
- data/lib/public/milksteak/wymeditor/skins/default/skin.css +133 -0
- data/lib/public/milksteak/wymeditor/skins/default/skin.js +40 -0
- data/lib/public/milksteak/wymeditor/skins/minimal/images/bg.header.gif +0 -0
- data/lib/public/milksteak/wymeditor/skins/minimal/images/bg.selector.silver.gif +0 -0
- data/lib/public/milksteak/wymeditor/skins/minimal/images/bg.wymeditor.png +0 -0
- data/lib/public/milksteak/wymeditor/skins/minimal/images/icons.silver.gif +0 -0
- data/lib/public/milksteak/wymeditor/skins/minimal/skin.css +131 -0
- data/lib/public/milksteak/wymeditor/skins/minimal/skin.js +30 -0
- data/lib/public/milksteak/wymeditor/skins/silver/COPYING +674 -0
- data/lib/public/milksteak/wymeditor/skins/silver/README +27 -0
- data/lib/public/milksteak/wymeditor/skins/silver/images/bg.header.gif +0 -0
- data/lib/public/milksteak/wymeditor/skins/silver/images/bg.selector.silver.gif +0 -0
- data/lib/public/milksteak/wymeditor/skins/silver/images/bg.wymeditor.png +0 -0
- data/lib/public/milksteak/wymeditor/skins/silver/images/icons.silver.gif +0 -0
- data/lib/public/milksteak/wymeditor/skins/silver/skin.css +297 -0
- data/lib/public/milksteak/wymeditor/skins/silver/skin.js +61 -0
- data/lib/public/milksteak/wymeditor/skins/twopanels/icons.png +0 -0
- data/lib/public/milksteak/wymeditor/skins/twopanels/skin.css +134 -0
- data/lib/public/milksteak/wymeditor/skins/twopanels/skin.js +39 -0
- data/lib/public/milksteak/wymeditor/skins/wymeditor_icon.png +0 -0
- data/lib/views/layouts/admin.erb +8 -0
- data/lib/views/login.erb +1 -0
- data/milksteak.gemspec +30 -13
- data/spec/fixtures/pages/sample_page.yml +5 -0
- data/spec/lib/milksteak/cms_spec.rb +12 -0
- data/spec/models/page_spec.rb +58 -0
- data/spec/spec_helper.rb +19 -0
- metadata +429 -10
- data/LICENSE +0 -22
- data/README.md +0 -29
@@ -0,0 +1,25 @@
|
|
1
|
+
.cm-s-eclipse span.cm-meta {color: #FF1717;}
|
2
|
+
.cm-s-eclipse span.cm-keyword { font-weight: bold; color: #7F0055; }
|
3
|
+
.cm-s-eclipse span.cm-atom {color: #219;}
|
4
|
+
.cm-s-eclipse span.cm-number {color: #164;}
|
5
|
+
.cm-s-eclipse span.cm-def {color: #00f;}
|
6
|
+
.cm-s-eclipse span.cm-variable {color: black;}
|
7
|
+
.cm-s-eclipse span.cm-variable-2 {color: #0000C0;}
|
8
|
+
.cm-s-eclipse span.cm-variable-3 {color: #0000C0;}
|
9
|
+
.cm-s-eclipse span.cm-property {color: black;}
|
10
|
+
.cm-s-eclipse span.cm-operator {color: black;}
|
11
|
+
.cm-s-eclipse span.cm-comment {color: #3F7F5F;}
|
12
|
+
.cm-s-eclipse span.cm-string {color: #2A00FF;}
|
13
|
+
.cm-s-eclipse span.cm-string-2 {color: #f50;}
|
14
|
+
.cm-s-eclipse span.cm-error {color: #f00;}
|
15
|
+
.cm-s-eclipse span.cm-qualifier {color: #555;}
|
16
|
+
.cm-s-eclipse span.cm-builtin {color: #30a;}
|
17
|
+
.cm-s-eclipse span.cm-bracket {color: #cc7;}
|
18
|
+
.cm-s-eclipse span.cm-tag {color: #170;}
|
19
|
+
.cm-s-eclipse span.cm-attribute {color: #00c;}
|
20
|
+
.cm-s-eclipse span.cm-link {color: #219;}
|
21
|
+
|
22
|
+
.cm-s-eclipse .CodeMirror-matchingbracket {
|
23
|
+
border:1px solid grey;
|
24
|
+
color:black !important;;
|
25
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
.cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}
|
2
|
+
.cm-s-elegant span.cm-comment {color: #262;font-style: italic;}
|
3
|
+
.cm-s-elegant span.cm-meta {color: #555;font-style: italic;}
|
4
|
+
.cm-s-elegant span.cm-variable {color: black;}
|
5
|
+
.cm-s-elegant span.cm-variable-2 {color: #b11;}
|
6
|
+
.cm-s-elegant span.cm-qualifier {color: #555;}
|
7
|
+
.cm-s-elegant span.cm-keyword {color: #730;}
|
8
|
+
.cm-s-elegant span.cm-builtin {color: #30a;}
|
9
|
+
.cm-s-elegant span.cm-error {background-color: #fdd;}
|
10
|
+
.cm-s-elegant span.cm-link {color: #762;}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* Based on Sublime Text's Monokai theme */
|
2
|
+
|
3
|
+
.cm-s-monokai {background: #272822; color: #f8f8f2;}
|
4
|
+
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
|
5
|
+
.cm-s-monokai .CodeMirror-gutter {background: #272822; border-right: 0px;}
|
6
|
+
.cm-s-monokai .CodeMirror-gutter-text {color: #d0d0d0;}
|
7
|
+
.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}
|
8
|
+
|
9
|
+
.cm-s-monokai span.cm-comment {color: #75715e;}
|
10
|
+
.cm-s-monokai span.cm-atom {color: #ae81ff;}
|
11
|
+
.cm-s-monokai span.cm-number {color: #ae81ff;}
|
12
|
+
|
13
|
+
.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;}
|
14
|
+
.cm-s-monokai span.cm-keyword {color: #f92672;}
|
15
|
+
.cm-s-monokai span.cm-string {color: #e6db74;}
|
16
|
+
|
17
|
+
.cm-s-monokai span.cm-variable {color: #a6e22e;}
|
18
|
+
.cm-s-monokai span.cm-variable-2 {color: #9effff;}
|
19
|
+
.cm-s-monokai span.cm-def {color: #fd971f;}
|
20
|
+
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}
|
21
|
+
.cm-s-monokai span.cm-bracket {color: #f8f8f2;}
|
22
|
+
.cm-s-monokai span.cm-tag {color: #f92672;}
|
23
|
+
.cm-s-monokai span.cm-link {color: #ae81ff;}
|
24
|
+
|
25
|
+
.cm-s-monokai .CodeMirror-matchingbracket {
|
26
|
+
text-decoration: underline;
|
27
|
+
color: white !important;
|
28
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
.cm-s-neat span.cm-comment { color: #a86; }
|
2
|
+
.cm-s-neat span.cm-keyword { font-weight: bold; color: blue; }
|
3
|
+
.cm-s-neat span.cm-string { color: #a22; }
|
4
|
+
.cm-s-neat span.cm-builtin { font-weight: bold; color: #077; }
|
5
|
+
.cm-s-neat span.cm-special { font-weight: bold; color: #0aa; }
|
6
|
+
.cm-s-neat span.cm-variable { color: black; }
|
7
|
+
.cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }
|
8
|
+
.cm-s-neat span.cm-meta {color: #555;}
|
9
|
+
.cm-s-neat span.cm-link { color: #3a3; }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* Loosely based on the Midnight Textmate theme */
|
2
|
+
|
3
|
+
.cm-s-night { background: #0a001f; color: #f8f8f8; }
|
4
|
+
.cm-s-night div.CodeMirror-selected { background: #a8f !important; }
|
5
|
+
.cm-s-night .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; }
|
6
|
+
.cm-s-night .CodeMirror-gutter-text { color: #f8f8f8; }
|
7
|
+
.cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }
|
8
|
+
|
9
|
+
.cm-s-night span.cm-comment { color: #6900a1; }
|
10
|
+
.cm-s-night span.cm-atom { color: #845dc4; }
|
11
|
+
.cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; }
|
12
|
+
.cm-s-night span.cm-keyword { color: #599eff; }
|
13
|
+
.cm-s-night span.cm-string { color: #37f14a; }
|
14
|
+
.cm-s-night span.cm-meta { color: #7678e2; }
|
15
|
+
.cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }
|
16
|
+
.cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }
|
17
|
+
.cm-s-night span.cm-error { color: #9d1e15; }
|
18
|
+
.cm-s-night span.cm-bracket { color: #8da6ce; }
|
19
|
+
.cm-s-night span.cm-comment { color: #6900a1; }
|
20
|
+
.cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }
|
21
|
+
.cm-s-night span.cm-link { color: #845dc4; }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.cm-s-rubyblue { font:13px/1.4em Trebuchet, Verdana, sans-serif; } /* - customized editor font - */
|
2
|
+
|
3
|
+
.cm-s-rubyblue { background: #112435; color: white; }
|
4
|
+
.cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; }
|
5
|
+
.cm-s-rubyblue .CodeMirror-gutter { background: #1F4661; border-right: 7px solid #3E7087; min-width:2.5em; }
|
6
|
+
.cm-s-rubyblue .CodeMirror-gutter-text { color: white; }
|
7
|
+
.cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; }
|
8
|
+
|
9
|
+
.cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; }
|
10
|
+
.cm-s-rubyblue span.cm-atom { color: #F4C20B; }
|
11
|
+
.cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; }
|
12
|
+
.cm-s-rubyblue span.cm-keyword { color: #F0F; }
|
13
|
+
.cm-s-rubyblue span.cm-string { color: #F08047; }
|
14
|
+
.cm-s-rubyblue span.cm-meta { color: #F0F; }
|
15
|
+
.cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; }
|
16
|
+
.cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; }
|
17
|
+
.cm-s-rubyblue span.cm-error { color: #AF2018; }
|
18
|
+
.cm-s-rubyblue span.cm-bracket { color: #F0F; }
|
19
|
+
.cm-s-rubyblue span.cm-link { color: #F4C20B; }
|
20
|
+
.cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; }
|
21
|
+
.cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; }
|
@@ -0,0 +1,567 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap Responsive v2.0.0
|
3
|
+
*
|
4
|
+
* Copyright 2012 Twitter, Inc
|
5
|
+
* Licensed under the Apache License v2.0
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*
|
8
|
+
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
|
+
*/
|
10
|
+
.hidden {
|
11
|
+
display: none;
|
12
|
+
visibility: hidden;
|
13
|
+
}
|
14
|
+
@media (max-width: 480px) {
|
15
|
+
.nav-collapse {
|
16
|
+
-webkit-transform: translate3d(0, 0, 0);
|
17
|
+
}
|
18
|
+
.page-header h1 small {
|
19
|
+
display: block;
|
20
|
+
line-height: 18px;
|
21
|
+
}
|
22
|
+
input[class*="span"],
|
23
|
+
select[class*="span"],
|
24
|
+
textarea[class*="span"],
|
25
|
+
.uneditable-input {
|
26
|
+
display: block;
|
27
|
+
width: 100%;
|
28
|
+
height: 28px;
|
29
|
+
/* Make inputs at least the height of their button counterpart */
|
30
|
+
|
31
|
+
/* Makes inputs behave like true block-level elements */
|
32
|
+
|
33
|
+
-webkit-box-sizing: border-box;
|
34
|
+
/* Older Webkit */
|
35
|
+
|
36
|
+
-moz-box-sizing: border-box;
|
37
|
+
/* Older FF */
|
38
|
+
|
39
|
+
-ms-box-sizing: border-box;
|
40
|
+
/* IE8 */
|
41
|
+
|
42
|
+
box-sizing: border-box;
|
43
|
+
/* CSS3 spec*/
|
44
|
+
|
45
|
+
}
|
46
|
+
.input-prepend input[class*="span"], .input-append input[class*="span"] {
|
47
|
+
width: auto;
|
48
|
+
}
|
49
|
+
input[type="checkbox"], input[type="radio"] {
|
50
|
+
border: 1px solid #ccc;
|
51
|
+
}
|
52
|
+
.form-horizontal .control-group > label {
|
53
|
+
float: none;
|
54
|
+
width: auto;
|
55
|
+
padding-top: 0;
|
56
|
+
text-align: left;
|
57
|
+
}
|
58
|
+
.form-horizontal .controls {
|
59
|
+
margin-left: 0;
|
60
|
+
}
|
61
|
+
.form-horizontal .control-list {
|
62
|
+
padding-top: 0;
|
63
|
+
}
|
64
|
+
.form-horizontal .form-actions {
|
65
|
+
padding-left: 10px;
|
66
|
+
padding-right: 10px;
|
67
|
+
}
|
68
|
+
.modal {
|
69
|
+
position: absolute;
|
70
|
+
top: 10px;
|
71
|
+
left: 10px;
|
72
|
+
right: 10px;
|
73
|
+
width: auto;
|
74
|
+
margin: 0;
|
75
|
+
}
|
76
|
+
.modal.fade.in {
|
77
|
+
top: auto;
|
78
|
+
}
|
79
|
+
.modal-header .close {
|
80
|
+
padding: 10px;
|
81
|
+
margin: -10px;
|
82
|
+
}
|
83
|
+
.carousel-caption {
|
84
|
+
position: static;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
@media (max-width: 768px) {
|
88
|
+
.container {
|
89
|
+
width: auto;
|
90
|
+
padding: 0 20px;
|
91
|
+
}
|
92
|
+
.row-fluid {
|
93
|
+
width: 100%;
|
94
|
+
}
|
95
|
+
.row {
|
96
|
+
margin-left: 0;
|
97
|
+
}
|
98
|
+
.row > [class*="span"], .row-fluid > [class*="span"] {
|
99
|
+
float: none;
|
100
|
+
display: block;
|
101
|
+
width: auto;
|
102
|
+
margin: 0;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
@media (min-width: 768px) and (max-width: 980px) {
|
106
|
+
.row {
|
107
|
+
margin-left: -20px;
|
108
|
+
*zoom: 1;
|
109
|
+
}
|
110
|
+
.row:before, .row:after {
|
111
|
+
display: table;
|
112
|
+
content: "";
|
113
|
+
}
|
114
|
+
.row:after {
|
115
|
+
clear: both;
|
116
|
+
}
|
117
|
+
[class*="span"] {
|
118
|
+
float: left;
|
119
|
+
margin-left: 20px;
|
120
|
+
}
|
121
|
+
.span1 {
|
122
|
+
width: 42px;
|
123
|
+
}
|
124
|
+
.span2 {
|
125
|
+
width: 104px;
|
126
|
+
}
|
127
|
+
.span3 {
|
128
|
+
width: 166px;
|
129
|
+
}
|
130
|
+
.span4 {
|
131
|
+
width: 228px;
|
132
|
+
}
|
133
|
+
.span5 {
|
134
|
+
width: 290px;
|
135
|
+
}
|
136
|
+
.span6 {
|
137
|
+
width: 352px;
|
138
|
+
}
|
139
|
+
.span7 {
|
140
|
+
width: 414px;
|
141
|
+
}
|
142
|
+
.span8 {
|
143
|
+
width: 476px;
|
144
|
+
}
|
145
|
+
.span9 {
|
146
|
+
width: 538px;
|
147
|
+
}
|
148
|
+
.span10 {
|
149
|
+
width: 600px;
|
150
|
+
}
|
151
|
+
.span11 {
|
152
|
+
width: 662px;
|
153
|
+
}
|
154
|
+
.span12, .container {
|
155
|
+
width: 724px;
|
156
|
+
}
|
157
|
+
.offset1 {
|
158
|
+
margin-left: 82px;
|
159
|
+
}
|
160
|
+
.offset2 {
|
161
|
+
margin-left: 144px;
|
162
|
+
}
|
163
|
+
.offset3 {
|
164
|
+
margin-left: 206px;
|
165
|
+
}
|
166
|
+
.offset4 {
|
167
|
+
margin-left: 268px;
|
168
|
+
}
|
169
|
+
.offset5 {
|
170
|
+
margin-left: 330px;
|
171
|
+
}
|
172
|
+
.offset6 {
|
173
|
+
margin-left: 392px;
|
174
|
+
}
|
175
|
+
.offset7 {
|
176
|
+
margin-left: 454px;
|
177
|
+
}
|
178
|
+
.offset8 {
|
179
|
+
margin-left: 516px;
|
180
|
+
}
|
181
|
+
.offset9 {
|
182
|
+
margin-left: 578px;
|
183
|
+
}
|
184
|
+
.offset10 {
|
185
|
+
margin-left: 640px;
|
186
|
+
}
|
187
|
+
.offset11 {
|
188
|
+
margin-left: 702px;
|
189
|
+
}
|
190
|
+
.row-fluid {
|
191
|
+
width: 100%;
|
192
|
+
*zoom: 1;
|
193
|
+
}
|
194
|
+
.row-fluid:before, .row-fluid:after {
|
195
|
+
display: table;
|
196
|
+
content: "";
|
197
|
+
}
|
198
|
+
.row-fluid:after {
|
199
|
+
clear: both;
|
200
|
+
}
|
201
|
+
.row-fluid > [class*="span"] {
|
202
|
+
float: left;
|
203
|
+
margin-left: 2.762430939%;
|
204
|
+
}
|
205
|
+
.row-fluid > [class*="span"]:first-child {
|
206
|
+
margin-left: 0;
|
207
|
+
}
|
208
|
+
.row-fluid .span1 {
|
209
|
+
width: 5.801104972%;
|
210
|
+
}
|
211
|
+
.row-fluid .span2 {
|
212
|
+
width: 14.364640883%;
|
213
|
+
}
|
214
|
+
.row-fluid .span3 {
|
215
|
+
width: 22.928176794%;
|
216
|
+
}
|
217
|
+
.row-fluid .span4 {
|
218
|
+
width: 31.491712705%;
|
219
|
+
}
|
220
|
+
.row-fluid .span5 {
|
221
|
+
width: 40.055248616%;
|
222
|
+
}
|
223
|
+
.row-fluid .span6 {
|
224
|
+
width: 48.618784527%;
|
225
|
+
}
|
226
|
+
.row-fluid .span7 {
|
227
|
+
width: 57.182320438000005%;
|
228
|
+
}
|
229
|
+
.row-fluid .span8 {
|
230
|
+
width: 65.74585634900001%;
|
231
|
+
}
|
232
|
+
.row-fluid .span9 {
|
233
|
+
width: 74.30939226%;
|
234
|
+
}
|
235
|
+
.row-fluid .span10 {
|
236
|
+
width: 82.87292817100001%;
|
237
|
+
}
|
238
|
+
.row-fluid .span11 {
|
239
|
+
width: 91.436464082%;
|
240
|
+
}
|
241
|
+
.row-fluid .span12 {
|
242
|
+
width: 99.999999993%;
|
243
|
+
}
|
244
|
+
input.span1, textarea.span1, .uneditable-input.span1 {
|
245
|
+
width: 32px;
|
246
|
+
}
|
247
|
+
input.span2, textarea.span2, .uneditable-input.span2 {
|
248
|
+
width: 94px;
|
249
|
+
}
|
250
|
+
input.span3, textarea.span3, .uneditable-input.span3 {
|
251
|
+
width: 156px;
|
252
|
+
}
|
253
|
+
input.span4, textarea.span4, .uneditable-input.span4 {
|
254
|
+
width: 218px;
|
255
|
+
}
|
256
|
+
input.span5, textarea.span5, .uneditable-input.span5 {
|
257
|
+
width: 280px;
|
258
|
+
}
|
259
|
+
input.span6, textarea.span6, .uneditable-input.span6 {
|
260
|
+
width: 342px;
|
261
|
+
}
|
262
|
+
input.span7, textarea.span7, .uneditable-input.span7 {
|
263
|
+
width: 404px;
|
264
|
+
}
|
265
|
+
input.span8, textarea.span8, .uneditable-input.span8 {
|
266
|
+
width: 466px;
|
267
|
+
}
|
268
|
+
input.span9, textarea.span9, .uneditable-input.span9 {
|
269
|
+
width: 528px;
|
270
|
+
}
|
271
|
+
input.span10, textarea.span10, .uneditable-input.span10 {
|
272
|
+
width: 590px;
|
273
|
+
}
|
274
|
+
input.span11, textarea.span11, .uneditable-input.span11 {
|
275
|
+
width: 652px;
|
276
|
+
}
|
277
|
+
input.span12, textarea.span12, .uneditable-input.span12 {
|
278
|
+
width: 714px;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
@media (max-width: 980px) {
|
282
|
+
body {
|
283
|
+
padding-top: 0;
|
284
|
+
}
|
285
|
+
.navbar-fixed-top {
|
286
|
+
position: static;
|
287
|
+
margin-bottom: 18px;
|
288
|
+
}
|
289
|
+
.navbar-fixed-top .navbar-inner {
|
290
|
+
padding: 5px;
|
291
|
+
}
|
292
|
+
.navbar .container {
|
293
|
+
width: auto;
|
294
|
+
padding: 0;
|
295
|
+
}
|
296
|
+
.navbar .brand {
|
297
|
+
padding-left: 10px;
|
298
|
+
padding-right: 10px;
|
299
|
+
margin: 0 0 0 -5px;
|
300
|
+
}
|
301
|
+
.navbar .nav-collapse {
|
302
|
+
clear: left;
|
303
|
+
}
|
304
|
+
.navbar .nav {
|
305
|
+
float: none;
|
306
|
+
margin: 0 0 9px;
|
307
|
+
}
|
308
|
+
.navbar .nav > li {
|
309
|
+
float: none;
|
310
|
+
}
|
311
|
+
.navbar .nav > li > a {
|
312
|
+
margin-bottom: 2px;
|
313
|
+
}
|
314
|
+
.navbar .nav > .divider-vertical {
|
315
|
+
display: none;
|
316
|
+
}
|
317
|
+
.navbar .nav > li > a, .navbar .dropdown-menu a {
|
318
|
+
padding: 6px 15px;
|
319
|
+
font-weight: bold;
|
320
|
+
color: #999999;
|
321
|
+
-webkit-border-radius: 3px;
|
322
|
+
-moz-border-radius: 3px;
|
323
|
+
border-radius: 3px;
|
324
|
+
}
|
325
|
+
.navbar .dropdown-menu li + li a {
|
326
|
+
margin-bottom: 2px;
|
327
|
+
}
|
328
|
+
.navbar .nav > li > a:hover, .navbar .dropdown-menu a:hover {
|
329
|
+
background-color: #222222;
|
330
|
+
}
|
331
|
+
.navbar .dropdown-menu {
|
332
|
+
position: static;
|
333
|
+
top: auto;
|
334
|
+
left: auto;
|
335
|
+
float: none;
|
336
|
+
display: block;
|
337
|
+
max-width: none;
|
338
|
+
margin: 0 15px;
|
339
|
+
padding: 0;
|
340
|
+
background-color: transparent;
|
341
|
+
border: none;
|
342
|
+
-webkit-border-radius: 0;
|
343
|
+
-moz-border-radius: 0;
|
344
|
+
border-radius: 0;
|
345
|
+
-webkit-box-shadow: none;
|
346
|
+
-moz-box-shadow: none;
|
347
|
+
box-shadow: none;
|
348
|
+
}
|
349
|
+
.navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
|
350
|
+
display: none;
|
351
|
+
}
|
352
|
+
.navbar .dropdown-menu .divider {
|
353
|
+
display: none;
|
354
|
+
}
|
355
|
+
.navbar-form, .navbar-search {
|
356
|
+
float: none;
|
357
|
+
padding: 9px 15px;
|
358
|
+
margin: 9px 0;
|
359
|
+
border-top: 1px solid #222222;
|
360
|
+
border-bottom: 1px solid #222222;
|
361
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
362
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
363
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
364
|
+
}
|
365
|
+
.navbar .nav.pull-right {
|
366
|
+
float: none;
|
367
|
+
margin-left: 0;
|
368
|
+
}
|
369
|
+
.navbar-static .navbar-inner {
|
370
|
+
padding-left: 10px;
|
371
|
+
padding-right: 10px;
|
372
|
+
}
|
373
|
+
.btn-navbar {
|
374
|
+
display: block;
|
375
|
+
}
|
376
|
+
.nav-collapse {
|
377
|
+
overflow: hidden;
|
378
|
+
height: 0;
|
379
|
+
}
|
380
|
+
}
|
381
|
+
@media (min-width: 980px) {
|
382
|
+
.nav-collapse.collapse {
|
383
|
+
height: auto !important;
|
384
|
+
}
|
385
|
+
}
|
386
|
+
@media (min-width: 1200px) {
|
387
|
+
.row {
|
388
|
+
margin-left: -30px;
|
389
|
+
*zoom: 1;
|
390
|
+
}
|
391
|
+
.row:before, .row:after {
|
392
|
+
display: table;
|
393
|
+
content: "";
|
394
|
+
}
|
395
|
+
.row:after {
|
396
|
+
clear: both;
|
397
|
+
}
|
398
|
+
[class*="span"] {
|
399
|
+
float: left;
|
400
|
+
margin-left: 30px;
|
401
|
+
}
|
402
|
+
.span1 {
|
403
|
+
width: 70px;
|
404
|
+
}
|
405
|
+
.span2 {
|
406
|
+
width: 170px;
|
407
|
+
}
|
408
|
+
.span3 {
|
409
|
+
width: 270px;
|
410
|
+
}
|
411
|
+
.span4 {
|
412
|
+
width: 370px;
|
413
|
+
}
|
414
|
+
.span5 {
|
415
|
+
width: 470px;
|
416
|
+
}
|
417
|
+
.span6 {
|
418
|
+
width: 570px;
|
419
|
+
}
|
420
|
+
.span7 {
|
421
|
+
width: 670px;
|
422
|
+
}
|
423
|
+
.span8 {
|
424
|
+
width: 770px;
|
425
|
+
}
|
426
|
+
.span9 {
|
427
|
+
width: 870px;
|
428
|
+
}
|
429
|
+
.span10 {
|
430
|
+
width: 970px;
|
431
|
+
}
|
432
|
+
.span11 {
|
433
|
+
width: 1070px;
|
434
|
+
}
|
435
|
+
.span12, .container {
|
436
|
+
width: 1170px;
|
437
|
+
}
|
438
|
+
.offset1 {
|
439
|
+
margin-left: 130px;
|
440
|
+
}
|
441
|
+
.offset2 {
|
442
|
+
margin-left: 230px;
|
443
|
+
}
|
444
|
+
.offset3 {
|
445
|
+
margin-left: 330px;
|
446
|
+
}
|
447
|
+
.offset4 {
|
448
|
+
margin-left: 430px;
|
449
|
+
}
|
450
|
+
.offset5 {
|
451
|
+
margin-left: 530px;
|
452
|
+
}
|
453
|
+
.offset6 {
|
454
|
+
margin-left: 630px;
|
455
|
+
}
|
456
|
+
.offset7 {
|
457
|
+
margin-left: 730px;
|
458
|
+
}
|
459
|
+
.offset8 {
|
460
|
+
margin-left: 830px;
|
461
|
+
}
|
462
|
+
.offset9 {
|
463
|
+
margin-left: 930px;
|
464
|
+
}
|
465
|
+
.offset10 {
|
466
|
+
margin-left: 1030px;
|
467
|
+
}
|
468
|
+
.offset11 {
|
469
|
+
margin-left: 1130px;
|
470
|
+
}
|
471
|
+
.row-fluid {
|
472
|
+
width: 100%;
|
473
|
+
*zoom: 1;
|
474
|
+
}
|
475
|
+
.row-fluid:before, .row-fluid:after {
|
476
|
+
display: table;
|
477
|
+
content: "";
|
478
|
+
}
|
479
|
+
.row-fluid:after {
|
480
|
+
clear: both;
|
481
|
+
}
|
482
|
+
.row-fluid > [class*="span"] {
|
483
|
+
float: left;
|
484
|
+
margin-left: 2.564102564%;
|
485
|
+
}
|
486
|
+
.row-fluid > [class*="span"]:first-child {
|
487
|
+
margin-left: 0;
|
488
|
+
}
|
489
|
+
.row-fluid .span1 {
|
490
|
+
width: 5.982905983%;
|
491
|
+
}
|
492
|
+
.row-fluid .span2 {
|
493
|
+
width: 14.529914530000001%;
|
494
|
+
}
|
495
|
+
.row-fluid .span3 {
|
496
|
+
width: 23.076923077%;
|
497
|
+
}
|
498
|
+
.row-fluid .span4 {
|
499
|
+
width: 31.623931624%;
|
500
|
+
}
|
501
|
+
.row-fluid .span5 {
|
502
|
+
width: 40.170940171000005%;
|
503
|
+
}
|
504
|
+
.row-fluid .span6 {
|
505
|
+
width: 48.717948718%;
|
506
|
+
}
|
507
|
+
.row-fluid .span7 {
|
508
|
+
width: 57.264957265%;
|
509
|
+
}
|
510
|
+
.row-fluid .span8 {
|
511
|
+
width: 65.81196581200001%;
|
512
|
+
}
|
513
|
+
.row-fluid .span9 {
|
514
|
+
width: 74.358974359%;
|
515
|
+
}
|
516
|
+
.row-fluid .span10 {
|
517
|
+
width: 82.905982906%;
|
518
|
+
}
|
519
|
+
.row-fluid .span11 {
|
520
|
+
width: 91.45299145300001%;
|
521
|
+
}
|
522
|
+
.row-fluid .span12 {
|
523
|
+
width: 100%;
|
524
|
+
}
|
525
|
+
input.span1, textarea.span1, .uneditable-input.span1 {
|
526
|
+
width: 60px;
|
527
|
+
}
|
528
|
+
input.span2, textarea.span2, .uneditable-input.span2 {
|
529
|
+
width: 160px;
|
530
|
+
}
|
531
|
+
input.span3, textarea.span3, .uneditable-input.span3 {
|
532
|
+
width: 260px;
|
533
|
+
}
|
534
|
+
input.span4, textarea.span4, .uneditable-input.span4 {
|
535
|
+
width: 360px;
|
536
|
+
}
|
537
|
+
input.span5, textarea.span5, .uneditable-input.span5 {
|
538
|
+
width: 460px;
|
539
|
+
}
|
540
|
+
input.span6, textarea.span6, .uneditable-input.span6 {
|
541
|
+
width: 560px;
|
542
|
+
}
|
543
|
+
input.span7, textarea.span7, .uneditable-input.span7 {
|
544
|
+
width: 660px;
|
545
|
+
}
|
546
|
+
input.span8, textarea.span8, .uneditable-input.span8 {
|
547
|
+
width: 760px;
|
548
|
+
}
|
549
|
+
input.span9, textarea.span9, .uneditable-input.span9 {
|
550
|
+
width: 860px;
|
551
|
+
}
|
552
|
+
input.span10, textarea.span10, .uneditable-input.span10 {
|
553
|
+
width: 960px;
|
554
|
+
}
|
555
|
+
input.span11, textarea.span11, .uneditable-input.span11 {
|
556
|
+
width: 1060px;
|
557
|
+
}
|
558
|
+
input.span12, textarea.span12, .uneditable-input.span12 {
|
559
|
+
width: 1160px;
|
560
|
+
}
|
561
|
+
.thumbnails {
|
562
|
+
margin-left: -30px;
|
563
|
+
}
|
564
|
+
.thumbnails > li {
|
565
|
+
margin-left: 30px;
|
566
|
+
}
|
567
|
+
}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
|
2
|
+
.hidden{display:none;visibility:hidden;}
|
3
|
+
@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0);} .page-header h1 small{display:block;line-height:18px;} input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;} .input-prepend input[class*="span"],.input-append input[class*="span"]{width:auto;} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc;} .form-horizontal .control-group>label{float:none;width:auto;padding-top:0;text-align:left;} .form-horizontal .controls{margin-left:0;} .form-horizontal .control-list{padding-top:0;} .form-horizontal .form-actions{padding-left:10px;padding-right:10px;} .modal{position:absolute;top:10px;left:10px;right:10px;width:auto;margin:0;}.modal.fade.in{top:auto;} .modal-header .close{padding:10px;margin:-10px;} .carousel-caption{position:static;}}@media (max-width:768px){.container{width:auto;padding:0 20px;} .row-fluid{width:100%;} .row{margin-left:0;} .row>[class*="span"],.row-fluid>[class*="span"]{float:none;display:block;width:auto;margin:0;}}@media (min-width:768px) and (max-width:980px){.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:20px;} .span1{width:42px;} .span2{width:104px;} .span3{width:166px;} .span4{width:228px;} .span5{width:290px;} .span6{width:352px;} .span7{width:414px;} .span8{width:476px;} .span9{width:538px;} .span10{width:600px;} .span11{width:662px;} .span12,.container{width:724px;} .offset1{margin-left:82px;} .offset2{margin-left:144px;} .offset3{margin-left:206px;} .offset4{margin-left:268px;} .offset5{margin-left:330px;} .offset6{margin-left:392px;} .offset7{margin-left:454px;} .offset8{margin-left:516px;} .offset9{margin-left:578px;} .offset10{margin-left:640px;} .offset11{margin-left:702px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.762430939%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid .span1{width:5.801104972%;} .row-fluid .span2{width:14.364640883%;} .row-fluid .span3{width:22.928176794%;} .row-fluid .span4{width:31.491712705%;} .row-fluid .span5{width:40.055248616%;} .row-fluid .span6{width:48.618784527%;} .row-fluid .span7{width:57.182320438000005%;} .row-fluid .span8{width:65.74585634900001%;} .row-fluid .span9{width:74.30939226%;} .row-fluid .span10{width:82.87292817100001%;} .row-fluid .span11{width:91.436464082%;} .row-fluid .span12{width:99.999999993%;} input.span1,textarea.span1,.uneditable-input.span1{width:32px;} input.span2,textarea.span2,.uneditable-input.span2{width:94px;} input.span3,textarea.span3,.uneditable-input.span3{width:156px;} input.span4,textarea.span4,.uneditable-input.span4{width:218px;} input.span5,textarea.span5,.uneditable-input.span5{width:280px;} input.span6,textarea.span6,.uneditable-input.span6{width:342px;} input.span7,textarea.span7,.uneditable-input.span7{width:404px;} input.span8,textarea.span8,.uneditable-input.span8{width:466px;} input.span9,textarea.span9,.uneditable-input.span9{width:528px;} input.span10,textarea.span10,.uneditable-input.span10{width:590px;} input.span11,textarea.span11,.uneditable-input.span11{width:652px;} input.span12,textarea.span12,.uneditable-input.span12{width:714px;}}@media (max-width:980px){body{padding-top:0;} .navbar-fixed-top{position:static;margin-bottom:18px;} .navbar-fixed-top .navbar-inner{padding:5px;} .navbar .container{width:auto;padding:0;} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px;} .navbar .nav-collapse{clear:left;} .navbar .nav{float:none;margin:0 0 9px;} .navbar .nav>li{float:none;} .navbar .nav>li>a{margin-bottom:2px;} .navbar .nav>.divider-vertical{display:none;} .navbar .nav>li>a,.navbar .dropdown-menu a{padding:6px 15px;font-weight:bold;color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .navbar .dropdown-menu li+li a{margin-bottom:2px;} .navbar .nav>li>a:hover,.navbar .dropdown-menu a:hover{background-color:#222222;} .navbar .dropdown-menu{position:static;top:auto;left:auto;float:none;display:block;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .navbar .dropdown-menu:before,.navbar .dropdown-menu:after{display:none;} .navbar .dropdown-menu .divider{display:none;} .navbar-form,.navbar-search{float:none;padding:9px 15px;margin:9px 0;border-top:1px solid #222222;border-bottom:1px solid #222222;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);} .navbar .nav.pull-right{float:none;margin-left:0;} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px;} .btn-navbar{display:block;} .nav-collapse{overflow:hidden;height:0;}}@media (min-width:980px){.nav-collapse.collapse{height:auto !important;}}@media (min-width:1200px){.row{margin-left:-30px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:30px;} .span1{width:70px;} .span2{width:170px;} .span3{width:270px;} .span4{width:370px;} .span5{width:470px;} .span6{width:570px;} .span7{width:670px;} .span8{width:770px;} .span9{width:870px;} .span10{width:970px;} .span11{width:1070px;} .span12,.container{width:1170px;} .offset1{margin-left:130px;} .offset2{margin-left:230px;} .offset3{margin-left:330px;} .offset4{margin-left:430px;} .offset5{margin-left:530px;} .offset6{margin-left:630px;} .offset7{margin-left:730px;} .offset8{margin-left:830px;} .offset9{margin-left:930px;} .offset10{margin-left:1030px;} .offset11{margin-left:1130px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.564102564%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid .span1{width:5.982905983%;} .row-fluid .span2{width:14.529914530000001%;} .row-fluid .span3{width:23.076923077%;} .row-fluid .span4{width:31.623931624%;} .row-fluid .span5{width:40.170940171000005%;} .row-fluid .span6{width:48.717948718%;} .row-fluid .span7{width:57.264957265%;} .row-fluid .span8{width:65.81196581200001%;} .row-fluid .span9{width:74.358974359%;} .row-fluid .span10{width:82.905982906%;} .row-fluid .span11{width:91.45299145300001%;} .row-fluid .span12{width:100%;} input.span1,textarea.span1,.uneditable-input.span1{width:60px;} input.span2,textarea.span2,.uneditable-input.span2{width:160px;} input.span3,textarea.span3,.uneditable-input.span3{width:260px;} input.span4,textarea.span4,.uneditable-input.span4{width:360px;} input.span5,textarea.span5,.uneditable-input.span5{width:460px;} input.span6,textarea.span6,.uneditable-input.span6{width:560px;} input.span7,textarea.span7,.uneditable-input.span7{width:660px;} input.span8,textarea.span8,.uneditable-input.span8{width:760px;} input.span9,textarea.span9,.uneditable-input.span9{width:860px;} input.span10,textarea.span10,.uneditable-input.span10{width:960px;} input.span11,textarea.span11,.uneditable-input.span11{width:1060px;} input.span12,textarea.span12,.uneditable-input.span12{width:1160px;} .thumbnails{margin-left:-30px;} .thumbnails>li{margin-left:30px;}}
|