simple-admin 0.2.0.pre.alpha → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -5
  3. data/Gemfile +1 -20
  4. data/LICENSE.txt +1 -1
  5. data/README.md +11 -93
  6. data/app/controllers/api/v1/simple_admin/base_controller.rb +6 -0
  7. data/app/controllers/api/v1/simple_admin/credentials_controller.rb +17 -0
  8. data/app/controllers/api/v1/simple_admin/entities_controller.rb +28 -0
  9. data/app/controllers/api/v1/simple_admin/resources_controller.rb +105 -0
  10. data/lib/simple-admin.rb +0 -34
  11. data/lib/simple_admin/engine.rb +0 -10
  12. data/lib/simple_admin/routes.rb +7 -12
  13. data/lib/simple_admin/version.rb +1 -1
  14. data/simple-admin.gemspec +1 -6
  15. metadata +8 -175
  16. data/.codeclimate.yml +0 -3
  17. data/.gitattributes +0 -1
  18. data/.hound.yml +0 -2
  19. data/.inch.yml +0 -4
  20. data/.rspec +0 -2
  21. data/.rubocop.yml +0 -68
  22. data/.travis.yml +0 -11
  23. data/CHANGELOG.md +0 -37
  24. data/CODE_OF_CONDUCT.md +0 -74
  25. data/CONTRIBUTING.md +0 -51
  26. data/ISSUE_TEMPLATE.md +0 -19
  27. data/app/assets/fonts/Simple-Line-Icons.woff +0 -0
  28. data/app/assets/javascripts/simple_admin/application.js +0 -18
  29. data/app/assets/javascripts/simple_admin/components/notification.js +0 -7
  30. data/app/assets/javascripts/simple_admin/components/tabs.js +0 -7
  31. data/app/assets/javascripts/simple_admin/components/tags.js +0 -11
  32. data/app/assets/stylesheets/simple_admin/application.scss +0 -48
  33. data/app/assets/stylesheets/simple_admin/global/buttons.css +0 -473
  34. data/app/assets/stylesheets/simple_admin/global/errors.css +0 -12
  35. data/app/assets/stylesheets/simple_admin/global/fontawesome-icons.css +0 -3024
  36. data/app/assets/stylesheets/simple_admin/global/fonts.css +0 -560
  37. data/app/assets/stylesheets/simple_admin/global/jquery.dataTables.css +0 -169
  38. data/app/assets/stylesheets/simple_admin/global/pagination.css +0 -11
  39. data/app/assets/stylesheets/simple_admin/global/reset.css +0 -197
  40. data/app/assets/stylesheets/simple_admin/global/simple-line-icons.css +0 -672
  41. data/app/assets/stylesheets/simple_admin/global/table.css +0 -214
  42. data/app/assets/stylesheets/simple_admin/global/tags.css +0 -87
  43. data/app/assets/stylesheets/simple_admin/page/aside.css +0 -324
  44. data/app/assets/stylesheets/simple_admin/page/header.css +0 -332
  45. data/app/assets/stylesheets/simple_admin/page/main-container.css +0 -222
  46. data/app/assets/stylesheets/simple_admin/page/sign_in.css +0 -15
  47. data/app/assets/stylesheets/simple_admin/tabs.css +0 -26
  48. data/app/controllers/simple_admin/admin/application_controller.rb +0 -21
  49. data/app/controllers/simple_admin/admin/search_controller.rb +0 -29
  50. data/app/controllers/simple_admin/admin/system/entities_controller.rb +0 -37
  51. data/app/controllers/simple_admin/admin/system/entity_field_types_controller.rb +0 -31
  52. data/app/controllers/simple_admin/admin/system/entity_fields_controller.rb +0 -20
  53. data/app/helpers/simple_admin_helper.rb +0 -11
  54. data/app/models/simple_admin/base.rb +0 -14
  55. data/app/models/simple_admin/entity.rb +0 -50
  56. data/app/models/simple_admin/entity_field.rb +0 -77
  57. data/app/models/simple_admin/entity_field_setting.rb +0 -5
  58. data/app/models/simple_admin/entity_field_type.rb +0 -77
  59. data/app/views/kaminari/_next_page.html.erb +0 -5
  60. data/app/views/kaminari/_page.html.erb +0 -3
  61. data/app/views/kaminari/_paginator.html.erb +0 -26
  62. data/app/views/kaminari/_prev_page.html.erb +0 -5
  63. data/app/views/layouts/simple_admin.html.erb +0 -28
  64. data/app/views/simple_admin/admin/resource/_form.html.erb +0 -19
  65. data/app/views/simple_admin/admin/resource/edit.html.erb +0 -21
  66. data/app/views/simple_admin/admin/resource/index.html.erb +0 -13
  67. data/app/views/simple_admin/admin/resource/new.html.erb +0 -21
  68. data/app/views/simple_admin/admin/search/index.html.erb +0 -55
  69. data/app/views/simple_admin/admin/shared/_aside.html.erb +0 -46
  70. data/app/views/simple_admin/admin/shared/_footer.html.erb +0 -5
  71. data/app/views/simple_admin/admin/shared/_header.html.erb +0 -7
  72. data/app/views/simple_admin/admin/shared/collection/_header.html.erb +0 -12
  73. data/app/views/simple_admin/admin/shared/collection/_table_body.html.erb +0 -29
  74. data/app/views/simple_admin/admin/shared/collection/_table_header.html.erb +0 -11
  75. data/app/views/simple_admin/admin/shared/components/_logout.html.erb +0 -6
  76. data/app/views/simple_admin/admin/shared/components/_search.html.erb +0 -14
  77. data/app/views/simple_admin/admin/shared/messages/_errors.html.erb +0 -9
  78. data/app/views/simple_admin/admin/shared/messages/_flash.html.erb +0 -8
  79. data/app/views/simple_admin/admin/system/entities/_form.html.erb +0 -32
  80. data/app/views/simple_admin/admin/system/entities/edit.html.erb +0 -27
  81. data/app/views/simple_admin/admin/system/entities/entity_fields/_form.html.erb +0 -62
  82. data/app/views/simple_admin/admin/system/entities/entity_fields/edit.html.erb +0 -9
  83. data/app/views/simple_admin/admin/system/entities/entity_fields/index.html.erb +0 -39
  84. data/app/views/simple_admin/admin/system/entities/entity_fields/new.html.erb +0 -12
  85. data/app/views/simple_admin/admin/system/entities/index.html.erb +0 -59
  86. data/app/views/simple_admin/admin/system/entities/new.html.erb +0 -21
  87. data/app/views/simple_admin/admin/system/entity_field_types/_form.html.erb +0 -21
  88. data/app/views/simple_admin/admin/system/entity_field_types/edit.html.erb +0 -24
  89. data/app/views/simple_admin/admin/system/entity_field_types/index.html.erb +0 -55
  90. data/app/views/simple_admin/admin/system/entity_field_types/new.html.erb +0 -21
  91. data/app/views/simple_admin/admin/system/entity_fields/create.js.erb +0 -18
  92. data/app/views/simple_admin/admin/system/entity_fields/destroy.js.erb +0 -18
  93. data/app/views/simple_admin/admin/system/entity_fields/update.js.erb +0 -1
  94. data/app/views/simple_admin/fields/boolean/_form.html.erb +0 -6
  95. data/app/views/simple_admin/fields/boolean/_index.html.erb +0 -5
  96. data/app/views/simple_admin/fields/image/_collection.html.erb +0 -5
  97. data/app/views/simple_admin/fields/image/_form.html.erb +0 -6
  98. data/app/views/simple_admin/fields/number/_collection.html.erb +0 -5
  99. data/app/views/simple_admin/fields/number/_form.html.erb +0 -6
  100. data/app/views/simple_admin/fields/password/_form.html.erb +0 -6
  101. data/app/views/simple_admin/fields/relation/_collection.html.erb +0 -3
  102. data/app/views/simple_admin/fields/relation/_form.html.erb +0 -6
  103. data/app/views/simple_admin/fields/select/_form.html.erb +0 -8
  104. data/app/views/simple_admin/fields/select/_index.html.erb +0 -5
  105. data/app/views/simple_admin/fields/string/_collection.html.erb +0 -3
  106. data/app/views/simple_admin/fields/string/_form.html.erb +0 -6
  107. data/app/views/simple_admin/fields/tags/_collection.html.erb +0 -3
  108. data/app/views/simple_admin/fields/tags/_form.html.erb +0 -6
  109. data/app/views/simple_admin/fields/text/_collection.html.erb +0 -3
  110. data/app/views/simple_admin/fields/text/_form.html.erb +0 -6
  111. data/codecov.yml +0 -21
  112. data/config/locales/en.yml +0 -37
  113. data/config/locales/ru.yml +0 -20
  114. data/lib/generators/simple_admin/install_generator.rb +0 -34
  115. data/lib/generators/simple_admin/migration_generator.rb +0 -24
  116. data/lib/generators/simple_admin/model_entities_generator.rb +0 -49
  117. data/lib/generators/templates/application_controller.rb +0 -20
  118. data/lib/generators/templates/initializers/simple_admin.rb.erb +0 -3
  119. data/lib/generators/templates/migrations/core_data_migration.rb +0 -12
  120. data/lib/generators/templates/migrations/core_migrations/entities_migration.rb +0 -13
  121. data/lib/generators/templates/migrations/core_migrations/entity_field_settings_migration.rb +0 -12
  122. data/lib/generators/templates/migrations/core_migrations/entity_field_types_migration.rb +0 -12
  123. data/lib/generators/templates/migrations/core_migrations/entity_fields_migration.rb +0 -18
  124. data/lib/generators/templates/views/devise/registrations/new.html.erb +0 -46
  125. data/lib/generators/templates/views/devise/sessions/new.html.erb +0 -35
  126. data/lib/generators/templates/views/devise/shared/_footer.html.erb +0 -3
  127. data/lib/simple_admin/config.rb +0 -19
  128. data/lib/simple_admin/helpers/boolean_helper.rb +0 -36
  129. data/lib/simple_admin/helpers/url_helper.rb +0 -29
  130. data/lib/simple_admin/refinements/boolean.rb +0 -36
  131. data/lib/simple_admin/resource_controller/actions_builder.rb +0 -40
  132. data/lib/simple_admin/resource_controller/controller_builder.rb +0 -31
  133. data/lib/simple_admin/resource_controller/crudify.rb +0 -111
  134. data/lib/simple_admin/resource_controller/crudify_dynamic_resource.rb +0 -55
  135. data/lib/simple_admin/resource_controller/dynamic_fields.rb +0 -53
  136. data/lib/simple_admin/search.rb +0 -23
  137. data/vendor/assets/fonts/Simple-Line-Icons.eot +0 -0
  138. data/vendor/assets/fonts/Simple-Line-Icons.ttf +0 -0
  139. data/vendor/assets/fonts/Simple-Line-Icons.woff +0 -0
  140. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  141. data/vendor/assets/fonts/fontawesome-webfont.svg +0 -2671
  142. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  143. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  144. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
