rpure-sass 0.1.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.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +18 -0
- data/Rakefile +6 -0
- data/_config.yml +1 -0
- data/assets/fonts/DroidSans-Bold.ttf +0 -0
- data/assets/fonts/DroidSans.ttf +0 -0
- data/assets/javascripts/rpure/modal.js +258 -0
- data/assets/javascripts/rpure.js +1 -0
- data/assets/stylesheets/rpure/_base.scss +204 -0
- data/assets/stylesheets/rpure/_buttons.scss +188 -0
- data/assets/stylesheets/rpure/_forms.scss +286 -0
- data/assets/stylesheets/rpure/_grids-responsive.scss +603 -0
- data/assets/stylesheets/rpure/_grids.scss +190 -0
- data/assets/stylesheets/rpure/_menus.scss +176 -0
- data/assets/stylesheets/rpure/_modals.scss +164 -0
- data/assets/stylesheets/rpure/_tables.scss +55 -0
- data/assets/stylesheets/rpure.scss +18 -0
- data/bin/console +6 -0
- data/bin/setup +8 -0
- data/lib/rpure/sass/engine.rb +13 -0
- data/lib/rpure/sass/version.rb +5 -0
- data/lib/rpure-sass.rb +41 -0
- data/renovate.json +5 -0
- data/rpure-sass.gemspec +29 -0
- metadata +127 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ba9898d24cabf75fd314938d4c58f9f439c6bcae0079844472b0ae3079d0d67c
|
4
|
+
data.tar.gz: bef8b66392b9d83916dcf92ce49c4a76a963b5f99bf9a464a022bf9c42984882
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 182bd4a583a626bb30e02b0f3e78eb5d2286a9f78a3792ba4885c800fbd0cd5268debec043cebdfdd7310377b74cee994fd2720a224a2b61dc9258e703dca757
|
7
|
+
data.tar.gz: f55473b0ac24b877f90b44fdca44755a415b1885c4337397ccab0b3af617ccf84272cc2cff4d28e042be25d4c3edb35b8689621c8c1ab16a4ce7b499e607d676
|
data/.gitignore
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
|
11
|
+
# rspec failure tracking
|
12
|
+
.rspec_status
|
13
|
+
|
14
|
+
/.sass-cache/
|
15
|
+
/spec/support/dummy_rails_app/log/
|
16
|
+
/spec/support/dummy_rails_app/tmp/
|
17
|
+
\.idea/
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 - Efrem Ropelato
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Rpure::Sass
|
2
|
+
|
3
|
+
Master [](https://travis-ci.org/efremropelato/rpure-sass) - Develop [](https://travis-ci.org/efremropelato/rpure-sass)
|
4
|
+
|
5
|
+
Sass framework Pure.CSS based and ready to use in Ruby projects.
|
6
|
+
|
7
|
+
[Instructions for Use](https://github.com/efremropelato/rpure-sass/wiki)
|
8
|
+
> *TODO: finish to write the instructions for use.*
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'rpure-sass', :git => 'https://github.com/efremropelato/rpure-sass.git'
|
16
|
+
```
|
17
|
+
|
18
|
+
|
data/Rakefile
ADDED
data/_config.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
theme: jekyll-theme-architect
|
Binary file
|
Binary file
|
@@ -0,0 +1,258 @@
|
|
1
|
+
+function ($) {
|
2
|
+
'use strict';
|
3
|
+
var RpureModal = function (element, options) {
|
4
|
+
this.options = options;
|
5
|
+
this.$body = $(document.body);
|
6
|
+
this.$element = $(element);
|
7
|
+
this.$backdrop =
|
8
|
+
this.isShown = null;
|
9
|
+
this.scrollbarWidth = 0;
|
10
|
+
|
11
|
+
if (this.options.remote) {
|
12
|
+
this.$element
|
13
|
+
.find('.rpuremodal-content')
|
14
|
+
.load(this.options.remote, $.proxy(function () {
|
15
|
+
this.$element.trigger('loaded.bs.rpuremodal')
|
16
|
+
}, this))
|
17
|
+
}
|
18
|
+
};
|
19
|
+
|
20
|
+
RpureModal.DEFAULTS = {
|
21
|
+
backdrop: true,
|
22
|
+
keyboard: true,
|
23
|
+
show: true
|
24
|
+
};
|
25
|
+
|
26
|
+
RpureModal.prototype.toggle = function (_relatedTarget) {
|
27
|
+
return this.isShown ? this.hide() : this.show(_relatedTarget)
|
28
|
+
};
|
29
|
+
|
30
|
+
RpureModal.prototype.show = function (_relatedTarget) {
|
31
|
+
var that = this;
|
32
|
+
var e = $.Event('show.bs.rpuremodal', {relatedTarget: _relatedTarget});
|
33
|
+
|
34
|
+
this.$element.trigger(e);
|
35
|
+
|
36
|
+
if (this.isShown || e.isDefaultPrevented()) return;
|
37
|
+
|
38
|
+
this.isShown = true;
|
39
|
+
|
40
|
+
this.checkScrollbar();
|
41
|
+
this.$body.addClass('rpuremodal-open');
|
42
|
+
|
43
|
+
this.setScrollbar();
|
44
|
+
this.escape();
|
45
|
+
|
46
|
+
this.$element.on('click.dismiss.bs.rpuremodal', '[data-dismiss="rpuremodal"]', $.proxy(this.hide, this));
|
47
|
+
|
48
|
+
this.backdrop(function () {
|
49
|
+
var transition = $.support.transition && that.$element.hasClass('fade');
|
50
|
+
|
51
|
+
if (!that.$element.parent().length) {
|
52
|
+
that.$element.appendTo(that.$body)
|
53
|
+
}
|
54
|
+
|
55
|
+
that.$element
|
56
|
+
.show()
|
57
|
+
.scrollTop(0);
|
58
|
+
|
59
|
+
if (transition) {
|
60
|
+
that.$element[0].offsetWidth
|
61
|
+
}
|
62
|
+
|
63
|
+
that.$element
|
64
|
+
.addClass('in')
|
65
|
+
.attr('aria-hidden', false);
|
66
|
+
|
67
|
+
that.enforceFocus();
|
68
|
+
|
69
|
+
var e = $.Event('shown.bs.rpuremodal', {relatedTarget: _relatedTarget});
|
70
|
+
|
71
|
+
transition ?
|
72
|
+
that.$element.find('.rpuremodal-dialog') // wait for rpuremodal to slide in
|
73
|
+
.one('bsTransitionEnd', function () {
|
74
|
+
that.$element.trigger('focus').trigger(e)
|
75
|
+
})
|
76
|
+
.emulateTransitionEnd(300) :
|
77
|
+
that.$element.trigger('focus').trigger(e)
|
78
|
+
})
|
79
|
+
};
|
80
|
+
|
81
|
+
RpureModal.prototype.hide = function (e) {
|
82
|
+
if (e) e.preventDefault();
|
83
|
+
|
84
|
+
e = $.Event('hide.bs.rpuremodal');
|
85
|
+
|
86
|
+
this.$element.trigger(e);
|
87
|
+
|
88
|
+
if (!this.isShown || e.isDefaultPrevented()) return;
|
89
|
+
|
90
|
+
this.isShown = false;
|
91
|
+
|
92
|
+
this.$body.removeClass('rpuremodal-open');
|
93
|
+
|
94
|
+
this.resetScrollbar();
|
95
|
+
this.escape();
|
96
|
+
|
97
|
+
$(document).off('focusin.bs.rpuremodal');
|
98
|
+
|
99
|
+
this.$element
|
100
|
+
.removeClass('in')
|
101
|
+
.attr('aria-hidden', true)
|
102
|
+
.off('click.dismiss.bs.rpuremodal');
|
103
|
+
|
104
|
+
$.support.transition && this.$element.hasClass('fade') ?
|
105
|
+
this.$element
|
106
|
+
.one('bsTransitionEnd', $.proxy(this.hideRpureModal, this))
|
107
|
+
.emulateTransitionEnd(300) :
|
108
|
+
this.hideRpureModal()
|
109
|
+
}
|
110
|
+
|
111
|
+
RpureModal.prototype.enforceFocus = function () {
|
112
|
+
$(document)
|
113
|
+
.off('focusin.bs.rpuremodal') // guard against infinite focus loop
|
114
|
+
.on('focusin.bs.rpuremodal', $.proxy(function (e) {
|
115
|
+
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
|
116
|
+
this.$element.trigger('focus')
|
117
|
+
}
|
118
|
+
}, this))
|
119
|
+
}
|
120
|
+
|
121
|
+
RpureModal.prototype.escape = function () {
|
122
|
+
if (this.isShown && this.options.keyboard) {
|
123
|
+
this.$element.on('keyup.dismiss.bs.rpuremodal', $.proxy(function (e) {
|
124
|
+
e.which == 27 && this.hide()
|
125
|
+
}, this))
|
126
|
+
} else if (!this.isShown) {
|
127
|
+
this.$element.off('keyup.dismiss.bs.rpuremodal')
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
RpureModal.prototype.hideRpureModal = function () {
|
132
|
+
var that = this
|
133
|
+
this.$element.hide()
|
134
|
+
this.backdrop(function () {
|
135
|
+
that.$element.trigger('hidden.bs.rpuremodal')
|
136
|
+
})
|
137
|
+
}
|
138
|
+
|
139
|
+
RpureModal.prototype.removeBackdrop = function () {
|
140
|
+
this.$backdrop && this.$backdrop.remove();
|
141
|
+
this.$backdrop = null
|
142
|
+
}
|
143
|
+
|
144
|
+
RpureModal.prototype.backdrop = function (callback) {
|
145
|
+
var that = this
|
146
|
+
var animate = this.$element.hasClass('fade') ? 'fade' : '';
|
147
|
+
|
148
|
+
if (this.isShown && this.options.backdrop) {
|
149
|
+
var doAnimate = $.support.transition && animate;
|
150
|
+
|
151
|
+
this.$backdrop = $('<div class="rpuremodal-backdrop ' + animate + '" />')
|
152
|
+
.appendTo(this.$body)
|
153
|
+
|
154
|
+
this.$element.on('click.dismiss.bs.rpuremodal', $.proxy(function (e) {
|
155
|
+
if (e.target !== e.currentTarget) return;
|
156
|
+
this.options.backdrop == 'static'
|
157
|
+
? this.$element[0].focus.call(this.$element[0])
|
158
|
+
: this.hide.call(this)
|
159
|
+
}, this));
|
160
|
+
|
161
|
+
if (doAnimate) this.$backdrop[0].offsetWidth
|
162
|
+
|
163
|
+
this.$backdrop.addClass('in');
|
164
|
+
|
165
|
+
if (!callback) return;
|
166
|
+
|
167
|
+
doAnimate ?
|
168
|
+
this.$backdrop
|
169
|
+
.one('bsTransitionEnd', callback)
|
170
|
+
.emulateTransitionEnd(150) :
|
171
|
+
callback()
|
172
|
+
|
173
|
+
} else if (!this.isShown && this.$backdrop) {
|
174
|
+
this.$backdrop.removeClass('in');
|
175
|
+
|
176
|
+
var callbackRemove = function () {
|
177
|
+
that.removeBackdrop();
|
178
|
+
callback && callback()
|
179
|
+
};
|
180
|
+
$.support.transition && this.$element.hasClass('fade') ?
|
181
|
+
this.$backdrop
|
182
|
+
.one('bsTransitionEnd', callbackRemove)
|
183
|
+
.emulateTransitionEnd(150) :
|
184
|
+
callbackRemove()
|
185
|
+
|
186
|
+
} else if (callback) {
|
187
|
+
callback()
|
188
|
+
}
|
189
|
+
};
|
190
|
+
|
191
|
+
RpureModal.prototype.checkScrollbar = function () {
|
192
|
+
if (document.body.clientWidth >= window.innerWidth) return;
|
193
|
+
this.scrollbarWidth = this.scrollbarWidth || this.measureScrollbar()
|
194
|
+
};
|
195
|
+
|
196
|
+
RpureModal.prototype.setScrollbar = function () {
|
197
|
+
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10);
|
198
|
+
if (this.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
|
199
|
+
};
|
200
|
+
|
201
|
+
RpureModal.prototype.resetScrollbar = function () {
|
202
|
+
this.$body.css('padding-right', '')
|
203
|
+
};
|
204
|
+
|
205
|
+
RpureModal.prototype.measureScrollbar = function () {
|
206
|
+
var scrollDiv = document.createElement('div');
|
207
|
+
scrollDiv.className = 'rpuremodal-scrollbar-measure';
|
208
|
+
this.$body.append(scrollDiv);
|
209
|
+
var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
|
210
|
+
this.$body[0].removeChild(scrollDiv);
|
211
|
+
return scrollbarWidth
|
212
|
+
}
|
213
|
+
|
214
|
+
function Plugin(option, _relatedTarget) {
|
215
|
+
return this.each(function () {
|
216
|
+
var $this = $(this);
|
217
|
+
var data = $this.data('bs.rpuremodal');
|
218
|
+
var options = $.extend({}, RpureModal.DEFAULTS, $this.data(), typeof option == 'object' && option);
|
219
|
+
|
220
|
+
if (!data) $this.data('bs.rpuremodal', (data = new RpureModal(this, options)));
|
221
|
+
if (typeof option == 'string') data[option](_relatedTarget);
|
222
|
+
else if (options.show) data.show(_relatedTarget)
|
223
|
+
})
|
224
|
+
}
|
225
|
+
|
226
|
+
var old = $.fn.rpuremodal;
|
227
|
+
|
228
|
+
$.fn.rpuremodal = Plugin;
|
229
|
+
$.fn.rpuremodal.Constructor = RpureModal;
|
230
|
+
|
231
|
+
$.fn.rpuremodal.noConflict = function () {
|
232
|
+
$.fn.rpuremodal = old;
|
233
|
+
return this
|
234
|
+
};
|
235
|
+
|
236
|
+
$(document).on('click.bs.rpuremodal.data-api', '[data-toggle="rpuremodal"]', function (e) {
|
237
|
+
var $this = $(this);
|
238
|
+
var href = $this.attr('href');
|
239
|
+
var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))); // strip for ie7
|
240
|
+
var option = $target.data('bs.rpuremodal') ? 'toggle' : $.extend({remote: !/#/.test(href) && href}, $target.data(), $this.data());
|
241
|
+
|
242
|
+
if ($this.is('a')) e.preventDefault();
|
243
|
+
|
244
|
+
$target.one('show.bs.rpuremodal', function (showEvent) {
|
245
|
+
if (showEvent.isDefaultPrevented()) return; // only register focus restorer if rpuremodal will actually get shown
|
246
|
+
$target.one('hidden.bs.rpuremodal', function () {
|
247
|
+
$this.is(':visible') && $this.trigger('focus')
|
248
|
+
})
|
249
|
+
});
|
250
|
+
Plugin.call($target, option, this)
|
251
|
+
});
|
252
|
+
|
253
|
+
$(".rpuremodal-wide").on("show.bs.rpuremodal", function () {
|
254
|
+
var height = $(window).height() - 200;
|
255
|
+
$(this).find(".rpuremodal-body").css("max-height", height);
|
256
|
+
});
|
257
|
+
|
258
|
+
}(jQuery);
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require ./rpure/modal
|
@@ -0,0 +1,204 @@
|
|
1
|
+
html {
|
2
|
+
//fonts-family: $roboto-slab;
|
3
|
+
font-family: $open-sans;
|
4
|
+
-ms-text-size-adjust: 100%;
|
5
|
+
-webkit-text-size-adjust: 100%;
|
6
|
+
}
|
7
|
+
|
8
|
+
body {
|
9
|
+
margin: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
|
13
|
+
display: block;
|
14
|
+
}
|
15
|
+
|
16
|
+
audio, canvas, progress, video {
|
17
|
+
display: inline-block;
|
18
|
+
vertical-align: baseline;
|
19
|
+
}
|
20
|
+
|
21
|
+
audio:not([controls]) {
|
22
|
+
display: none;
|
23
|
+
height: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
[hidden], template {
|
27
|
+
display: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
a {
|
31
|
+
background-color: transparent;
|
32
|
+
&:active, &:hover {
|
33
|
+
outline: 0;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
abbr[title] {
|
38
|
+
border-bottom: 1px dotted;
|
39
|
+
}
|
40
|
+
|
41
|
+
b, strong {
|
42
|
+
font-weight: bold;
|
43
|
+
}
|
44
|
+
|
45
|
+
dfn {
|
46
|
+
font-style: italic;
|
47
|
+
}
|
48
|
+
|
49
|
+
h1 {
|
50
|
+
font-size: 2em;
|
51
|
+
margin: 0.67em 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
mark {
|
55
|
+
background: #ff0;
|
56
|
+
color: #000;
|
57
|
+
}
|
58
|
+
|
59
|
+
small {
|
60
|
+
font-size: 80%;
|
61
|
+
}
|
62
|
+
|
63
|
+
sub {
|
64
|
+
font-size: 75%;
|
65
|
+
line-height: 0;
|
66
|
+
position: relative;
|
67
|
+
vertical-align: baseline;
|
68
|
+
}
|
69
|
+
|
70
|
+
sup {
|
71
|
+
font-size: 75%;
|
72
|
+
line-height: 0;
|
73
|
+
position: relative;
|
74
|
+
vertical-align: baseline;
|
75
|
+
top: -0.5em;
|
76
|
+
}
|
77
|
+
|
78
|
+
sub {
|
79
|
+
bottom: -0.25em;
|
80
|
+
}
|
81
|
+
|
82
|
+
img {
|
83
|
+
border: 0;
|
84
|
+
}
|
85
|
+
|
86
|
+
svg:not(:root) {
|
87
|
+
overflow: hidden;
|
88
|
+
}
|
89
|
+
|
90
|
+
figure {
|
91
|
+
margin: 1em 40px;
|
92
|
+
}
|
93
|
+
|
94
|
+
hr {
|
95
|
+
box-sizing: content-box;
|
96
|
+
height: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
pre {
|
100
|
+
overflow: auto;
|
101
|
+
}
|
102
|
+
|
103
|
+
code, kbd, pre, samp {
|
104
|
+
font-family: monospace, monospace;
|
105
|
+
font-size: 1em;
|
106
|
+
}
|
107
|
+
|
108
|
+
button, input, optgroup, select, textarea {
|
109
|
+
color: inherit;
|
110
|
+
font: inherit;
|
111
|
+
margin: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
button {
|
115
|
+
overflow: visible;
|
116
|
+
text-transform: none;
|
117
|
+
}
|
118
|
+
|
119
|
+
select {
|
120
|
+
text-transform: none;
|
121
|
+
}
|
122
|
+
|
123
|
+
button, html input[type="button"] {
|
124
|
+
-webkit-appearance: button;
|
125
|
+
cursor: pointer;
|
126
|
+
}
|
127
|
+
|
128
|
+
input {
|
129
|
+
&[type="reset"], &[type="submit"] {
|
130
|
+
-webkit-appearance: button;
|
131
|
+
cursor: pointer;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
button[disabled], html input[disabled] {
|
136
|
+
cursor: default;
|
137
|
+
}
|
138
|
+
|
139
|
+
button::-moz-focus-inner {
|
140
|
+
border: 0;
|
141
|
+
padding: 0;
|
142
|
+
}
|
143
|
+
|
144
|
+
input {
|
145
|
+
&::-moz-focus-inner {
|
146
|
+
border: 0;
|
147
|
+
padding: 0;
|
148
|
+
}
|
149
|
+
line-height: normal;
|
150
|
+
&[type="checkbox"], &[type="radio"] {
|
151
|
+
box-sizing: border-box;
|
152
|
+
padding: 0;
|
153
|
+
}
|
154
|
+
&[type="number"] {
|
155
|
+
&::-webkit-inner-spin-button, &::-webkit-outer-spin-button {
|
156
|
+
height: auto;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
&[type="search"] {
|
160
|
+
-webkit-appearance: textfield;
|
161
|
+
box-sizing: content-box;
|
162
|
+
&::-webkit-search-cancel-button, &::-webkit-search-decoration {
|
163
|
+
-webkit-appearance: none;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
fieldset {
|
169
|
+
border: 1px solid #c0c0c0;
|
170
|
+
margin: 0 2px;
|
171
|
+
padding: 0.35em 0.625em 0.75em;
|
172
|
+
}
|
173
|
+
|
174
|
+
legend {
|
175
|
+
border: 0;
|
176
|
+
padding: 0;
|
177
|
+
}
|
178
|
+
|
179
|
+
textarea {
|
180
|
+
overflow: auto;
|
181
|
+
}
|
182
|
+
|
183
|
+
optgroup {
|
184
|
+
font-weight: bold;
|
185
|
+
}
|
186
|
+
|
187
|
+
table {
|
188
|
+
border-collapse: collapse;
|
189
|
+
border-spacing: 0;
|
190
|
+
}
|
191
|
+
|
192
|
+
td, th {
|
193
|
+
padding: 0;
|
194
|
+
}
|
195
|
+
|
196
|
+
.hidden, [hidden] {
|
197
|
+
display: none !important;
|
198
|
+
}
|
199
|
+
|
200
|
+
.rpure-img {
|
201
|
+
max-width: 100%;
|
202
|
+
height: auto;
|
203
|
+
display: block;
|
204
|
+
}
|