rails_admin_content 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -11
  3. data/app/assets/images/common/backtop.png +0 -0
  4. data/app/assets/images/common/bg.gif +0 -0
  5. data/app/assets/images/common/bg_glow.png +0 -0
  6. data/app/assets/images/common/black_opacity12.png +0 -0
  7. data/app/assets/images/common/black_opacity20.png +0 -0
  8. data/app/assets/images/common/header_bg.png +0 -0
  9. data/app/assets/images/common/header_logo.png +0 -0
  10. data/app/assets/images/common/header_site.png +0 -0
  11. data/app/assets/images/common/home_center.png +0 -0
  12. data/app/assets/images/common/ra_backtop.png +0 -0
  13. data/app/assets/images/common/ra_tools.png +0 -0
  14. data/app/assets/images/common/sidebar_ie_bg.png +0 -0
  15. data/app/assets/images/common/sidebar_search.png +0 -0
  16. data/app/assets/javascripts/develop/manages.js.coffee +56 -18
  17. data/app/assets/javascripts/rails_admin_content.js +2 -1
  18. data/app/assets/stylesheets/develop/application/common.css.sass +780 -0
  19. data/app/assets/stylesheets/develop/application/forbidden.css.sass +24 -0
  20. data/app/assets/stylesheets/develop/application/login.css.sass +153 -0
  21. data/app/assets/stylesheets/develop/application.css.scss +6 -0
  22. data/app/assets/stylesheets/rails_admin_content.css +3 -5
  23. data/app/assets/stylesheets/site.css +2 -323
  24. data/app/controllers/rails_admin_content/develop/manages_controller.rb +1 -0
  25. data/app/views/layouts/rails_admin_content/admin.html.slim +42 -51
  26. data/app/views/rails_admin_content/develop/manages/_filter.html.slim +20 -22
  27. data/app/views/rails_admin_content/develop/manages/_header.html.slim +31 -0
  28. data/app/views/rails_admin_content/develop/manages/edit.html.slim +13 -15
  29. data/app/views/rails_admin_content/develop/manages/edit_column.html.slim +1 -1
  30. data/app/views/rails_admin_content/develop/manages/new.html.slim +10 -10
  31. data/app/views/rails_admin_content/develop/manages/query.html.slim +3 -2
  32. data/app/views/rails_admin_content/develop/manages/show.html.slim +24 -24
  33. data/lib/assets/javascripts/jquery/jquery.color.js +123 -0
  34. data/lib/assets/javascripts/jquery/jquery.cookie.js +96 -0
  35. data/lib/rails_admin_content/client.rb +4 -0
  36. data/lib/rails_admin_content/mysql/adapters/client.rb +2 -0
  37. data/lib/rails_admin_content/version.rb +1 -1
  38. metadata +64 -9
  39. data/app/views/rails_admin_content/develop/manages/_menv.html.slim +0 -8
  40. data/app/views/rails_admin_content/develop/manages/_navbar.html.slim +0 -27
  41. data/lib/assets/codemirror/charisma-app.css +0 -501
  42. data/lib/assets/codemirror/matchbrackets.js +0 -82
  43. data/lib/assets/codemirror/solarized.css +0 -207
  44. data/lib/assets/codemirror/twilight.css +0 -26
  45. data/lib/assets/javascripts/bootstrap/bootstrap-alert.js +0 -100
@@ -89,5 +89,9 @@ class RailsAdminContent::Client < Mysql2::Client
89
89
  conn.origin_query("DESC #{table_name}").each
90
90
  end
91
91
 
92
+ def self.show_create_sql(table_name)
93
+ conn.origin_query("SHOW CREATE TABLE #{table_name}").each
94
+ end
95
+
92
96
 
93
97
  end
@@ -5,6 +5,8 @@ module RailsAdminContent
5
5
  def initialize
6
6
  @client = client = Mysql2::Client.new ActiveRecord::Base.connection_config
7
7
  end
8
+
9
+
8
10
  def query(sql)
9
11
  @client.query(sql).each
10
12
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAdminContent
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-16 00:00:00.000000000 Z
11
+ date: 2013-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -80,6 +80,48 @@ dependencies:
80
80
  - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sass-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 3.2.3
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 3.2.3
97
+ - !ruby/object:Gem::Dependency
98
+ name: compass-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: compass-recipes
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
83
125
  description: Content Management Database Development Environment
