spud_core 1.0.0.rc2 → 1.0.0

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 +4 -4
  2. data/app/assets/images/spud/admin/generic_icon.png +0 -0
  3. data/app/assets/images/spud/admin/generic_icon@2x.png +0 -0
  4. data/app/assets/images/spud/admin/users_icon.png +0 -0
  5. data/app/assets/images/spud/admin/users_icon@2x.png +0 -0
  6. data/app/assets/javascripts/spud/admin/application.js +3 -2
  7. data/app/assets/javascripts/spud/admin/codemirror.js.coffee +44 -0
  8. data/app/assets/javascripts/spud/admin/editor.js.coffee +61 -0
  9. data/app/assets/javascripts/spud/admin/tiny_mce.js.coffee +92 -0
  10. data/app/assets/libs/{bootstrap3 → spud/bootstrap-3.1.1}/css/bootstrap-theme.css +116 -166
  11. data/app/assets/libs/spud/bootstrap-3.1.1/css/bootstrap-theme.css.map +1 -0
  12. data/app/assets/libs/spud/bootstrap-3.1.1/css/bootstrap-theme.min.css +7 -0
  13. data/app/assets/libs/{bootstrap3/css/bootstrap.css.erb → spud/bootstrap-3.1.1/css/bootstrap.css} +1294 -2627
  14. data/app/assets/libs/spud/bootstrap-3.1.1/css/bootstrap.css.map +1 -0
  15. data/app/assets/libs/spud/bootstrap-3.1.1/css/bootstrap.min.css +7 -0
  16. data/app/assets/libs/spud/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot +0 -0
  17. data/app/assets/libs/{bootstrap3 → spud/bootstrap-3.1.1}/fonts/glyphicons-halflings-regular.svg +47 -47
  18. data/app/assets/libs/{bootstrap3 → spud/bootstrap-3.1.1}/fonts/glyphicons-halflings-regular.ttf +0 -0
  19. data/app/assets/libs/spud/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff +0 -0
  20. data/app/assets/libs/{bootstrap3 → spud/bootstrap-3.1.1}/js/bootstrap.js +231 -286
  21. data/app/assets/libs/spud/bootstrap-3.1.1/js/bootstrap.min.js +6 -0
  22. data/app/assets/stylesheets/spud/admin/application.css.erb +41 -33
  23. data/app/controllers/spud/users_controller.rb +2 -2
  24. data/app/helpers/spud/admin/application_helper.rb +2 -2
  25. data/app/views/layouts/spud/admin/application.html.erb +19 -15
  26. data/app/views/layouts/spud/admin/detail.html.erb +27 -25
  27. data/app/views/spud/admin/dashboard/index.html.erb +2 -2
  28. data/app/views/spud/admin/users/_edit.html.erb +14 -11
  29. data/app/views/spud/admin/users/_form.html.erb +34 -34
  30. data/app/views/spud/admin/users/_new.html.erb +13 -10
  31. data/app/views/spud/admin/users/index.html.erb +5 -1
  32. data/app/views/spud/users/_form.html.erb +28 -28
  33. data/app/views/spud/users/settings.html.erb +4 -2
  34. data/lib/spud_core/configuration.rb +2 -2
  35. data/lib/spud_core/version.rb +1 -1
  36. data/spec/dummy/log/development.log +17 -46
  37. data/spec/dummy/log/test.log +144682 -1290
  38. metadata +69 -67
  39. data/app/assets/images/spud/admin/users_thumb.png +0 -0
  40. data/app/assets/javascripts/spud/admin/editor.js +0 -205
  41. data/app/assets/libs/bootstrap/css/bootstrap-responsive.css +0 -1088
  42. data/app/assets/libs/bootstrap/css/bootstrap.css +0 -5893
  43. data/app/assets/libs/bootstrap/img/glyphicons-halflings-white.png +0 -0
  44. data/app/assets/libs/bootstrap/img/glyphicons-halflings.png +0 -0
  45. data/app/assets/libs/bootstrap/js/bootstrap.js +0 -2025
  46. data/app/assets/libs/bootstrap3/css/bootstrap-theme.min.css +0 -7
  47. data/app/assets/libs/bootstrap3/css/bootstrap.min.css +0 -7
  48. data/app/assets/libs/bootstrap3/fonts/glyphicons-halflings-regular.eot +0 -0
  49. data/app/assets/libs/bootstrap3/fonts/glyphicons-halflings-regular.woff +0 -0
  50. data/app/assets/libs/bootstrap3/js/bootstrap.min.js +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7435afd5d18b2fab9a122e572872216224c4947
