biola_wcms_components 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +74 -0
  7. data/Rakefile +1 -0
  8. data/app/assets/images/.gitkeep +0 -0
  9. data/app/assets/javascripts/biola-wcms-components.js.coffee +15 -0
  10. data/app/assets/javascripts/components/forms/json_editor.js.coffee +20 -0
  11. data/app/assets/javascripts/components/forms/person_lookup.js.coffee +29 -0
  12. data/app/assets/javascripts/components/forms/presentation_data_editor.js.coffee +69 -0
  13. data/app/assets/javascripts/components/forms/yaml_editor.js.coffee +39 -0
  14. data/app/assets/javascripts/configuration/file_uploader.js.coffee +55 -0
  15. data/app/assets/javascripts/configuration/setup_redactor.js.coffee +65 -0
  16. data/app/assets/stylesheets/_mixins.scss +43 -0
  17. data/app/assets/stylesheets/_settings.scss +1 -0
  18. data/app/assets/stylesheets/biola-wcms-components.scss +11 -0
  19. data/app/assets/stylesheets/components/alerts/_message_list.scss +3 -0
  20. data/app/assets/stylesheets/components/forms/_person_lookup.scss +72 -0
  21. data/app/assets/stylesheets/components/forms/_presentation_data_editor.scss +38 -0
  22. data/app/assets/stylesheets/components/navigation/_site_nav.scss +24 -0
  23. data/app/helpers/wcms_components/alerts_helper.rb +41 -0
  24. data/app/helpers/wcms_components/component_helper.rb +9 -0
  25. data/app/helpers/wcms_components/navigation_helper.rb +32 -0
  26. data/app/views/wcms_components/alerts/_message_list.html.slim +8 -0
  27. data/app/views/wcms_components/forms/_json_editor.html.slim +13 -0
  28. data/app/views/wcms_components/forms/_person_lookup.html.slim +12 -0
  29. data/app/views/wcms_components/forms/_presentation_data_editor.html.slim +36 -0
  30. data/app/views/wcms_components/forms/_redactor_editor.html.slim +32 -0
  31. data/app/views/wcms_components/forms/_text_area.html.slim +13 -0
  32. data/app/views/wcms_components/forms/_yaml_editor.html.slim +16 -0
  33. data/app/views/wcms_components/navigation/_page_nav.html.slim +33 -0
  34. data/app/views/wcms_components/navigation/_site_nav.html.slim +38 -0
  35. data/app/views/wcms_components/shared/.gitkeep +0 -0
  36. data/app/views/wcms_components/shared/_embedded_image_uploader.html.slim +6 -0
  37. data/biola_wcms_components.gemspec +27 -0
  38. data/config/locales/en.yml +4 -0
  39. data/lib/biola_wcms_components.rb +22 -0
  40. data/lib/biola_wcms_components/configuration.rb +9 -0
  41. data/lib/biola_wcms_components/engine.rb +6 -0
  42. data/lib/biola_wcms_components/version.rb +3 -0
  43. data/lib/components/menu_block.rb +130 -0
  44. data/lib/components/presentation_data_editor.rb +199 -0
  45. data/vendor/assets/javascripts/handlebars.js +3750 -0
  46. data/vendor/assets/javascripts/redactor.js +8312 -0
  47. data/vendor/assets/javascripts/redactor_fullscreen.js +123 -0
  48. data/vendor/assets/javascripts/typeahead.js +11 -0
  49. data/vendor/assets/stylesheets/redactor.css +924 -0
  50. metadata +176 -0