84
126
  email:
85
127
  - wtuyuupe@163.com
@@ -87,8 +129,25 @@ executables: []
87
129
  extensions: []
88
130
  extra_rdoc_files: []
89
131
  files:
132
+ - app/assets/images/common/backtop.png
133
+ - app/assets/images/common/bg.gif
134
+ - app/assets/images/common/bg_glow.png
135
+ - app/assets/images/common/black_opacity12.png
136
+ - app/assets/images/common/black_opacity20.png
137
+ - app/assets/images/common/header_bg.png
138
+ - app/assets/images/common/header_logo.png
139
+ - app/assets/images/common/header_site.png
140
+ - app/assets/images/common/home_center.png
141
+ - app/assets/images/common/ra_backtop.png
142
+ - app/assets/images/common/ra_tools.png
143
+ - app/assets/images/common/sidebar_ie_bg.png
144
+ - app/assets/images/common/sidebar_search.png
90
145
  - app/assets/javascripts/develop/manages.js.coffee
91
146
  - app/assets/javascripts/rails_admin_content.js
147
+ - app/assets/stylesheets/develop/application/common.css.sass
148
+ - app/assets/stylesheets/develop/application/forbidden.css.sass
149
+ - app/assets/stylesheets/develop/application/login.css.sass
150
+ - app/assets/stylesheets/develop/application.css.scss
92
151
  - app/assets/stylesheets/develop/manages.css.scss
93
152
  - app/assets/stylesheets/rails_admin_content.css
94
153
  - app/assets/stylesheets/site.css
@@ -99,8 +158,7 @@ files:
99
158
  - app/views/rails_admin_content/develop/manages/_content.html.slim
100
159
  - app/views/rails_admin_content/develop/manages/_filter.html.slim
101
160
  - app/views/rails_admin_content/develop/manages/_form.html.slim
102
- - app/views/rails_admin_content/develop/manages/_menv.html.slim
103
- - app/views/rails_admin_content/develop/manages/_navbar.html.slim
161
+ - app/views/rails_admin_content/develop/manages/_header.html.slim
104
162
  - app/views/rails_admin_content/develop/manages/details.html.slim
105
163
  - app/views/rails_admin_content/develop/manages/edit.html.slim
106
164
  - app/views/rails_admin_content/develop/manages/edit_column.html.slim
@@ -109,15 +167,11 @@ files:
109
167
  - app/views/rails_admin_content/develop/manages/query.html.slim
110
168
  - app/views/rails_admin_content/develop/manages/show.html.slim
111
169
  - config/routes.rb
112
- - lib/assets/codemirror/charisma-app.css
113
170
  - lib/assets/codemirror/codemirror.css
114
171
  - lib/assets/codemirror/codemirror.js
115
172
  - lib/assets/codemirror/javascript.js
116
- - lib/assets/codemirror/matchbrackets.js
117
173
  - lib/assets/codemirror/midnight.css
118
- - lib/assets/codemirror/solarized.css
119
174
  - lib/assets/codemirror/sql.js
120
- - lib/assets/codemirror/twilight.css
121
175
  - lib/assets/images/add.png
122
176
  - lib/assets/images/column.png
123
177
  - lib/assets/images/content.png
@@ -127,10 +181,11 @@ files:
127
181
  - lib/assets/images/search.png
128
182
  - lib/assets/images/setting.png
129
183
  - lib/assets/images/user.png
130
- - lib/assets/javascripts/bootstrap/bootstrap-alert.js
131
184
  - lib/assets/javascripts/jquery/dyndatetime/calendar_zh.js
132
185
  - lib/assets/javascripts/jquery/dyndatetime/dynDateTime.js
133
186
  - lib/assets/javascripts/jquery/editable.js
187
+ - lib/assets/javascripts/jquery/jquery.color.js
188
+ - lib/assets/javascripts/jquery/jquery.cookie.js
134
189
  - lib/assets/javascripts/jquery/jquery.jeditable.js
135
190
  - lib/assets/stylesheets/bootstrap/bootstrap-app.css
136
191
  - lib/assets/stylesheets/dyndatetime/calendar-system.css