4
- data.tar.gz: 78deb1e17aa6843c3780c23fe8f74efba5daffec
3
+ metadata.gz: 46883ce2dcf43e8900b669f31bb08c2e7102db4b
4
+ data.tar.gz: 1674ea7755033ab251f9efcec4636553fab5463e
5
5
  SHA512:
6
- metadata.gz: 1d7c921373bc11113dcad3a78195b1bbbe884f769ca7318952194c3c1a54e0f4490bbc53f08b3d212f3f8b33d228070366d53a2d836ea3398eec0b7c22d907a1
7
- data.tar.gz: 2a940d619e03a726e183bf552dffccc63f29a2302850db7641881fb5bbbacd1198728171e2faeee684dbf7784b7d546f69092980f8a1d019a305b7226b8f80a0
6
+ metadata.gz: 964ff21ae92622cc4a0b12dcbc8ce097dbeb9b5eda92ef6ac5815fea7f6e55388364edb0c2ccee2b024a42edf82fab12447e1e254c5c64bdc3e2552f81a90230
7
+ data.tar.gz: a84b53290665839063b621ecfac82a1f3dc767bfb43fdb7ce7f1d1a6e793b17d1652476c5c6e6332a18cf6f7ca3616cf684e8d91f882637b532547a1a86f1f5b
@@ -8,10 +8,11 @@
8
8
  //# require ./tiny_mce_plugins
9
9
  //# require tiny_mce/jquery.tinymce.js
10
10
  //= require spud/admin/jquery.dataTables.min
11
- //= require bootstrap/js/bootstrap
11
+ //= require spud/bootstrap-3.1.1/js/bootstrap
12
12
  //= require datepicker/js/bootstrap-datepicker
13
13
  //= require jquery-ui/js/jquery-ui-1.9.1.custom
14
14
  //= require_self
15
+ //= require spud/admin/editor
15
16
  //= require_tree .
16
17
  //= require retina_tag
17
18
 
