express_ui 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/express_ui/application.js +46 -0
- data/app/assets/javascripts/express_ui/sidebar.js +6 -0
- data/app/assets/javascripts/express_ui/styleguide.js +9 -10
- data/app/assets/stylesheets/express_ui/application.css +3 -0
- data/app/assets/stylesheets/express_ui/atoms/_animations.sass +3 -0
- data/app/assets/stylesheets/express_ui/atoms/_buttons.sass +35 -28
- data/app/assets/stylesheets/express_ui/atoms/_headings.sass +5 -5
- data/app/assets/stylesheets/express_ui/atoms/_icons.sass +1 -1
- data/app/assets/stylesheets/express_ui/atoms/_typography.sass +6 -3
- data/app/assets/stylesheets/express_ui/atoms/_variables.sass +5 -1
- data/app/assets/stylesheets/express_ui/molecules/_container.sass +23 -0
- data/app/assets/stylesheets/express_ui/molecules/_form_groups.sass +30 -1
- data/app/assets/stylesheets/express_ui/molecules/_forms.sass +15 -8
- data/app/assets/stylesheets/express_ui/molecules/_nav.sass +29 -4
- data/app/assets/stylesheets/express_ui/molecules/_tables.sass +9 -18
- data/app/assets/stylesheets/express_ui/organisms/_header.sass +6 -2
- data/app/assets/stylesheets/express_ui/organisms/_sidebar.sass +2 -1
- data/app/assets/stylesheets/express_ui/scripts/_accordion.sass +39 -0
- data/app/assets/stylesheets/express_ui/scripts/_calendar.sass +35 -0
- data/app/assets/stylesheets/express_ui/scripts/_carousel.sass +43 -0
- data/app/assets/stylesheets/express_ui/scripts/_datepicker.sass +10 -0
- data/app/assets/stylesheets/express_ui/scripts/_popup.sass +48 -0
- data/app/assets/stylesheets/express_ui/scripts/_select.sass +12 -0
- data/app/assets/stylesheets/express_ui/scripts/_slider.sass +30 -0
- data/app/assets/stylesheets/express_ui/style.sass +19 -0
- data/app/assets/stylesheets/express_ui/styleguide.sass +0 -4
- data/app/assets/stylesheets/express_ui/templates/_content_sidebar.sass +2 -2
- data/app/components/code_demo.rb +2 -4
- data/app/controllers/express_ui/scripts_controller.rb +10 -0
- data/app/views/express_ui/molecules/_forms.html.erb +1 -1
- data/app/views/express_ui/molecules/_forms_select.html.erb +2 -2
- data/app/views/express_ui/molecules/_table.html.erb +0 -2
- data/app/views/express_ui/molecules/_table_with_filtering.html.erb +83 -54
- data/app/views/express_ui/scripts/_accordion.html.et +27 -0
- data/app/views/express_ui/scripts/_calendar.html.et +35 -0
- data/app/views/express_ui/scripts/_carousel.html.et +21 -0
- data/app/views/express_ui/scripts/_datepicker.html.et +37 -0
- data/app/views/express_ui/scripts/_popup.html.et +58 -0
- data/app/views/express_ui/scripts/_select.html.et +40 -0
- data/app/views/express_ui/scripts/_tabs.html.et +17 -0
- data/app/views/express_ui/scripts/index.html.erb +41 -0
- data/app/views/express_ui/shared/_header.html.erb +1 -0
- data/app/views/layouts/express_ui/_head.html.erb +3 -1
- data/config/routes.rb +1 -0
- data/lib/express_ui/engine.rb +5 -3
- data/lib/express_ui/version.rb +1 -1
- data/vendor/assets/javascripts/forms.js +39 -0
- data/vendor/assets/javascripts/ion.rangeSlider.js +2368 -0
- data/vendor/assets/javascripts/picker.date.js +1354 -0
- data/vendor/assets/javascripts/picker.js +1163 -0
- data/vendor/assets/stylesheets/classic.css +99 -0
- data/vendor/assets/stylesheets/default.css +4 -0
- data/vendor/assets/stylesheets/default.date.css +1 -0
- data/vendor/assets/stylesheets/ion.rangeSlider.css +146 -0
- data/vendor/assets/stylesheets/ion.rangeSlider.skinFlat.css +86 -0
- metadata +102 -20
- data/app/components/express_ui/table/express_table.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38f7fdbd6b91c8b15858ee9cca1a7df85f857c6d
|
4
|
+
data.tar.gz: 9c3f86b2257146e29e9416d47adc34c9ae12bb2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc8489280f5068aa146edfbc03cb0686d14f4a1711e1c1859cbea77de925d460f7d43ecccc378c51b653e781e4027c4a3f1d3e9277798360f49c8c0e40ed12fe
|
7
|
+
data.tar.gz: 3a7cd9e7acfff95c3dccffb4d825709d0669dc348ccd342b4d6049276cd698f228991f1c66bc3e6891a7cabb0d7bde620c277f321aed9d1d75df3e341bf0b21d
|
@@ -1 +1,47 @@
|
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery_ujs
|
1
3
|
//= require_tree .
|
4
|
+
//= require magnific-popup
|
5
|
+
//= require select2
|
6
|
+
//= require moment
|
7
|
+
//= require fullcalendar
|
8
|
+
//= require picker
|
9
|
+
//= require picker.date
|
10
|
+
//= require forms
|
11
|
+
//= require ion.rangeSlider
|
12
|
+
//= require picker
|
13
|
+
//= require picker.date
|
14
|
+
//= require forms
|
15
|
+
//= require ion.rangeSlider
|
16
|
+
|
17
|
+
$(document).ready(function() {
|
18
|
+
$('.ae-popup-link').magnificPopup();
|
19
|
+
$('.ae-calendar').fullCalendar();
|
20
|
+
$('.ae-select').select2();
|
21
|
+
$('.ae-open-filter').click(function() {
|
22
|
+
$(this).parent().siblings( '.ae-table-filter' ).toggleClass('ae-hidden');
|
23
|
+
return false;
|
24
|
+
});
|
25
|
+
$('.ae-mega-menu-close').click(function() {
|
26
|
+
$(this).parents( '.ae-table-filter' ).toggleClass('ae-hidden');
|
27
|
+
return false;
|
28
|
+
});
|
29
|
+
$("#ae-double-slider").ionRangeSlider({
|
30
|
+
hide_min_max: true,
|
31
|
+
keyboard: true,
|
32
|
+
min: 0,
|
33
|
+
max: 5000,
|
34
|
+
from: 1000,
|
35
|
+
to: 4000,
|
36
|
+
type: 'double',
|
37
|
+
step: 1,
|
38
|
+
grid: true
|
39
|
+
});
|
40
|
+
$("#ae-single-slider").ionRangeSlider();
|
41
|
+
$('.ae-datepicker').pickadate({
|
42
|
+
weekdaysShort: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
|
43
|
+
showMonthsShort: true,
|
44
|
+
selectYears: true,
|
45
|
+
selectMonths: true
|
46
|
+
});
|
47
|
+
});
|
@@ -1,16 +1,8 @@
|
|
1
|
-
//= require jquery
|
2
|
-
//= require jquery_ujs
|
3
1
|
//= require anchorific
|
4
2
|
//= require resizable
|
5
3
|
|
6
|
-
|
7
4
|
$(function() {
|
8
5
|
|
9
|
-
// TODO: Sidebar scripts in mobile that need to be moved to its proper JS folder
|
10
|
-
$('.js-ae-show-left-sidebar').on('click', function(){
|
11
|
-
$('.js-ae-sidebar').toggle();
|
12
|
-
});
|
13
|
-
|
14
6
|
$('.ae-sidebar-right').resizable({
|
15
7
|
handles: 'w',
|
16
8
|
minWidth: 100,
|
@@ -26,7 +18,8 @@ $(function() {
|
|
26
18
|
stop: function(event, ui){
|
27
19
|
ui.element.css('left', '')
|
28
20
|
}
|
29
|
-
})
|
21
|
+
});
|
22
|
+
|
30
23
|
$(".js-anchorific-content").anchorific({
|
31
24
|
headers: ':header:not(.ae-demo-container :header, h4)'
|
32
25
|
});
|
@@ -48,6 +41,11 @@ $(function() {
|
|
48
41
|
return;
|
49
42
|
}
|
50
43
|
|
44
|
+
// TODO: Sidebar scripts in mobile that need to be moved to its proper JS folder
|
45
|
+
if ($(window).width() < 768) {
|
46
|
+
$('.js-ae-sidebar').hide();
|
47
|
+
}
|
48
|
+
|
51
49
|
$('html, body').animate({
|
52
50
|
scrollTop: $('[id="' + $.attr($selectedLink.closest('a')[0], 'href').substr(1) + '"]').offset().top - $(".ae-header-fixed").height()
|
53
51
|
}, 500);
|
@@ -80,7 +78,8 @@ $(function() {
|
|
80
78
|
$parentContainer.find('.ae-tab.active-tab').removeClass('active-tab')
|
81
79
|
$clickedTab.addClass('active-tab')
|
82
80
|
$parentContainer.find('.ae-tab-content.active-tab').removeClass('active-tab')
|
83
|
-
$parentContainer.find('#' + tabContent).addClass('active-tab')
|
81
|
+
$parentContainer.find('#' + tabContent).addClass('active-tab');
|
82
|
+
$('.ae-calendar').fullCalendar('render');
|
84
83
|
});
|
85
84
|
});
|
86
85
|
|
@@ -6,10 +6,17 @@
|
|
6
6
|
cursor: pointer
|
7
7
|
text-align: center
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
@mixin btn-type($type)
|
10
|
+
background: $type
|
11
|
+
border: 1px solid $type
|
11
12
|
|
12
|
-
|
13
|
+
&.ae-btn-border
|
14
|
+
color: $type !important
|
15
|
+
|
16
|
+
&:active, &:focus
|
17
|
+
@include box-shadow(inset, 2px, 2px, 2px, darken($type, 20%))
|
18
|
+
|
19
|
+
.ae-btn
|
13
20
|
@include easeInOut
|
14
21
|
@include button
|
15
22
|
display: inline-block
|
@@ -30,6 +37,8 @@ input[type="submit"]
|
|
30
37
|
@include box-shadow(inset, 2px, 2px, 2px, darken($secondary-color, 5%))
|
31
38
|
outline-color: $primary-color
|
32
39
|
|
40
|
+
.ae-btn-block
|
41
|
+
display: block
|
33
42
|
|
34
43
|
.ae-btn-default
|
35
44
|
background-color: $secondary-color
|
@@ -40,34 +49,19 @@ input[type="submit"]
|
|
40
49
|
@include box-shadow(inset, 2px, 2px, 2px, darken($secondary-color, 20%))
|
41
50
|
|
42
51
|
.ae-btn-primary
|
43
|
-
|
44
|
-
border: 1px solid $primary-color
|
52
|
+
@include btn-type($primary-color)
|
45
53
|
color: #fff !important
|
46
54
|
|
47
55
|
*
|
48
56
|
color: #fff !important
|
49
57
|
|
50
|
-
&.ae-btn-border
|
51
|
-
color: $primary-color !important
|
52
|
-
|
53
|
-
|
54
|
-
&:active, &:focus
|
55
|
-
@include box-shadow(inset, 2px, 2px, 2px, darken($primary-color, 20%))
|
56
|
-
|
57
58
|
.ae-btn-secondary
|
58
|
-
|
59
|
-
border: 1px solid $secondary-color
|
59
|
+
@include btn-type($secondary-color)
|
60
60
|
color: #fff !important
|
61
61
|
|
62
62
|
*
|
63
63
|
color: #fff !important
|
64
64
|
|
65
|
-
&.ae-btn-border
|
66
|
-
color: $secondary-color !important
|
67
|
-
|
68
|
-
&:active, &:focus
|
69
|
-
@include box-shadow(inset, 2px, 2px, 2px, darken($secondary-color, 5%))
|
70
|
-
|
71
65
|
.ae-btn-success
|
72
66
|
background-color: $success
|
73
67
|
border: 1px solid $success
|
@@ -90,26 +84,39 @@ input[type="submit"]
|
|
90
84
|
&:active, &:focus
|
91
85
|
@include box-shadow(inset, 2px, 2px, 2px, darken($cancelled, 20%))
|
92
86
|
|
87
|
+
.ae-btn-increment
|
88
|
+
cursor: pointer
|
89
|
+
min-width: 26px
|
90
|
+
|
91
|
+
.ae-selected
|
92
|
+
@include btn-type($primary-color)
|
93
|
+
color: #fff !important
|
94
|
+
|
95
|
+
*
|
96
|
+
color: #fff !important
|
93
97
|
|
94
98
|
.ae-btn-sm
|
95
|
-
padding
|
96
|
-
|
99
|
+
padding:
|
100
|
+
top: rem(8px)
|
101
|
+
bottom: rem(8px)
|
97
102
|
@include font-size(16px, 16px)
|
98
103
|
max-height: 30px
|
99
104
|
line-height: 100%
|
100
105
|
|
101
106
|
.ae-btn-md
|
102
|
-
padding
|
103
|
-
|
107
|
+
padding:
|
108
|
+
top: rem(16px)
|
109
|
+
bottom: rem(16px)
|
104
110
|
@include font-size(18px, 18px)
|
105
|
-
max-height:
|
111
|
+
max-height: 40px
|
106
112
|
line-height: 100%
|
107
113
|
|
108
114
|
.ae-btn-lg
|
109
|
-
padding
|
110
|
-
|
115
|
+
padding:
|
116
|
+
top: rem(22px)
|
117
|
+
bottom: rem(22px)
|
111
118
|
@include font-size(20px, 20px)
|
112
|
-
max-height:
|
119
|
+
max-height: 50px
|
113
120
|
line-height: 100%
|
114
121
|
|
115
122
|
.ae-btn-border
|
@@ -1,17 +1,17 @@
|
|
1
1
|
@mixin h1
|
2
|
-
@include font-size(32px,
|
2
|
+
@include font-size(32px, 32px)
|
3
3
|
|
4
4
|
@mixin h2
|
5
|
-
@include font-size(28px,
|
5
|
+
@include font-size(28px, 28px)
|
6
6
|
|
7
7
|
@mixin h3
|
8
|
-
@include font-size(
|
8
|
+
@include font-size(24px, 24px)
|
9
9
|
|
10
10
|
@mixin h4
|
11
|
-
@include font-size(
|
11
|
+
@include font-size(20px, 20px)
|
12
12
|
|
13
13
|
@mixin h5
|
14
|
-
@include font-size(
|
14
|
+
@include font-size(16px, 16px)
|
15
15
|
|
16
16
|
@mixin h6
|
17
17
|
@include font-size(12px, 12px)
|
@@ -6,6 +6,9 @@
|
|
6
6
|
@mixin header-font
|
7
7
|
font-family: 'Lato', sans-serif
|
8
8
|
|
9
|
+
@mixin icon-font
|
10
|
+
font-family: FontAwesome
|
11
|
+
|
9
12
|
@function rem($size)
|
10
13
|
$remSize: $size / 16px
|
11
14
|
@return #{$remSize}rem
|
@@ -14,13 +17,13 @@
|
|
14
17
|
font-size: rem($size)
|
15
18
|
|
16
19
|
@include tablet
|
17
|
-
font-size: rem($large_size)
|
20
|
+
font-size: rem($large_size*1.3)
|
18
21
|
|
19
22
|
@include desktop
|
20
|
-
font-size: rem($large_size
|
23
|
+
font-size: rem($large_size*1.5)
|
21
24
|
|
22
25
|
@mixin p
|
23
|
-
@include font-size(18px,
|
26
|
+
@include font-size(18px, 24px)
|
24
27
|
font-weight: normal
|
25
28
|
|
26
29
|
.ae-u-text-left
|
@@ -20,6 +20,8 @@ $border-light: #eaeaea
|
|
20
20
|
|
21
21
|
$body-color: #666
|
22
22
|
|
23
|
+
$body-background: #fff
|
24
|
+
|
23
25
|
$heading-color: #333
|
24
26
|
|
25
27
|
$link-color: $primary-color
|
@@ -48,7 +50,9 @@ $line-height: 14px
|
|
48
50
|
|
49
51
|
$font-size-root: 62.5%
|
50
52
|
|
51
|
-
$header-
|
53
|
+
$header-height: 55px
|
54
|
+
|
55
|
+
$header-max-height: 60px
|
52
56
|
|
53
57
|
$container-padding: 0.25em
|
54
58
|
// Because all browsers have a default font-size of 16px, setting the font-size to 62.5% on the html element gives it a font-size of 10px (10 / 16 * 100 = 62.5)
|
@@ -29,4 +29,27 @@
|
|
29
29
|
.ae-container-table-cell
|
30
30
|
@include container-table-cell
|
31
31
|
|
32
|
+
.ae-grid
|
33
|
+
float: left
|
34
|
+
|
35
|
+
.ae-content
|
36
|
+
@include tablet-max
|
37
|
+
padding-left: 0.5em !important
|
38
|
+
padding-right: 0.5em !important
|
39
|
+
&-container
|
40
|
+
width: 100%
|
32
41
|
|
42
|
+
&-one-half
|
43
|
+
.ae-grid
|
44
|
+
width: (100%/2)
|
45
|
+
&-one-third
|
46
|
+
.ae-grid
|
47
|
+
width: (100%/3)
|
48
|
+
&-one-fourth
|
49
|
+
.ae-grid
|
50
|
+
width: (100%/4)
|
51
|
+
|
52
|
+
.ae-content
|
53
|
+
@include tablet-max
|
54
|
+
padding-left: 0.5em !important
|
55
|
+
padding-right: 0.5em !important
|
@@ -7,6 +7,9 @@
|
|
7
7
|
@include tablet-max
|
8
8
|
top: 34%
|
9
9
|
|
10
|
+
@include desktop
|
11
|
+
top: 30%
|
12
|
+
|
10
13
|
.ae-form-horizontal
|
11
14
|
@include tablet
|
12
15
|
.ae-form-field
|
@@ -54,13 +57,35 @@
|
|
54
57
|
|
55
58
|
.ae-actions
|
56
59
|
width: auto
|
60
|
+
margin: 10px 0 10px 10px
|
61
|
+
|
62
|
+
.ae-btn
|
63
|
+
margin: 0
|
64
|
+
|
65
|
+
.ae-form-increment
|
66
|
+
display: flex
|
67
|
+
flex-flow: row nowrap
|
68
|
+
align-items: stretch
|
69
|
+
|
70
|
+
& + &
|
71
|
+
margin-top: 1em
|
72
|
+
|
73
|
+
.ae-form-field
|
74
|
+
position: relative
|
75
|
+
|
76
|
+
.ae-text-field
|
77
|
+
width: 70px
|
57
78
|
|
58
79
|
.ae-actions
|
80
|
+
width: auto
|
59
81
|
margin: 10px 0 10px 10px
|
60
82
|
|
61
83
|
.ae-btn
|
62
84
|
margin: 0
|
63
85
|
|
86
|
+
@include tablet-max
|
87
|
+
width: auto
|
88
|
+
display: inline-block
|
64
89
|
|
65
90
|
.ae-search-form
|
66
91
|
.ae-text-field
|
@@ -80,7 +105,11 @@
|
|
80
105
|
position: relative
|
81
106
|
|
82
107
|
.ae-text-field
|
83
|
-
padding-left:
|
108
|
+
padding-left: 3em
|
109
|
+
|
110
|
+
@include desktop
|
111
|
+
padding-left: 3em
|
112
|
+
|
84
113
|
|
85
114
|
& > div
|
86
115
|
width: auto
|
@@ -23,6 +23,12 @@ input[type="date"]
|
|
23
23
|
|
24
24
|
.ae-form-field
|
25
25
|
|
26
|
+
.fa
|
27
|
+
@include font-size(28px, 28px)
|
28
|
+
|
29
|
+
@include desktop
|
30
|
+
font-size: 22px
|
31
|
+
|
26
32
|
input[type="range"]
|
27
33
|
@include box-shadow(0, 0, 0, 0)
|
28
34
|
|
@@ -75,24 +81,24 @@ input[type="date"]
|
|
75
81
|
|
76
82
|
.ae-input-sm
|
77
83
|
@include font-size(16px, 16px)
|
78
|
-
padding: rem(
|
84
|
+
padding: rem(5px)
|
79
85
|
|
80
86
|
@include desktop
|
81
|
-
padding: rem(
|
87
|
+
padding: rem(6px)
|
82
88
|
|
83
89
|
.ae-input-md
|
84
90
|
@include font-size(18px, 18px)
|
85
|
-
padding: rem(
|
91
|
+
padding: rem(14px)
|
86
92
|
|
87
93
|
@include desktop
|
88
|
-
padding: rem(
|
94
|
+
padding: rem(12px)
|
89
95
|
|
90
96
|
.ae-input-lg
|
91
97
|
@include font-size(20px, 20px)
|
92
|
-
padding: rem(
|
98
|
+
padding: rem(20px)
|
93
99
|
|
94
100
|
@include desktop
|
95
|
-
padding: rem(
|
101
|
+
padding: rem(18px)
|
96
102
|
|
97
103
|
label
|
98
104
|
line-height: 1.4
|
@@ -125,9 +131,10 @@ label
|
|
125
131
|
display: none
|
126
132
|
&-label
|
127
133
|
border: 1px solid $border-light
|
128
|
-
border-radius
|
134
|
+
@include border-radius(20px)
|
129
135
|
cursor: pointer
|
130
136
|
display: block
|
137
|
+
padding: 0
|
131
138
|
overflow: hidden
|
132
139
|
&-inner
|
133
140
|
display: block
|
@@ -155,7 +162,7 @@ label
|
|
155
162
|
&-button
|
156
163
|
background: #FFFFFF
|
157
164
|
border: 1px solid $border-dark
|
158
|
-
border-radius
|
165
|
+
@include border-radius(20px)
|
159
166
|
bottom: 0
|
160
167
|
display: block
|
161
168
|
margin: 5px
|
@@ -30,12 +30,31 @@ nav
|
|
30
30
|
@include button
|
31
31
|
|
32
32
|
.ae-nav-main
|
33
|
+
overflow: scroll
|
34
|
+
white-space: nowrap
|
35
|
+
float: none
|
36
|
+
|
33
37
|
@include tablet-max
|
38
|
+
background: $gray-background
|
39
|
+
border-top: 1px solid $border-light
|
40
|
+
|
41
|
+
.ae-list-inline .ae-nav-item
|
42
|
+
display: inline-block
|
34
43
|
float: none
|
35
44
|
|
36
|
-
|
37
|
-
|
38
|
-
|
45
|
+
@include tablet
|
46
|
+
text-align: right
|
47
|
+
|
48
|
+
.ae-nav-item
|
49
|
+
float: left
|
50
|
+
|
51
|
+
@include tablet-max
|
52
|
+
border-right: 1px solid $border-light
|
53
|
+
padding: 0.5em
|
54
|
+
|
55
|
+
.ae-nav-item.active
|
56
|
+
@include tablet-max
|
57
|
+
background: $body-background
|
39
58
|
|
40
59
|
.ae-breadcrumbs
|
41
60
|
.ae-nav-item
|
@@ -70,7 +89,7 @@ nav
|
|
70
89
|
|
71
90
|
|
72
91
|
[class*="ae-nav-mega-menu-list"]
|
73
|
-
|
92
|
+
min-height: 140px
|
74
93
|
overflow: scroll
|
75
94
|
|
76
95
|
.ae-nav-mega-menu-list-icons
|
@@ -84,6 +103,11 @@ nav
|
|
84
103
|
padding: 0.5em
|
85
104
|
text-align: left
|
86
105
|
|
106
|
+
&-inline
|
107
|
+
a:link
|
108
|
+
display: inline-block !important
|
109
|
+
|
110
|
+
|
87
111
|
a:link
|
88
112
|
display: block
|
89
113
|
|
@@ -92,4 +116,5 @@ nav
|
|
92
116
|
vertical-align: middle
|
93
117
|
margin-right: 1em
|
94
118
|
margin-bottom: 0
|
119
|
+
margin-top: 0
|
95
120
|
width: 25px
|
@@ -1,7 +1,6 @@
|
|
1
1
|
table
|
2
2
|
width: 100%
|
3
3
|
box-shadow: none
|
4
|
-
margin: 1em 0
|
5
4
|
border-collapse: collapse
|
6
5
|
|
7
6
|
.ae-table-fixed-width
|
@@ -15,7 +14,7 @@ table
|
|
15
14
|
word-wrap: break-word
|
16
15
|
text-align: left
|
17
16
|
text-transform: uppercase
|
18
|
-
@include font-size(
|
17
|
+
@include font-size(20px, 20px)
|
19
18
|
vertical-align: top
|
20
19
|
|
21
20
|
a:link, a:visited
|
@@ -65,27 +64,19 @@ table
|
|
65
64
|
|
66
65
|
.ae-table-filter
|
67
66
|
background-color: $gray-background
|
67
|
+
animation: fadeIn 0.5s linear
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
flex-flow: row
|
72
|
-
flex-wrap: nowrap
|
73
|
-
justify-content: flex-start
|
74
|
-
align-items: stretch
|
75
|
-
align-content: stretch
|
76
|
-
|
77
|
-
*
|
78
|
-
display: flex
|
79
|
-
flex-direction: row
|
80
|
-
flex-wrap: nowrap
|
81
|
-
justify-content: flex-start
|
82
|
-
align-items: center
|
83
|
-
align-content: stretch
|
69
|
+
.select2
|
70
|
+
width: 100% !important
|
84
71
|
|
85
72
|
.ae-filter
|
86
|
-
// border-right: 1px solid $border-light
|
87
73
|
padding: 0 $container-padding*2
|
88
74
|
|
75
|
+
.ae-filter-heading
|
76
|
+
margin-top: 0
|
77
|
+
margin-bottom: 0
|
78
|
+
padding-top: 0
|
79
|
+
|
89
80
|
& + table
|
90
81
|
margin-top: 0
|
91
82
|
border-top: 1px solid $border-light
|
@@ -1,5 +1,6 @@
|
|
1
1
|
header
|
2
2
|
background: $gray-background
|
3
|
+
height: $header-height
|
3
4
|
max-height: $header-max-height
|
4
5
|
@include box-shadow(0, 0, 3px, 0, rgba($border-dark, 0.5))
|
5
6
|
@include clearfix
|
@@ -9,13 +10,16 @@ header
|
|
9
10
|
|
10
11
|
@include tablet-max
|
11
12
|
text-align: center
|
12
|
-
height: $header-max-height
|
13
|
+
height: $header-max-height
|
13
14
|
max-height: 100%
|
14
15
|
|
15
16
|
.ae-logo
|
16
17
|
float: left
|
17
18
|
padding: 0.25em 0.5em
|
18
19
|
|
20
|
+
@include tablet
|
21
|
+
padding: 1em 0.5em
|
22
|
+
|
19
23
|
img
|
20
24
|
margin: 0
|
21
25
|
|
@@ -42,7 +46,7 @@ header
|
|
42
46
|
|
43
47
|
|
44
48
|
& + [class*="ae-template-"], & + [class*="ae-template-master-"]
|
45
|
-
margin-top:
|
49
|
+
margin-top: $header-height
|
46
50
|
|
47
51
|
@include tablet-max
|
48
52
|
z-index: 99
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.ae-accordion-trigger
|
2
|
+
background: $primary-color
|
3
|
+
display: block
|
4
|
+
position: relative
|
5
|
+
text-align: left
|
6
|
+
margin-right: 0
|
7
|
+
|
8
|
+
&:not(.collapsed)
|
9
|
+
@include border-radius(3px 3px 0 0 !important)
|
10
|
+
|
11
|
+
&:not(.collapsed):after
|
12
|
+
content: "\f106"
|
13
|
+
@include icon-font
|
14
|
+
|
15
|
+
&.collapsed:after
|
16
|
+
content: "\f107"
|
17
|
+
@include icon-font
|
18
|
+
|
19
|
+
&:after
|
20
|
+
display: block
|
21
|
+
position: absolute
|
22
|
+
right: 16px
|
23
|
+
top: 50%
|
24
|
+
transform: translateY(-50%)
|
25
|
+
font-size: 2em
|
26
|
+
|
27
|
+
.ae-accordion-content
|
28
|
+
padding: 0 1em 1em 1em
|
29
|
+
border: 1px solid $border-light
|
30
|
+
border-top: 0
|
31
|
+
|
32
|
+
&.collapsed
|
33
|
+
display: none
|
34
|
+
|
35
|
+
@include tablet
|
36
|
+
margin-bottom: 1em
|
37
|
+
|
38
|
+
@include tablet-max
|
39
|
+
margin-bottom: 0.5em
|