zendesk_api 0.1.11 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/.travis.yml +1 -3
- data/Gemfile +24 -0
- data/Gemfile.lock +75 -10
- data/Procfile +1 -0
- data/Rakefile +10 -3
- data/Readme.md +65 -0
- data/bin/zendesk +26 -0
- data/config.ru +6 -0
- data/config/mongoid.yml +81 -0
- data/lib/zendesk_api/actions.rb +2 -2
- data/lib/zendesk_api/collection.rb +15 -4
- data/lib/zendesk_api/console/base.rb +12 -0
- data/lib/zendesk_api/console/console.rb +144 -0
- data/lib/zendesk_api/console/extensions.rb +183 -0
- data/lib/zendesk_api/console/options.rb +41 -0
- data/lib/zendesk_api/resource.rb +12 -1
- data/lib/zendesk_api/resources.rb +28 -8
- data/lib/zendesk_api/server/base.rb +119 -0
- data/lib/zendesk_api/server/docs/account_settings.md +145 -0
- data/lib/zendesk_api/server/docs/activity_stream.md +121 -0
- data/lib/zendesk_api/server/docs/attachments.md +73 -0
- data/lib/zendesk_api/server/docs/autocomplete.md +29 -0
- data/lib/zendesk_api/server/docs/categories.md +193 -0
- data/lib/zendesk_api/server/docs/custom_roles.md +88 -0
- data/lib/zendesk_api/server/docs/forum_subscriptions.md +139 -0
- data/lib/zendesk_api/server/docs/forums.md +229 -0
- data/lib/zendesk_api/server/docs/group_memberships.md +229 -0
- data/lib/zendesk_api/server/docs/groups.md +212 -0
- data/lib/zendesk_api/server/docs/introduction.md +159 -0
- data/lib/zendesk_api/server/docs/job_statuses.md +86 -0
- data/lib/zendesk_api/server/docs/locales.md +124 -0
- data/lib/zendesk_api/server/docs/macros.md +287 -0
- data/lib/zendesk_api/server/docs/organizations.md +253 -0
- data/lib/zendesk_api/server/docs/problems.md +117 -0
- data/lib/zendesk_api/server/docs/requests.md +256 -0
- data/lib/zendesk_api/server/docs/satisfaction_ratings.md +136 -0
- data/lib/zendesk_api/server/docs/search.md +106 -0
- data/lib/zendesk_api/server/docs/sharing_agreements.md +57 -0
- data/lib/zendesk_api/server/docs/side_loading.md +125 -0
- data/lib/zendesk_api/server/docs/suspended_tickets.md +182 -0
- data/lib/zendesk_api/server/docs/tags.md +36 -0
- data/lib/zendesk_api/server/docs/ticket_audits.md +657 -0
- data/lib/zendesk_api/server/docs/ticket_export.md +121 -0
- data/lib/zendesk_api/server/docs/ticket_fields.md +277 -0
- data/lib/zendesk_api/server/docs/ticket_import.md +65 -0
- data/lib/zendesk_api/server/docs/ticket_metrics.md +125 -0
- data/lib/zendesk_api/server/docs/tickets.md +622 -0
- data/lib/zendesk_api/server/docs/topic_comments.md +221 -0
- data/lib/zendesk_api/server/docs/topic_subscriptions.md +140 -0
- data/lib/zendesk_api/server/docs/topic_votes.md +154 -0
- data/lib/zendesk_api/server/docs/topics.md +335 -0
- data/lib/zendesk_api/server/docs/triggers.md +199 -0
- data/lib/zendesk_api/server/docs/user_identities.md +279 -0
- data/lib/zendesk_api/server/docs/users.md +400 -0
- data/lib/zendesk_api/server/docs/views.md +505 -0
- data/lib/zendesk_api/server/helper.rb +104 -0
- data/lib/zendesk_api/server/html_renderer.rb +98 -0
- data/lib/zendesk_api/server/models/user_request.rb +16 -0
- data/lib/zendesk_api/server/models/zlib_json.rb +13 -0
- data/lib/zendesk_api/server/public/config.rb +26 -0
- data/lib/zendesk_api/server/public/favicon.ico +0 -0
- data/lib/zendesk_api/server/public/images/glyphicons-halflings-white.png +0 -0
- data/lib/zendesk_api/server/public/images/glyphicons-halflings.png +0 -0
- data/lib/zendesk_api/server/public/images/spinner.gif +0 -0
- data/lib/zendesk_api/server/public/images/zendesk_developers_bg.png +0 -0
- data/lib/zendesk_api/server/public/images/zendesk_developers_header.png +0 -0
- data/lib/zendesk_api/server/public/javascripts/application.js +186 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-alert.js +90 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-button.js +96 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-carousel.js +169 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-collapse.js +157 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-dropdown.js +100 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-modal.js +218 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-popover.js +98 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-scrollspy.js +151 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-tab.js +135 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-tooltip.js +275 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-transition.js +61 -0
- data/lib/zendesk_api/server/public/javascripts/bootstrap-typeahead.js +285 -0
- data/lib/zendesk_api/server/public/sass/screen.scss +102 -0
- data/lib/zendesk_api/server/public/sass/styles.scss +5 -0
- data/lib/zendesk_api/server/public/stylesheets/developer.screen.css +836 -0
- data/lib/zendesk_api/server/public/stylesheets/screen.css +129 -0
- data/lib/zendesk_api/server/public/stylesheets/styles.css +6208 -0
- data/lib/zendesk_api/server/templates/footer.haml +13 -0
- data/lib/zendesk_api/server/templates/header.haml +20 -0
- data/lib/zendesk_api/server/templates/index.haml +68 -0
- data/lib/zendesk_api/server/templates/layout.haml +44 -0
- data/lib/zendesk_api/server/templates/param.haml +4 -0
- data/lib/zendesk_api/server/templates/search.haml +23 -0
- data/lib/zendesk_api/server/templates/sidebar.haml +7 -0
- data/lib/zendesk_api/version.rb +1 -1
- data/spec/{association_spec.rb → core/association_spec.rb} +1 -1
- data/spec/{client_spec.rb → core/client_spec.rb} +1 -1
- data/spec/{collection_spec.rb → core/collection_spec.rb} +1 -1
- data/spec/{configuration_spec.rb → core/configuration_spec.rb} +1 -1
- data/spec/{create_resource_spec.rb → core/create_resource_spec.rb} +1 -1
- data/spec/{data_resource_spec.rb → core/data_resource_spec.rb} +1 -1
- data/spec/{inflection_spec.rb → core/inflection_spec.rb} +1 -1
- data/spec/{lru_cache_spec.rb → core/lru_cache_spec.rb} +1 -1
- data/spec/{middleware → core/middleware}/request/etag_cache_spec.rb +1 -1
- data/spec/{middleware → core/middleware}/request/retry_spec.rb +1 -1
- data/spec/{middleware → core/middleware}/request/test.jpg +0 -0
- data/spec/{middleware → core/middleware}/request/upload_spec.rb +1 -1
- data/spec/{middleware → core/middleware}/response/callback_spec.rb +1 -1
- data/spec/{middleware → core/middleware}/response/deflate_spec.rb +1 -1
- data/spec/{middleware → core/middleware}/response/gzip_spec.rb +1 -1
- data/spec/{middleware → core/middleware}/response/parse_iso_dates_spec.rb +1 -1
- data/spec/{read_resource_spec.rb → core/read_resource_spec.rb} +1 -1
- data/spec/{rescue_spec.rb → core/rescue_spec.rb} +1 -1
- data/spec/{resource_spec.rb → core/resource_spec.rb} +1 -1
- data/spec/{search_spec.rb → core/search_spec.rb} +1 -1
- data/spec/{spec_helper.rb → core/spec_helper.rb} +5 -5
- data/spec/{trackie_spec.rb → core/trackie_spec.rb} +1 -1
- data/{live → spec/live}/Readme.md +0 -0
- data/{live → spec/live}/activity_spec.rb +1 -1
- data/{live → spec/live}/audit_spec.rb +1 -1
- data/{live → spec/live}/bookmark_spec.rb +1 -1
- data/{live → spec/live}/category_spec.rb +1 -1
- data/{live → spec/live}/collection_spec.rb +1 -1
- data/{live → spec/live}/crm_spec.rb +1 -1
- data/{live → spec/live}/custom_role_spec.rb +1 -1
- data/{live → spec/live}/forum_spec.rb +1 -1
- data/{live → spec/live}/forum_subscription_spec.rb +1 -1
- data/{live → spec/live}/group_membership_spec.rb +1 -1
- data/{live → spec/live}/group_spec.rb +1 -1
- data/{live → spec/live}/identity_spec.rb +1 -1
- data/{live → spec/live}/locale_spec.rb +1 -1
- data/{live → spec/live}/macro_spec.rb +1 -1
- data/{live → spec/live}/mobile_device_spec.rb +1 -1
- data/{live → spec/live}/organization_spec.rb +1 -1
- data/{live → spec/live}/request_spec.rb +1 -1
- data/{live → spec/live}/satisfaction_rating_spec.rb +1 -1
- data/{live → spec/live}/setting_spec.rb +1 -1
- data/{live → spec/live}/suspended_ticket_spec.rb +1 -1
- data/{live → spec/live}/ticket_field_spec.rb +1 -1
- data/{live → spec/live}/ticket_metrics_spec.rb +1 -1
- data/{live → spec/live}/ticket_spec.rb +1 -1
- data/spec/live/topic_comment_spec.rb +24 -0
- data/{live → spec/live}/topic_spec.rb +1 -1
- data/{live → spec/live}/topic_subscription_spec.rb +1 -1
- data/{live → spec/live}/topic_vote_spec.rb +1 -1
- data/{live → spec/live}/upload_spec.rb +1 -1
- data/{live → spec/live}/user_spec.rb +1 -1
- data/{live → spec/live}/view_spec.rb +1 -1
- data/spec/macros/resource_macros.rb +1 -1
- data/spec/server/app_spec.rb +140 -0
- data/spec/server/helper_spec.rb +97 -0
- data/spec/server/html_renderer_spec.rb +130 -0
- data/spec/server/spec_helper.rb +43 -0
- metadata +198 -77
- data/live/topic_comment_spec.rb +0 -13
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
/* =============================================================
|
|
2
|
+
* bootstrap-typeahead.js v2.0.4
|
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
|
4
|
+
* =============================================================
|
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
* ============================================================ */
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
!function($){
|
|
22
|
+
|
|
23
|
+
"use strict"; // jshint ;_;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* TYPEAHEAD PUBLIC CLASS DEFINITION
|
|
27
|
+
* ================================= */
|
|
28
|
+
|
|
29
|
+
var Typeahead = function (element, options) {
|
|
30
|
+
this.$element = $(element)
|
|
31
|
+
this.options = $.extend({}, $.fn.typeahead.defaults, options)
|
|
32
|
+
this.matcher = this.options.matcher || this.matcher
|
|
33
|
+
this.sorter = this.options.sorter || this.sorter
|
|
34
|
+
this.highlighter = this.options.highlighter || this.highlighter
|
|
35
|
+
this.updater = this.options.updater || this.updater
|
|
36
|
+
this.$menu = $(this.options.menu).appendTo('body')
|
|
37
|
+
this.source = this.options.source
|
|
38
|
+
this.shown = false
|
|
39
|
+
this.listen()
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
Typeahead.prototype = {
|
|
43
|
+
|
|
44
|
+
constructor: Typeahead
|
|
45
|
+
|
|
46
|
+
, select: function () {
|
|
47
|
+
var val = this.$menu.find('.active').attr('data-value')
|
|
48
|
+
this.$element
|
|
49
|
+
.val(this.updater(val))
|
|
50
|
+
.change()
|
|
51
|
+
return this.hide()
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
, updater: function (item) {
|
|
55
|
+
return item
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
, show: function () {
|
|
59
|
+
var pos = $.extend({}, this.$element.offset(), {
|
|
60
|
+
height: this.$element[0].offsetHeight
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
this.$menu.css({
|
|
64
|
+
top: pos.top + pos.height
|
|
65
|
+
, left: pos.left
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
this.$menu.show()
|
|
69
|
+
this.shown = true
|
|
70
|
+
return this
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
, hide: function () {
|
|
74
|
+
this.$menu.hide()
|
|
75
|
+
this.shown = false
|
|
76
|
+
return this
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
, lookup: function (event) {
|
|
80
|
+
var that = this
|
|
81
|
+
, items
|
|
82
|
+
, q
|
|
83
|
+
|
|
84
|
+
this.query = this.$element.val()
|
|
85
|
+
|
|
86
|
+
if (!this.query) {
|
|
87
|
+
return this.shown ? this.hide() : this
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
items = $.grep(this.source, function (item) {
|
|
91
|
+
return that.matcher(item)
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
items = this.sorter(items)
|
|
95
|
+
|
|
96
|
+
if (!items.length) {
|
|
97
|
+
return this.shown ? this.hide() : this
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return this.render(items.slice(0, this.options.items)).show()
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
, matcher: function (item) {
|
|
104
|
+
return ~item.toLowerCase().indexOf(this.query.toLowerCase())
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
, sorter: function (items) {
|
|
108
|
+
var beginswith = []
|
|
109
|
+
, caseSensitive = []
|
|
110
|
+
, caseInsensitive = []
|
|
111
|
+
, item
|
|
112
|
+
|
|
113
|
+
while (item = items.shift()) {
|
|
114
|
+
if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)
|
|
115
|
+
else if (~item.indexOf(this.query)) caseSensitive.push(item)
|
|
116
|
+
else caseInsensitive.push(item)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
return beginswith.concat(caseSensitive, caseInsensitive)
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
, highlighter: function (item) {
|
|
123
|
+
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&')
|
|
124
|
+
return item.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {
|
|
125
|
+
return '<strong>' + match + '</strong>'
|
|
126
|
+
})
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
, render: function (items) {
|
|
130
|
+
var that = this
|
|
131
|
+
|
|
132
|
+
items = $(items).map(function (i, item) {
|
|
133
|
+
i = $(that.options.item).attr('data-value', item)
|
|
134
|
+
i.find('a').html(that.highlighter(item))
|
|
135
|
+
return i[0]
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
items.first().addClass('active')
|
|
139
|
+
this.$menu.html(items)
|
|
140
|
+
return this
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
, next: function (event) {
|
|
144
|
+
var active = this.$menu.find('.active').removeClass('active')
|
|
145
|
+
, next = active.next()
|
|
146
|
+
|
|
147
|
+
if (!next.length) {
|
|
148
|
+
next = $(this.$menu.find('li')[0])
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
next.addClass('active')
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
, prev: function (event) {
|
|
155
|
+
var active = this.$menu.find('.active').removeClass('active')
|
|
156
|
+
, prev = active.prev()
|
|
157
|
+
|
|
158
|
+
if (!prev.length) {
|
|
159
|
+
prev = this.$menu.find('li').last()
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
prev.addClass('active')
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
, listen: function () {
|
|
166
|
+
this.$element
|
|
167
|
+
.on('blur', $.proxy(this.blur, this))
|
|
168
|
+
.on('keypress', $.proxy(this.keypress, this))
|
|
169
|
+
.on('keyup', $.proxy(this.keyup, this))
|
|
170
|
+
|
|
171
|
+
if ($.browser.webkit || $.browser.msie) {
|
|
172
|
+
this.$element.on('keydown', $.proxy(this.keypress, this))
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
this.$menu
|
|
176
|
+
.on('click', $.proxy(this.click, this))
|
|
177
|
+
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
, keyup: function (e) {
|
|
181
|
+
switch(e.keyCode) {
|
|
182
|
+
case 40: // down arrow
|
|
183
|
+
case 38: // up arrow
|
|
184
|
+
break
|
|
185
|
+
|
|
186
|
+
case 9: // tab
|
|
187
|
+
case 13: // enter
|
|
188
|
+
if (!this.shown) return
|
|
189
|
+
this.select()
|
|
190
|
+
break
|
|
191
|
+
|
|
192
|
+
case 27: // escape
|
|
193
|
+
if (!this.shown) return
|
|
194
|
+
this.hide()
|
|
195
|
+
break
|
|
196
|
+
|
|
197
|
+
default:
|
|
198
|
+
this.lookup()
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
e.stopPropagation()
|
|
202
|
+
e.preventDefault()
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
, keypress: function (e) {
|
|
206
|
+
if (!this.shown) return
|
|
207
|
+
|
|
208
|
+
switch(e.keyCode) {
|
|
209
|
+
case 9: // tab
|
|
210
|
+
case 13: // enter
|
|
211
|
+
case 27: // escape
|
|
212
|
+
e.preventDefault()
|
|
213
|
+
break
|
|
214
|
+
|
|
215
|
+
case 38: // up arrow
|
|
216
|
+
if (e.type != 'keydown') break
|
|
217
|
+
e.preventDefault()
|
|
218
|
+
this.prev()
|
|
219
|
+
break
|
|
220
|
+
|
|
221
|
+
case 40: // down arrow
|
|
222
|
+
if (e.type != 'keydown') break
|
|
223
|
+
e.preventDefault()
|
|
224
|
+
this.next()
|
|
225
|
+
break
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
e.stopPropagation()
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
, blur: function (e) {
|
|
232
|
+
var that = this
|
|
233
|
+
setTimeout(function () { that.hide() }, 150)
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
, click: function (e) {
|
|
237
|
+
e.stopPropagation()
|
|
238
|
+
e.preventDefault()
|
|
239
|
+
this.select()
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
, mouseenter: function (e) {
|
|
243
|
+
this.$menu.find('.active').removeClass('active')
|
|
244
|
+
$(e.currentTarget).addClass('active')
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
/* TYPEAHEAD PLUGIN DEFINITION
|
|
251
|
+
* =========================== */
|
|
252
|
+
|
|
253
|
+
$.fn.typeahead = function (option) {
|
|
254
|
+
return this.each(function () {
|
|
255
|
+
var $this = $(this)
|
|
256
|
+
, data = $this.data('typeahead')
|
|
257
|
+
, options = typeof option == 'object' && option
|
|
258
|
+
if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
|
|
259
|
+
if (typeof option == 'string') data[option]()
|
|
260
|
+
})
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
$.fn.typeahead.defaults = {
|
|
264
|
+
source: []
|
|
265
|
+
, items: 8
|
|
266
|
+
, menu: '<ul class="typeahead dropdown-menu"></ul>'
|
|
267
|
+
, item: '<li><a href="#"></a></li>'
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
$.fn.typeahead.Constructor = Typeahead
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/* TYPEAHEAD DATA-API
|
|
274
|
+
* ================== */
|
|
275
|
+
|
|
276
|
+
$(function () {
|
|
277
|
+
$('body').on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
|
278
|
+
var $this = $(this)
|
|
279
|
+
if ($this.data('typeahead')) return
|
|
280
|
+
e.preventDefault()
|
|
281
|
+
$this.typeahead($this.data())
|
|
282
|
+
})
|
|
283
|
+
})
|
|
284
|
+
|
|
285
|
+
}(window.jQuery);
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
#params div {
|
|
2
|
+
margin-bottom: 10px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.remove-param {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#input {
|
|
10
|
+
margin-bottom: 10px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
#possible-params {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
display: inline;
|
|
16
|
+
|
|
17
|
+
i {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
#possible-params-text {
|
|
23
|
+
margin: 10px 0 0 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.error {
|
|
27
|
+
color: red;
|
|
28
|
+
* { color: red; }
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#json {
|
|
32
|
+
margin: 10px 0 0 0;
|
|
33
|
+
width: 98%;
|
|
34
|
+
height: 100px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#json.valid {
|
|
38
|
+
border: 1px solid green;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
#json.invalid {
|
|
42
|
+
border: 1px solid red;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
#search .input-append {
|
|
46
|
+
margin-right: 43px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#method-select {
|
|
50
|
+
width: 6em;
|
|
51
|
+
margin: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#search-results {
|
|
55
|
+
margin-top: 10px;
|
|
56
|
+
|
|
57
|
+
h2, h3 {
|
|
58
|
+
font-size: 18px;
|
|
59
|
+
line-height: 20px;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.header-icon {
|
|
64
|
+
float: left;
|
|
65
|
+
margin-right: 10px;
|
|
66
|
+
margin-top: 3px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#navigation {
|
|
71
|
+
padding: 5px 5px 5px 20px;
|
|
72
|
+
|
|
73
|
+
ul {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.navbar-search .search-query {
|
|
79
|
+
padding: 4px 9px;
|
|
80
|
+
height: 15px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.alert .close {
|
|
84
|
+
top: -5px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#path {
|
|
88
|
+
margin-top: 10px;
|
|
89
|
+
width: 98%;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.form-inline input {
|
|
93
|
+
width: 48%;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
button.example {
|
|
97
|
+
float: right;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.footer_links {
|
|
101
|
+
margin: 0;
|
|
102
|
+
}
|
|
@@ -0,0 +1,836 @@
|
|
|
1
|
+
body {
|
|
2
|
+
font: 14px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
3
|
+
padding-top: 55px;
|
|
4
|
+
background-color: #F0F1F2;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: 'DINNextLTPro-Bold';
|
|
9
|
+
src: url('/fonts/dinnextltpro-bold.eot');
|
|
10
|
+
src: url('/fonts/dinnextltpro-bold.eot?#iefix') format('embedded-opentype'),
|
|
11
|
+
url('/fonts/dinnextltpro-bold.woff') format('woff'),
|
|
12
|
+
url('/fonts/dinnextltpro-bold.ttf') format('truetype'),
|
|
13
|
+
url('/fonts/dinnextltpro-bold.svg#dinnextltpro-bold') format('svg');
|
|
14
|
+
font-weight: normal;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'DINNextLTPro-Regular';
|
|
20
|
+
src: url('/fonts/dinnextltpro-regular.eot');
|
|
21
|
+
src: url('/fonts/dinnextltpro-regular.eot?#iefix') format('embedded-opentype'),
|
|
22
|
+
url('/fonts/dinnextltpro-regular.woff') format('woff'),
|
|
23
|
+
url('/fonts/dinnextltpro-regular.ttf') format('truetype'),
|
|
24
|
+
url('/fonts/dinnextltpro-regular.svg#dinnextltpro-regular') format('svg');
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a code {
|
|
30
|
+
color: #08C;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.container-fluid {
|
|
34
|
+
padding-left: 0px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.frame {
|
|
38
|
+
background: rgb(255,255,255);
|
|
39
|
+
border: 1px solid #DDD;
|
|
40
|
+
-webkit-box-shadow: rgba(0,0,0,0.1) 0 0 3px 0px;
|
|
41
|
+
-webkit-border-radius: 5px;
|
|
42
|
+
border-radius: 5px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.container{
|
|
46
|
+
/*background: rgb(255,255,255);
|
|
47
|
+
border: 1px solid #DDD;
|
|
48
|
+
-webkit-box-shadow: rgba(0,0,0,0.1) 0 0 3px 0px;
|
|
49
|
+
-webkit-border-radius: 5px;
|
|
50
|
+
border-radius: 5px;*/
|
|
51
|
+
width: 940px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.sidebar{
|
|
55
|
+
width: 200px;
|
|
56
|
+
float: left;
|
|
57
|
+
text-align: center;
|
|
58
|
+
margin:15px 0px 0px 15px;
|
|
59
|
+
padding-right: 25px;
|
|
60
|
+
border-right: 1px solid #ddd;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.links{
|
|
64
|
+
width: 90%;
|
|
65
|
+
margin: 0px auto;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.zeng_logo{
|
|
69
|
+
padding-bottom: 10px;
|
|
70
|
+
margin-bottom: 20px;
|
|
71
|
+
border-bottom: 1px solid #ddd;
|
|
72
|
+
}
|
|
73
|
+
h1.sb_title{
|
|
74
|
+
font-family: 'DINNextLTPro-Bold';
|
|
75
|
+
font-weight: normal;
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
text-align: center;
|
|
78
|
+
color: #808080;
|
|
79
|
+
margin-bottom: -5px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
h2.rp_title{
|
|
83
|
+
font-family: 'DINNextLTPro-Bold';
|
|
84
|
+
font-weight: normal;
|
|
85
|
+
font-size: 13px;
|
|
86
|
+
line-height: 1em;
|
|
87
|
+
margin-bottom: -5px;
|
|
88
|
+
color: #333;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
a.archives{
|
|
92
|
+
font-size: 11px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
a.rp_links:link {text-decoration:none; color: #333; font-family: 'DINNextLTPro-Bold'; font-weight: normal;}
|
|
96
|
+
a.rp_links:visited {text-decoration:none; color: #333; font-family: 'DINNextLTPro-Bold'; font-weight: normal;}
|
|
97
|
+
a.rp_links:hover {text-decoration:none; color: #000; font-family: 'DINNextLTPro-Bold'; font-weight: normal;}
|
|
98
|
+
a.rp_links:active {text-decoration:none;}
|
|
99
|
+
|
|
100
|
+
a.archives:link {text-decoration:none; color: #333; font-family: 'DINNextLTPro-Bold'; font-weight: normal;}
|
|
101
|
+
a.archives:visited {text-decoration:none; color: #333; font-family: 'DINNextLTPro-Bold'; font-weight: normal;}
|
|
102
|
+
a.archives:hover {text-decoration:none; color: #000; font-family: 'DINNextLTPro-Bold'; font-weight: normal;}
|
|
103
|
+
a.archives:active {text-decoration:none;}
|
|
104
|
+
|
|
105
|
+
#notify{
|
|
106
|
+
width: auto;
|
|
107
|
+
text-align: center;
|
|
108
|
+
padding: 5px;
|
|
109
|
+
font-size: 1.2em;
|
|
110
|
+
background-color: orange;
|
|
111
|
+
color: white;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
#dev-form {
|
|
115
|
+
padding: 0;
|
|
116
|
+
width: 473px;
|
|
117
|
+
height: 80px;
|
|
118
|
+
margin: 10px 0 20px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
#dev-form li {
|
|
122
|
+
float:left;
|
|
123
|
+
position:relative;
|
|
124
|
+
padding:0;
|
|
125
|
+
margin:0;
|
|
126
|
+
display: block;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
#dev-form button:hover {
|
|
130
|
+
background: url(https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/img/p-contact/btn_sprite.png) 0 -30px no-repeat;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
#dev-form #mktFrmSubmit {
|
|
134
|
+
display:none;
|
|
135
|
+
}
|
|
136
|
+
#dev-form button:active {
|
|
137
|
+
background: url(https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/img/p-contact/btn_sprite.png) 0 -59px no-repeat;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/*#dev-form button {
|
|
141
|
+
display: block;
|
|
142
|
+
height: 30px;
|
|
143
|
+
width: 157px;
|
|
144
|
+
text-indent: -999999em;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
background: url(https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/img/p-contact/btn_sprite.png) 0 0 no-repeat;
|
|
147
|
+
border:none;
|
|
148
|
+
margin:7px 3px 3px 15px;
|
|
149
|
+
|
|
150
|
+
}*/
|
|
151
|
+
|
|
152
|
+
/*#notify {
|
|
153
|
+
width: auto;
|
|
154
|
+
background-color:orange;
|
|
155
|
+
color:white;
|
|
156
|
+
text-align:center;
|
|
157
|
+
padding:5px;
|
|
158
|
+
font-size:2em;
|
|
159
|
+
line-height:1em;
|
|
160
|
+
font-family: Arial, sans-serif;
|
|
161
|
+
border:2px solid #666;
|
|
162
|
+
cursor:pointer;
|
|
163
|
+
}*/
|
|
164
|
+
.navbar-fixed-top .navbar-inner {
|
|
165
|
+
background: #6da100 url(/images/zendesk_developers_bg.png);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.logo-lotus {
|
|
169
|
+
float: left;
|
|
170
|
+
margin: 6px 8px 0px 5px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.nav-list > li {
|
|
174
|
+
border-right: 1px solid rgba(0,0,0,0.1);
|
|
175
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
176
|
+
padding: 7px 15px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.nav-list > li:hover {
|
|
180
|
+
background-color: #eee;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.nav-list > li > a {
|
|
184
|
+
font-size: 13px;
|
|
185
|
+
color: #777;
|
|
186
|
+
font-weight: bold;
|
|
187
|
+
margin: 0;
|
|
188
|
+
padding: 0;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.nav-list > li > ul {
|
|
192
|
+
margin: 7px 0 3px 0;
|
|
193
|
+
padding: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.nav-list > li > ul > li {
|
|
197
|
+
font-size: 12px;
|
|
198
|
+
list-style: none;
|
|
199
|
+
line-height: 15px;
|
|
200
|
+
padding-bottom: 10px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.navbar .nav > li > a {
|
|
204
|
+
color: rgba(255, 255, 255, 0.9);
|
|
205
|
+
padding-left: 10px;
|
|
206
|
+
padding-right: 10px;
|
|
207
|
+
font-size: 13px;
|
|
208
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3)
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.navbar .nav > li > a:hover {
|
|
212
|
+
background: #96ac4a;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.navbar-search .search-query {
|
|
216
|
+
border-color: #608100;
|
|
217
|
+
background-color: #8AAF19;
|
|
218
|
+
color: #fff;
|
|
219
|
+
height: 25px;
|
|
220
|
+
width: 200px;
|
|
221
|
+
line-height: 15px;
|
|
222
|
+
-moz-transition: width 400ms;
|
|
223
|
+
-webkit-transition: width 400ms;
|
|
224
|
+
-o-transition: width 400ms;
|
|
225
|
+
transition: width 400ms;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.navbar-search .search-query:focus,
|
|
229
|
+
.navbar-search .search-query.focused {
|
|
230
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0 rgba(255, 255, 255, 0.15);
|
|
231
|
+
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);
|
|
232
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0 rgba(255, 255, 255, 0.15);
|
|
233
|
+
color: #222;
|
|
234
|
+
width: 300px;
|
|
235
|
+
-moz-transition: width 400ms;
|
|
236
|
+
-webkit-transition: width 400ms;
|
|
237
|
+
-o-transition: width 400ms;
|
|
238
|
+
transition: width 400ms;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.navbar-search .search-query::-webkit-input-placeholder,
|
|
242
|
+
.navbar-search .search-query::-moz-input-placeholder,
|
|
243
|
+
.navbar-search .search-query::placeholder {
|
|
244
|
+
color: #fff;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.content-extra {
|
|
248
|
+
padding-top: 20px;
|
|
249
|
+
padding-bottom: 20px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.content-extra .row {
|
|
253
|
+
margin: 0 auto;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.menu-extra {
|
|
257
|
+
padding: 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.splash_area {
|
|
261
|
+
background: #FFF url(/images/zendesk_developers_splash.jpg) no-repeat -10px 0px;
|
|
262
|
+
width: 940px;
|
|
263
|
+
height: 350px;
|
|
264
|
+
-moz-border-radius: 5px 5px 0px 0px;
|
|
265
|
+
-webkit-border-radius: 5px 5px 0px 0px;
|
|
266
|
+
border-radius: 5px 5px 0px 0px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.splash_area h1 {
|
|
270
|
+
font-family: "DNLTM", "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
271
|
+
font-size:30px;
|
|
272
|
+
color:white;
|
|
273
|
+
line-height: 30px;
|
|
274
|
+
text-transform: uppercase;
|
|
275
|
+
padding: 30px 0px 0px 30px;
|
|
276
|
+
-webkit-font-smoothing: antialiased;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.splash_area h2 {
|
|
280
|
+
font-family: "DNLTR", "Helvetica Neue",Helvetica,Arial,sans-serif;;
|
|
281
|
+
padding: 15px 0px 20px 40px;
|
|
282
|
+
font-size: 17px;
|
|
283
|
+
font-weight: 150;
|
|
284
|
+
color:white;
|
|
285
|
+
line-height: 22px;
|
|
286
|
+
-webkit-font-smoothing: antialiased;
|
|
287
|
+
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.learn_button {
|
|
291
|
+
text-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0;
|
|
292
|
+
cursor: pointer;
|
|
293
|
+
display: block;
|
|
294
|
+
font: bold 14px/33px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
295
|
+
text-decoration: none;
|
|
296
|
+
width: 115px;
|
|
297
|
+
height: 35px;
|
|
298
|
+
margin: 20px 0px;
|
|
299
|
+
text-align: center;
|
|
300
|
+
background: #FF9100;
|
|
301
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#ffaf21), to(#ffa402));
|
|
302
|
+
background: -moz-linear-gradient(top, #ffaf21, #ffa402);
|
|
303
|
+
color: white;
|
|
304
|
+
-moz-border-radius: 5px;
|
|
305
|
+
-webkit-border-radius: 5px;
|
|
306
|
+
border-radius: 5px;
|
|
307
|
+
-moz-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.2);
|
|
308
|
+
-webkit-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.2);
|
|
309
|
+
box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.2), 0px 1px 0px 0px rgb(255,193,82) inset, 0px -2px 0px 0px rgb(255,148,1) inset;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.learn_button:hover {
|
|
313
|
+
background: #FFB134;
|
|
314
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#ffc152), to(#ffae20));
|
|
315
|
+
background: -moz-linear-gradient(top, #ffc152, #ffae20);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
a.learn_button {
|
|
319
|
+
color: white;
|
|
320
|
+
text-decoration: none;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
a.learn_button:hover {
|
|
324
|
+
text-decoration: none;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
div#api_updates div#update_entry {
|
|
328
|
+
margin: 15px 0px 0px 0px;
|
|
329
|
+
font-size: 14px;
|
|
330
|
+
border-bottom: 1px dotted #eee;
|
|
331
|
+
padding: 0px 10px 12px 0px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
div#api_updates div#update_entry:last-child {
|
|
335
|
+
border: 0px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
#icon-perspective-example {
|
|
339
|
+
margin: 0 auto;
|
|
340
|
+
width: 50%;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
#icon-perspective-example div {
|
|
344
|
+
margin: 0 15px 0 0;
|
|
345
|
+
text-align: center;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.example div {
|
|
349
|
+
text-align: center;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.example img {
|
|
353
|
+
margin: 10px 0 5px;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.example .good {
|
|
357
|
+
color: green;
|
|
358
|
+
font-weight: bold;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.example .bad {
|
|
362
|
+
color: red;
|
|
363
|
+
font-weight: bold;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.update_title {
|
|
367
|
+
font-size: 13px;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.update_date {
|
|
371
|
+
padding: 5px 10px 0px 0px;
|
|
372
|
+
color: #777;
|
|
373
|
+
font-size: 12px;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.feature_area {
|
|
377
|
+
padding: 20px 0px 20px 30px;
|
|
378
|
+
width: 273px;
|
|
379
|
+
float: left;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.feature_area h2 {
|
|
383
|
+
font-size: 14px;
|
|
384
|
+
color: #555;
|
|
385
|
+
font-weight: bold;
|
|
386
|
+
border-bottom: 1px solid #eee;
|
|
387
|
+
padding-bottom: 10px;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.feature_image {
|
|
391
|
+
height: 75px;
|
|
392
|
+
margin: 15px 0px 15px 0px;
|
|
393
|
+
text-align: center;
|
|
394
|
+
vertical-align: middle;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.feature_text {
|
|
398
|
+
border-top: 1px solid #eee;
|
|
399
|
+
padding-top: 15px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.footer {
|
|
403
|
+
padding: 0px 5px 60px 5px;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.footer_facebook {
|
|
407
|
+
float: left;
|
|
408
|
+
margin-top: 10px;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.footer_twitter {
|
|
412
|
+
float: left;
|
|
413
|
+
margin-top: 12px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.footer_links {
|
|
417
|
+
font-size: 12px;
|
|
418
|
+
float: right;
|
|
419
|
+
margin-top: 12px;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.footer_item {
|
|
423
|
+
margin-right: 20px;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.footer_links a {
|
|
427
|
+
text-decoration: none;
|
|
428
|
+
color: #4783a7;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.footer_links a:hover {
|
|
432
|
+
text-decoration: underline;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.footer_links .copyright {
|
|
436
|
+
color: #555;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
p {
|
|
440
|
+
line-height: 20px;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
blockquote {
|
|
444
|
+
padding-left: 8px;
|
|
445
|
+
border-left: 3px solid #CCC;
|
|
446
|
+
margin: 14px 0;
|
|
447
|
+
color: #777;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
blockquote p {
|
|
451
|
+
font-weight: normal;
|
|
452
|
+
font-size: 13px;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
blockquote ul,
|
|
456
|
+
blockquote ol {
|
|
457
|
+
margin-top: 9px;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
h2 {
|
|
461
|
+
margin-bottom: 10px;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
h3, h4, h5, h6 {
|
|
465
|
+
margin: 15px 0px 10px 0px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
ul {
|
|
469
|
+
list-style: square;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
ul li,
|
|
473
|
+
ol li {
|
|
474
|
+
font-size: 13px;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
code {
|
|
478
|
+
background-color: #EEE;
|
|
479
|
+
color: #3e4a2f;
|
|
480
|
+
border: #F1F1F1;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
table {
|
|
484
|
+
margin-bottom: 1.625em;
|
|
485
|
+
padding-bottom: 0.5em;
|
|
486
|
+
border-collapse: collapse;
|
|
487
|
+
border-spacing: 0;
|
|
488
|
+
font-size: 90%;
|
|
489
|
+
display: block;
|
|
490
|
+
border: 1px solid #DDD;
|
|
491
|
+
border-radius: 6px;
|
|
492
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
493
|
+
color: #555;
|
|
494
|
+
width: 100%;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
th {
|
|
498
|
+
text-align: left;
|
|
499
|
+
font-weight: normal;
|
|
500
|
+
white-space: nowrap;
|
|
501
|
+
color: #111;
|
|
502
|
+
padding-left: 0.7em;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
tr, #content th {
|
|
506
|
+
margin: 0;
|
|
507
|
+
padding: 0 0.7em;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
td {
|
|
511
|
+
margin: 0;
|
|
512
|
+
padding: 10px 0.7em;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
table tbody tr:nth-child(odd) {
|
|
516
|
+
background-color: #F8F8F8;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
table thead tr {
|
|
520
|
+
border-bottom: 1px solid #DADADA;
|
|
521
|
+
line-height: 240%;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
tfoot {
|
|
525
|
+
font-style: italic;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.hero-unit {
|
|
529
|
+
padding: 30px 40px;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.hero-unit p {
|
|
533
|
+
margin: 20px 0 15px;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.hide {
|
|
537
|
+
display: none;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/* Search */
|
|
541
|
+
|
|
542
|
+
.gsc-input-box {
|
|
543
|
+
height: 40px!important;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.gsc-input-box input {
|
|
547
|
+
box-shadow: none;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.gsc-above-wrapper-area-container {
|
|
551
|
+
margin: 0;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.gsc-above-wrapper-area-container td {
|
|
555
|
+
padding: 0;
|
|
556
|
+
margin: 0;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.gsc-control-wrapper-cse tr {
|
|
560
|
+
background-color: transparent!important;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.gsc-control-wrapper-cse table {
|
|
564
|
+
border: 0;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.gsc-control-wrapper-cse a,
|
|
568
|
+
.gsc-cursor div {
|
|
569
|
+
color: #08C!important;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.gcsc-branding,
|
|
573
|
+
.gsc-resultsHeader {
|
|
574
|
+
display: none;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.gsc-table-result {
|
|
578
|
+
margin: 0;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.gsc-table-result td {
|
|
582
|
+
margin: 0;
|
|
583
|
+
padding: 0;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.gs-snippet,
|
|
587
|
+
.gs-image {
|
|
588
|
+
padding-left: 8px;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.gs-image {
|
|
592
|
+
margin-right: 5px;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.gsc-cursor-box {
|
|
596
|
+
height: 36px;
|
|
597
|
+
margin: 18px 0;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.gsc-cursor {
|
|
601
|
+
display: block!important;
|
|
602
|
+
margin-left: 350px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.gsc-cursor div {
|
|
606
|
+
margin-left: -8px;
|
|
607
|
+
float: left;
|
|
608
|
+
padding: 0 14px;
|
|
609
|
+
line-height: 34px;
|
|
610
|
+
text-decoration: none;
|
|
611
|
+
border: 1px solid #DDD;
|
|
612
|
+
border-left-width: 0;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.gsc-results .gsc-cursor-box .gsc-cursor-page:hover {
|
|
616
|
+
text-decoration: none!important;
|
|
617
|
+
background-color: whiteSmoke;
|
|
618
|
+
color: #005580;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.gsc-cursor div:first-child {
|
|
622
|
+
border-left-width: 1px;
|
|
623
|
+
-webkit-border-radius: 3px 0 0 3px;
|
|
624
|
+
-moz-border-radius: 3px 0 0 3px;
|
|
625
|
+
border-radius: 3px 0 0 3px;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.gsc-cursor div:last-child {
|
|
629
|
+
-webkit-border-radius: 0 3px 3px 0;
|
|
630
|
+
-moz-border-radius: 0 3px 3px 0;
|
|
631
|
+
border-radius: 0 3px 3px 0;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
|
|
635
|
+
color: #999!important;
|
|
636
|
+
cursor: default!important;
|
|
637
|
+
background-color: whiteSmoke!important;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/* App Market */
|
|
641
|
+
|
|
642
|
+
.apps-landing.row,
|
|
643
|
+
.apps-meta.row,
|
|
644
|
+
.apps-meta.row .span4 {
|
|
645
|
+
margin-left: 0;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.apps-meta ul {
|
|
649
|
+
list-style: none;
|
|
650
|
+
margin: 0 0 20px 0;
|
|
651
|
+
padding: 0;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.apps-meta .span8 ul li {
|
|
655
|
+
padding: 0 45px 0 0;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.apps-meta .span8 {
|
|
659
|
+
padding-left: 10px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.apps-landing {
|
|
663
|
+
background: white url(/images/zendesk_developers_splash_nobuddha.jpg) no-repeat -10px -54px;
|
|
664
|
+
width: 940px;
|
|
665
|
+
height: 277px;
|
|
666
|
+
padding-top: 20px;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.apps-landing div {
|
|
670
|
+
border: 1px solid #E3E3E3;
|
|
671
|
+
border-radius: 6px;
|
|
672
|
+
margin: 8px 0 0 8px;
|
|
673
|
+
padding-top: 15px;
|
|
674
|
+
text-align: center;
|
|
675
|
+
background-color: rgba(255, 255, 255, 0.7);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.apps-landing p {
|
|
679
|
+
padding: 0 10px;
|
|
680
|
+
margin: 15px 0;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.apps-meta div {
|
|
684
|
+
margin-left: 10px;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
#apps-version-grid ul {
|
|
688
|
+
list-style: none;
|
|
689
|
+
padding: 0;
|
|
690
|
+
margin: 40px auto;
|
|
691
|
+
height: 200px;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
#apps-version-grid ul li {
|
|
695
|
+
float: left;
|
|
696
|
+
margin: 0;
|
|
697
|
+
border: 3px solid rgba(0, 0, 0, 0.15);
|
|
698
|
+
text-align: center;
|
|
699
|
+
height: 120px;
|
|
700
|
+
width: 140px;
|
|
701
|
+
-moz-border-radius: 5px;
|
|
702
|
+
-webkit-border-radius: 5px;
|
|
703
|
+
border-radius: 5px;
|
|
704
|
+
font-size: 4em;
|
|
705
|
+
color: #ccc;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
#apps-version-grid ul li .app-version-label {
|
|
709
|
+
font-size: 0.3em;
|
|
710
|
+
line-height: 4em;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
#apps-version-grid ul li.app-version-stable {
|
|
714
|
+
width: 180px;
|
|
715
|
+
height: 170px;
|
|
716
|
+
margin-top: -27px;
|
|
717
|
+
border: 5px solid rgba(0, 0, 0, 0.4);
|
|
718
|
+
font-size: 6em;
|
|
719
|
+
line-height: 1em;
|
|
720
|
+
color: #555;
|
|
721
|
+
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
#apps-version-grid ul li.app-version-stable .app-version-label {
|
|
725
|
+
font-size: 0.4em;
|
|
726
|
+
line-height: 2em;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
#apps-version-grid ul li.app-version-deprecated,
|
|
730
|
+
#apps-version-grid ul li.app-version-future {
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
#apps-version-grid ul li.app-version-deprecated {
|
|
734
|
+
border-right: 0;
|
|
735
|
+
border-top-right-radius: 0;
|
|
736
|
+
border-bottom-right-radius: 0;
|
|
737
|
+
}
|
|
738
|
+
#apps-version-grid ul li.app-version-future {
|
|
739
|
+
border-left: 0;
|
|
740
|
+
border-top-left-radius: 0;
|
|
741
|
+
border-bottom-left-radius: 0;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
/* This was generated like this: `pygmentize -S github -f html -a .highlight` */
|
|
747
|
+
.highlight .hll { background-color: #ffffcc }
|
|
748
|
+
.highlight { background: #ffffff; }
|
|
749
|
+
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
|
750
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
|
751
|
+
.highlight .k { color: #000000; font-weight: bold } /* Keyword */
|
|
752
|
+
.highlight .o { color: #000000; font-weight: bold } /* Operator */
|
|
753
|
+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
|
754
|
+
.highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
|
|
755
|
+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
|
756
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
|
757
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
|
758
|
+
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
|
|
759
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
|
760
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
|
761
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
|
762
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
|
763
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
|
764
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
|
765
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
|
766
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
|
767
|
+
.highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
|
|
768
|
+
.highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
|
|
769
|
+
.highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
|
|
770
|
+
.highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
|
|
771
|
+
.highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
|
|
772
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
|
773
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
|
774
|
+
.highlight .s { color: #d01040 } /* Literal.String */
|
|
775
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
|
776
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
|
777
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
|
778
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
|
779
|
+
.highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
|
|
780
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
|
781
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
|
782
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
|
783
|
+
.highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
|
|
784
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
|
785
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
|
786
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
|
787
|
+
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
|
|
788
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
|
789
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
|
790
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
|
791
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
|
792
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
|
793
|
+
.highlight .sb { color: #d01040 } /* Literal.String.Backtick */
|
|
794
|
+
.highlight .sc { color: #d01040 } /* Literal.String.Char */
|
|
795
|
+
.highlight .sd { color: #d01040 } /* Literal.String.Doc */
|
|
796
|
+
.highlight .s2 { color: #d01040 } /* Literal.String.Double */
|
|
797
|
+
.highlight .se { color: #d01040 } /* Literal.String.Escape */
|
|
798
|
+
.highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
|
|
799
|
+
.highlight .si { color: #d01040 } /* Literal.String.Interpol */
|
|
800
|
+
.highlight .sx { color: #d01040 } /* Literal.String.Other */
|
|
801
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
|
802
|
+
.highlight .s1 { color: #d01040 } /* Literal.String.Single */
|
|
803
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
|
804
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
|
805
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
|
806
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
|
807
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
|
808
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
|
809
|
+
|
|
810
|
+
/* PF Din Text Pro */
|
|
811
|
+
@font-face {
|
|
812
|
+
font-family: 'DNLTR';
|
|
813
|
+
src: url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/226cca47a6a41d745725a674072efac9.eot');
|
|
814
|
+
src: url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/226cca47a6a41d745725a674072efac9.eot?#iefix') format('embedded-opentype'),
|
|
815
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/226cca47a6a41d745725a674072efac9.woff') format('woff'),
|
|
816
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/226cca47a6a41d745725a674072efac9.ttf') format('truetype'),
|
|
817
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/226cca47a6a41d745725a674072efac9.svg#wf') format('svg');
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
@font-face {
|
|
821
|
+
font-family: 'DNLTM';
|
|
822
|
+
src: url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/50e4987ced5d5ab91dbd851dd3ed00ce.eot');
|
|
823
|
+
src: url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/50e4987ced5d5ab91dbd851dd3ed00ce.eot?#iefix') format('embedded-opentype'),
|
|
824
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/50e4987ced5d5ab91dbd851dd3ed00ce.woff') format('woff'),
|
|
825
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/50e4987ced5d5ab91dbd851dd3ed00ce.ttf') format('truetype'),
|
|
826
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/50e4987ced5d5ab91dbd851dd3ed00ce.svg#wf') format('svg');
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
@font-face {
|
|
830
|
+
font-family: 'DNLTB';
|
|
831
|
+
src: url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/4595fdd135f25b7a9da20957ba413fed.eot');
|
|
832
|
+
src: url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/4595fdd135f25b7a9da20957ba413fed.eot?#iefix') format('embedded-opentype'),
|
|
833
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/4595fdd135f25b7a9da20957ba413fed.woff') format('woff'),
|
|
834
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/4595fdd135f25b7a9da20957ba413fed.ttf') format('truetype'),
|
|
835
|
+
url('https://www.zendesk.com/wp-content/themes/zendesk-twentyeleven/fonts/4595fdd135f25b7a9da20957ba413fed.svg#wf') format('svg');
|
|
836
|
+
}
|