@@ -1,51 +0,0 @@
1
- Simple Admin is an open source project and we would love you to help us make it better.
2
-
3
- ## Reporting Issues
4
-
5
- A well formatted issue is appreciated, and goes a long way in helping us help you.
6
-
7
- * Make sure you have a [GitHub account](https://github.com/signup/free)
8
- * Submit a [Github issue](./issues) by:
9
- * Clearly describing the issue
10
- * Provide a descriptive summary
11
- * Explain the expected behavior
12
- * Explain the actual behavior
13
- * Provide steps to reproduce the actual behavior
14
- * Provide your application's complete `Gemfile.lock` as text (in a [Gist](https://gist.github.com) for bonus points)
15
- * Any relevant stack traces
16
-
17
- If you provide code, make sure it is formatted with the triple backticks (\`).
18
-
19
- At this point, we'd love to tell you how long it will take for us to respond,
20
- but we just don't know.
21
-
22
- ## Pull requests
23
-
24
- We accept pull requests to Simple Admin for:
25
-
26
- * Adding documentation
27
- * Fixing bugs
28
- * Adding new features
29
-
30
- Not all features proposed will be added but we are open to having a conversation
31
- about a feature you are championing.
32
-
33
- Here's a quick guide:
34
-
35
- 1. Fork the repo.
36
-
37
- 2. Run the tests. This is to make sure your starting point works. Tests can be
38
- run via `rake`
39
-
40
- 3. Create a new branch and make your changes. This includes tests for features!
41
-
42
- 4. Push to your fork and submit a pull request. For more information, see
43
- [Github's pull request help section](https://help.github.com/articles/using-pull-requests/).
44
-
45
- At this point you're waiting on us. Expect a conversation regarding your pull
46
- request; Questions, clarifications, and so on.
47
-
48
- Some things that will increase the chance that your pull request is accepted:
49
-
50
- * Include tests that fail without your code, and pass with it
51
- * Update the documentation, guides, etc.
@@ -1,19 +0,0 @@
1
- ## Precheck
2
-
3
- - Do not use the issues tracker for help or support, try Stack Overflow.
4
- - For bugs, do a quick search and make sure the bug has not yet been reported
5
- - Finally, be nice and have fun!
6
-
7
- ## Environment
8
-
9
- - Ruby **[version]**
10
- - Rails **[version]**
11
- - SimpleAdmin **[version]**
12
-
13
- ## Current behavior
14
-
15
- Include code samples, errors, steps to reproduce the error and stacktraces if appropriate.
16
-
17
- Will be even more helpful if you provide a sample application or a test case that reproduces the error.
18
-
19
- ## Expected behavior
File without changes
@@ -1,18 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require jquery
14
- //= require jquery_ujs
15
- //= require jquery-ui/widgets/tabs
16
- //= require simple_admin/components/notification
17
- //= require simple_admin/components/tabs
18
- //= require simple_admin/components/tags
@@ -1,7 +0,0 @@
1
- $(document).ready(function() {
2
- var $closeTag = $('button.close');
3
-
4
- $closeTag.click(function() {
5
- $(this).parent().remove();
6
- });
7
- });
@@ -1,7 +0,0 @@
1
- $(document).ready(function() {
2
- var $tabsTag = $('#tabs');
3
-
4
- if (!!$tabsTag.length) {
5
- $tabsTag.tabs();
6
- }
7
- });
@@ -1,11 +0,0 @@
1
- $(document).ready(function() {
2
- var $tagsTag = $('#tags');
3
- var parameters = {
4
- width: '100%',
5
- height: '36px'
6
- };
7
-
8
- if (!!$tagsTag.length) {
9
- $tagsTag.tagsInput(parameters);
10
- }
11
- });
@@ -1,48 +0,0 @@
1
- @charset 'utf-8';
2
-
3
- @import 'bootstrap-sprockets';
4
- @import 'bootstrap';
5
-
6
- @import 'simple_admin/global/reset';
7
- @import 'simple_admin/global/fonts';
8
- @import 'simple_admin/global/simple-line-icons';
9
- @import 'simple_admin/global/fontawesome-icons';
10
- @import 'simple_admin/global/table';
11
- @import 'simple_admin/global/buttons';
12
- @import 'simple_admin/global/tags';
13
-
14
- @import 'simple_admin/page/aside';
15
- @import 'simple_admin/page/header';
16
- @import 'simple_admin/page/main-container';
17
- @import 'simple_admin/page/sign_in';
18
-
19
- @import 'simple_admin/tabs';
20
-
21
- @import 'simple_admin/global/errors';
22
- @import 'simple_admin/global/jquery.dataTables';
23
- @import 'simple_admin/global/pagination';
24
-
25
- #page-container {
26
- margin: 0 auto;
27
- width: 100%;
28
- min-width: 320px;
29
- background-color: #2c343f;
30
- }
31
-
32
- @media screen and (min-width: 992px) {
33
- #page-container.sidebar-l.sidebar-o {
34
- padding-left: 230px;
35
- }
36
-
37
- #page-container.sidebar-r.sidebar-o {
38
- padding-right: 230px;
39
- }
40
-
41
- #page-container.sidebar-l.sidebar-o.sidebar-mini {
42
- padding-left: 60px;
43
- }
44
-
45
- #page-container.sidebar-r.sidebar-o.sidebar-mini {
46
- padding-right: 60px;
47
- }
48
- }
@@ -1,473 +0,0 @@
1
- .btn {
2
- font-weight: 600;
3
- border-radius: 2px;
4
- -webkit-transition: all .15s ease-out;
5
- transition: all .15s ease-out
6
- }
7
-
8
- .btn:active,
9
- .btn.active {
10
- -webkit-box-shadow: none;
11
- box-shadow: none
12
- }
13
-
14
- .btn.btn-square {
15
- border-radius: 0
16
- }
17
-
18
- .btn.btn-rounded {
19
- border-radius: 20px
20
- }
21
-
22
- .btn.btn-minw {
23
- min-width: 110px
24
- }
25
-
26
- .btn.btn-noborder {
27
- border: none !important
28
- }
29
-
30
- .btn.btn-image {
31
- position: relative;
32
- padding-left: 40px
33
- }
34
-
35
- .btn.btn-image>img {
36
- position: absolute;
37
- top: 3px;
38
- left: 3px;
39
- display: block;
40
- width: 26px;
41
- height: 26px;
42
- border-radius: 3px
43
- }
44
-
45
- .btn>i.pull-left {
46
- margin-top: 3px;
47
- margin-right: 5px
48
- }
49
-
50
- .btn>i.pull-right {
51
- margin-top: 3px;
52
- margin-left: 5px
53
- }
54
-
55
- .btn-link,
56
- .btn-link:hover,
57
- .btn-link:focus {
58
- text-decoration: none
59
- }
60
-
61
- .btn-default {
62
- color: #545454;
63
- background-color: #f5f5f5;
64
- border-color: #e9e9e9
65
- }
66
-
67
- .btn-default:focus,
68
- .btn-default.focus,
69
- .btn-default:hover {
70
- color: #545454;
71
- background-color: #e1e1e1;
72
- border-color: #cacaca
73
- }
74
-
75
- .btn-default:active,
76
- .btn-default.active,
77
- .open>.dropdown-toggle.btn-default {
78
- color: #545454;
79
- background-color: #c7c7c7;
80
- border-color: #b1b1b1
81
- }
82
-
83
- .btn-default:active:hover,
84
- .btn-default.active:hover,
85
- .open>.dropdown-toggle.btn-default:hover,
86
- .btn-default:active:focus,
87
- .btn-default.active:focus,
88
- .open>.dropdown-toggle.btn-default:focus,
89
- .btn-default:active.focus,
90
- .btn-default.active.focus,
91
- .open>.dropdown-toggle.btn-default.focus {
92
- color: #545454;
93
- background-color: #c7c7c7;
94
- border-color: #b1b1b1
95
- }
96
-
97
- .btn-default:active,
98
- .btn-default.active,
99
- .open>.dropdown-toggle.btn-default {
100
- background-image: none
101
- }
102
-
103
- .btn-default.disabled,
104
- .btn-default[disabled],
105
- fieldset[disabled] .btn-default,
106
- .btn-default.disabled:hover,
107
- .btn-default[disabled]:hover,
108
- fieldset[disabled] .btn-default:hover,
109
- .btn-default.disabled:focus,
110
- .btn-default[disabled]:focus,
111
- fieldset[disabled] .btn-default:focus,
112
- .btn-default.disabled.focus,
113
- .btn-default[disabled].focus,
114
- fieldset[disabled] .btn-default.focus,
115
- .btn-default.disabled:active,
116
- .btn-default[disabled]:active,
117
- fieldset[disabled] .btn-default:active,
118
- .btn-default.disabled.active,
119
- .btn-default[disabled].active,
120
- fieldset[disabled] .btn-default.active {
121
- background-color: #f5f5f5;
122
- border-color: #e9e9e9
123
- }
124
-
125
- .btn-default .badge {
126
- color: #f5f5f5;
127
- background-color: #545454
128
- }
129
-
130
- .btn-primary {
131
- color: #fff;
132
- background-color: #5c90d2;
133
- border-color: #3675c5
134
- }
135
-
136
- .btn-primary:focus,
137
- .btn-primary.focus,
138
- .btn-primary:hover {
139
- color: #fff;
140
- background-color: #3c7ac9;
141
- border-color: #295995
142
- }
143
-
144
- .btn-primary:active,
145
- .btn-primary.active,
146
- .open>.dropdown-toggle.btn-primary {
147
- color: #fff;
148
- background-color: #2d62a5;
149
- border-color: #1e416d
150
- }
151
-
152
- .btn-primary:active:hover,
153
- .btn-primary.active:hover,
154
- .open>.dropdown-toggle.btn-primary:hover,
155
- .btn-primary:active:focus,
156
- .btn-primary.active:focus,
157
- .open>.dropdown-toggle.btn-primary:focus,
158
- .btn-primary:active.focus,
159
- .btn-primary.active.focus,
160
- .open>.dropdown-toggle.btn-primary.focus {
161
- color: #fff;
162
- background-color: #2d62a5;
163
- border-color: #1e416d
164
- }
165
-
166
- .btn-primary:active,
167
- .btn-primary.active,
168
- .open>.dropdown-toggle.btn-primary {
169
- background-image: none
170
- }
171
-
172
- .btn-primary.disabled,
173
- .btn-primary[disabled],
174
- fieldset[disabled] .btn-primary,
175
- .btn-primary.disabled:hover,
176
- .btn-primary[disabled]:hover,
177
- fieldset[disabled] .btn-primary:hover,
178
- .btn-primary.disabled:focus,
179
- .btn-primary[disabled]:focus,
180
- fieldset[disabled] .btn-primary:focus,
181
- .btn-primary.disabled.focus,
182
- .btn-primary[disabled].focus,
183
- fieldset[disabled] .btn-primary.focus,
184
- .btn-primary.disabled:active,
185
- .btn-primary[disabled]:active,
186
- fieldset[disabled] .btn-primary:active,
187
- .btn-primary.disabled.active,
188
- .btn-primary[disabled].active,
189
- fieldset[disabled] .btn-primary.active {
190
- background-color: #5c90d2;
191
- border-color: #3675c5
192
- }
193
-
194
- .btn-primary .badge {
195
- color: #5c90d2;
196
- background-color: #fff
197
- }
198
-
199
- .btn-success {
200
- color: #fff;
201
- background-color: #46c37b;
202
- border-color: #34a263
203
- }
204
-
205
- .btn-success:focus,
206
- .btn-success.focus,
207
- .btn-success:hover {
208
- color: #fff;
209
- background-color: #37a967;
210
- border-color: #257346
211
- }
212
-
213
- .btn-success:active,
214
- .btn-success.active,
215
- .open>.dropdown-toggle.btn-success {
216
- color: #fff;
217
- background-color: #2a8350;
218
- border-color: #194d2f
219
- }
220
-
221
- .btn-success:active:hover,
222
- .btn-success.active:hover,
223
- .open>.dropdown-toggle.btn-success:hover,
224
- .btn-success:active:focus,
225
- .btn-success.active:focus,
226
- .open>.dropdown-toggle.btn-success:focus,
227
- .btn-success:active.focus,
228
- .btn-success.active.focus,
229
- .open>.dropdown-toggle.btn-success.focus {
230
- color: #fff;
231
- background-color: #2a8350;
232
- border-color: #194d2f
233
- }
234
-
235
- .btn-success:active,
236
- .btn-success.active,
237
- .open>.dropdown-toggle.btn-success {
238
- background-image: none
239
- }
240
-
241
- .btn-success.disabled,
242
- .btn-success[disabled],
243
- fieldset[disabled] .btn-success,
244
- .btn-success.disabled:hover,
245
- .btn-success[disabled]:hover,
246
- fieldset[disabled] .btn-success:hover,
247
- .btn-success.disabled:focus,
248
- .btn-success[disabled]:focus,
249
- fieldset[disabled] .btn-success:focus,
250
- .btn-success.disabled.focus,
251
- .btn-success[disabled].focus,
252
- fieldset[disabled] .btn-success.focus,
253
- .btn-success.disabled:active,
254
- .btn-success[disabled]:active,
255
- fieldset[disabled] .btn-success:active,
256
- .btn-success.disabled.active,
257
- .btn-success[disabled].active,
258
- fieldset[disabled] .btn-success.active {
259
- background-color: #46c37b;
260
- border-color: #34a263
261
- }
262
-
263
- .btn-success .badge {
264
- color: #46c37b;
265
- background-color: #fff
266
- }
267
-
268
- .btn-info {
269
- color: #fff;
270
- background-color: #70b9eb;
271
- border-color: #43a3e5
272
- }
273
-
274
- .btn-info:focus,
275
- .btn-info.focus,
276
- .btn-info:hover {
277
- color: #fff;
278
- background-color: #4ca7e6;
279
- border-color: #1d86ce
280
- }
281
-
282
- .btn-info:active,
283
- .btn-info.active,
284
- .open>.dropdown-toggle.btn-info {
285
- color: #fff;
286
- background-color: #1f92e0;
287
- border-color: #1769a1
288
- }
289
-
290
- .btn-info:active:hover,
291
- .btn-info.active:hover,
292
- .open>.dropdown-toggle.btn-info:hover,
293
- .btn-info:active:focus,
294
- .btn-info.active:focus,
295
- .open>.dropdown-toggle.btn-info:focus,
296
- .btn-info:active.focus,
297
- .btn-info.active.focus,
298
- .open>.dropdown-toggle.btn-info.focus {
299
- color: #fff;
300
- background-color: #1f92e0;
301
- border-color: #1769a1
302
- }
303
-
304
- .btn-info:active,
305
- .btn-info.active,
306
- .open>.dropdown-toggle.btn-info {
307
- background-image: none
308
- }
309
-
310
- .btn-info.disabled,
311
- .btn-info[disabled],
312
- fieldset[disabled] .btn-info,
313
- .btn-info.disabled:hover,
314
- .btn-info[disabled]:hover,
315
- fieldset[disabled] .btn-info:hover,
316
- .btn-info.disabled:focus,
317
- .btn-info[disabled]:focus,
318
- fieldset[disabled] .btn-info:focus,
319
- .btn-info.disabled.focus,
320
- .btn-info[disabled].focus,
321
- fieldset[disabled] .btn-info.focus,
322
- .btn-info.disabled:active,
323
- .btn-info[disabled]:active,
324
- fieldset[disabled] .btn-info:active,
325
- .btn-info.disabled.active,
326
- .btn-info[disabled].active,
327
- fieldset[disabled] .btn-info.active {
328
- background-color: #70b9eb;
329
- border-color: #43a3e5
330
- }
331
-
332
- .btn-info .badge {
333
- color: #70b9eb;
334
- background-color: #fff
335
- }
336
-
337
- .btn-warning {
338
- color: #fff;
339
- background-color: #f3b760;
340
- border-color: #efa231
341
- }
342
-
343
- .btn-warning:focus,
344
- .btn-warning.focus,
345
- .btn-warning:hover {
346
- color: #fff;
347
- background-color: #f0a63a;
348
- border-color: #d38310
349
- }
350
-
351
- .btn-warning:active,
352
- .btn-warning.active,
353
- .open>.dropdown-toggle.btn-warning {
354
- color: #fff;
355
- background-color: #e68f11;
356
- border-color: #a3660c
357
- }
358
-
359
- .btn-warning:active:hover,
360
- .btn-warning.active:hover,
361
- .open>.dropdown-toggle.btn-warning:hover,
362
- .btn-warning:active:focus,
363
- .btn-warning.active:focus,
364
- .open>.dropdown-toggle.btn-warning:focus,
365
- .btn-warning:active.focus,
366
- .btn-warning.active.focus,
367
- .open>.dropdown-toggle.btn-warning.focus {
368
- color: #fff;
369
- background-color: #e68f11;
370
- border-color: #a3660c
371
- }
372
-
373
- .btn-warning:active,
374
- .btn-warning.active,
375
- .open>.dropdown-toggle.btn-warning {
376
- background-image: none
377
- }
378
-
379
- .btn-warning.disabled,
380
- .btn-warning[disabled],
381
- fieldset[disabled] .btn-warning,
382
- .btn-warning.disabled:hover,
383
- .btn-warning[disabled]:hover,
384
- fieldset[disabled] .btn-warning:hover,
385
- .btn-warning.disabled:focus,
386
- .btn-warning[disabled]:focus,
387
- fieldset[disabled] .btn-warning:focus,
388
- .btn-warning.disabled.focus,
389
- .btn-warning[disabled].focus,
390
- fieldset[disabled] .btn-warning.focus,
391
- .btn-warning.disabled:active,
392
- .btn-warning[disabled]:active,
393
- fieldset[disabled] .btn-warning:active,
394
- .btn-warning.disabled.active,
395
- .btn-warning[disabled].active,
396
- fieldset[disabled] .btn-warning.active {
397
- background-color: #f3b760;
398
- border-color: #efa231
399
- }
400
-
401
- .btn-warning .badge {
402
- color: #f3b760;
403
- background-color: #fff
404
- }
405
-
406
- .btn-danger {
407
- color: #fff;
408
- background-color: #d26a5c;
409
- border-color: #c54736
410
- }
411
-
412
- .btn-danger:focus,
413
- .btn-danger.focus,
414
- .btn-danger:hover {
415
- color: #fff;
416
- background-color: #c94d3c;
417
- border-color: #953629
418
- }
419
-
420
- .btn-danger:active,
421
- .btn-danger.active,
422
- .open>.dropdown-toggle.btn-danger {
423
- color: #fff;
424
- background-color: #a53c2d;
425
- border-color: #6d271e
426
- }
427
-
428
- .btn-danger:active:hover,
429
- .btn-danger.active:hover,
430
- .open>.dropdown-toggle.btn-danger:hover,
431
- .btn-danger:active:focus,
432
- .btn-danger.active:focus,
433
- .open>.dropdown-toggle.btn-danger:focus,
434
- .btn-danger:active.focus,
435
- .btn-danger.active.focus,
436
- .open>.dropdown-toggle.btn-danger.focus {
437
- color: #fff;
438
- background-color: #a53c2d;
439
- border-color: #6d271e
440
- }
441
-
442
- .btn-danger:active,
443
- .btn-danger.active,
444
- .open>.dropdown-toggle.btn-danger {
445
- background-image: none
446
- }
447
-
448
- .btn-danger.disabled,
449
- .btn-danger[disabled],
450
- fieldset[disabled] .btn-danger,
451
- .btn-danger.disabled:hover,
452
- .btn-danger[disabled]:hover,
453
- fieldset[disabled] .btn-danger:hover,
454
- .btn-danger.disabled:focus,
455
- .btn-danger[disabled]:focus,
456
- fieldset[disabled] .btn-danger:focus,
457
- .btn-danger.disabled.focus,
458
- .btn-danger[disabled].focus,
459
- fieldset[disabled] .btn-danger.focus,
460
- .btn-danger.disabled:active,
461
- .btn-danger[disabled]:active,
462
- fieldset[disabled] .btn-danger:active,
463
- .btn-danger.disabled.active,
464
- .btn-danger[disabled].active,
465
- fieldset[disabled] .btn-danger.active {
466
- background-color: #d26a5c;
467
- border-color: #c54736
468
- }
469
-
470
- .btn-danger .badge {
471
- color: #d26a5c;
472
- background-color: #fff
473
- }