wcc-styles 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/README-GEM.md +43 -0
  3. data/lib/assets/images/wcc/styles/logo-dark.png +0 -0
  4. data/lib/assets/images/wcc/styles/logo-dark.svg +19 -0
  5. data/lib/assets/images/wcc/styles/logo-text.png +0 -0
  6. data/lib/assets/images/wcc/styles/logo.png +0 -0
  7. data/lib/assets/images/wcc/styles/logo.svg +15 -0
  8. data/lib/assets/javascripts/wcc/styles/application.js +3 -0
  9. data/lib/assets/javascripts/wcc/styles/selectize.js +13 -0
  10. data/lib/assets/javascripts/wcc/styles/tessa.js.coffee +173 -0
  11. data/lib/assets/javascripts/wcc/styles/wcc.datetimepicker.js +50 -0
  12. data/lib/assets/stylesheets/wcc/styles/admin/_admin_base.scss +24 -0
  13. data/lib/assets/stylesheets/wcc/styles/admin/_all.scss +1 -0
  14. data/lib/assets/stylesheets/wcc/styles/apps/_all.scss +2 -0
  15. data/lib/assets/stylesheets/wcc/styles/apps/_events.scss +22 -0
  16. data/lib/assets/stylesheets/wcc/styles/apps/_staff.scss +151 -0
  17. data/lib/assets/stylesheets/wcc/styles/base.css.scss +90 -0
  18. data/lib/assets/stylesheets/wcc/styles/base/all.css.scss +4 -0
  19. data/lib/assets/stylesheets/wcc/styles/base/custom_file_inputs.css.scss +7 -0
  20. data/lib/assets/stylesheets/wcc/styles/base/custom_selects.css.scss +8 -0
  21. data/lib/assets/stylesheets/wcc/styles/base/icons.css.scss +2 -0
  22. data/lib/assets/stylesheets/wcc/styles/snippets/_admin.scss +0 -0
  23. data/lib/assets/stylesheets/wcc/styles/snippets/_alerts.scss +95 -0
  24. data/lib/assets/stylesheets/wcc/styles/snippets/_all.scss +12 -0
  25. data/lib/assets/stylesheets/wcc/styles/snippets/_buttons.scss +126 -0
  26. data/lib/assets/stylesheets/wcc/styles/snippets/_datetimepicker.scss +555 -0
  27. data/lib/assets/stylesheets/wcc/styles/snippets/_elements.scss +174 -0
  28. data/lib/assets/stylesheets/wcc/styles/snippets/_forms.scss +236 -0
  29. data/lib/assets/stylesheets/wcc/styles/snippets/_grid.scss +183 -0
  30. data/lib/assets/stylesheets/wcc/styles/snippets/_labels.scss +117 -0
  31. data/lib/assets/stylesheets/wcc/styles/snippets/_navs.scss +146 -0
  32. data/lib/assets/stylesheets/wcc/styles/snippets/_normalize.scss +99 -0
  33. data/lib/assets/stylesheets/wcc/styles/snippets/_pagination.scss +135 -0
  34. data/lib/assets/stylesheets/wcc/styles/snippets/_selectize.scss +361 -0
  35. data/lib/assets/stylesheets/wcc/styles/snippets/_sidebar_slideout.scss +184 -0
  36. data/lib/assets/stylesheets/wcc/styles/snippets/_tables.scss +268 -0
  37. data/lib/assets/stylesheets/wcc/styles/snippets/_top_nav.scss +278 -0
  38. data/lib/assets/stylesheets/wcc/styles/variables/_colors.scss +28 -0
  39. data/lib/assets/stylesheets/wcc/styles/variables/_mixins.scss +14 -0
  40. data/lib/assets/stylesheets/wcc/styles/variables/_typography.scss +382 -0
  41. data/lib/wcc/styles.rb +16 -0
  42. data/lib/wcc/styles/engine.rb +32 -0
  43. data/lib/wcc/styles/helpers.rb +11 -0
  44. data/lib/wcc/styles/simple_form.rb +102 -0
  45. data/lib/wcc/styles/simple_form/asset_input.rb +46 -0
  46. data/lib/wcc/styles/simple_form/date_picker_input.rb +19 -0
  47. data/lib/wcc/styles/simple_form/historical_date_input.rb +50 -0
  48. data/lib/wcc/styles/simple_form/time_picker_input.rb +32 -0
  49. data/lib/wcc/styles/version.rb +5 -0
  50. metadata +190 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8168edb3a3c277525950f322c038700947026a2e