@@ -1,8 +0,0 @@
1
- .main-menu-span style="padding:8px;margin-left:0px"
2
- .well.nav-collapse.sidebar-nav
3
- ul.nav.nav-tabs.nav-stacked.main-menu
4
- li.nav-header.hidden-tablet style="font-size:12px"
5
- | Database #{RailsAdminContent::Client.conn.query_options[:database]}
6
- - RailsAdminContent::Client.get_tables.each do |table|
7
- li class="#{'active' if params[:id] == table.values.first}"
8
- = link_to table.values.first.to_s.truncate(20), develop_manage_path(table.values.first), title: "[#{table.keys.first}] #{table.values.first}"
@@ -1,27 +0,0 @@
1
- .span10
2
- .navbar
3
- ul
4
- li
5
- span.section
6
- = link_to 'Home', develop_manages_path, class: 'btn-icon', title: 'Home'
7
- li
8
- span.section
9
- = link_to 'Add', new_develop_manage_path(id: RailsAdminContent::Client.table_name), class: 'btn-icon', title: 'add'
10
-
11
- li class="#{ 'active' if action_name =~ /show/ && controller_name =~ /manages/ }"
12
- span.section
13
- = link_to 'Content', develop_manage_path(RailsAdminContent::Client.table_name), class: 'btn-icon', title: 'Content'
14
-
15
- li class="#{ 'active' if action_name =~ /edit_column/ && controller_name =~ /manages/ }"
16
- span.section
17
- = link_to 'Structure', edit_column_develop_manage_path(RailsAdminContent::Client.table_name), class: 'btn-icon', title: 'Structure'
18
-
19
- li class="#{ 'active' if action_name =~ /details/ && controller_name =~ /manages/ }"
20
- span.section
21
- = link_to 'Table', details_develop_manage_path(RailsAdminContent::Client.table_name), class: 'btn-icon', title: 'Table info'
22
-
23
- li
24
- span.section
25
- = link_to 'Query', query_develop_manages_path, class: 'btn-icon', title: 'Query'
26
-
27
- div style="clear:both"
@@ -1,501 +0,0 @@
1
- @import url(https://fonts.googleapis.com/css?family=Shojumaru);
2
-
3
- select{
4
- background-color:#fff;
5
- }
6
-
7
- .top-block{
8
- font-size:14px;
9
- text-align: center;
10
- padding: 5px;
11
- margin-bottom:10px;
12
- font-weight:bold;
13
- position: relative;
14
- display: block;
15
- line-height: 22px;
16
- text-shadow: 0 0 1px #DDD;
17
- text-decoration:none;
18
- -webkit-box-shadow: inset 0 0 0 1px #FAFAFA;
19
- -moz-box-shadow: inset 0 0 0 1px #FAFAFA;
20
- box-shadow: inset 0 0 0 1px #FAFAFA;
21
- background: -moz-linear-gradient(top, rgba(30,87,153,0.2) 0%, rgba(125,185,232,0) 100%);
22
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,0.2)), color-stop(100%,rgba(125,185,232,0)));
23
- background: -webkit-linear-gradient(top, rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
24
- background: -o-linear-gradient(top, rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
25
- background: -ms-linear-gradient(top, rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
26
- background: linear-gradient(to bottom, rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
27
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#331e5799', endColorstr='#007db9e8',GradientType=0 );
28
- }
29
-
30
- .top-block span{
31
- clear:both;
32
- }
33
-
34
-
35
- .top-block:hover{
36
- text-decoration:none;
37
- }
38
-
39
- .notification {
40
- display: block;
41
- position: absolute;
42
- top: -10px;
43
- right: -5px;
44
- line-height: 16px;
45
- height: 16px;
46
- padding: 0 5px;
47
- font-family: Arial, sans-serif;
48
- color: white !important;
49
- text-shadow: 0 1px
50
- hsla(0, 0%, 0%, 0.25);
51
- border-width: 1px;
52
- border-style: solid;
53
- border-radius: 10px;
54
- -webkit-border-radius: 10px;
55
- -moz-border-radius: 10px;
56
- -webkit-box-shadow: 0 1px 1px
57
- hsla(0, 0%, 0%, 0.08), inset 0 1px
58
- hsla(0, 100%, 100%, 0.3);
59
- -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3);
60
- box-shadow: 0 1px 1px
61
- hsla(0, 0%, 0%, 0.08), inset 0 1px
62
- hsla(0, 100%, 100%, 0.3);
63
- }
64
-
65
- .notification {
66
- border-color: #2FABE9;
67
- background-color: #67C2EF;
68
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(200, 80%, 82%)), color-stop(100%, hsl(200, 81%, 67%)));
69
- background-image: -webkit-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
70
- background-image: -moz-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
71
- background-image: -ms-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
72
- background-image: -o-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
73
- background-image: linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
74
- }
75
-
76
- .notification.green {
77
- border-color: #5AAD34;
78
- background-color: #78CD51;
79
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(101, 54%, 71%)), color-stop(100%, hsl(101, 55%, 56%)));
80
- background-image: -webkit-linear-gradient(top, hsl(101, 54%, 71%), hsl(101, 55%, 56%));
81
- background-image: -moz-linear-gradient(top, hsl(101, 54%, 71%), hsl(101, 55%, 56%));
82
- background-image: -ms-linear-gradient(top, hsl(101, 54%, 71%), hsl(101, 55%, 56%));
83
- background-image: -o-linear-gradient(top, hsl(101, 54%, 71%), hsl(101, 55%, 56%));
84
- background-image: linear-gradient(top, hsl(101, 54%, 71%), hsl(101, 55%, 56%));
85
- }
86
-
87
- .notification.yellow {
88
- border-color: #F4A506;
89
- background-color: #FABB3D;
90
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(40, 95%, 76%)), color-stop(100%, hsl(40, 95%, 61%)));
91
- background-image: -webkit-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
92
- background-image: -moz-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
93
- background-image: -ms-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
94
- background-image: -o-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
95
- background-image: linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
96
- }
97
-
98
- .notification.red {
99
- border-color: #FA5833;
100
- background-color: #FA603D;
101
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(11, 95%, 76%)), color-stop(100%, hsl(11, 95%, 61%)));
102
- background-image: -webkit-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
103
- background-image: -moz-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
104
- background-image: -ms-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
105
- background-image: -o-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
106
- background-image: linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
107
- }
108
-
109
- #external-events {
110
- float: left;
111
- width: 15%;
112
- padding: 10px;
113
- text-align: left;
114
- }
115
- .external-event{
116
- margin: 5px;
117
- cursor:move;
118
- }
119
- #calendar {
120
- float: right;
121
- width: 80%;
122
- }
123
-
124
-
125
-
126
- .box{
127
- border: 1px solid #DEDEDE;
128
- border-radius:3px;
129
- -webkit-border-radius:3px;
130
- -moz-border-radius:3px;
131
- margin-top: 10px;
132
- margin-bottom: 10px ;
133
- box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
134
- -webkit-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
135
- -moz-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
136
- }
137
-
138
- .box-header{
139
- border:none;
140
- padding-top:5px;
141
- border-bottom: 1px solid #DEDEDE;
142
- border-radius:3px 3px 0 0;
143
- -webkit-border-radius:3px 3px 0 0;
144
- -moz-border-radius:3px 3px 0 0;
145
- height:12px;
146
- min-height:12px;
147
- margin-bottom: 0;
148
- cursor:move;
149
- font-weight:bold;
150
- font-size:16px;
151
- background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%);
152
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(0,0,0,0.1)));
153
- background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
154
- background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
155
- background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
156
- background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
157
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#1a000000',GradientType=0 );
158
-
159
- }
160
-
161
- .box-header h2{
162
- font-size:15px;
163
- width:auto;
164
- clear:none;
165
- float:left;
166
- line-height:25px;
167
- }
168
- .box-header h3{
169
- font-size:13px;
170
- width:auto;
171
- clear:none;
172
- float:left;
173
- line-height:25px;
174
- }
175
- .box-header h2 > i{
176
- margin-top:1px;
177
- }
178
- .box-icon{
179
- float:right;
180
- }
181
- .box-icon a{
182
- clear:none;
183
- float:left;
184
- margin:0 2px;
185
- height: 18px;
186
- width:5px;
187
- margin-top: -1px;
188
- }
189
- .box-icon a i{
190
- margin-left:-4.5px;
191
- }
192
- .box-content{
193
- padding:10px;
194
- }
195
-
196
-
197
- .btn-round{
198
- border-radius: 40px;
199
- -webkit-border-radius: 40px;
200
- -moz-border-radius: 40px;
201
- font-size:12px;
202
- padding-top:4px;
203
- }
204
-
205
- ul.dashboard-list li{
206
- padding: 7px 0;
207
- list-style:none;
208
- border-bottom: 1px solid #EBEBEB;
209
- border-top: 1px solid white;
210
- }
211
-
212
- ul.dashboard-list a:hover{
213
- text-decoration:none;
214
- }
215
-
216
- ul.dashboard-list{
217
- margin:0;
218
- }
219
-
220
- ul.dashboard-list li a span {
221
- display: inline-block;
222
- font-size: 18px;
223
- font-weight: bold;
224
- margin-right: 10px;
225
- text-align: right;
226
- width: 70px;
227
- zoom: 1;
228
- }
229
-
230
- .dashboard-avatar{
231
- height: 50px;
232
- width: 50px;
233
- padding: 1px;
234
- float: left;
235
- margin-left: 15px;
236
- margin-right: 15px;
237
- border: 1px solid #EBEBEB;
238
- }
239
-
240
- #prependedInput,#appendedPrependedInput,#appendedInputButtons,#appendedInputButton{
241
- width:200px;
242
- }
243
- #appendedInput{
244
- width:75px;
245
- }
246
- .thumbnail{
247
- background-color:white;
248
- z-index:2;
249
- position:relative;
250
- margin-bottom:40px !important;
251
- }
252
- .thumbnails > li{
253
- margin-left:15px;
254
- }
255
- .thumbnail img,.thumbnail > a{
256
- z-index:2;
257
- height:100px;
258
- width:100px;
259
- position:relative;
260
- display: block;
261
- }
262
-
263
- img.grayscale{
264
- -webkit-filter: grayscale(1);
265
- -webkit-filter: grayscale(100%);
266
- -moz-filter: grayscale(100%);
267
- -ms-filter: grayscale(100%);
268
- -o-filter: grayscale(100%);
269
- /*filter: url(desaturate.svg#grayscale);
270
- filter: gray;
271
- filter: grayscale(100%); */
272
- }
273
-
274
- .thumbnail .gallery-controls{
275
- position:absolute;
276
- z-index:1;
277
- margin-top:-30px;
278
- height:22px;
279
- min-height:22px;
280
- width:80px;
281
- padding:9px;
282
- }
283
- .thumbnail .gallery-controls p{
284
- display:block;
285
- margin:auto;
286
- width:100%;
287
- }
288
- label div.checker,label div.radio{
289
- margin-bottom:3px;
290
- }
291
- div.uploader{
292
- border-radius:14px;
293
- -webkit-border-radius:14px;
294
- -moz-border-radius:14px;
295
- }
296
- footer{
297
- clear:both;
298
- }
299
- footer .pull-right{
300
- float:right;
301
- margin-right:10px;
302
- }
303
- footer .pull-left{
304
- float:left;
305
- margin-left:10px;
306
- }
307
- .docs-input-sizes select, .docs-input-sizes input[type="text"] {
308
- display: block;
309
- margin-bottom: 9px;
310
- }
311
-
312
- div.center,p.center,img.center{
313
- margin-left: auto !important;
314
- margin-right: auto !important;
315
- float:none !important;
316
- display: block;
317
- text-align:center;
318
- }
319
-
320
- .stackControls{
321
- padding:5px;
322
- }
323
-
324
- .clear{
325
- clear:both;
326
- width:0px;
327
- height:0px;
328
- }
329
-
330
- .sidebar-nav{
331
- min-height:0;
332
- box-shadow: 0 0 10px #BDBDBD;
333
- -webkit-box-shadow: 0 0 10px #BDBDBD;
334
- -moz-box-shadow: 0 0 10px #BDBDBD;
335
- border-radius: 5px;
336
- -webkit-border-radius: 5px;
337
- -moz-border-radius: 5px;
338
- margin-bottom: 0;
339
- padding-bottom:0;
340
- }
341
- .sidebar-nav > ul > li:not(.nav-header){
342
- margin-right:-2px;
343
- margin-left:-2px;
344
- }
345
- .brand{
346
- font-family: 'Shojumaru', cursive, Arial, serif;
347
- letter-spacing:2px;
348
- text-shadow:1px 1px 5px rgba(0, 0, 0, 0.5);
349
- width:166px;
350
- }
351
- .brand img{
352
- float:left;
353
- height:20px;
354
- width:20px;
355
- margin-right:5px;
356
- }
357
- .brand span{
358
- float:left;
359
- }
360
- @media (max-width: 979px){
361
- .sidebar-nav{
362
- padding:0;
363
- margin-bottom:0;
364
- }
365
- .theme-text{
366
- display:none;
367
- }
368
- }
369
- @media (min-width: 768px) and (max-width: 979px) {
370
- .box-icon{
371
- display:none;
372
- }
373
- .box-header h2{
374
- font-size:13px !important;
375
- }
376
- .box-header h3{
377
- font-size:11px !important;
378
- }
379
- .main-menu-span{
380
- width:6.2% !important;
381
- margin-right:4%;
382
- }
383
- }
384
-
385
- .navbar-search{
386
- margin-left:10px;
387
- }
388
- .navbar-inner{
389
- border-radius:0 0 10px 10px;
390
- -webkit-border-radius:0 0 10px 10px;
391
- -moz-border-radius:0 0 10px 10px;
392
- padding-top:5px;
393
- padding-bottom:5px;
394
- }
395
- div.dataTables_length select {
396
- width: 50px;
397
- }
398
- .dataTables_filter input, .dataTables_length select {
399
- display: inline-block;
400
- margin-bottom: 0;
401
- }
402
- ul.ajax-loaders li{
403
- display:inline-block;
404
- list-style:none;
405
- padding:10px;
406
- }
407
- ul.ajax-loaders{
408
- min-height:80px;
409
- }
410
- .bs-icons li{
411
- list-style:none;
412
- }
413
- #for-is-ajax{
414
- padding-left: 12px;
415
- cursor:pointer;
416
- }
417
- #loading{
418
- margin-top: 20px;
419
- width:128px;
420
- font-weight: bold;
421
- }
422
- #loading div.center{
423
- margin-top:10px;
424
- height:15px;
425
- width:128px;
426
- background:url(../img/ajax-loaders/ajax-loader-6.gif);
427
- }
428
-
429
- .box-content .nav-tabs{
430
- margin-right:-10px;
431
- margin-left:-10px;
432
- }
433
- #inputIcon{
434
- width:200px;
435
- }
436
- .show-grid [class*="span"] {
437
- background-color: #EDEDED;
438
- text-align: center;
439
- -webkit-border-radius: 3px;
440
- -moz-border-radius: 3px;
441
- border-radius: 3px;
442
- min-height: 30px;
443
- line-height: 30px;
444
- }
445
- .show-grid {
446
- margin-top: 10px;
447
- margin-bottom: 20px;
448
- color:black;
449
- }
450
- .show-grid:hover [class*="span"] {
451
- background: #DEDEDE;
452
- }
453
- .login-header{
454
- padding-top:30px;
455
- height:120px;
456
- }
457
- .pull-left{
458
- float:left !important;
459
- }
460
- .pull-right{
461
- float:right !important;
462
- }
463
- .remember{
464
- margin-top:3px;
465
- }
466
- .green {
467
- color: #458746;
468
- }
469
- .red {
470
- color: #B94846;
471
- }
472
- .blue {
473
- color: #3986AC;
474
- }
475
- .yellow {
476
- color: #F99406;
477
- }
478
- .login-box{
479
-
480
- }
481
- .login-box .input-prepend{
482
- margin-bottom: 10px;
483
- }
484
- .login-box .btn{
485
- margin-top:15px;
486
- width:100%
487
- }
488
- .charisma_qr{
489
- height:136px;
490
- width:136px;
491
- border:solid grey 1px;
492
- border-radius:2px;
493
- -webkit-border-radius:2px;
494
- -moz-border-radius:2px;
495
- box-shadow: 0 0 10px #BDBDBD;
496
- -webkit-box-shadow: 0 0 10px #BDBDBD;
497
- -moz-box-shadow: 0 0 10px #BDBDBD;
498
- }
499
- .box-content.buttons{
500
- min-height:297px;
501
- }