sigbit_admin_rails 0.0.3 → 0.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/javascripts/jquery.nestable.js +484 -0
- data/assets/javascripts/jquery.sortable.min.js +4 -0
- data/assets/javascripts/sigbit-admin.js +61 -0
- data/assets/stylesheets/components/_header-navbar.scss +62 -0
- data/assets/stylesheets/components/_sidebar.scss +162 -0
- data/assets/stylesheets/components/action-toolbar.scss +14 -0
- data/assets/stylesheets/components/btn-circle.scss +25 -0
- data/assets/stylesheets/components/card.scss +45 -0
- data/assets/stylesheets/components/file-input.scss +87 -0
- data/assets/stylesheets/components/nestable.scss +149 -0
- data/assets/stylesheets/components/page-header.scss +30 -0
- data/assets/stylesheets/components/small-action-btns.scss +41 -0
- data/assets/stylesheets/components/sortable.scss +47 -0
- data/assets/stylesheets/mixins/nestable.scss +11 -0
- data/assets/stylesheets/sigbit-admin.scss +15 -0
- data/assets/stylesheets/variables.scss +688 -0
- data/lib/sigbit_admin_rails/railtie.rb +1 -1
- data/lib/sigbit_admin_rails.rb +8 -1
- metadata +50 -8
- data/vendor/assets/javascripts/sigbit-admin.js +0 -15187
- data/vendor/assets/javascripts/sigbit-admin.min.js +0 -5
- data/vendor/assets/stylesheets/sigbit-admin.css +0 -5157
- data/vendor/assets/stylesheets/sigbit-admin.min.css +0 -5
@@ -0,0 +1,162 @@
|
|
1
|
+
body {
|
2
|
+
overflow-x: hidden;
|
3
|
+
}
|
4
|
+
|
5
|
+
|
6
|
+
#wrapper {
|
7
|
+
padding-left: 0;
|
8
|
+
@include transition(all 0.5s ease);
|
9
|
+
}
|
10
|
+
|
11
|
+
#wrapper.toggled {
|
12
|
+
padding-left: $sidebar-width;
|
13
|
+
}
|
14
|
+
|
15
|
+
#sidebar-wrapper {
|
16
|
+
z-index: 1000;
|
17
|
+
position: fixed;
|
18
|
+
left: $sidebar-width;
|
19
|
+
width: 0;
|
20
|
+
height: 100%;
|
21
|
+
margin-left: -$sidebar-width;
|
22
|
+
overflow-y: auto;
|
23
|
+
overflow-x: hidden;
|
24
|
+
background: $sidebar-bg;
|
25
|
+
@include transition(all 0.5s ease);
|
26
|
+
}
|
27
|
+
|
28
|
+
#wrapper.toggled #sidebar-wrapper {
|
29
|
+
width: $sidebar-width;
|
30
|
+
}
|
31
|
+
|
32
|
+
#page-content-wrapper {
|
33
|
+
width: 100%;
|
34
|
+
position: absolute;
|
35
|
+
padding: 0;
|
36
|
+
|
37
|
+
.container-fluid {
|
38
|
+
padding: $spacer;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
#wrapper.toggled #page-content-wrapper {
|
43
|
+
position: absolute;
|
44
|
+
margin-right: -$sidebar-width;
|
45
|
+
}
|
46
|
+
|
47
|
+
/* Sidebar Styles */
|
48
|
+
|
49
|
+
.sidebar-nav {
|
50
|
+
width: $sidebar-width;
|
51
|
+
margin: $spacer 0 0 0;
|
52
|
+
padding: 0;
|
53
|
+
list-style: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
.sidebar-nav li {
|
57
|
+
text-indent: $spacer;
|
58
|
+
line-height: 50px;
|
59
|
+
|
60
|
+
.active {
|
61
|
+
color: white !important;
|
62
|
+
}
|
63
|
+
|
64
|
+
a {
|
65
|
+
position: relative;
|
66
|
+
display: block;
|
67
|
+
text-decoration: none;
|
68
|
+
color: rgba(white,0.6);
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
text-decoration: none;
|
72
|
+
color: #fff;
|
73
|
+
background: lighten($sidebar-bg,5%);
|
74
|
+
}
|
75
|
+
&:active, &:focus { text-decoration: none; }
|
76
|
+
|
77
|
+
> * {
|
78
|
+
text-indent: 0;
|
79
|
+
}
|
80
|
+
.fa {
|
81
|
+
margin-right: $spacer/2;
|
82
|
+
}
|
83
|
+
|
84
|
+
.fa-chevron-right {
|
85
|
+
position: absolute;
|
86
|
+
right: $spacer;
|
87
|
+
top: 50%;
|
88
|
+
@include transform(translateY(-50%) rotate(0deg));
|
89
|
+
width: 10px;
|
90
|
+
height: 10px;
|
91
|
+
display: inline-block;
|
92
|
+
margin: 0;
|
93
|
+
font-size: 0.8em;
|
94
|
+
@include transition(all .2s ease);
|
95
|
+
}
|
96
|
+
|
97
|
+
&[aria-expanded="true"] {
|
98
|
+
background: lighten($sidebar-bg, 5%);
|
99
|
+
.fa-chevron-right {
|
100
|
+
@include transform(translateY(-50%) rotate(90deg));
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
ul.submenu {
|
106
|
+
background: darken($sidebar-bg,6%);
|
107
|
+
padding: 0;
|
108
|
+
|
109
|
+
li {
|
110
|
+
text-indent: $spacer*1.5;
|
111
|
+
> ul.submenu li {
|
112
|
+
text-indent: $spacer*2;
|
113
|
+
}
|
114
|
+
a[aria-expanded="true"] {
|
115
|
+
background: darken($sidebar-bg,3%);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
a:hover {
|
119
|
+
background: darken($sidebar-bg,3%);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
.sidebar-brand {
|
127
|
+
display: block;
|
128
|
+
width: 100%;
|
129
|
+
height: $header-navbar-height;
|
130
|
+
background: darken($sidebar-bg,5%) url($sidebar-logotype) no-repeat $spacer center;
|
131
|
+
background-size: auto 50%;
|
132
|
+
border-bottom: 1px solid darken($sidebar-bg,25%);
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
@media(min-width:768px) {
|
137
|
+
#wrapper {
|
138
|
+
padding-left: $sidebar-width;
|
139
|
+
}
|
140
|
+
|
141
|
+
#wrapper.toggled {
|
142
|
+
padding-left: 0;
|
143
|
+
}
|
144
|
+
|
145
|
+
#sidebar-wrapper {
|
146
|
+
width: $sidebar-width;
|
147
|
+
}
|
148
|
+
|
149
|
+
#wrapper.toggled #sidebar-wrapper {
|
150
|
+
width: 0;
|
151
|
+
}
|
152
|
+
|
153
|
+
#page-content-wrapper {
|
154
|
+
padding: 0;
|
155
|
+
position: relative;
|
156
|
+
}
|
157
|
+
|
158
|
+
#wrapper.toggled #page-content-wrapper {
|
159
|
+
position: relative;
|
160
|
+
margin-right: 0;
|
161
|
+
}
|
162
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.btn-circle {
|
2
|
+
@include border-radius(50%); // Perfect circle
|
3
|
+
width: $btn-padding-x*3;
|
4
|
+
height: $btn-padding-x*3;
|
5
|
+
|
6
|
+
&.btn-sm {
|
7
|
+
width: $btn-padding-x*2.25;
|
8
|
+
height: $btn-padding-x*2.25;
|
9
|
+
font-size: $font-size-sm;
|
10
|
+
}
|
11
|
+
&.btn-lg {
|
12
|
+
width: $btn-padding-x*5;
|
13
|
+
height: $btn-padding-x*5;
|
14
|
+
font-size: $font-size-lg;
|
15
|
+
}
|
16
|
+
&.btn-xl {
|
17
|
+
width: $btn-padding-x*6.5;
|
18
|
+
height: $btn-padding-x*6.5;
|
19
|
+
font-size: $font-size-lg;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.btn-floating {
|
24
|
+
@include box-shadow( 0px 5px 10px 0px rgba(0,0,0,0.25));
|
25
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
// Override bootstrap CSS
|
2
|
+
.card {
|
3
|
+
margin-bottom: $spacer;
|
4
|
+
|
5
|
+
.card-actions {
|
6
|
+
position: absolute;
|
7
|
+
top: $spacer/1.25;
|
8
|
+
right: $spacer/1.25;
|
9
|
+
font-size: 0.9em;
|
10
|
+
}
|
11
|
+
|
12
|
+
.card-header .card-actions {
|
13
|
+
position: absolute;
|
14
|
+
top: 50%;
|
15
|
+
@include transform(translateY(-50%));
|
16
|
+
}
|
17
|
+
|
18
|
+
.card-header {
|
19
|
+
position: relative;
|
20
|
+
padding-top: $spacer/1.1;
|
21
|
+
padding-bottom: $spacer/1.1;
|
22
|
+
background: transparent;
|
23
|
+
|
24
|
+
h1, h2, h3, h4, h5, h6 {
|
25
|
+
margin-bottom: 0 !important;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
h1, h2, h3, h4, h5, h6 {
|
29
|
+
&.card-header {
|
30
|
+
margin-bottom: 0 !important;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.card-gray-dark { background-color: $gray-dark; }
|
36
|
+
.card-gray { background-color: $gray; }
|
37
|
+
.card-gray-light { background-color: $gray-light; }
|
38
|
+
.card-gray-lighter { background-color: $gray-lighter; }
|
39
|
+
.card-gray-lightest { background-color: $gray-lightest; }
|
40
|
+
.card-sidebar-bg { background-color: $sidebar-bg; }
|
41
|
+
.card-header-navbar-bg { background-color: $header-navbar-bg; }
|
42
|
+
|
43
|
+
.card-gray-dark, .card-gray, .card-gray-light, .card-gray-lighter, .card-gray-lightest, .card-sidebar-bg, .card-header-navbar-bg {
|
44
|
+
border: none;
|
45
|
+
}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
.js .inputfile {
|
2
|
+
width: 0.1px;
|
3
|
+
height: 0.1px;
|
4
|
+
opacity: 0;
|
5
|
+
overflow: hidden;
|
6
|
+
position: absolute;
|
7
|
+
z-index: -1;
|
8
|
+
}
|
9
|
+
|
10
|
+
|
11
|
+
.inputfile + label {
|
12
|
+
white-space: nowrap;
|
13
|
+
cursor: pointer;
|
14
|
+
display: inline-block;
|
15
|
+
overflow: hidden;
|
16
|
+
margin: 0 0 -5px 0;
|
17
|
+
@include border-radius($border-radius);
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
.no-js .inputfile + label {
|
22
|
+
display: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
.inputfile:focus + label,
|
26
|
+
.inputfile.has-focus + label {
|
27
|
+
outline: 1px dotted #000;
|
28
|
+
outline: -webkit-focus-ring-color auto 5px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.inputfile + label * {
|
32
|
+
/* pointer-events: none; */
|
33
|
+
/* in case of FastClick lib use */
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
/* BIG style */
|
38
|
+
|
39
|
+
.inputfile.big + label {
|
40
|
+
width: 100%;
|
41
|
+
padding: $spacer*2 $spacer;
|
42
|
+
color: $brand-primary;
|
43
|
+
background-color: $gray-lighter;
|
44
|
+
text-align: center;
|
45
|
+
|
46
|
+
i {
|
47
|
+
margin-bottom: $spacer/2;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
.inputfile.big:focus + label,
|
54
|
+
.inputfile.big.has-focus + label,
|
55
|
+
.inputfile.big + label:hover {
|
56
|
+
background-color: lighten($gray-lighter, 2%);
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
/* Medium style */
|
61
|
+
|
62
|
+
.inputfile.medium + label {
|
63
|
+
width: 100%;
|
64
|
+
padding: $spacer/2;
|
65
|
+
color: $brand-primary;
|
66
|
+
background-color: $gray-lighter;
|
67
|
+
}
|
68
|
+
|
69
|
+
.inputfile.medium:focus + label,
|
70
|
+
.inputfile.medium.has-focus + label,
|
71
|
+
.inputfile.medium + label:hover {
|
72
|
+
border-color: #722040;
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
.inputfile.medium + label span {
|
77
|
+
display: inline-block;
|
78
|
+
text-overflow: ellipsis;
|
79
|
+
white-space: nowrap;
|
80
|
+
overflow: hidden;
|
81
|
+
vertical-align: middle;
|
82
|
+
padding: $spacer/4 0;
|
83
|
+
color: $gray;
|
84
|
+
}
|
85
|
+
.inputfile.medium + label .btn {
|
86
|
+
float: right;
|
87
|
+
}
|
@@ -0,0 +1,149 @@
|
|
1
|
+
.nestable-list {
|
2
|
+
position: relative;
|
3
|
+
padding: 0;
|
4
|
+
margin: 0;
|
5
|
+
list-style: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
.nestable-list .nestable-list { padding-left: $spacer*1.5; }
|
9
|
+
.nestable-collapsed .nestable-list { display: none; }
|
10
|
+
|
11
|
+
.nestable-item,
|
12
|
+
.nestable-empty,
|
13
|
+
.nestable-placeholder {
|
14
|
+
display: block;
|
15
|
+
position: relative;
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
.nestable-handle {
|
20
|
+
display: block;
|
21
|
+
margin: $spacer/2 0;
|
22
|
+
padding: $spacer/2 $spacer/2 $spacer/2 $spacer*1.6666;
|
23
|
+
background-color: $gray-lighter;
|
24
|
+
border: 1px solid transparent;
|
25
|
+
cursor: move;
|
26
|
+
@include border-radius($border-radius-sm);
|
27
|
+
|
28
|
+
&:hover {
|
29
|
+
opacity: 0.7;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
|
34
|
+
.nestable-item > button {
|
35
|
+
position: relative;
|
36
|
+
cursor: pointer;
|
37
|
+
float: left;
|
38
|
+
width: 32px;
|
39
|
+
margin: 0 $spacer/10 0 $spacer*1.5;
|
40
|
+
padding: $spacer/2 0 $spacer/2 $spacer/2;
|
41
|
+
text-indent: -9999px;
|
42
|
+
white-space: nowrap;
|
43
|
+
overflow: hidden;
|
44
|
+
border: 0;
|
45
|
+
z-index: 99;
|
46
|
+
background: transparent;
|
47
|
+
}
|
48
|
+
.nestable-item > button:before {
|
49
|
+
display: block;
|
50
|
+
margin-top: 5px;
|
51
|
+
position: absolute;
|
52
|
+
font-family: 'FontAwesome';
|
53
|
+
font-size: 0.9em;
|
54
|
+
content: '\f067'; // Font Awesome plus icon
|
55
|
+
color: rgba($gray-dark,0.5);
|
56
|
+
text-indent: 0;
|
57
|
+
}
|
58
|
+
.nestable-item > button[data-action="collapse"]:before {
|
59
|
+
content: '\f068'; // Font Awesome minus icon
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
.nestable-placeholder,
|
64
|
+
.nestable-empty {
|
65
|
+
margin: 5px 0;
|
66
|
+
padding: 0;
|
67
|
+
min-height: 30px;
|
68
|
+
background: $gray-lightest;
|
69
|
+
border: 2px dashed $gray-light;
|
70
|
+
}
|
71
|
+
|
72
|
+
.nestable-empty {
|
73
|
+
border: 1px dashed #bbb;
|
74
|
+
min-height: 100px;
|
75
|
+
background-color: transparent;
|
76
|
+
}
|
77
|
+
|
78
|
+
.nestable-dragel {
|
79
|
+
position: absolute;
|
80
|
+
pointer-events: none;
|
81
|
+
z-index: 9999;
|
82
|
+
|
83
|
+
.nestable-handle { opacity: 0.7; }
|
84
|
+
.small-action-btn-group { display: none; }
|
85
|
+
}
|
86
|
+
|
87
|
+
.nestable-dragel > .nestable-item .nestable-handle { margin-top: 0; }
|
88
|
+
|
89
|
+
.nestable-dragel .nestable-handle {
|
90
|
+
@include box-shadow(0 6px 12px rgba(0,0,0,.175));
|
91
|
+
}
|
92
|
+
|
93
|
+
// Drag handle (main styling is done in sortable.scss)
|
94
|
+
|
95
|
+
.nestable-item .fa.drag-handle {
|
96
|
+
position: absolute;
|
97
|
+
top: $spacer/1.3333;
|
98
|
+
left: $spacer/1.3333;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// Background variants
|
103
|
+
.nestable-primary .nestable-handle {
|
104
|
+
@include nestable-variant($brand-primary, $brand-primary);
|
105
|
+
}
|
106
|
+
.nestable-success .nestable-handle {
|
107
|
+
@include nestable-variant($brand-success, $brand-success);
|
108
|
+
}
|
109
|
+
.nestable-info .nestable-handle {
|
110
|
+
@include nestable-variant($brand-info, $brand-info);
|
111
|
+
}
|
112
|
+
.nestable-warning .nestable-handle {
|
113
|
+
@include nestable-variant($brand-warning, $brand-warning);
|
114
|
+
}
|
115
|
+
.nestable-danger .nestable-handle {
|
116
|
+
@include nestable-variant($brand-danger, $brand-danger);
|
117
|
+
}
|
118
|
+
|
119
|
+
// Remove all backgrounds
|
120
|
+
.nestable-primary-outline {
|
121
|
+
@include nestable-outline-variant($btn-primary-bg);
|
122
|
+
}
|
123
|
+
.nestable-secondary-outline {
|
124
|
+
@include nestable-outline-variant($btn-secondary-border);
|
125
|
+
}
|
126
|
+
.nestable-info-outline {
|
127
|
+
@include nestable-outline-variant($btn-info-bg);
|
128
|
+
}
|
129
|
+
.nestable-success-outline {
|
130
|
+
@include nestable-outline-variant($btn-success-bg);
|
131
|
+
}
|
132
|
+
.nestable-warning-outline {
|
133
|
+
@include nestable-outline-variant($btn-warning-bg);
|
134
|
+
}
|
135
|
+
.nestable-danger-outline {
|
136
|
+
@include nestable-outline-variant($btn-danger-bg);
|
137
|
+
}
|
138
|
+
|
139
|
+
//
|
140
|
+
// Inverse text within a nestable for use with dark backgrounds
|
141
|
+
//
|
142
|
+
|
143
|
+
.nestable-inverse {
|
144
|
+
color: white;
|
145
|
+
.small-action-btn-group .btn,
|
146
|
+
button:before {
|
147
|
+
color: white;
|
148
|
+
}
|
149
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
.page-header {
|
3
|
+
// background: rgba(red,0.1);
|
4
|
+
padding-bottom: $spacer;
|
5
|
+
-webkit-transform-style: preserve-3d;
|
6
|
+
-moz-transform-style: preserve-3d;
|
7
|
+
transform-style: preserve-3d;
|
8
|
+
|
9
|
+
// Override bootstrap breadcrumb CSS
|
10
|
+
.breadcrumb {
|
11
|
+
padding: 0;
|
12
|
+
margin: $spacer/4 0;
|
13
|
+
background: transparent;
|
14
|
+
|
15
|
+
a:hover {
|
16
|
+
text-decoration: none;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
h1 {
|
21
|
+
margin: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
.page-header-actions {
|
25
|
+
position: absolute;
|
26
|
+
right: $spacer/1.5;
|
27
|
+
top: 50%;
|
28
|
+
@include transform(translateY(-50%));
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
.small-action-btn-group {
|
2
|
+
display: inline-block;
|
3
|
+
padding: 0 !important;
|
4
|
+
text-align: right !important;
|
5
|
+
|
6
|
+
.btn {
|
7
|
+
position: relative;
|
8
|
+
margin: 0;
|
9
|
+
font-size: 0.8em;
|
10
|
+
padding: $spacer/4;
|
11
|
+
opacity: 0.8;
|
12
|
+
line-height: 1rem;
|
13
|
+
border: none;
|
14
|
+
box-shadow: none;
|
15
|
+
&.btn-link {
|
16
|
+
color: $gray-dark;
|
17
|
+
padding: $spacer/4 $spacer/6;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.dropdown-menu {
|
22
|
+
font-size: 0.9em;
|
23
|
+
}
|
24
|
+
.dropdown-toggle {
|
25
|
+
i { font-size: 1.1em; }
|
26
|
+
&:after { display: none; }
|
27
|
+
}
|
28
|
+
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
table .small-action-btn-group {
|
33
|
+
display: table-cell;
|
34
|
+
vertical-align: middle !important;
|
35
|
+
}
|
36
|
+
|
37
|
+
.nestable .small-action-btn-group {
|
38
|
+
position: absolute;
|
39
|
+
top: $spacer/2;
|
40
|
+
right: $spacer/2;
|
41
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
|
2
|
+
.sortable-placeholder {
|
3
|
+
background: $gray-lightest;
|
4
|
+
border: 2px dashed $gray-light;
|
5
|
+
}
|
6
|
+
|
7
|
+
[class*="sortable"] > * {
|
8
|
+
cursor: move;
|
9
|
+
}
|
10
|
+
|
11
|
+
/*
|
12
|
+
Drag-handles
|
13
|
+
Using Font Awesome classes. The .drag-handle content is the icon fa-ellipsis-v used twice.
|
14
|
+
*/
|
15
|
+
|
16
|
+
.fa.drag-handle {
|
17
|
+
margin-top: -$spacer/2;
|
18
|
+
margin-right: 0;
|
19
|
+
margin-bottom: -$spacer/2;
|
20
|
+
margin-left: -$spacer/1.5;
|
21
|
+
padding: $spacer/2 $spacer/2 $spacer/2 $spacer/1.5;
|
22
|
+
cursor: move;
|
23
|
+
color: rgba($gray-dark,0.5);
|
24
|
+
}
|
25
|
+
|
26
|
+
.fa.drag-handle:before {
|
27
|
+
letter-spacing: 2px;
|
28
|
+
content: "\f142\f142";
|
29
|
+
}
|
30
|
+
|
31
|
+
button .fa.drag-handle {
|
32
|
+
margin: 0;
|
33
|
+
padding: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
/*
|
38
|
+
This code snippet searches for divs containing classes with the word "sortable". This means
|
39
|
+
every .card div inside a sortable container will inherit the properties and values.
|
40
|
+
|
41
|
+
Divs with .card will disappear when included with sortable (jQuery plugin) because of its
|
42
|
+
relative positioning. This will fix this. But it may screw up other things.
|
43
|
+
*/
|
44
|
+
|
45
|
+
div[class*="sortable"] .card {
|
46
|
+
position: static;
|
47
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@import 'bourbon';
|
2
|
+
@import 'variables';
|
3
|
+
@import "bootstrap";
|
4
|
+
@import 'mixins/nestable';
|
5
|
+
|
6
|
+
@import 'components/header-navbar';
|
7
|
+
@import 'components/sidebar';
|
8
|
+
@import 'components/page-header';
|
9
|
+
@import 'components/card';
|
10
|
+
@import 'components/btn-circle';
|
11
|
+
@import 'components/small-action-btns';
|
12
|
+
@import 'components/action-toolbar';
|
13
|
+
@import 'components/file-input';
|
14
|
+
@import 'components/nestable';
|
15
|
+
@import 'components/sortable';
|