@@ -89,7 +90,7 @@ function remove_fields(link) {
89
90
  function add_fields(link, association, content) {
90
91
  var new_id = new Date().getTime();
91
92
  var regexp = new RegExp("new_" + association, "g")
92
- $(link).parent().before(content.replace(regexp, new_id));
93
+ $(link).parent().parent().before(content.replace(regexp, new_id));
93
94
  }
94
95
 
95
96
 
@@ -0,0 +1,44 @@
1
+ #= require codemirror
2
+ #= require codemirror/modes/xml
3
+ #= require codemirror/modes/javascript
4
+ #= require codemirror/modes/css
5
+ #= require codemirror/modes/htmlmixed
6
+
7
+ class @SpudCodeMirror
8
+ editor: null
9
+ refreshTimeout: null
10
+ defaultOptions:
11
+ lineNumbers: true
12
+ lineWrapping: false
13
+ theme: 'default'
14
+ mode:
15
+ name: 'htmlmixed'
16
+
17
+ constructor: (@element, options) ->
18
+ if !@element.attr('id')
19
+ @assignId()
20
+
21
+ @loadWhenVisible()
22
+
23
+ loadWhenVisible: () =>
24
+ if @element.is(':visible')
25
+ @refreshTimeout = null
26
+ @editor = CodeMirror.fromTextArea(@element[0], @defaultOptions)
27
+ else
28
+ @refreshTimeout = setTimeout($.proxy(->
29
+ @loadWhenVisible()
30
+ ,this),100)
31
+
32
+ assignId: () =>
33
+ baseId = "spud-codemirror-"
34
+ counter = 1
35
+ counter += 1 while $("##{baseId}#{counter}").length
36
+ @element.attr 'id', "#{baseId}#{counter}"
37
+
38
+ unload: ->
39
+ if @refreshTimeout
40
+ clearTimeout @refreshTimeout
41
+ else
42
+ @editor.toTextArea()
43
+
44
+ @spud.admin.editor.registerEditor 'raw', @SpudCodeMirror
@@ -0,0 +1,61 @@
1
+ spud.admin.editor = {editors: {}, instances: []}
2
+ editor = @spud.admin.editor
3
+
4
+ editor.init = (options) ->
5
+ editor.monitorFormatters()
6
+ options = options || {}
7
+ selector = options.selector || 'textarea.spud-formatted-editor'
8
+
9
+ $(selector).each ->
10
+ editor.initializeEditorForElement this
11
+
12
+ editor.initializeEditorForElement = (element) ->
13
+ $element = $(element)
14
+ if $element.id and editorInstanceForId($element.id)
15
+ console.warn "Spud Formatted Editor #{$element.id} already initialized!"
16
+ return
17
+ dataFormat = $element.data('format') || 'html'
18
+ dataFormat = dataFormat.toLowerCase()
19
+ editorClass = editor.editors[dataFormat]
20
+
21
+ if editorClass
22
+ instance = new editorClass($element)
23
+ editor.instances.push instance
24
+ else
25
+ console.error "Editor not found for the requested Format!"
26
+
27
+ editor.registerEditor = (format, editorObject, override) ->
28
+ if editor.editors[format] && !override
29
+ log.warn("An Editor is Already Defined For the specified Format")
30
+ return
31
+
32
+ editor.editors[format] = editorObject
33
+
34
+ editor.deregisterEditor = (format) ->
35
+ delete editor.editors[format]
36
+
37
+ editor.monitorFormatters = ->
38
+ $('select[data-formatter]').off 'change.spud'
39
+ $('select[data-formatter]').on 'change.spud', editor.formatterChanged
40
+
41
+ editor.formatterChanged = ->
42
+
43
+ targetEditorId = $(this).data('formatter')
44
+ targetEditor = $("##{targetEditorId}")
45
+ editor.unload(targetEditorId)
46
+ targetEditor.data 'format', $(this).val()
47
+ editor.initializeEditorForElement(targetEditor)
48
+
49
+ editor.editorInstanceForId = (id) ->
50
+ for instance in editor.instances when instance.element.attr('id') is id
51
+ return instance
52
+ return null
53
+
54
+ editor.unload = (id) ->
55
+ if id
56
+ instance = editor.editorInstanceForId id
57
+ if instance
58
+ instance.unload()
59
+ editor.instances.splice(editor.instances.indexOf(instance), 1)
60
+ else
61
+ editor.instances.pop().unload() while editor.instances.length > 0
@@ -0,0 +1,92 @@
1
+ class @SpudTinyMCE
2
+ @registeredPlugins: ['autolink','lists','layer','table','tableDropdown','advhr','advimage','advlink','iespell','inlinepopups','media','paste']
3
+ @registeredButtons: [
4
+ ['bold','italic','underline','strikethrough','|','justifyleft','justifycenter','justifyright','justifyfull','|','formatselect','cut','copy','paste','pastetext','|','bullist','numlist','outdent','indent','|','tableDropdown','|','link','unlink','anchor','image','code'],
5
+ [],
6
+ [],
7
+ []
8
+ ]
9
+ @validElements: "@[id|class|style|title|dir<ltr?rtl|lang|xml::lang|onclick|ondblclick|" +
10
+ "onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|" +
11
+ "onkeydown|onkeyup],a[rel|rev|charset|hreflang|tabindex|accesskey|type|" +
12
+ "name|href|target|title|class|onfocus|onblur],strong/b,em/i,strike,u," +
13
+ "#p,-ol[type|compact],-ul[type|compact],-li,br,img[longdesc|usemap|" +
14
+ "src|border|alt=|title|hspace|vspace|width|height|align|hidpi_src],-sub,-sup," +
15
+ "-blockquote,-table[border=0|cellspacing|cellpadding|width|frame|rules|" +
16
+ "height|align|summary|bgcolor|background|bordercolor],-tr[rowspan|width|" +
17
+ "height|align|valign|bgcolor|background|bordercolor],tbody,thead,tfoot," +
18
+ "#td[colspan|rowspan|width|height|align|valign|bgcolor|background|bordercolor" +
19
+ "|scope],#th[colspan|rowspan|width|height|align|valign|scope],caption,-div," +
20
+ "-span,-code,-pre,address,-h1,-h2,-h3,-h4,-h5,-h6,hr[size|noshade],-font[face" +
21
+ "|size|color],dd,dl,dt,cite,abbr,acronym,del[datetime|cite],ins[datetime|cite]," +
22
+ "object[classid|width|height|codebase|*],param[name|value|_value],embed[type|width" +
23
+ "|height|src|*],script[src|type],map[name],area[shape|coords|href|alt|target],bdo," +
24
+ "button,col[align|char|charoff|span|valign|width],colgroup[align|char|charoff|span|" +
25
+ "valign|width],dfn,fieldset,form[action|accept|accept-charset|enctype|method]," +
26
+ "input[accept|alt|checked|disabled|maxlength|name|readonly|size|src|type|value]," +
27
+ "kbd,label[for],legend,noscript,optgroup[label|disabled],option[disabled|label|selected|value]," +
28
+ "q[cite],samp,select[disabled|multiple|name|size],small," +
29
+ "textarea[cols|rows|disabled|name|readonly],tt,var,big"
30
+
31
+ @extendedValidElements: []
32
+ @validFormats: "p,h1,h2,h3,h4,h5,h6"
33
+ @defaultTheme: 'advanced'
34
+ editor: null
35
+
36
+ constructor: (@element, options) ->
37
+ options = options || {}
38
+ if !@element.attr('id')
39
+ @assignId()
40
+
41
+ contentCss = $(@element).data('content-css')
42
+ theme = options.theme || @constructor.defaultTheme
43
+ height = options.height || 400
44
+ console.log "Loading Css #{contentCss}"
45
+ $(@element).tinymce(
46
+ theme: theme,
47
+ content_css:contentCss,
48
+ plugins: @constructor.registeredPlugins.join(",")
49
+ theme_advanced_toolbar_location: "top"
50
+ theme_advanced_buttons1: @constructor.registeredButtons[0].join(',')
51
+ theme_advanced_buttons2: @constructor.registeredButtons[1].join(',')
52
+ theme_advanced_buttons3: @constructor.registeredButtons[2].join(',')
53
+ theme_advanced_buttons4: @constructor.registeredButtons[3].join(',')
54
+ theme_advanced_toolbar_align: 'left'
55
+ theme_advanced_blockformats: @constructor.validFormats
56
+ convert_urls: false
57
+ valid_elements: SpudTinyMCE.validElements
58
+ media_strict: false
59
+ extended_valid_elements: @constructor.extendedValidElements.join(",")
60
+ width: '100%'
61
+ height: height
62
+ )
63
+
64
+ assignId: () =>
65
+ baseId = "spud-tinymce-"
66
+ counter = 1
67
+ counter += 1 while $("##{baseId}#{counter}").length
68
+ @element.attr 'id', "#{baseId}#{counter}"
69
+
70
+ unload: () =>
71
+ tinyMCE.execCommand('mceRemoveControl',false,@element.attr('id'));
72
+
73
+ @appendValidElement = (element) =>
74
+ @extendedValidElements.push(element)
75
+
76
+ @registerButton = (buttonNameOrArray, rowNum) =>
77
+ rowNum = rowNum || 0
78
+ if typeof(buttonNameOrArray) is 'object'
79
+ @registeredButtons[rowNum].concat buttonNameOrArray
80
+ else
81
+ @registeredButtons[rowNum].push buttonNameOrArray
82
+
83
+ @registerPlugin = (pluginName) =>
84
+ if $.inArray(@registeredPlugins, pluginName) < 0
85
+ @registeredPlugins.push pluginName
86
+
87
+ @deregisterPlugin = (pluginName) =>
88
+ for plugin, i in @registeredPlugins when plugin == pluginName
89
+ @registeredPlugins.splice(i,1)
90
+ break
91
+
92
+ @spud.admin.editor.registerEditor 'html', @SpudTinyMCE
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * Bootstrap v3.0.3 (http://getbootstrap.com)
3
- * Copyright 2013 Twitter, Inc.
4
- * Licensed under http://www.apache.org/licenses/LICENSE-2.0
2
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
3
+ * Copyright 2011-2014 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
5
  */
6
6
 
7
7
  .btn-default,
@@ -10,11 +10,10 @@
10
10
  .btn-info,
11
11
  .btn-warning,
12
12
  .btn-danger {
13
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
14
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
15
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
13
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
14
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
15
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
16
16
  }
17
-
18
17
  .btn-default:active,
19
18
  .btn-primary:active,
20
19
  .btn-success:active,
@@ -27,371 +26,322 @@
27
26
  .btn-info.active,
28
27
  .btn-warning.active,
29
28
  .btn-danger.active {
30
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
31
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
29
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
30
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
32
31
  }
33
-
34
32
  .btn:active,
35
33
  .btn.active {
36
34
  background-image: none;
37
35
  }
38
-
39
36
  .btn-default {
40
37
  text-shadow: 0 1px 0 #fff;
41
- background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
42
- background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
38
+ background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
39
+ background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
40
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
41
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
43
42
  background-repeat: repeat-x;
44
43
  border-color: #dbdbdb;
45
44
  border-color: #ccc;
46
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
47
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
48
45
  }
49
-
50
46
  .btn-default:hover,
51
47
  .btn-default:focus {
52
48
  background-color: #e0e0e0;
53
49
  background-position: 0 -15px;
54
50
  }
55
-
56
51
  .btn-default:active,
57
52
  .btn-default.active {
58
53
  background-color: #e0e0e0;
59
54
  border-color: #dbdbdb;
60
55
  }
61
-
62
56
  .btn-primary {
63
57
  background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
64
- background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
58
+ background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
59
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
60
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
65
61
  background-repeat: repeat-x;
66
62
  border-color: #2b669a;
67
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
68
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
69
63
  }
70
-
71
64
  .btn-primary:hover,
72
65
  .btn-primary:focus {
73
66
  background-color: #2d6ca2;
74
67
  background-position: 0 -15px;
75
68
  }
76
-
77
69
  .btn-primary:active,
78
70
  .btn-primary.active {
79
71
  background-color: #2d6ca2;
80
72
  border-color: #2b669a;
81
73
  }
82
-
83
74
  .btn-success {
84
75
  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
85
- background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
76
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
77
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
78
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
86
79
  background-repeat: repeat-x;
87
80
  border-color: #3e8f3e;
88
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
89
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
90
81
  }
91
-
92
82
  .btn-success:hover,
93
83
  .btn-success:focus {
94
84
  background-color: #419641;
95
85
  background-position: 0 -15px;
96
86
  }
97
-
98
87
  .btn-success:active,
99
88
  .btn-success.active {
100
89
  background-color: #419641;
101
90
  border-color: #3e8f3e;
102
91
  }
103
-
92
+ .btn-info {
93
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
94
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
95
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
96
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
97
+ background-repeat: repeat-x;
98
+ border-color: #28a4c9;
99
+ }
100
+ .btn-info:hover,
101
+ .btn-info:focus {
102
+ background-color: #2aabd2;
103
+ background-position: 0 -15px;
104
+ }
105
+ .btn-info:active,
106
+ .btn-info.active {
107
+ background-color: #2aabd2;
108
+ border-color: #28a4c9;
109
+ }
104
110
  .btn-warning {
105
111
  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
106
- background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
112
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
113
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
114
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
107
115
  background-repeat: repeat-x;
108
116
  border-color: #e38d13;
109
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
110
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
111
117
  }
112
-
113
118
  .btn-warning:hover,
114
119
  .btn-warning:focus {
115
120
  background-color: #eb9316;
116
121
  background-position: 0 -15px;
117
122
  }
118
-
119
123
  .btn-warning:active,
120
124
  .btn-warning.active {
121
125
  background-color: #eb9316;
122
126
  border-color: #e38d13;
123
127
  }
124
-
125
128
  .btn-danger {
126
129
  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
127
- background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
130
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
131
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
132
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
128
133
  background-repeat: repeat-x;
129
134
  border-color: #b92c28;
130
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
131
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
132
135
  }
133
-
134
136
  .btn-danger:hover,
135
137
  .btn-danger:focus {
136
138
  background-color: #c12e2a;
137
139
  background-position: 0 -15px;
138
140
  }
139
-
140
141
  .btn-danger:active,
141
142
  .btn-danger.active {
142
143
  background-color: #c12e2a;
143
144
  border-color: #b92c28;
144
145
  }
145
-
146
- .btn-info {
147
- background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
148
- background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
149
- background-repeat: repeat-x;
150
- border-color: #28a4c9;
151
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
152
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
153
- }
154
-
155
- .btn-info:hover,
156
- .btn-info:focus {
157
- background-color: #2aabd2;
158
- background-position: 0 -15px;
159
- }
160
-
161
- .btn-info:active,
162
- .btn-info.active {
163
- background-color: #2aabd2;
164
- border-color: #28a4c9;
165
- }
166
-
167
146
  .thumbnail,
168
147
  .img-thumbnail {
169
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
170
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
148
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
149
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
171
150
  }
172
-
173
151
  .dropdown-menu > li > a:hover,
174
152
  .dropdown-menu > li > a:focus {
175
153
  background-color: #e8e8e8;
176
154
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
177
- background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
178
- background-repeat: repeat-x;
155
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
179
156
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
157
+ background-repeat: repeat-x;
180
158
  }
181
-
182
159
  .dropdown-menu > .active > a,
183
160
  .dropdown-menu > .active > a:hover,
184
161
  .dropdown-menu > .active > a:focus {
185
162
  background-color: #357ebd;
186
163
  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
187
- background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
188
- background-repeat: repeat-x;
164
+ background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
189
165
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
166
+ background-repeat: repeat-x;
190
167
  }
191
-
192
168
  .navbar-default {
193
- background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
194
- background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
169
+ background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
170
+ background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
171
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
172
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
195
173
  background-repeat: repeat-x;
196
174
  border-radius: 4px;
197
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
198
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
199
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
200
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
175
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
176
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
201
177
  }
202
-
203
178
  .navbar-default .navbar-nav > .active > a {
204
179
  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
205
- background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
206
- background-repeat: repeat-x;
180
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
207
181
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
208
- -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
209
- box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
182
+ background-repeat: repeat-x;
183
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
184
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
210
185
  }
211
-
212
186
  .navbar-brand,
213
187
  .navbar-nav > li > a {
214
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
188
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
215
189
  }
216
-
217
190
  .navbar-inverse {
218
- background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);
219
- background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
220
- background-repeat: repeat-x;
191
+ background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
192
+ background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
221
193
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
222
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
194
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
195
+ background-repeat: repeat-x;
223
196
  }
224
-
225
197
  .navbar-inverse .navbar-nav > .active > a {
226
- background-image: -webkit-linear-gradient(top, #222222 0%, #282828 100%);
227
- background-image: linear-gradient(to bottom, #222222 0%, #282828 100%);
228
- background-repeat: repeat-x;
198
+ background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%);
199
+ background-image: linear-gradient(to bottom, #222 0%, #282828 100%);
229
200
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
230
- -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
231
- box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
201
+ background-repeat: repeat-x;
202
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
203
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
232
204
  }
233
-
234
205
  .navbar-inverse .navbar-brand,
235
206
  .navbar-inverse .navbar-nav > li > a {
236
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
207
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
237
208
  }
238
-
239
209
  .navbar-static-top,
240
210
  .navbar-fixed-top,
241
211
  .navbar-fixed-bottom {
242
212
  border-radius: 0;
243
213
  }
244
-
245
214
  .alert {
246
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
247
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
248
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
215
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
216
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
217
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
249
218
  }
250
-
251
219
  .alert-success {
252
220
  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
253
- background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
221
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
222
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
254
223
  background-repeat: repeat-x;
255
224
  border-color: #b2dba1;
256
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
257
225
  }
258
-
259
226
  .alert-info {
260
227
  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
261
- background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
228
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
229
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
262
230
  background-repeat: repeat-x;
263
231
  border-color: #9acfea;
264
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
265
232
  }
266
-
267
233
  .alert-warning {
268
234
  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
269
- background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
235
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
236
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
270
237
  background-repeat: repeat-x;
271
238
  border-color: #f5e79e;
272
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
273
239
  }
274
-
275
240
  .alert-danger {
276
241
  background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
277
- background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
242
+ background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
243
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
278
244
  background-repeat: repeat-x;
279
245
  border-color: #dca7a7;
280
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
281
246
  }
282
-
283
247
  .progress {
284
248
  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
285
- background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
286
- background-repeat: repeat-x;
249
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
287
250
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
251
+ background-repeat: repeat-x;
288
252
  }
289
-
290
253
  .progress-bar {
291
254
  background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
292
- background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
293
- background-repeat: repeat-x;
255
+ background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
294
256
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
257
+ background-repeat: repeat-x;
295
258
  }
296
-
297
259
  .progress-bar-success {
298
260
  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
299
- background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
300
- background-repeat: repeat-x;
261
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
301
262
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
263
+ background-repeat: repeat-x;
302
264
  }
303
-
304
265
  .progress-bar-info {
305
266
  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
306
- background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
307
- background-repeat: repeat-x;
267
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
308
268
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
269
+ background-repeat: repeat-x;
309
270
  }
310
-
311
271
  .progress-bar-warning {
312
272
  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
313
- background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
314
- background-repeat: repeat-x;
273
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
315
274
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
275
+ background-repeat: repeat-x;
316
276
  }
317
-
318
277
  .progress-bar-danger {
319
278
  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
320
- background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
321
- background-repeat: repeat-x;
279
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
322
280
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
281
+ background-repeat: repeat-x;
323
282
  }
324
-
325
283
  .list-group {
326
284
  border-radius: 4px;
327
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
328
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
285
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
286
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
329
287
  }
330
-
331
288
  .list-group-item.active,
332
289
  .list-group-item.active:hover,
333
290
  .list-group-item.active:focus {
334
291
  text-shadow: 0 -1px 0 #3071a9;
335
292
  background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
336
- background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
293
+ background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
294
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
337
295
  background-repeat: repeat-x;
338
296
  border-color: #3278b3;
339
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
340
297
  }
341
-
342
298
  .panel {
343
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
344
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
299
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
300
+ box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
345
301
  }
346
-
347
302
  .panel-default > .panel-heading {
348
303
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
349
- background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
350
- background-repeat: repeat-x;
304
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
351
305
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
306
+ background-repeat: repeat-x;
352
307
  }
353
-
354
308
  .panel-primary > .panel-heading {
355
309
  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
356
- background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
357
- background-repeat: repeat-x;
310
+ background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
358
311
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
312
+ background-repeat: repeat-x;
359
313
  }
360
-
361
314
  .panel-success > .panel-heading {
362
315
  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
363
- background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
364
- background-repeat: repeat-x;
316
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
365
317
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
318
+ background-repeat: repeat-x;
366
319
  }
367
-
368
320
  .panel-info > .panel-heading {
369
321
  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
370
- background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
371
- background-repeat: repeat-x;
322
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
372
323
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
324
+ background-repeat: repeat-x;
373
325
  }
374
-
375
326
  .panel-warning > .panel-heading {
376
327
  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
377
- background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
378
- background-repeat: repeat-x;
328
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
379
329
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
330
+ background-repeat: repeat-x;
380
331
  }
381
-
382
332
  .panel-danger > .panel-heading {
383
333
  background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
384
- background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
385
- background-repeat: repeat-x;
334
+ background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
386
335
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
336
+ background-repeat: repeat-x;
387
337
  }
388
-
389
338
  .well {
390
339
  background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
391
- background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
340
+ background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
341
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
392
342
  background-repeat: repeat-x;
393
343
  border-color: #dcdcdc;
394
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
395
- -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
396
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
397
- }
344
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
345
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
346
+ }
347
+ /*# sourceMappingURL=bootstrap-theme.css.map */