@@ -0,0 +1,123 @@
1
+ if (!RedactorPlugins) var RedactorPlugins = {};
2
+
3
+ (function($)
4
+ {
5
+ RedactorPlugins.fullscreen = function()
6
+ {
7
+ return {
8
+ init: function()
9
+ {
10
+ this.fullscreen.isOpen = false;
11
+
12
+ var button = this.button.add('fullscreen', 'Fullscreen');
13
+ this.button.addCallback(button, this.fullscreen.toggle);
14
+
15
+ if (this.opts.fullscreen) this.fullscreen.toggle();
16
+ },
17
+ enable: function()
18
+ {
19
+ this.button.changeIcon('fullscreen', 'normalscreen');
20
+ this.button.setActive('fullscreen');
21
+ this.fullscreen.isOpen = true;
22
+
23
+ if (this.opts.toolbarExternal)
24
+ {
25
+ this.fullscreen.toolcss = {};
26
+ this.fullscreen.boxcss = {};
27
+ this.fullscreen.toolcss.width = this.$toolbar.css('width');
28
+ this.fullscreen.toolcss.top = this.$toolbar.css('top');
29
+ this.fullscreen.toolcss.position = this.$toolbar.css('position');
30
+ this.fullscreen.boxcss.top = this.$box.css('top');
31
+ }
32
+
33
+ this.fullscreen.height = this.$editor.height();
34
+
35
+ if (this.opts.maxHeight) this.$editor.css('max-height', '');
36
+ if (this.opts.minHeight) this.$editor.css('min-height', '');
37
+
38
+ if (!this.$fullscreenPlaceholder) this.$fullscreenPlaceholder = $('<div/>');
39
+ this.$fullscreenPlaceholder.insertAfter(this.$box);
40
+
41
+ this.$box.appendTo(document.body);
42
+
43
+ this.$box.addClass('redactor-box-fullscreen');
44
+ $('body, html').css('overflow', 'hidden');
45
+
46
+ this.fullscreen.resize();
47
+ $(window).on('resize.redactor.fullscreen', $.proxy(this.fullscreen.resize, this));
48
+ $(document).scrollTop(0, 0);
49
+
50
+ $('.redactor-toolbar-tooltip').hide();
51
+ this.$editor.focus();
52
+ this.observe.load();
53
+ },
54
+ disable: function()
55
+ {
56
+ this.button.removeIcon('fullscreen', 'normalscreen');
57
+ this.button.setInactive('fullscreen');
58
+ this.fullscreen.isOpen = false;
59
+
60
+ $(window).off('resize.redactor.fullscreen');
61
+ $('body, html').css('overflow', '');
62
+
63
+ this.$box.insertBefore(this.$fullscreenPlaceholder);
64
+ this.$fullscreenPlaceholder.remove();
65
+
66
+ this.$box.removeClass('redactor-box-fullscreen').css({ width: 'auto', height: 'auto' });
67
+
68
+ this.code.sync();
69
+
70
+ if (this.opts.toolbarExternal)
71
+ {
72
+ this.$box.css('top', this.fullscreen.boxcss.top);
73
+ this.$toolbar.css({
74
+ 'width': this.fullscreen.toolcss.width,
75
+ 'top': this.fullscreen.toolcss.top,
76
+ 'position': this.fullscreen.toolcss.position
77
+ });
78
+ }
79
+
80
+ if (this.opts.minHeight) this.$editor.css('minHeight', this.opts.minHeight);
81
+ if (this.opts.maxHeight) this.$editor.css('maxHeight', this.opts.maxHeight);
82
+
83
+ $('.redactor-toolbar-tooltip').hide();
84
+ this.$editor.css('height', 'auto');
85
+ this.$editor.focus();
86
+ this.observe.load();
87
+ },
88
+ toggle: function()
89
+ {
90
+ if (this.fullscreen.isOpen)
91
+ {
92
+ this.fullscreen.disable();
93
+ }
94
+ else
95
+ {
96
+ this.fullscreen.enable();
97
+ }
98
+ },
99
+ resize: function()
100
+ {
101
+ if (!this.fullscreen.isOpen) return;
102
+
103
+ var toolbarHeight = this.$toolbar.height();
104
+
105
+ var height = $(window).height() - toolbarHeight - this.utils.normalize(this.$editor.css('padding-top')) - this.utils.normalize(this.$editor.css('padding-bottom'));
106
+ this.$box.width($(window).width()).height(height);
107
+
108
+ if (this.opts.toolbarExternal)
109
+ {
110
+ this.$toolbar.css({
111
+ 'top': '0px',
112
+ 'position': 'absolute',
113
+ 'width': '100%'
114
+ });
115
+
116
+ this.$box.css('top', toolbarHeight + 'px');
117
+ }
118
+
119
+ this.$editor.height(height);
120
+ }
121
+ };
122
+ };
123
+ })(jQuery);
@@ -0,0 +1,11 @@
1
+ // When updating, use the typeahead.bundele.min.js file
2
+ // https://github.com/twitter/typeahead.js/blob/master/dist/typeahead.bundle.min.js
3
+ // This bundles bloodhound for remote data lookup
4
+
5
+ /*!
6
+ * typeahead.js 0.10.5
7
+ * https://github.com/twitter/typeahead.js
8
+ * Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT
9
+ */
10
+
11
+ !function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,getUniqueId:function(){var a=0;return function(){return a++}}(),templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},noop:function(){}}}(),c="0.10.5",d=function(){"use strict";function a(a){return a=b.toStr(a),a?a.split(/\s+/):[]}function c(a){return a=b.toStr(a),a?a.split(/\W+/):[]}function d(a){return function(){var c=[].slice.call(arguments,0);return function(d){var e=[];return b.each(c,function(c){e=e.concat(a(b.toStr(d[c])))}),e}}}return{nonword:c,whitespace:a,obj:{nonword:d(c),whitespace:d(a)}}}(),e=function(){"use strict";function c(c){this.maxSize=b.isNumber(c)?c:100,this.reset(),this.maxSize<=0&&(this.set=this.get=a.noop)}function d(){this.head=this.tail=null}function e(a,b){this.key=a,this.val=b,this.prev=this.next=null}return b.mixin(c.prototype,{set:function(a,b){var c,d=this.list.tail;this.size>=this.maxSize&&(this.list.remove(d),delete this.hash[d.key]),(c=this.hash[a])?(c.val=b,this.list.moveToFront(c)):(c=new e(a,b),this.list.add(c),this.hash[a]=c,this.size++)},get:function(a){var b=this.hash[a];return b?(this.list.moveToFront(b),b.val):void 0},reset:function(){this.size=0,this.hash={},this.list=new d}}),b.mixin(d.prototype,{add:function(a){this.head&&(a.next=this.head,this.head.prev=a),this.head=a,this.tail=this.tail||a},remove:function(a){a.prev?a.prev.next=a.next:this.head=a.next,a.next?a.next.prev=a.prev:this.tail=a.prev},moveToFront:function(a){this.remove(a),this.add(a)}}),c}(),f=function(){"use strict";function a(a){this.prefix=["__",a,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+b.escapeRegExChars(this.prefix))}function c(){return(new Date).getTime()}function d(a){return JSON.stringify(b.isUndefined(a)?null:a)}function e(a){return JSON.parse(a)}var f,g;try{f=window.localStorage,f.setItem("~~~","!"),f.removeItem("~~~")}catch(h){f=null}return g=f&&window.JSON?{_prefix:function(a){return this.prefix+a},_ttlKey:function(a){return this._prefix(a)+this.ttlKey},get:function(a){return this.isExpired(a)&&this.remove(a),e(f.getItem(this._prefix(a)))},set:function(a,e,g){return b.isNumber(g)?f.setItem(this._ttlKey(a),d(c()+g)):f.removeItem(this._ttlKey(a)),f.setItem(this._prefix(a),d(e))},remove:function(a){return f.removeItem(this._ttlKey(a)),f.removeItem(this._prefix(a)),this},clear:function(){var a,b,c=[],d=f.length;for(a=0;d>a;a++)(b=f.key(a)).match(this.keyMatcher)&&c.push(b.replace(this.keyMatcher,""));for(a=c.length;a--;)this.remove(c[a]);return this},isExpired:function(a){var d=e(f.getItem(this._ttlKey(a)));return b.isNumber(d)&&c()>d?!0:!1}}:{get:b.noop,set:b.noop,remove:b.noop,clear:b.noop,isExpired:b.noop},b.mixin(a.prototype,g),a}(),g=function(){"use strict";function c(b){b=b||{},this.cancelled=!1,this.lastUrl=null,this._send=b.transport?d(b.transport):a.ajax,this._get=b.rateLimiter?b.rateLimiter(this._get):this._get,this._cache=b.cache===!1?new e(0):i}function d(c){return function(d,e){function f(a){b.defer(function(){h.resolve(a)})}function g(a){b.defer(function(){h.reject(a)})}var h=a.Deferred();return c(d,e,f,g),h}}var f=0,g={},h=6,i=new e(10);return c.setMaxPendingRequests=function(a){h=a},c.resetCache=function(){i.reset()},b.mixin(c.prototype,{_get:function(a,b,c){function d(b){c&&c(null,b),k._cache.set(a,b)}function e(){c&&c(!0)}function i(){f--,delete g[a],k.onDeckRequestArgs&&(k._get.apply(k,k.onDeckRequestArgs),k.onDeckRequestArgs=null)}var j,k=this;this.cancelled||a!==this.lastUrl||((j=g[a])?j.done(d).fail(e):h>f?(f++,g[a]=this._send(a,b).done(d).fail(e).always(i)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(a,c,d){var e;return b.isFunction(c)&&(d=c,c={}),this.cancelled=!1,this.lastUrl=a,(e=this._cache.get(a))?b.defer(function(){d&&d(null,e)}):this._get(a,c,d),!!e},cancel:function(){this.cancelled=!0}}),c}(),h=function(){"use strict";function c(b){b=b||{},b.datumTokenizer&&b.queryTokenizer||a.error("datumTokenizer and queryTokenizer are both required"),this.datumTokenizer=b.datumTokenizer,this.queryTokenizer=b.queryTokenizer,this.reset()}function d(a){return a=b.filter(a,function(a){return!!a}),a=b.map(a,function(a){return a.toLowerCase()})}function e(){return{ids:[],children:{}}}function f(a){for(var b={},c=[],d=0,e=a.length;e>d;d++)b[a[d]]||(b[a[d]]=!0,c.push(a[d]));return c}function g(a,b){function c(a,b){return a-b}var d=0,e=0,f=[];a=a.sort(c),b=b.sort(c);for(var g=a.length,h=b.length;g>d&&h>e;)a[d]<b[e]?d++:a[d]>b[e]?e++:(f.push(a[d]),d++,e++);return f}return b.mixin(c.prototype,{bootstrap:function(a){this.datums=a.datums,this.trie=a.trie},add:function(a){var c=this;a=b.isArray(a)?a:[a],b.each(a,function(a){var f,g;f=c.datums.push(a)-1,g=d(c.datumTokenizer(a)),b.each(g,function(a){var b,d,g;for(b=c.trie,d=a.split("");g=d.shift();)b=b.children[g]||(b.children[g]=e()),b.ids.push(f)})})},get:function(a){var c,e,h=this;return c=d(this.queryTokenizer(a)),b.each(c,function(a){var b,c,d,f;if(e&&0===e.length)return!1;for(b=h.trie,c=a.split("");b&&(d=c.shift());)b=b.children[d];return b&&0===c.length?(f=b.ids.slice(0),void(e=e?g(e,f):f)):(e=[],!1)}),e?b.map(f(e),function(a){return h.datums[a]}):[]},reset:function(){this.datums=[],this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),c}(),i=function(){"use strict";function d(a){return a.local||null}function e(d){var e,f;return f={url:null,thumbprint:"",ttl:864e5,filter:null,ajax:{}},(e=d.prefetch||null)&&(e=b.isString(e)?{url:e}:e,e=b.mixin(f,e),e.thumbprint=c+e.thumbprint,e.ajax.type=e.ajax.type||"GET",e.ajax.dataType=e.ajax.dataType||"json",!e.url&&a.error("prefetch requires url to be set")),e}function f(c){function d(a){return function(c){return b.debounce(c,a)}}function e(a){return function(c){return b.throttle(c,a)}}var f,g;return g={url:null,cache:!0,wildcard:"%QUERY",replace:null,rateLimitBy:"debounce",rateLimitWait:300,send:null,filter:null,ajax:{}},(f=c.remote||null)&&(f=b.isString(f)?{url:f}:f,f=b.mixin(g,f),f.rateLimiter=/^throttle$/i.test(f.rateLimitBy)?e(f.rateLimitWait):d(f.rateLimitWait),f.ajax.type=f.ajax.type||"GET",f.ajax.dataType=f.ajax.dataType||"json",delete f.rateLimitBy,delete f.rateLimitWait,!f.url&&a.error("remote requires url to be set")),f}return{local:d,prefetch:e,remote:f}}();!function(c){"use strict";function e(b){b&&(b.local||b.prefetch||b.remote)||a.error("one of local, prefetch, or remote is required"),this.limit=b.limit||5,this.sorter=j(b.sorter),this.dupDetector=b.dupDetector||k,this.local=i.local(b),this.prefetch=i.prefetch(b),this.remote=i.remote(b),this.cacheKey=this.prefetch?this.prefetch.cacheKey||this.prefetch.url:null,this.index=new h({datumTokenizer:b.datumTokenizer,queryTokenizer:b.queryTokenizer}),this.storage=this.cacheKey?new f(this.cacheKey):null}function j(a){function c(b){return b.sort(a)}function d(a){return a}return b.isFunction(a)?c:d}function k(){return!1}var l,m;return l=c.Bloodhound,m={data:"data",protocol:"protocol",thumbprint:"thumbprint"},c.Bloodhound=e,e.noConflict=function(){return c.Bloodhound=l,e},e.tokenizers=d,b.mixin(e.prototype,{_loadPrefetch:function(b){function c(a){f.clear(),f.add(b.filter?b.filter(a):a),f._saveToStorage(f.index.serialize(),b.thumbprint,b.ttl)}var d,e,f=this;return(d=this._readFromStorage(b.thumbprint))?(this.index.bootstrap(d),e=a.Deferred().resolve()):e=a.ajax(b.url,b.ajax).done(c),e},_getFromRemote:function(a,b){function c(a,c){b(a?[]:f.remote.filter?f.remote.filter(c):c)}var d,e,f=this;if(this.transport)return a=a||"",e=encodeURIComponent(a),d=this.remote.replace?this.remote.replace(this.remote.url,a):this.remote.url.replace(this.remote.wildcard,e),this.transport.get(d,this.remote.ajax,c)},_cancelLastRemoteRequest:function(){this.transport&&this.transport.cancel()},_saveToStorage:function(a,b,c){this.storage&&(this.storage.set(m.data,a,c),this.storage.set(m.protocol,location.protocol,c),this.storage.set(m.thumbprint,b,c))},_readFromStorage:function(a){var b,c={};return this.storage&&(c.data=this.storage.get(m.data),c.protocol=this.storage.get(m.protocol),c.thumbprint=this.storage.get(m.thumbprint)),b=c.thumbprint!==a||c.protocol!==location.protocol,c.data&&!b?c.data:null},_initialize:function(){function c(){e.add(b.isFunction(f)?f():f)}var d,e=this,f=this.local;return d=this.prefetch?this._loadPrefetch(this.prefetch):a.Deferred().resolve(),f&&d.done(c),this.transport=this.remote?new g(this.remote):null,this.initPromise=d.promise()},initialize:function(a){return!this.initPromise||a?this._initialize():this.initPromise},add:function(a){this.index.add(a)},get:function(a,c){function d(a){var d=f.slice(0);b.each(a,function(a){var c;return c=b.some(d,function(b){return e.dupDetector(a,b)}),!c&&d.push(a),d.length<e.limit}),c&&c(e.sorter(d))}var e=this,f=[],g=!1;f=this.index.get(a),f=this.sorter(f).slice(0,this.limit),f.length<this.limit?g=this._getFromRemote(a,d):this._cancelLastRemoteRequest(),g||(f.length>0||!this.transport)&&c&&c(f)},clear:function(){this.index.reset()},clearPrefetchCache:function(){this.storage&&this.storage.clear()},clearRemoteCache:function(){this.transport&&g.resetCache()},ttAdapter:function(){return b.bind(this.get,this)}}),e}(this);var j=function(){return{wrapper:'<span class="twitter-typeahead"></span>',dropdown:'<span class="tt-dropdown-menu"></span>',dataset:'<div class="tt-dataset-%CLASS%"></div>',suggestions:'<span class="tt-suggestions"></span>',suggestion:'<div class="tt-suggestion"></div>'}}(),k=function(){"use strict";var a={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return b.isMsie()&&b.mixin(a.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),b.isMsie()&&b.isMsie()<=7&&b.mixin(a.input,{marginTop:"-1px"}),a}(),l=function(){"use strict";function c(b){b&&b.el||a.error("EventBus initialized without el"),this.$el=a(b.el)}var d="typeahead:";return b.mixin(c.prototype,{trigger:function(a){var b=[].slice.call(arguments,1);this.$el.trigger(d+a,b)}}),c}(),m=function(){"use strict";function a(a,b,c,d){var e;if(!c)return this;for(b=b.split(i),c=d?h(c,d):c,this._callbacks=this._callbacks||{};e=b.shift();)this._callbacks[e]=this._callbacks[e]||{sync:[],async:[]},this._callbacks[e][a].push(c);return this}function b(b,c,d){return a.call(this,"async",b,c,d)}function c(b,c,d){return a.call(this,"sync",b,c,d)}function d(a){var b;if(!this._callbacks)return this;for(a=a.split(i);b=a.shift();)delete this._callbacks[b];return this}function e(a){var b,c,d,e,g;if(!this._callbacks)return this;for(a=a.split(i),d=[].slice.call(arguments,1);(b=a.shift())&&(c=this._callbacks[b]);)e=f(c.sync,this,[b].concat(d)),g=f(c.async,this,[b].concat(d)),e()&&j(g);return this}function f(a,b,c){function d(){for(var d,e=0,f=a.length;!d&&f>e;e+=1)d=a[e].apply(b,c)===!1;return!d}return d}function g(){var a;return a=window.setImmediate?function(a){setImmediate(function(){a()})}:function(a){setTimeout(function(){a()},0)}}function h(a,b){return a.bind?a.bind(b):function(){a.apply(b,[].slice.call(arguments,0))}}var i=/\s+/,j=g();return{onSync:c,onAsync:b,off:d,trigger:e}}(),n=function(a){"use strict";function c(a,c,d){for(var e,f=[],g=0,h=a.length;h>g;g++)f.push(b.escapeRegExChars(a[g]));return e=d?"\\b("+f.join("|")+")\\b":"("+f.join("|")+")",c?new RegExp(e):new RegExp(e,"i")}var d={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(e){function f(b){var c,d,f;return(c=h.exec(b.data))&&(f=a.createElement(e.tagName),e.className&&(f.className=e.className),d=b.splitText(c.index),d.splitText(c[0].length),f.appendChild(d.cloneNode(!0)),b.parentNode.replaceChild(f,d)),!!c}function g(a,b){for(var c,d=3,e=0;e<a.childNodes.length;e++)c=a.childNodes[e],c.nodeType===d?e+=b(c)?1:0:g(c,b)}var h;e=b.mixin({},d,e),e.node&&e.pattern&&(e.pattern=b.isArray(e.pattern)?e.pattern:[e.pattern],h=c(e.pattern,e.caseSensitive,e.wordsOnly),g(e.node,f))}}(window.document),o=function(){"use strict";function c(c){var e,f,h,i,j=this;c=c||{},c.input||a.error("input is missing"),e=b.bind(this._onBlur,this),f=b.bind(this._onFocus,this),h=b.bind(this._onKeydown,this),i=b.bind(this._onInput,this),this.$hint=a(c.hint),this.$input=a(c.input).on("blur.tt",e).on("focus.tt",f).on("keydown.tt",h),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=b.noop),b.isMsie()?this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(a){g[a.which||a.keyCode]||b.defer(b.bind(j._onInput,j,a))}):this.$input.on("input.tt",i),this.query=this.$input.val(),this.$overflowHelper=d(this.$input)}function d(b){return a('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:b.css("font-family"),fontSize:b.css("font-size"),fontStyle:b.css("font-style"),fontVariant:b.css("font-variant"),fontWeight:b.css("font-weight"),wordSpacing:b.css("word-spacing"),letterSpacing:b.css("letter-spacing"),textIndent:b.css("text-indent"),textRendering:b.css("text-rendering"),textTransform:b.css("text-transform")}).insertAfter(b)}function e(a,b){return c.normalizeQuery(a)===c.normalizeQuery(b)}function f(a){return a.altKey||a.ctrlKey||a.metaKey||a.shiftKey}var g;return g={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},c.normalizeQuery=function(a){return(a||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},b.mixin(c.prototype,m,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(a){var b=g[a.which||a.keyCode];this._managePreventDefault(b,a),b&&this._shouldTrigger(b,a)&&this.trigger(b+"Keyed",a)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(a,b){var c,d,e;switch(a){case"tab":d=this.getHint(),e=this.getInputValue(),c=d&&d!==e&&!f(b);break;case"up":case"down":c=!f(b);break;default:c=!1}c&&b.preventDefault()},_shouldTrigger:function(a,b){var c;switch(a){case"tab":c=!f(b);break;default:c=!0}return c},_checkInputValue:function(){var a,b,c;a=this.getInputValue(),b=e(a,this.query),c=b?this.query.length!==a.length:!1,this.query=a,b?c&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(a){this.query=a},getInputValue:function(){return this.$input.val()},setInputValue:function(a,b){this.$input.val(a),b?this.clearHint():this._checkInputValue()},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(a){this.$hint.val(a)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var a,b,c,d;a=this.getInputValue(),b=this.getHint(),c=a!==b&&0===b.indexOf(a),d=""!==a&&c&&!this.hasOverflow(),!d&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var a=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=a},isCursorAtEnd:function(){var a,c,d;return a=this.$input.val().length,c=this.$input[0].selectionStart,b.isNumber(c)?c===a:document.selection?(d=document.selection.createRange(),d.moveStart("character",-a),a===d.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$hint=this.$input=this.$overflowHelper=null}}),c}(),p=function(){"use strict";function c(c){c=c||{},c.templates=c.templates||{},c.source||a.error("missing source"),c.name&&!f(c.name)&&a.error("invalid dataset name: "+c.name),this.query=null,this.highlight=!!c.highlight,this.name=c.name||b.getUniqueId(),this.source=c.source,this.displayFn=d(c.display||c.displayKey),this.templates=e(c.templates,this.displayFn),this.$el=a(j.dataset.replace("%CLASS%",this.name))}function d(a){function c(b){return b[a]}return a=a||"value",b.isFunction(a)?a:c}function e(a,c){function d(a){return"<p>"+c(a)+"</p>"}return{empty:a.empty&&b.templatify(a.empty),header:a.header&&b.templatify(a.header),footer:a.footer&&b.templatify(a.footer),suggestion:a.suggestion||d}}function f(a){return/^[_a-zA-Z0-9-]+$/.test(a)}var g="ttDataset",h="ttValue",i="ttDatum";return c.extractDatasetName=function(b){return a(b).data(g)},c.extractValue=function(b){return a(b).data(h)},c.extractDatum=function(b){return a(b).data(i)},b.mixin(c.prototype,m,{_render:function(c,d){function e(){return p.templates.empty({query:c,isEmpty:!0})}function f(){function e(b){var c;return c=a(j.suggestion).append(p.templates.suggestion(b)).data(g,p.name).data(h,p.displayFn(b)).data(i,b),c.children().each(function(){a(this).css(k.suggestionChild)}),c}var f,l;return f=a(j.suggestions).css(k.suggestions),l=b.map(d,e),f.append.apply(f,l),p.highlight&&n({className:"tt-highlight",node:f[0],pattern:c}),f}function l(){return p.templates.header({query:c,isEmpty:!o})}function m(){return p.templates.footer({query:c,isEmpty:!o})}if(this.$el){var o,p=this;this.$el.empty(),o=d&&d.length,!o&&this.templates.empty?this.$el.html(e()).prepend(p.templates.header?l():null).append(p.templates.footer?m():null):o&&this.$el.html(f()).prepend(p.templates.header?l():null).append(p.templates.footer?m():null),this.trigger("rendered")}},getRoot:function(){return this.$el},update:function(a){function b(b){c.canceled||a!==c.query||c._render(a,b)}var c=this;this.query=a,this.canceled=!1,this.source(a,b)},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=null}}),c}(),q=function(){"use strict";function c(c){var e,f,g,h=this;c=c||{},c.menu||a.error("menu is required"),this.isOpen=!1,this.isEmpty=!0,this.datasets=b.map(c.datasets,d),e=b.bind(this._onSuggestionClick,this),f=b.bind(this._onSuggestionMouseEnter,this),g=b.bind(this._onSuggestionMouseLeave,this),this.$menu=a(c.menu).on("click.tt",".tt-suggestion",e).on("mouseenter.tt",".tt-suggestion",f).on("mouseleave.tt",".tt-suggestion",g),b.each(this.datasets,function(a){h.$menu.append(a.getRoot()),a.onSync("rendered",h._onRendered,h)})}function d(a){return new p(a)}return b.mixin(c.prototype,m,{_onSuggestionClick:function(b){this.trigger("suggestionClicked",a(b.currentTarget))},_onSuggestionMouseEnter:function(b){this._removeCursor(),this._setCursor(a(b.currentTarget),!0)},_onSuggestionMouseLeave:function(){this._removeCursor()},_onRendered:function(){function a(a){return a.isEmpty()}this.isEmpty=b.every(this.datasets,a),this.isEmpty?this._hide():this.isOpen&&this._show(),this.trigger("datasetRendered")},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function(){return this.$menu.find(".tt-suggestion")},_getCursor:function(){return this.$menu.find(".tt-cursor").first()},_setCursor:function(a,b){a.first().addClass("tt-cursor"),!b&&this.trigger("cursorMoved")},_removeCursor:function(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function(a){var b,c,d,e;if(this.isOpen){if(c=this._getCursor(),b=this._getSuggestions(),this._removeCursor(),d=b.index(c)+a,d=(d+1)%(b.length+1)-1,-1===d)return void this.trigger("cursorRemoved");-1>d&&(d=b.length-1),this._setCursor(e=b.eq(d)),this._ensureVisible(e)}},_ensureVisible:function(a){var b,c,d,e;b=a.position().top,c=b+a.outerHeight(!0),d=this.$menu.scrollTop(),e=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10),0>b?this.$menu.scrollTop(d+b):c>e&&this.$menu.scrollTop(d+(c-e))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,!this.isEmpty&&this._show(),this.trigger("opened"))},setLanguageDirection:function(a){this.$menu.css("ltr"===a?k.ltr:k.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(a){var b=null;return a.length&&(b={raw:p.extractDatum(a),value:p.extractValue(a),datasetName:p.extractDatasetName(a)}),b},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},update:function(a){function c(b){b.update(a)}b.each(this.datasets,c)},empty:function(){function a(a){a.clear()}b.each(this.datasets,a),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){function a(a){a.destroy()}this.$menu.off(".tt"),this.$menu=null,b.each(this.datasets,a)}}),c}(),r=function(){"use strict";function c(c){var e,f,g;c=c||{},c.input||a.error("missing input"),this.isActivated=!1,this.autoselect=!!c.autoselect,this.minLength=b.isNumber(c.minLength)?c.minLength:1,this.$node=d(c.input,c.withHint),e=this.$node.find(".tt-dropdown-menu"),f=this.$node.find(".tt-input"),g=this.$node.find(".tt-hint"),f.on("blur.tt",function(a){var c,d,g;c=document.activeElement,d=e.is(c),g=e.has(c).length>0,b.isMsie()&&(d||g)&&(a.preventDefault(),a.stopImmediatePropagation(),b.defer(function(){f.focus()}))}),e.on("mousedown.tt",function(a){a.preventDefault()}),this.eventBus=c.eventBus||new l({el:f}),this.dropdown=new q({menu:e,datasets:c.datasets}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new o({input:f,hint:g}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._setLanguageDirection()}function d(b,c){var d,f,h,i;d=a(b),f=a(j.wrapper).css(k.wrapper),h=a(j.dropdown).css(k.dropdown),i=d.clone().css(k.hint).css(e(d)),i.val("").removeData().addClass("tt-hint").removeAttr("id name placeholder required").prop("readonly",!0).attr({autocomplete:"off",spellcheck:"false",tabindex:-1}),d.data(g,{dir:d.attr("dir"),autocomplete:d.attr("autocomplete"),spellcheck:d.attr("spellcheck"),style:d.attr("style")}),d.addClass("tt-input").attr({autocomplete:"off",spellcheck:!1}).css(c?k.input:k.inputWithNoHint);try{!d.attr("dir")&&d.attr("dir","auto")}catch(l){}return d.wrap(f).parent().prepend(c?i:null).append(h)}function e(a){return{backgroundAttachment:a.css("background-attachment"),backgroundClip:a.css("background-clip"),backgroundColor:a.css("background-color"),backgroundImage:a.css("background-image"),backgroundOrigin:a.css("background-origin"),backgroundPosition:a.css("background-position"),backgroundRepeat:a.css("background-repeat"),backgroundSize:a.css("background-size")}}function f(a){var c=a.find(".tt-input");b.each(c.data(g),function(a,d){b.isUndefined(a)?c.removeAttr(d):c.attr(d,a)}),c.detach().removeData(g).removeClass("tt-input").insertAfter(a),a.remove()}var g="ttAttrs";return b.mixin(c.prototype,{_onSuggestionClicked:function(a,b){var c;(c=this.dropdown.getDatumForSuggestion(b))&&this._select(c)},_onCursorMoved:function(){var a=this.dropdown.getDatumForCursor();this.input.setInputValue(a.value,!0),this.eventBus.trigger("cursorchanged",a.raw,a.datasetName)},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint()},_onDatasetRendered:function(){this._updateHint()},_onOpened:function(){this._updateHint(),this.eventBus.trigger("opened")},_onClosed:function(){this.input.clearHint(),this.eventBus.trigger("closed")},_onFocused:function(){this.isActivated=!0,this.dropdown.open()},_onBlurred:function(){this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()},_onEnterKeyed:function(a,b){var c,d;c=this.dropdown.getDatumForCursor(),d=this.dropdown.getDatumForTopSuggestion(),c?(this._select(c),b.preventDefault()):this.autoselect&&d&&(this._select(d),b.preventDefault())},_onTabKeyed:function(a,b){var c;(c=this.dropdown.getDatumForCursor())?(this._select(c),b.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var a=this.input.getQuery();this.dropdown.isEmpty&&a.length>=this.minLength?this.dropdown.update(a):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var a=this.input.getQuery();this.dropdown.isEmpty&&a.length>=this.minLength?this.dropdown.update(a):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(a,b){this.input.clearHintIfInvalid(),b.length>=this.minLength?this.dropdown.update(b):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var a;this.dir!==(a=this.input.getLanguageDirection())&&(this.dir=a,this.$node.css("direction",a),this.dropdown.setLanguageDirection(a))},_updateHint:function(){var a,c,d,e,f,g;a=this.dropdown.getDatumForTopSuggestion(),a&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(c=this.input.getInputValue(),d=o.normalizeQuery(c),e=b.escapeRegExChars(d),f=new RegExp("^(?:"+e+")(.+$)","i"),g=f.exec(a.value),g?this.input.setHint(c+g[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(a){var b,c,d,e;b=this.input.getHint(),c=this.input.getQuery(),d=a||this.input.isCursorAtEnd(),b&&c!==b&&d&&(e=this.dropdown.getDatumForTopSuggestion(),e&&this.input.setInputValue(e.value),this.eventBus.trigger("autocompleted",e.raw,e.datasetName))},_select:function(a){this.input.setQuery(a.value),this.input.setInputValue(a.value,!0),this._setLanguageDirection(),this.eventBus.trigger("selected",a.raw,a.datasetName),this.dropdown.close(),b.defer(b.bind(this.dropdown.empty,this.dropdown))},open:function(){this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(a){a=b.toStr(a),this.isActivated?this.input.setInputValue(a):(this.input.setQuery(a),this.input.setInputValue(a,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),f(this.$node),this.$node=null}}),c}();!function(){"use strict";var c,d,e;c=a.fn.typeahead,d="ttTypeahead",e={initialize:function(c,e){function f(){var f,g,h=a(this);b.each(e,function(a){a.highlight=!!c.highlight}),g=new r({input:h,eventBus:f=new l({el:h}),withHint:b.isUndefined(c.hint)?!0:!!c.hint,minLength:c.minLength,autoselect:c.autoselect,datasets:e}),h.data(d,g)}return e=b.isArray(e)?e:[].slice.call(arguments,1),c=c||{},this.each(f)},open:function(){function b(){var b,c=a(this);(b=c.data(d))&&b.open()}return this.each(b)},close:function(){function b(){var b,c=a(this);(b=c.data(d))&&b.close()}return this.each(b)},val:function(b){function c(){var c,e=a(this);(c=e.data(d))&&c.setVal(b)}function e(a){var b,c;return(b=a.data(d))&&(c=b.getVal()),c}return arguments.length?this.each(c):e(this.first())},destroy:function(){function b(){var b,c=a(this);(b=c.data(d))&&(b.destroy(),c.removeData(d))}return this.each(b)}},a.fn.typeahead=function(b){var c;return e[b]&&"initialize"!==b?(c=this.filter(function(){return!!a(this).data(d)}),e[b].apply(c,[].slice.call(arguments,1))):e.initialize.apply(this,arguments)},a.fn.typeahead.noConflict=function(){return a.fn.typeahead=c,this}}()}(window.jQuery);
@@ -0,0 +1,924 @@
1
+ /*
2
+ Icon font
3
+ */
4
+ @font-face {
5
+ font-family: 'RedactorFont';
6
+ src: url('redactor-font.eot');
7
+ }
8
+ @font-face {
9
+ font-family: 'RedactorFont';
10
+ src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggi/NUAAAC8AAAAYGNtYXAaVcx2AAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zm8dIFkAAAFwAAATSGhlYWQACVb9AAAUuAAAADZoaGVhA+ECBQAAFPAAAAAkaG10eEEBA94AABUUAAAAkGxvY2FVlFE8AAAVpAAAAEptYXhwAC8AkgAAFfAAAAAgbmFtZRHEcG0AABYQAAABZnBvc3QAAwAAAAAXeAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmHwHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIOYf//3//wAAAAAAIOYA//3//wAB/+MaBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAwAAACUCAAGSAAQACQANAAA3EQURBQEFEQURATUXBwACAP4AAdv+SgG2/tySkiUBbgH+lAEBSgH+3AEBJv7/3G9sAAAGAAAASQIAAW4ABAAJAA4AEwAYAB0AABMhFSE1FSEVITUVIRUhNSczFSM1FTMVIzUVMxUjNZ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AAIAAG4CAAAAAgAAbQIAAAACAAAJAgAASQIA//8CAAAAAgAAAAIAAAACAACSAgAAAAIAAAACAAAlAgAAAAIAAG4CAAAlAgAAJQIAAEkCAAAAAgAAAAIAAJMCAAAlAgAAQgIAAAACAAAAAgAAAAIAAAACAAAAAABQAAAkAAAAAAAOAK4AAQAAAAAAAQAYAAAAAQAAAAAAAgAOAGoAAQAAAAAAAwAYAC4AAQAAAAAABAAYAHgAAQAAAAAABQAWABgAAQAAAAAABgAMAEYAAQAAAAAACgAoAJAAAwABBAkAAQAYAAAAAwABBAkAAgAOAGoAAwABBAkAAwAYAC4AAwABBAkABAAYAHgAAwABBAkABQAWABgAAwABBAkABgAYAFIAAwABBAkACgAoAJAAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0AFIAZQBnAHUAbABhAHIAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ }
14
+ /*
15
+ Box
16
+ */
17
+ .redactor-box {
18
+ position: relative;
19
+ overflow: visible;
20
+ margin-bottom: 24px;
21
+ }
22
+ .redactor-box textarea {
23
+ display: block;
24
+ position: relative;
25
+ margin: 0;
26
+ padding: 0;
27
+ width: 100%;
28
+ overflow: auto;
29
+ outline: none;
30
+ border: none;
31
+ background-color: #111;
32
+ box-shadow: none;
33
+ color: #ccc;
34
+ font-size: 13px;
35
+ font-family: Menlo, Monaco, monospace, sans-serif;
36
+ resize: none;
37
+ }
38
+ .redactor-box textarea:focus {
39
+ outline: none;
40
+ }
41
+ /*
42
+ Z-index setup
43
+ */
44
+ .redactor-editor,
45
+ .redactor-box {
46
+ background: #fff;
47
+ }
48
+ .redactor-editor,
49
+ .redactor-box,
50
+ .redactor-box textarea {
51
+ z-index: auto !important;
52
+ }
53
+ .redactor-box-fullscreen {
54
+ z-index: 5000 !important;
55
+ /*z-index: 1052 !important;
56
+ Changed by Ryan -> This needs to be above other toolbars
57
+ */
58
+ }
59
+ .redactor-toolbar,
60
+ .redactor-dropdown {
61
+ z-index: 1053 !important;
62
+ }
63
+ #redactor-modal-overlay,
64
+ #redactor-modal-box,
65
+ #redactor-modal {
66
+ z-index: 1054 !important;
67
+ }
68
+ /*
69
+ Resize
70
+ */
71
+ .redactor-resize {
72
+ background: #f4f4f4;
73
+ padding: 4px 0 3px 0;
74
+ cursor: move;
75
+ border: 1px solid #e3e3e3;
76
+ border-top: none;
77
+ }
78
+ .redactor-resize div {
79
+ width: 30px;
80
+ margin: auto;
81
+ border-top: 1px solid #bbb;
82
+ border-bottom: 1px solid #fff;
83
+ }
84
+ /*
85
+ Fullscreen
86
+ */
87
+ body .redactor-box-fullscreen {
88
+ position: fixed;
89
+ top: 0;
90
+ left: 0;
91
+ width: 100%;
92
+ }
93
+ /*
94
+ Utils
95
+ */
96
+ .body-redactor-hidden {
97
+ overflow: hidden;
98
+ }
99
+ /*
100
+ Editor
101
+ */
102
+ .redactor-editor {
103
+ position: relative;
104
+ overflow: auto;
105
+ margin: 0 !important;
106
+ padding: 20px;
107
+ outline: none;
108
+ white-space: normal;
109
+ border: 1px solid #eee;
110
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
111
+ font-size: 14px;
112
+ line-height: 1.6em;
113
+ }
114
+ .redactor-editor:focus {
115
+ outline: none;
116
+ }
117
+ /*
118
+ Placeholder
119
+ */
120
+ .redactor-placeholder {
121
+ position: relative;
122
+ }
123
+ .redactor-placeholder:after {
124
+ position: absolute;
125
+ top: 20px;
126
+ left: 20px;
127
+ content: attr(placeholder);
128
+ color: #999 !important;
129
+ font-weight: normal !important;
130
+ }
131
+ /* Placeholder in linebreaks mode */
132
+ .redactor-linebreaks.redactor-placeholder:after {
133
+ top: 20px;
134
+ left: 20px;
135
+ }
136
+ /*
137
+ Toolbar
138
+ */
139
+ .redactor-toolbar {
140
+ position: relative;
141
+ top: 0;
142
+ left: 0;
143
+ margin: 0 !important;
144
+ padding: 0 !important;
145
+ list-style: none !important;
146
+ font-size: 14px !important;
147
+ line-height: 1 !important;
148
+ background: #fff;
149
+ border: none;
150
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
151
+ }
152
+ .redactor-toolbar:after {
153
+ content: "";
154
+ display: table;
155
+ clear: both;
156
+ }
157
+ .redactor-toolbar.redactor-toolbar-overflow {
158
+ overflow-y: auto;
159
+ height: 29px;
160
+ white-space: nowrap;
161
+ }
162
+ .redactor-toolbar.redactor-toolbar-external {
163
+ z-index: 999;
164
+ box-shadow: none;
165
+ border: 1px solid rgba(0, 0, 0, 0.1);
166
+ }
167
+ .redactor-toolbar li {
168
+ vertical-align: top;
169
+ display: inline-block;
170
+ margin: 0 !important;
171
+ padding: 0 !important;
172
+ outline: none;
173
+ list-style: none !important;
174
+ -webkit-box-sizing: content-box;
175
+ -moz-box-sizing: content-box;
176
+ box-sizing: content-box;
177
+ }
178
+ .redactor-toolbar li a {
179
+ display: block;
180
+ color: #333;
181
+ text-align: center;
182
+ padding: 9px 10px;
183
+ outline: none;
184
+ border: none;
185
+ text-decoration: none;
186
+ cursor: pointer;
187
+ zoom: 1;
188
+ -webkit-box-sizing: content-box;
189
+ -moz-box-sizing: content-box;
190
+ box-sizing: content-box;
191
+ }
192
+ .redactor-toolbar li a:hover {
193
+ outline: none;
194
+ background-color: #1f78d8;
195
+ color: #fff;
196
+ }
197
+ .redactor-toolbar li a:hover i:before {
198
+ color: #fff;
199
+ }
200
+ .redactor-toolbar li a:active,
201
+ .redactor-toolbar li a.redactor-act {
202
+ outline: none;
203
+ background-color: #ccc;
204
+ color: #444;
205
+ }
206
+ .redactor-toolbar li a.redactor-btn-image {
207
+ width: 14px;
208
+ height: 14px;
209
+ background-position: center center;
210
+ background-repeat: no-repeat;
211
+ }
212
+ .redactor-toolbar li a.fa-redactor-btn {
213
+ display: inline-block;
214
+ padding: 9px 10px 8px 10px;
215
+ line-height: 1;
216
+ }
217
+ .redactor-toolbar li a.redactor-button-disabled {
218
+ filter: alpha(opacity=30);
219
+ -moz-opacity: 0.3;
220
+ opacity: 0.3;
221
+ }
222
+ .redactor-toolbar li a.redactor-button-disabled:hover {
223
+ color: #333;
224
+ outline: none;
225
+ background-color: transparent !important;
226
+ cursor: default;
227
+ }
228
+ /*
229
+ Icons
230
+ */
231
+ .re-icon {
232
+ font-family: 'RedactorFont';
233
+ speak: none;
234
+ font-style: normal;
235
+ font-weight: normal;
236
+ font-variant: normal;
237
+ text-transform: none;
238
+ line-height: 1;
239
+ -webkit-font-smoothing: antialiased;
240
+ -moz-osx-font-smoothing: grayscale;
241
+ }
242
+ .re-icon i:before {
243
+ position: relative;
244
+ font-size: 14px;
245
+ }
246
+ .re-video:before {
247
+ content: "\e600";
248
+ }
249
+ .re-unorderedlist:before {
250
+ content: "\e601";
251
+ }
252
+ .re-undo:before {
253
+ content: "\e602";
254
+ }
255
+ .re-underline:before {
256
+ content: "\e603";
257
+ }
258
+ .re-textdirection:before {
259
+ content: "\e604";
260
+ }
261
+ .re-fontcolor:before {
262
+ content: "\e605";
263
+ }
264
+ .re-table:before {
265
+ content: "\e606";
266
+ }
267
+ .re-redo:before {
268
+ content: "\e607";
269
+ }
270
+ .re-quote:before {
271
+ content: "\e608";
272
+ }
273
+ .re-outdent:before {
274
+ content: "\e609";
275
+ }
276
+ .re-orderedlist:before {
277
+ content: "\e60a";
278
+ }
279
+ .re-link:before {
280
+ content: "\e60b";
281
+ }
282
+ .re-horizontalrule:before {
283
+ content: "\e60c";
284
+ }
285
+ .re-italic:before {
286
+ content: "\e60d";
287
+ }
288
+ .re-indent:before {
289
+ content: "\e60e";
290
+ }
291
+ .re-image:before {
292
+ content: "\e60f";
293
+ }
294
+ .re-fullscreen:before {
295
+ content: "\e610";
296
+ }
297
+ .re-normalscreen:before {
298
+ content: "\e611";
299
+ }
300
+ .re-formatting:before {
301
+ content: "\e612";
302
+ }
303
+ .re-fontsize:before {
304
+ content: "\e613";
305
+ }
306
+ .re-fontfamily:before {
307
+ content: "\e614";
308
+ }
309
+ .re-deleted:before {
310
+ content: "\e615";
311
+ }
312
+ .re-html:before {
313
+ content: "\e616";
314
+ }
315
+ .re-clips:before {
316
+ content: "\e617";
317
+ }
318
+ .re-bold:before {
319
+ content: "\e618";
320
+ }
321
+ .re-backcolor:before {
322
+ content: "\e619";
323
+ }
324
+ .re-file:before {
325
+ content: "\e61a";
326
+ }
327
+ .re-alignright:before {
328
+ content: "\e61b";
329
+ }
330
+ .re-alignment:before,
331
+ .re-alignleft:before {
332
+ content: "\e61c";
333
+ }
334
+ .re-alignjustify:before {
335
+ content: "\e61d";
336
+ }
337
+ .re-aligncenter:before {
338
+ content: "\e61e";
339
+ }
340
+ .re-gallery:before {
341
+ content: "\e61f";
342
+ }
343
+ /*
344
+ Toolbar tooltip
345
+ */
346
+ .redactor-toolbar-tooltip {
347
+ position: absolute;
348
+ z-index: 1054;
349
+ text-align: center;
350
+ top: 0;
351
+ left: 0;
352
+ background: #000;
353
+ color: #fff;
354
+ padding: 5px 8px;
355
+ line-height: 1;
356
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
357
+ font-size: 12px;
358
+ border-radius: 2px;
359
+ }
360
+ /*
361
+ Dropdown
362
+ */
363
+ .redactor-dropdown {
364
+ position: absolute;
365
+ top: 28px;
366
+ left: 0;
367
+ padding: 0;
368
+ min-width: 220px;
369
+ max-height: 254px;
370
+ overflow: auto;
371
+ background-color: #fff;
372
+ box-shadow: 0 1px 7px rgba(0, 0, 0, 0.25);
373
+ font-size: 14px;
374
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
375
+ line-height: 1.6em;
376
+ }
377
+ .redactor-dropdown a {
378
+ display: block;
379
+ padding: 10px 15px;
380
+ color: #000;
381
+ text-decoration: none;
382
+ border-bottom: 1px solid rgba(0, 0, 0, 0.07);
383
+ }
384
+ .redactor-dropdown a:last-child {
385
+ border-bottom: none;
386
+ }
387
+ .redactor-dropdown a:hover {
388
+ background-color: #1f78d8;
389
+ color: #fff !important;
390
+ text-decoration: none;
391
+ }
392
+ /*
393
+ IMAGE BOX
394
+ */
395
+ #redactor-image-box {
396
+ position: relative;
397
+ max-width: 100%;
398
+ display: inline-block;
399
+ line-height: 0;
400
+ outline: 1px dashed rgba(0, 0, 0, 0.6);
401
+ }
402
+ #redactor-image-editter {
403
+ position: absolute;
404
+ z-index: 5;
405
+ top: 50%;
406
+ left: 50%;
407
+ margin-top: -11px;
408
+ margin-left: -18px;
409
+ line-height: 1;
410
+ background-color: #000;
411
+ color: #fff;
412
+ font-size: 11px;
413
+ padding: 7px 10px;
414
+ cursor: pointer;
415
+ }
416
+ #redactor-image-resizer {
417
+ position: absolute;
418
+ z-index: 2;
419
+ line-height: 1;
420
+ cursor: nw-resize;
421
+ bottom: -4px;
422
+ right: -5px;
423
+ border: 1px solid #fff;
424
+ background-color: #000;
425
+ width: 8px;
426
+ height: 8px;
427
+ }
428
+ /*
429
+ LINK TOOLTIP
430
+ */
431
+ .redactor-link-tooltip {
432
+ position: absolute;
433
+ z-index: 49999;
434
+ padding: 10px;
435
+ line-height: 1;
436
+ display: inline-block;
437
+ background-color: #000;
438
+ color: #555 !important;
439
+ }
440
+ .redactor-link-tooltip,
441
+ .redactor-link-tooltip a {
442
+ font-size: 12px;
443
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
444
+ }
445
+ .redactor-link-tooltip a {
446
+ color: #ccc;
447
+ margin: 0 5px;
448
+ text-decoration: none;
449
+ }
450
+ .redactor-link-tooltip a:hover {
451
+ color: #fff;
452
+ }
453
+ /*
454
+ DROPAREA
455
+ */
456
+ #redactor-droparea {
457
+ position: relative;
458
+ overflow: hidden;
459
+ padding: 140px 20px;
460
+ border: 3px dashed rgba(0, 0, 0, 0.1);
461
+ }
462
+ #redactor-droparea.drag-hover {
463
+ background: rgba(200, 222, 250, 0.75);
464
+ }
465
+ #redactor-droparea.drag-drop {
466
+ background: rgba(250, 248, 200, 0.5);
467
+ }
468
+ #redactor-droparea-placeholder {
469
+ text-align: center;
470
+ font-size: 12px;
471
+ color: rgba(0, 0, 0, 0.7);
472
+ }
473
+ /*
474
+ PROGRESS
475
+ */
476
+ #redactor-progress {
477
+ position: fixed;
478
+ top: 0;
479
+ left: 0;
480
+ width: 100%;
481
+ z-index: 1000000;
482
+ height: 10px;
483
+ }
484
+ #redactor-progress span {
485
+ display: block;
486
+ width: 100%;
487
+ height: 100%;
488
+ background-color: #3d58a8;
489
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
490
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
491
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
492
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
493
+ -o-animation: progress-bar-stripes 2s linear infinite;
494
+ animation: progress-bar-stripes 2s linear infinite;
495
+ background-size: 40px 40px;
496
+ }
497
+ @-webkit-keyframes progress-bar-stripes {
498
+ from {
499
+ background-position: 40px 0;
500
+ }
501
+ to {
502
+ background-position: 0 0;
503
+ }
504
+ }
505
+ @-o-keyframes progress-bar-stripes {
506
+ from {
507
+ background-position: 40px 0;
508
+ }
509
+ to {
510
+ background-position: 0 0;
511
+ }
512
+ }
513
+ @keyframes progress-bar-stripes {
514
+ from {
515
+ background-position: 40px 0;
516
+ }
517
+ to {
518
+ background-position: 0 0;
519
+ }
520
+ }
521
+ /*
522
+ MODAL
523
+ */
524
+ #redactor-modal-overlay {
525
+ position: fixed;
526
+ top: 0;
527
+ left: 0;
528
+ margin: auto;
529
+ overflow: auto;
530
+ width: 100%;
531
+ height: 100%;
532
+ background-color: #000 !important;
533
+ filter: alpha(opacity=30);
534
+ -moz-opacity: 0.3;
535
+ opacity: 0.3;
536
+ }
537
+ #redactor-modal-box {
538
+ position: fixed;
539
+ top: 0;
540
+ left: 0;
541
+ bottom: 0;
542
+ right: 0;
543
+ overflow-x: hidden;
544
+ overflow-y: auto;
545
+ }
546
+ #redactor-modal {
547
+ position: relative;
548
+ margin: auto;
549
+ margin-bottom: 20px;
550
+ padding: 0;
551
+ background: #fff;
552
+ color: #000;
553
+ font-size: 14px !important;
554
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
555
+ box-shadow: 0 1px 70px rgba(0, 0, 0, 0.5);
556
+ }
557
+ #redactor-modal header {
558
+ padding: 30px 40px 5px 40px;
559
+ font-size: 18px;
560
+ font-weight: bold;
561
+ }
562
+ #redactor-modal section {
563
+ padding: 30px 40px 50px 40px;
564
+ }
565
+ #redactor-modal label {
566
+ display: block;
567
+ float: none !important;
568
+ margin: 15px 0 3px 0 !important;
569
+ padding: 0;
570
+ }
571
+ #redactor-modal input[type="radio"],
572
+ #redactor-modal input[type="checkbox"] {
573
+ position: relative;
574
+ top: -1px;
575
+ }
576
+ #redactor-modal select {
577
+ width: 100%;
578
+ }
579
+ #redactor-modal input[type="text"],
580
+ #redactor-modal input[type="password"],
581
+ #redactor-modal input[type="email"],
582
+ #redactor-modal input[type="url"],
583
+ #redactor-modal textarea {
584
+ position: relative;
585
+ z-index: 2;
586
+ margin: 0;
587
+ padding: 5px 4px;
588
+ height: 28px;
589
+ border: 1px solid #ccc;
590
+ border-radius: 1px;
591
+ background-color: white;
592
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
593
+ color: #333;
594
+ width: 100%;
595
+ font-size: 14px;
596
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
597
+ -moz-transition: border 0.3s ease-in;
598
+ transition: border 0.3s ease-in;
599
+ }
600
+ #redactor-modal input[type="text"]:focus,
601
+ #redactor-modal input[type="password"]:focus,
602
+ #redactor-modal input[type="email"]:focus,
603
+ #redactor-modal input[type="url"]:focus,
604
+ #redactor-modal textarea:focus {
605
+ outline: none;
606
+ border-color: #5ca9e4;
607
+ box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
608
+ }
609
+ #redactor-modal input[type="text"].redactor-input-error,
610
+ #redactor-modal input[type="password"].redactor-input-error,
611
+ #redactor-modal input[type="email"].redactor-input-error,
612
+ #redactor-modal input[type="url"].redactor-input-error,
613
+ #redactor-modal textarea.redactor-input-error {
614
+ border-color: #e82f2f;
615
+ box-shadow: 0 0 0 2px rgba(232, 47, 47, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
616
+ }
617
+ #redactor-modal textarea {
618
+ display: block;
619
+ margin-top: 4px;
620
+ line-height: 1.4em;
621
+ }
622
+ /*
623
+ Tabs in Modal
624
+ */
625
+ #redactor-modal-tabber {
626
+ margin-bottom: 15px;
627
+ font-size: 12px;
628
+ }
629
+ #redactor-modal-tabber a {
630
+ border: 1px solid #ddd;
631
+ line-height: 1;
632
+ padding: 8px 15px;
633
+ margin-right: -1px;
634
+ text-decoration: none;
635
+ color: #000;
636
+ }
637
+ #redactor-modal-tabber a:hover {
638
+ background-color: #1f78d8;
639
+ border-color: #1f78d8;
640
+ color: #fff;
641
+ }
642
+ #redactor-modal-tabber a.active {
643
+ cursor: default;
644
+ background-color: #ddd;
645
+ border-color: #ddd;
646
+ color: rgba(0, 0, 0, 0.6);
647
+ }
648
+ /*
649
+ List in Modal
650
+ */
651
+ #redactor-modal #redactor-modal-list {
652
+ margin-left: 0;
653
+ padding-left: 0;
654
+ list-style: none;
655
+ max-height: 250px;
656
+ overflow-x: scroll;
657
+ }
658
+ #redactor-modal #redactor-modal-list li {
659
+ border-bottom: 1px solid #ddd;
660
+ }
661
+ #redactor-modal #redactor-modal-list li:last-child {
662
+ border-bottom: none;
663
+ }
664
+ #redactor-modal #redactor-modal-list a {
665
+ padding: 10px 5px;
666
+ color: #000;
667
+ text-decoration: none;
668
+ font-size: 13px;
669
+ display: block;
670
+ position: relative;
671
+ }
672
+ #redactor-modal #redactor-modal-list a:hover {
673
+ background-color: #eee;
674
+ }
675
+ #redactor-modal-close {
676
+ position: absolute;
677
+ top: 10px;
678
+ right: 10px;
679
+ width: 30px;
680
+ height: 30px;
681
+ text-align: right;
682
+ color: #bbb;
683
+ font-size: 30px;
684
+ font-weight: 300;
685
+ cursor: pointer;
686
+ }
687
+ #redactor-modal-close:hover {
688
+ color: #000;
689
+ }
690
+ #redactor-modal footer button {
691
+ position: relative;
692
+ width: 100%;
693
+ padding: 14px 16px;
694
+ margin: 0;
695
+ outline: none;
696
+ border: none;
697
+ background-color: #ddd;
698
+ color: #000;
699
+ text-align: center;
700
+ text-decoration: none;
701
+ font-weight: normal;
702
+ font-size: 12px;
703
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
704
+ line-height: 1;
705
+ cursor: pointer;
706
+ }
707
+ #redactor-modal footer button:hover {
708
+ color: #777;
709
+ background: none;
710
+ background: #bbb;
711
+ text-decoration: none;
712
+ }
713
+ #redactor-modal footer button.redactor-modal-delete-btn {
714
+ background: none;
715
+ color: #fff;
716
+ background-color: #b52525;
717
+ }
718
+ #redactor-modal footer button.redactor-modal-delete-btn:hover {
719
+ color: rgba(255, 255, 255, 0.6);
720
+ background-color: #881b1b;
721
+ }
722
+ #redactor-modal footer button.redactor-modal-action-btn {
723
+ background: none;
724
+ color: #fff;
725
+ background-color: #2461b5;
726
+ }
727
+ #redactor-modal footer button.redactor-modal-action-btn:hover {
728
+ color: rgba(255, 255, 255, 0.6);
729
+ background-color: #1a4580;
730
+ }
731
+ /*
732
+ ##############################################
733
+
734
+ DROPDOWN FORMATTING
735
+
736
+ ##############################################
737
+ */
738
+ .redactor-dropdown .redactor-formatting-blockquote {
739
+ color: rgba(0, 0, 0, 0.4);
740
+ font-style: italic;
741
+ }
742
+ .redactor-dropdown .redactor-formatting-pre {
743
+ font-family: monospace, sans-serif;
744
+ }
745
+ .redactor-dropdown .redactor-formatting-h1 {
746
+ font-size: 36px;
747
+ line-height: 36px;
748
+ font-weight: bold;
749
+ }
750
+ .redactor-dropdown .redactor-formatting-h2 {
751
+ font-size: 24px;
752
+ line-height: 36px;
753
+ font-weight: bold;
754
+ }
755
+ .redactor-dropdown .redactor-formatting-h3 {
756
+ font-size: 21px;
757
+ line-height: 30px;
758
+ font-weight: bold;
759
+ }
760
+ .redactor-dropdown .redactor-formatting-h4 {
761
+ font-size: 18px;
762
+ line-height: 26px;
763
+ font-weight: bold;
764
+ }
765
+ .redactor-dropdown .redactor-formatting-h5 {
766
+ font-size: 16px;
767
+ line-height: 23px;
768
+ font-weight: bold;
769
+ }
770
+ /*
771
+ ##############################################
772
+
773
+ CONTENT STYLES
774
+
775
+ ##############################################
776
+ */
777
+ .redactor-editor code,
778
+ .redactor-editor pre {
779
+ font-family: Menlo, Monaco, monospace, sans-serif;
780
+ }
781
+ .redactor-editor div,
782
+ .redactor-editor p,
783
+ .redactor-editor ul,
784
+ .redactor-editor ol,
785
+ .redactor-editor table,
786
+ .redactor-editor dl,
787
+ .redactor-editor blockquote,
788
+ .redactor-editor pre {
789
+ font-size: 14px;
790
+ line-height: 1.6em;
791
+ }
792
+ .redactor-editor a {
793
+ color: #15c;
794
+ text-decoration: underline;
795
+ }
796
+ .redactor-editor object,
797
+ .redactor-editor embed,
798
+ .redactor-editor video,
799
+ .redactor-editor img {
800
+ max-width: 100%;
801
+ width: auto;
802
+ }
803
+ .redactor-editor video,
804
+ .redactor-editor img {
805
+ height: auto;
806
+ }
807
+ .redactor-editor div,
808
+ .redactor-editor p,
809
+ .redactor-editor ul,
810
+ .redactor-editor ol,
811
+ .redactor-editor table,
812
+ .redactor-editor dl,
813
+ .redactor-editor figure,
814
+ .redactor-editor blockquote,
815
+ .redactor-editor pre {
816
+ margin: 0;
817
+ margin-bottom: 15px;
818
+ border: none;
819
+ background: none;
820
+ box-shadow: none;
821
+ }
822
+ .redactor-editor iframe,
823
+ .redactor-editor object,
824
+ .redactor-editor hr {
825
+ margin-bottom: 15px;
826
+ }
827
+ .redactor-editor blockquote {
828
+ margin-left: 1.6em !important;
829
+ padding-left: 0;
830
+ color: #777;
831
+ font-style: italic;
832
+ }
833
+ .redactor-editor ul,
834
+ .redactor-editor ol {
835
+ padding-left: 2em;
836
+ }
837
+ .redactor-editor ul ul,
838
+ .redactor-editor ol ol,
839
+ .redactor-editor ul ol,
840
+ .redactor-editor ol ul {
841
+ margin: 2px;
842
+ padding: 0;
843
+ padding-left: 2em;
844
+ border: none;
845
+ }
846
+ .redactor-editor dl dt {
847
+ font-weight: bold;
848
+ }
849
+ .redactor-editor dd {
850
+ margin-left: 1em;
851
+ }
852
+ .redactor-editor table {
853
+ border-collapse: collapse;
854
+ font-size: 1em;
855
+ width: 100%;
856
+ }
857
+ .redactor-editor table td,
858
+ .redactor-editor table th {
859
+ padding: 5px;
860
+ border: 1px solid #ddd;
861
+ vertical-align: top;
862
+ }
863
+ .redactor-editor table thead td,
864
+ .redactor-editor table th {
865
+ font-weight: bold;
866
+ border-bottom-color: #888;
867
+ }
868
+ .redactor-editor code {
869
+ background-color: #d8d7d7;
870
+ }
871
+ .redactor-editor pre {
872
+ overflow: auto;
873
+ padding: 1em;
874
+ border: 1px solid #ddd;
875
+ border-radius: 3px;
876
+ background: #f8f8f8;
877
+ white-space: pre;
878
+ font-size: 90%;
879
+ }
880
+ .redactor-editor hr {
881
+ display: block;
882
+ height: 1px;
883
+ border: 0;
884
+ border-top: 1px solid #ccc;
885
+ }
886
+ .redactor-editor h1,
887
+ .redactor-editor h2,
888
+ .redactor-editor h3,
889
+ .redactor-editor h4,
890
+ .redactor-editor h5,
891
+ .redactor-editor h6 {
892
+ font-weight: bold;
893
+ color: #000;
894
+ padding: 0;
895
+ background: none;
896
+ text-rendering: optimizeLegibility;
897
+ margin: 0 0 .5em 0;
898
+ }
899
+ .redactor-editor h1,
900
+ .redactor-editor h2,
901
+ .redactor-editor h3,
902
+ .redactor-editor h4 {
903
+ line-height: 1.3;
904
+ }
905
+ .redactor-editor h1 {
906
+ font-size: 36px;
907
+ }
908
+ .redactor-editor h2 {
909
+ font-size: 24px;
910
+ margin-bottom: .7em;
911
+ }
912
+ .redactor-editor h3 {
913
+ font-size: 21px;
914
+ }
915
+ .redactor-editor h4 {
916
+ font-size: 18px;
917
+ }
918
+ .redactor-editor h5 {
919
+ font-size: 16px;
920
+ }
921
+ .redactor-editor h6 {
922
+ font-size: 12px;
923
+ text-transform: uppercase;
924
+ }