4
+ data.tar.gz: bed865fcb8f30fe8e53c05e525c09c5c6a6bec97
5
+ SHA512:
6
+ metadata.gz: d490b8f06371f3be68a5e13cfc6d29fb3d5f243c8118174d121f62ff40f1cb06679197993230a2f9f94932dd04ece9b92bc5381bbeefa53e16c31b52dff7eb74
7
+ data.tar.gz: 831b8eddc93e927540e5fb617391c0a79cae00359defae652b588744bba1b70e2a41c05f9e84d5414b072ae2d2ade6fe1dbf42307925c50302e74cc5f37a76ed
data/README-GEM.md ADDED
@@ -0,0 +1,43 @@
1
+ # WCC::Styles
2
+
3
+ This gem holds all of the styles for Watermark apps. For Rails apps a
4
+ Rails Engine will automatically be set up that configures the asset
5
+ pipeline properly.
6
+
7
+ ## Installation
8
+
9
+ Add these lines to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'wcc-styles'
13
+
14
+ source 'https://rails-assets.org' do
15
+ gem 'rails-assets-selectize'
16
+ gem 'rails-assets-dropzone'
17
+ gem 'rails-assets-moment'
18
+ gem 'rails-assets-datetimepicker', '2.4.5'
19
+ end
20
+
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ ## Usage
28
+
29
+ The assets are all namespaced in `wcc/styles` within the asset pipeline.
30
+ So to include styles in an `application.sass` within your application
31
+ include the following line:
32
+
33
+ ```sass
34
+ # Import all styles
35
+ @import "wcc/styles/base/all";
36
+ ```
37
+
38
+ To include the Javascript code add this to your `application.js`:
39
+
40
+ ```javascript
41
+ //= require wcc/styles/application
42
+ ```
43
+
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 612 792" enable-background="new 0 0 612 792" xml:space="preserve">
5
+ <g id="Layer_1_1_">
6
+ <path fill="#393939" d="M435.9,90H176.6C79.1,90,0,169.1,0,266.6v259.3c0,97,79.1,176.6,176.6,176.6h259.3
7
+ c97,0,176.6-79.1,176.6-176.6V266.6C612,169.1,532.9,90,435.9,90z M176.6,138.8h259.3c70.3,0,127.3,57,127.3,127.3v93.4
8
+ c-47.7,40-96.5,45.7-148.4,38.5l27.2-102.7c3.6-12.8-4.1-26.7-17.5-29.8c-12.8-3.6-26.7,4.1-29.8,17.5c0,0-13.9,51.3-28.2,105.8
9
+ c-3.6-1-6.7-1.5-10.3-2.6c-13.3-53.4-25.7-102.7-25.7-102.7c-2.6-10.8-12.3-18.5-23.6-18.5l0,0c-11.3,0-21.1,7.7-23.6,18.5
10
+ c0,0-8.7,35.4-19.5,78.6c-8.7-2.1-17.5-3.6-26.2-5.1c-11.3-41.1-20.5-73.9-20.5-73.9c-3.6-12.8-16.9-20.5-30.3-16.9
11
+ c-12.8,3.6-20.5,16.9-16.9,30.3l15.4,54.9c-3.6,0-7.2,0-10.8,0c-54.4,0-97,15.4-125.3,29.8V266.6
12
+ C48.8,196.3,106.3,138.8,176.6,138.8z M435.9,653.2H176.6c-70.3,0-127.3-57-127.3-127.3v-87.3c16.9-12.3,60.6-38.5,125.3-38.5
13
+ c8.2,0,16.4,0.5,24.6,1L230,512c3.1,10.8,12.8,18,24.1,18c11.3,0,20.5-7.7,23.6-18.5c0,0,10.3-41.6,22.6-89.3
14
+ c3.6,1,7.2,2.1,10.8,3.1c2.1,0.5,4.1,1,6.2,1.5c11.3,45.7,21.1,84.7,21.1,84.7c2.6,10.8,12.3,18.5,23.6,18.5
15
+ c11.3,0,21.1-7.2,23.6-18l17.5-65.2c53.4,8.2,107.3,5.6,160.7-26.2v105.8C563.2,595.7,506.2,653.2,435.9,653.2z"/>
16
+ </g>
17
+ <g id="Layer_2">
18
+ </g>
19
+ </svg>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 119.2 119.2" enable-background="new 0 0 119.2 119.2" xml:space="preserve">
6
+ <path fill="#FFFFFF" d="M84.9,0H34.4C15.4,0,0,15.4,0,34.4v50.5c0,18.9,15.4,34.4,34.4,34.4h50.5c18.9,0,34.4-15.4,34.4-34.4V34.4
7
+ C119.2,15.4,103.8,0,84.9,0z M34.4,9.5h50.5c13.7,0,24.8,11.1,24.8,24.8v18.2c-9.3,7.8-18.8,8.9-28.9,7.5l5.3-20
8
+ c0.7-2.5-0.8-5.2-3.4-5.8c-2.5-0.7-5.2,0.8-5.8,3.4c0,0-2.7,10-5.5,20.6c-0.7-0.2-1.3-0.3-2-0.5c-2.6-10.4-5-20-5-20
9
+ c-0.5-2.1-2.4-3.6-4.6-3.6h0c-2.2,0-4.1,1.5-4.6,3.6c0,0-1.7,6.9-3.8,15.3c-1.7-0.4-3.4-0.7-5.1-1c-2.2-8-4-14.4-4-14.4
10
+ c-0.7-2.5-3.3-4-5.9-3.3c-2.5,0.7-4,3.3-3.3,5.9l3,10.7c-0.7,0-1.4,0-2.1,0c-10.6,0-18.9,3-24.4,5.8V34.4
11
+ C9.5,20.7,20.7,9.5,34.4,9.5z M84.9,109.7H34.4c-13.7,0-24.8-11.1-24.8-24.8v-17c3.3-2.4,11.8-7.5,24.4-7.5c1.6,0,3.2,0.1,4.8,0.2
12
+ l6,21.6c0.6,2.1,2.5,3.5,4.7,3.5c2.2,0,4-1.5,4.6-3.6c0,0,2-8.1,4.4-17.4c0.7,0.2,1.4,0.4,2.1,0.6c0.4,0.1,0.8,0.2,1.2,0.3
13
+ c2.2,8.9,4.1,16.5,4.1,16.5c0.5,2.1,2.4,3.6,4.6,3.6c2.2,0,4.1-1.4,4.6-3.5l3.4-12.7c10.4,1.6,20.9,1.1,31.3-5.1v20.6
14
+ C109.7,98.5,98.6,109.7,84.9,109.7z"/>
15
+ </svg>
@@ -0,0 +1,3 @@
1
+ //= require wcc/styles/selectize
2
+ //= require wcc/styles/tessa
3
+ //= require wcc/styles/wcc.datetimepicker
@@ -0,0 +1,13 @@
1
+ //= require sifter
2
+ //= require microplugin
3
+ //= require selectize
4
+
5
+ var $ = window.jQuery;
6
+
7
+ $(function () {
8
+ $('body.enable-selectize select:not(.no-selectize)').each(function(i, item) {
9
+ $(item).selectize({
10
+ hideSelected: false
11
+ });
12
+ });
13
+ });
@@ -0,0 +1,173 @@
1
+ #= require dropzone
2
+
3
+ window.WCC ||= {}
4
+ $ = window.jQuery
5
+
6
+ Dropzone.autoDiscover = off
7
+
8
+ class window.WCC.Dropzone extends Dropzone
9
+
10
+ uploadFile: (file) ->
11
+ xhr = new XMLHttpRequest
12
+ file.xhr = xhr
13
+
14
+ # Set in our custom accept method
15
+ xhr.open file.uploadMethod, file.uploadURL, true
16
+
17
+ response = null
18
+
19
+ handleError = =>
20
+ @_errorProcessing [file], response || @options.dictResponseError.replace("{{statusCode}}", xhr.status), xhr
21
+
22
+ updateProgress = (e) =>
23
+ if e?
24
+ progress = 100 * e.loaded / e.total
25
+
26
+ file.upload =
27
+ progress: progress
28
+ total: e.total
29
+ bytesSent: e.loaded
30
+ else
31
+ # Called when the file finished uploading
32
+
33
+ allFilesFinished = yes
34
+
35
+ progress = 100
36
+
37
+ allFilesFinished = no unless file.upload.progress == 100 and file.upload.bytesSent == file.upload.total
38
+ file.upload.progress = progress
39
+ file.upload.bytesSent = file.upload.total
40
+
41
+ # Nothing to do, all files already at 100%
42
+ return if allFilesFinished
43
+
44
+ @emit "uploadprogress", file, progress, file.upload.bytesSent
45
+
46
+ xhr.onload = (e) =>
47
+ return if file.status == WCC.Dropzone.CANCELED
48
+ return unless xhr.readyState is 4
49
+
50
+ response = xhr.responseText
51
+
52
+ if xhr.getResponseHeader("content-type") and ~xhr.getResponseHeader("content-type").indexOf "application/json"
53
+ try
54
+ response = JSON.parse response
55
+ catch e
56
+ response = "Invalid JSON response from server."
57
+
58
+ updateProgress()
59
+
60
+ unless 200 <= xhr.status < 300
61
+ handleError()
62
+ else
63
+ @_finished [file], response, e
64
+
65
+ xhr.onerror = =>
66
+ return if file.status == WCC.Dropzone.CANCELED
67
+ handleError()
68
+
69
+ # Some browsers do not have the .upload property
70
+ progressObj = xhr.upload ? xhr
71
+ progressObj.onprogress = updateProgress
72
+
73
+ headers =
74
+ "Accept": "application/json",
75
+ "Cache-Control": "no-cache",
76
+ "X-Requested-With": "XMLHttpRequest",
77
+
78
+ extend headers, @options.headers if @options.headers
79
+
80
+ xhr.setRequestHeader headerName, headerValue for headerName, headerValue of headers
81
+
82
+ @emit "sending", file, xhr
83
+
84
+ xhr.send file
85
+
86
+ uploadFiles: (files) ->
87
+ @uploadFile(file) for file in files
88
+
89
+ WCC.Dropzone.uploadPendingWarning =
90
+ "File uploads have not yet completed. If you submit the form now they will
91
+ not be saved. Are you sure you want to continue?"
92
+
93
+ WCC.Dropzone.prototype.defaultOptions.url = "UNUSED"
94
+
95
+ WCC.Dropzone.prototype.defaultOptions.dictDefaultMessage = "Drop files or click to upload."
96
+
97
+ WCC.Dropzone.prototype.defaultOptions.accept = (file, done) ->
98
+ dz = $(file._removeLink).closest('.tessa-upload').first()
99
+ tessaParams = dz.data('tessa-params') or {}
100
+
101
+ postData =
102
+ name: file.name
103
+ size: file.size
104
+ mime_type: file.type
105
+
106
+ postData = $.extend postData, tessaParams
107
+
108
+ $.ajax '/tessa/uploads',
109
+ type: 'POST',
110
+ data: postData,
111
+ success: (response) ->
112
+ file.uploadURL = response.upload_url
113
+ file.uploadMethod = response.upload_method
114
+ file.assetID = response.asset_id
115
+ done()
116
+ error: (response) ->
117
+ done("Failed to initiate the upload process!")
118
+
119
+ $ ->
120
+ $('form:has(.tessa-upload)').each (i, form) ->
121
+ $form = $(form)
122
+ $form.bind 'submit', (event) ->
123
+ safeToSubmit = true
124
+ $form.find('.tessa-upload').each (j, dropzoneElement) ->
125
+ $(dropzoneElement.dropzone.files).each (k, file) ->
126
+ if file.status? and (file.status != WCC.Dropzone.SUCCESS)
127
+ safeToSubmit = false
128
+ if not safeToSubmit and not confirm(WCC.Dropzone.uploadPendingWarning)
129
+ return false
130
+
131
+ $('.tessa-upload').each (i, item) ->
132
+ $item = $(item)
133
+ args =
134
+ maxFiles: 1
135
+ addRemoveLinks: true
136
+
137
+ $.extend args, $item.data("dropzone-options")
138
+ args.maxFiles = null if $item.hasClass("multiple")
139
+ inputPrefix = $item.data("asset-field-prefix")
140
+
141
+ dropzone = new WCC.Dropzone item, args
142
+
143
+ $item.find('input[type="hidden"]').each (j, input) ->
144
+ $input = $(input)
145
+ mockFile = $input.data("meta")
146
+ mockFile.accepted = true
147
+ dropzone.options.addedfile.call(dropzone, mockFile)
148
+ dropzone.options.thumbnail.call(dropzone, mockFile, mockFile.url)
149
+ dropzone.emit("complete", mockFile)
150
+ dropzone.files.push mockFile
151
+
152
+ updateAction = (file) ->
153
+ return unless file.assetID?
154
+ inputID = "#tessa_asset_action_#{file.assetID}"
155
+ actionInput = $(inputID)
156
+ unless actionInput.length
157
+ actionInput = $('<input type="hidden">')
158
+ .attr
159
+ id: inputID
160
+ name: "#{inputPrefix}[#{file.assetID}][action]"
161
+ .appendTo item
162
+
163
+ actionInput.val file.action
164
+
165
+ dropzone.on 'success', (file) ->
166
+ file.action = "add"
167
+ updateAction(file)
168
+
169
+ dropzone.on 'removedfile', (file) ->
170
+ file.action = "remove"
171
+ updateAction(file)
172
+
173
+
@@ -0,0 +1,50 @@
1
+ //= require moment
2
+ //= require datetimepicker
3
+
4
+ Date.parseDate = function( input, format ){
5
+ return moment(input,format).toDate();
6
+ };
7
+ Date.prototype.dateFormat = function( format ){
8
+ return moment(this).format(format);
9
+ };
10
+
11
+ if (typeof window.WCC == "undefined") window.WCC = {};
12
+
13
+ WCC.datetimepicker = (function() {
14
+ var dtp = {};
15
+ var DDF = "MM/DD/YYYY";
16
+ var DTF = "h:mm a";
17
+
18
+ dtp.defaultConfig = {
19
+ format: DDF + " " + DTF,
20
+ formatDate: DDF,
21
+ formatTime: DTF,
22
+ scrollMonth: false,
23
+ step: 30
24
+ };
25
+
26
+ return dtp;
27
+ }());
28
+
29
+ $(function() {
30
+ $("[data-datetimepicker]").each(function(i, item) {
31
+ var $item = $(item);
32
+ var $input = $($item.data('datetimepicker'));
33
+ var options = $item.data('datetimepicker-options');
34
+
35
+ item.config = $.extend({}, WCC.datetimepicker.defaultConfig, options);
36
+ $item.datetimepicker(item.config);
37
+
38
+ if (!$input.length) return;
39
+
40
+ $item.on('change', function(event) {
41
+ var time = moment(this.value, [this.config.format]);
42
+ if (time.isValid()) {
43
+ $input.val(time.toISOString());
44
+ } else {
45
+ $input.val('');
46
+ }
47
+ });
48
+ });
49
+ });
50
+
@@ -0,0 +1,24 @@
1
+ .layout-header {
2
+ margin-top: 5px;
3
+ .logo {
4
+ @media(max-width: 768px) {
5
+ width: 100%;
6
+ text-align: center;
7
+ }
8
+ }
9
+ img {
10
+ width: 75px;
11
+ height: 75px;
12
+ }
13
+ .navbar-container {
14
+ margin-top: 15px;
15
+ }
16
+ }
17
+
18
+ .page-header {
19
+ position: relative;
20
+ div.actions {
21
+ position: absolute;
22
+ right: 0; bottom: 5px;
23
+ }
24
+ }
@@ -0,0 +1 @@
1
+ @import "admin_base";
@@ -0,0 +1,2 @@
1
+ @import "events";
2
+ @import "staff";
@@ -0,0 +1,22 @@
1
+ .scheduled-occurrence {
2
+ background-color: $neutral1;
3
+ padding: 10px;
4
+ margin: 3px 0;
5
+ width: 100%;
6
+ float: left;
7
+ display: inline-block;
8
+
9
+ .start-date {
10
+ float: left;
11
+ }
12
+
13
+ .remove {
14
+ float: right;
15
+ }
16
+ }
17
+
18
+ .date-box {
19
+ border: 1px solid $neutral2;
20
+ padding: 15px 20px;
21
+ margin-bottom: 20px;
22
+ }
@@ -0,0 +1,151 @@
1
+ .helpdesk {
2
+ float: right;
3
+ margin: 0px 15px 0 0;
4
+ padding: 0;
5
+
6
+ @media (max-width: 768px) {
7
+ display: none;
8
+ }
9
+
10
+ .btn {
11
+ display: inline;
12
+ }
13
+ }
14
+
15
+ .responsive-icon {
16
+ margin-right: 10px;
17
+
18
+ &:last-child {
19
+ margin-right: 0;
20
+ }
21
+ }
22
+
23
+ .responsive-text-hide {
24
+ float: right;
25
+ }
26
+
27
+ .auth-apps {
28
+ @include box-shadow(rgba(0,0,0,0.2) 0px 3px 20px inset);
29
+ background-color: $text;
30
+ padding: 20px;
31
+ text-align: center;
32
+
33
+ h3 {
34
+ display: inline-block;
35
+ width: auto;
36
+ }
37
+
38
+ ul.apps {
39
+ padding: 0;
40
+ margin: 0;
41
+ list-style: none;
42
+
43
+ li {
44
+ display: inline-block;
45
+ font-weight: 600;
46
+ font-size: 10px;
47
+ color: white;
48
+ text-transform: uppercase;
49
+ letter-spacing: .16em;
50
+ margin: 0 5px;
51
+
52
+ &.app-link {
53
+ margin: 0 3px;
54
+ border: 1px solid $light-grey;
55
+
56
+ a {
57
+ color: $light-grey;
58
+ font-size: 10px;
59
+ font-weight: 400;
60
+ padding: 6px 15px;
61
+ display: block;
62
+ text-transform: uppercase;
63
+ letter-spacing: .16em;
64
+ }
65
+ }
66
+
67
+ }
68
+ }
69
+ }
70
+
71
+ .staff-section {
72
+ border-bottom: 2px solid #F0F0F0;
73
+ position: relative;
74
+ float: left;
75
+ width: 100%;
76
+ min-height: 400px;
77
+ }
78
+
79
+ .staff-section .gif-holder {
80
+ -webkit-background-size: cover;
81
+ -moz-background-size: cover;
82
+ -o-background-size: cover;
83
+ background-size: cover;
84
+
85
+ min-height: 400px;
86
+ position: absolute;
87
+ top: 0px;
88
+ left: 0px;
89
+ right: 0px;
90
+ bottom: 0px;
91
+ display: inline;
92
+ }
93
+
94
+ @media (max-width: 768px) {
95
+ .staff-section .gif-holder {
96
+ width: 100%;
97
+ min-height: 300px;
98
+ float:left;
99
+ display: block;
100
+ }
101
+ }
102
+
103
+ .staff-section .section-links {
104
+ padding: 50px 50px 70px 50px;
105
+ float: right;
106
+ }
107
+
108
+ @media (max-width: 768px) {
109
+ .staff-section .gif-holder {
110
+ position: relative;
111
+ }
112
+ .staff-section .section-links {
113
+ padding: 30px;
114
+ float: left;
115
+ display: inline;
116
+ }
117
+ }
118
+
119
+ .staff-section .section-links ul.boxed-links {
120
+ list-style: none;
121
+ margin: 0;
122
+ padding: 0;
123
+ }
124
+
125
+ .staff-section .section-links ul.boxed-links li {
126
+ float: left;
127
+ display: inline-block;
128
+ margin: 10px 20px 10px 0;
129
+ }
130
+
131
+ .staff-section .section-links ul.boxed-links li a {
132
+ -moz-border-radius: 10px;
133
+ -webkit-border-radius: 10px;
134
+ background-color: #F2F2F2;
135
+ border-radius: 10px;
136
+ color: #292929;
137
+ display: inline-block;
138
+ float: left;
139
+ padding: 20px 30px;
140
+ transition: all 0.2s ease;
141
+ }
142
+
143
+ @media (max-width: 768px) {
144
+ .staff-section .section-links ul.boxed-links li a {
145
+ padding: 10px 20px;
146
+ }
147
+ }
148
+
149
+ .staff-section .section-links ul.boxed-links li a:hover {
150
+ color: #EB7F4C;
151
+ }