scss_ninja 0.1.0 → 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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +78 -4
- data/app/assets/stylesheets/border&radius.scss +174 -0
- data/app/assets/stylesheets/cards.scss +119 -0
- data/app/assets/stylesheets/carousel.scss +61 -0
- data/app/assets/stylesheets/columns.scss +228 -0
- data/app/assets/stylesheets/css/border&radius.css +228 -0
- data/app/assets/stylesheets/css/buttons.css +72 -0
- data/app/assets/stylesheets/css/cards.css +157 -0
- data/app/assets/stylesheets/css/carousel.css +13872 -0
- data/app/assets/stylesheets/css/columns.css +438 -0
- data/app/assets/stylesheets/css/forms.css +46 -0
- data/app/assets/stylesheets/css/heights.css +80 -0
- data/app/assets/stylesheets/css/margins&paddings.css +390 -0
- data/app/assets/stylesheets/css/modals.css +58 -0
- data/app/assets/stylesheets/css/nav.css +259 -0
- data/app/assets/stylesheets/css/opacity.css +40 -0
- data/app/assets/stylesheets/css/scss_ninja.css +14 -0
- data/app/assets/stylesheets/css/slidebtn.css +59 -0
- data/app/assets/stylesheets/css/tables.css +610 -0
- data/app/assets/stylesheets/css/texts&backgrounds.css +392 -0
- data/app/assets/stylesheets/forms.scss +40 -0
- data/app/assets/stylesheets/margins&paddings.scss +174 -30
- data/app/assets/stylesheets/modals.scss +53 -0
- data/app/assets/stylesheets/nav.scss +248 -0
- data/app/assets/stylesheets/opacity.scss +5 -0
- data/app/assets/stylesheets/scss_ninja.scss +8 -474
- data/app/assets/stylesheets/tables.scss +571 -0
- data/app/assets/stylesheets/texts&backgrounds.scss +12 -0
- data/lib/scss_ninja/version.rb +1 -1
- data/scss_ninja-0.1.0.gem +0 -0
- metadata +26 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8ea5afdee4c17163da578e58261f2dc3b397897ab1362fe7f3d775801fa0091
|
4
|
+
data.tar.gz: 620e5c4c4f3beeb89956b198011a184d9616a0b9c21d0e371a47deffb8b85e23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eed13e61bb890a1f4000f155280c296546cb951d724c94bf78a7bdb24a9808ae25a726302dcbdd09b3ed2875c727c80c0be114a0a0e5a90c6a182d930f362586
|
7
|
+
data.tar.gz: '082c9fe830ae56c2d37d4a849af9af78dc47ca6b3d2e1b800198b1aa0bbc98d717a9679c50fa2c81ab31b952e7e5efef4c7e6bc277fb70d1766b7b89ff91f482'
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Welcome to your new gem! In this directory, you'll find the files you need to be
|
|
4
4
|
|
5
5
|
TODO: Delete this and the text above, and describe your gem
|
6
6
|
|
7
|
-
## Installation
|
7
|
+
## Installation for Ruby on Rails Projects
|
8
8
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
@@ -20,9 +20,83 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
$ gem install scss_ninja
|
22
22
|
|
23
|
+
## Installation for Pure html Projects
|
24
|
+
|
25
|
+
- add the following line of code to your html document`s head
|
26
|
+
|
27
|
+
```html
|
28
|
+
<link rel="stylesheet" href="https://tongoonamujera.github.io/scss_ninja/app/assets/stylesheets/css/scss_ninja.css">
|
29
|
+
```
|
30
|
+
|
23
31
|
## Usage
|
24
32
|
|
25
|
-
|
33
|
+
- This gem is used for stylesheets
|
34
|
+
|
35
|
+
- for rails projects add the following code to any scss file `@import 'scss_ninja';`
|
36
|
+
|
37
|
+
- complete usage instructions to come!!!!!!!!!!!!!
|
38
|
+
|
39
|
+
- ## Margins
|
40
|
+
|
41
|
+
|lowest margin class| highest margin class| explanation|
|
42
|
+
|:-----------------:|:-------------------:|:----------:|
|
43
|
+
|`m-1` | `m-5` |add margin around the whole element|
|
44
|
+
|`mt-1` | `mt-5` |margin-top|
|
45
|
+
|`mr-1` | `mr-5` |margin-right|
|
46
|
+
|`mb-1` | `mb-5` |margin-bottom|
|
47
|
+
|`ml-1` | `ml-5` |margin-left|
|
48
|
+
|
49
|
+
- ## Paddings
|
50
|
+
|
51
|
+
|lowest padding class| highest padding class| explanation|
|
52
|
+
|:------------------:|:--------------------:|:----------:|
|
53
|
+
|`p-1` | `p-5` |add padding around the whole element|
|
54
|
+
|`pt-1` | `pt-5` |padding-top|
|
55
|
+
|`pr-1` | `pr-5` |padding-right|
|
56
|
+
|`pb-1` | `pb-5` |padding-bottom|
|
57
|
+
|`pl-1` | `pl-5` |paddding-left|
|
58
|
+
|
59
|
+
- ## Backgrounds
|
60
|
+
|
61
|
+
|background-color| class | color |
|
62
|
+
|:--------------:|:-------------------:|:----------:|
|
63
|
+
|red | `bg-red` ||
|
64
|
+
|orange |`bg-orn`|
|
65
|
+
|green |`bg-suc`|
|
66
|
+
|pink |`bg-pnk`|
|
67
|
+
|blue |`bg-info`|
|
68
|
+
|cyan |`bg-pri`|
|
69
|
+
|
70
|
+
- ## Columns
|
71
|
+
|
72
|
+
| class |% width relative to container|
|
73
|
+
|:------------------:|:---------------------------:|
|
74
|
+
|`column-1` | 8.33 |
|
75
|
+
|`column-2` | 16.67 |
|
76
|
+
|`column-3` | 25 |
|
77
|
+
|`column-4` | 33.33 |
|
78
|
+
|`column-5` | 41.67 |
|
79
|
+
|`column-6` | 50 |
|
80
|
+
|`column-7` | 58.33 |
|
81
|
+
|`column-8` | 66.67 |
|
82
|
+
|`column-9` | 75 |
|
83
|
+
|`column-10` | 83.33 |
|
84
|
+
|`column-11` | 91.67 |
|
85
|
+
|`column-12` | 100 |
|
86
|
+
|
87
|
+
```diff
|
88
|
+
- columns start from 1 to 12, the width increases as the number increases
|
89
|
+
```
|
90
|
+
|
91
|
+
- ## Heights and Widths
|
92
|
+
|
93
|
+
|lowest height class| highest height class| explanation|
|
94
|
+
|:-----------------:|:-------------------:|:----------:|
|
95
|
+
|`h-1` | `h-10` |height for an element|
|
96
|
+
|
97
|
+
|lowest width class| highest width class| explanation|
|
98
|
+
|:----------------:|:------------------:|:----------:|
|
99
|
+
|`w-1` | `w-10` |width for an element|
|
26
100
|
|
27
101
|
## Development
|
28
102
|
|
@@ -32,7 +106,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
106
|
|
33
107
|
## Contributing
|
34
108
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at
|
109
|
+
Bug reports and pull requests are welcome on GitHub [at](https://github.com/tongoonamujera/scss_ninja). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/tongoonamujera/scss_ninja/blob/main/CODE_OF_CONDUCT.md).
|
36
110
|
|
37
111
|
## License
|
38
112
|
|
@@ -40,4 +114,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
114
|
|
41
115
|
## Code of Conduct
|
42
116
|
|
43
|
-
Everyone interacting in the ScssNinja project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
117
|
+
Everyone interacting in the ScssNinja project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/tongoonamujera/scss_ninja/blob/main/CODE_OF_CONDUCT.md).
|
@@ -0,0 +1,174 @@
|
|
1
|
+
@for $i from 1 through 5 {
|
2
|
+
@if $i == 5 {
|
3
|
+
.br-r {
|
4
|
+
border-radius: $i * 20%;
|
5
|
+
}
|
6
|
+
|
7
|
+
.bbrr-r {
|
8
|
+
border-bottom-right-radius: $i * 1rem;
|
9
|
+
}
|
10
|
+
|
11
|
+
.btrr-r {
|
12
|
+
border-top-right-radius: $i * 1rem;
|
13
|
+
}
|
14
|
+
|
15
|
+
.btlr-r {
|
16
|
+
border-top-right-radius: $i * 1rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
.bblr-r {
|
20
|
+
border-top-right-radius: $i * 1rem;
|
21
|
+
}
|
22
|
+
} @else {
|
23
|
+
.br-#{$i} {
|
24
|
+
border-radius: $i * 1rem;
|
25
|
+
}
|
26
|
+
|
27
|
+
.bbrr-#{$i} {
|
28
|
+
border-bottom-right-radius: $i * 1rem;
|
29
|
+
}
|
30
|
+
|
31
|
+
.btrr-#{$i} {
|
32
|
+
border-top-right-radius: $i * 1rem;
|
33
|
+
}
|
34
|
+
|
35
|
+
.btlr-#{$i} {
|
36
|
+
border-top-right-radius: $i * 1rem;
|
37
|
+
}
|
38
|
+
|
39
|
+
.bblr-#{$i} {
|
40
|
+
border-top-right-radius: $i * 1rem;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.bt-red {
|
46
|
+
border-top: 1px solid red;
|
47
|
+
}
|
48
|
+
|
49
|
+
.bt-pnk {
|
50
|
+
border-top: 1px solid rgb(163, 12, 151);
|
51
|
+
}
|
52
|
+
|
53
|
+
.bt-orn {
|
54
|
+
border-top: 1px solid orange;
|
55
|
+
}
|
56
|
+
|
57
|
+
.bt-pri {
|
58
|
+
border-top: 1px solid cyan;
|
59
|
+
}
|
60
|
+
|
61
|
+
.bt-info {
|
62
|
+
border-top: 1px solid blue;
|
63
|
+
}
|
64
|
+
|
65
|
+
.bt-light {
|
66
|
+
border-top: 1px solid gray;
|
67
|
+
}
|
68
|
+
|
69
|
+
.bt-dark {
|
70
|
+
border-top: 1px solid black;
|
71
|
+
}
|
72
|
+
|
73
|
+
.bt-dark {
|
74
|
+
border-top: 1px solid white;
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
.bl-red {
|
79
|
+
border-left: 1px solid red;
|
80
|
+
}
|
81
|
+
|
82
|
+
.bl-pnk {
|
83
|
+
border-left: 1px solid rgb(163, 12, 151);
|
84
|
+
}
|
85
|
+
|
86
|
+
.bl-orn {
|
87
|
+
border-left: 1px solid orange;
|
88
|
+
}
|
89
|
+
|
90
|
+
.bl-pri {
|
91
|
+
border-left: 1px solid cyan;
|
92
|
+
}
|
93
|
+
|
94
|
+
.bl-info {
|
95
|
+
border-left: 1px solid blue;
|
96
|
+
}
|
97
|
+
|
98
|
+
.bl-light {
|
99
|
+
border-left: 1px solid gray;
|
100
|
+
}
|
101
|
+
|
102
|
+
.bl-dark {
|
103
|
+
border-left: 1px solid black;
|
104
|
+
}
|
105
|
+
|
106
|
+
.bl-dark {
|
107
|
+
border-left: 1px solid white;
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
.bb-red {
|
112
|
+
border-bottom: 1px solid red;
|
113
|
+
}
|
114
|
+
|
115
|
+
.bb-pnk {
|
116
|
+
border-bottom: 1px solid rgb(163, 12, 151);
|
117
|
+
}
|
118
|
+
|
119
|
+
.bb-orn {
|
120
|
+
border-bottom: 1px solid orange;
|
121
|
+
}
|
122
|
+
|
123
|
+
.bb-pri {
|
124
|
+
border-bottom: 1px solid cyan;
|
125
|
+
}
|
126
|
+
|
127
|
+
.bb-info {
|
128
|
+
border-bottom: 1px solid blue;
|
129
|
+
}
|
130
|
+
|
131
|
+
.bb-light {
|
132
|
+
border-bottom: 1px solid gray;
|
133
|
+
}
|
134
|
+
|
135
|
+
.bb-dark {
|
136
|
+
border-bottom: 1px solid black;
|
137
|
+
}
|
138
|
+
|
139
|
+
.bb-dark {
|
140
|
+
border-bottom: 1px solid white;
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
.br-red {
|
145
|
+
border-right: 1px solid red;
|
146
|
+
}
|
147
|
+
|
148
|
+
.br-pnk {
|
149
|
+
border-right: 1px solid rgb(163, 12, 151);
|
150
|
+
}
|
151
|
+
|
152
|
+
.br-orn {
|
153
|
+
border-right: 1px solid orange;
|
154
|
+
}
|
155
|
+
|
156
|
+
.br-pri {
|
157
|
+
border-right: 1px solid cyan;
|
158
|
+
}
|
159
|
+
|
160
|
+
.br-info {
|
161
|
+
border-right: 1px solid blue;
|
162
|
+
}
|
163
|
+
|
164
|
+
.br-light {
|
165
|
+
border-right: 1px solid gray;
|
166
|
+
}
|
167
|
+
|
168
|
+
.br-dark {
|
169
|
+
border-right: 1px solid black;
|
170
|
+
}
|
171
|
+
|
172
|
+
.br-dark {
|
173
|
+
border-right: 1px solid white;
|
174
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
/* ####### Styles for card ######## */
|
2
|
+
|
3
|
+
.card {
|
4
|
+
width: 94%;
|
5
|
+
display: flex;
|
6
|
+
border: 1px solid rgb(226, 222, 222);
|
7
|
+
border-radius: 20px;
|
8
|
+
padding: 0 3% 3% 0;
|
9
|
+
box-shadow: 5px 10px rgb(233, 232, 232);
|
10
|
+
|
11
|
+
.aside {
|
12
|
+
display: flex;
|
13
|
+
flex-direction: column;
|
14
|
+
align-items: center;
|
15
|
+
margin-left: 0;
|
16
|
+
padding-left: 0;
|
17
|
+
border: inherit;
|
18
|
+
border-top-left-radius: inherit;
|
19
|
+
font-family: 'Times New Roman', Times, serif;
|
20
|
+
|
21
|
+
.aside-header {
|
22
|
+
margin-top: 0%;
|
23
|
+
}
|
24
|
+
|
25
|
+
.aside-body {
|
26
|
+
width: 100%;
|
27
|
+
display: flex;
|
28
|
+
flex-direction: column;
|
29
|
+
justify-content: space-evenly;
|
30
|
+
align-items: center;
|
31
|
+
margin-left: 10px;
|
32
|
+
padding-left: 0;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.body {
|
37
|
+
display: flex;
|
38
|
+
flex-direction: column;
|
39
|
+
|
40
|
+
.card-header {
|
41
|
+
font-weight: 900;
|
42
|
+
text-align: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
.card-content {
|
46
|
+
width: 100%;
|
47
|
+
margin-left: 0.9%;
|
48
|
+
}
|
49
|
+
|
50
|
+
.card-footer {
|
51
|
+
display: flex;
|
52
|
+
justify-content: space-evenly;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.cards {
|
58
|
+
width: 100%;
|
59
|
+
background-color: rgb(245, 238, 238);
|
60
|
+
color: black;
|
61
|
+
border-radius: 10px;
|
62
|
+
position: relative;
|
63
|
+
height: 100%;
|
64
|
+
|
65
|
+
.card-header {
|
66
|
+
background-color: rgb(187, 184, 184);
|
67
|
+
width: 100%;
|
68
|
+
border-top-left-radius: inherit;
|
69
|
+
border-top-right-radius: inherit;
|
70
|
+
position: absolute;
|
71
|
+
top: 0;
|
72
|
+
left: auto;
|
73
|
+
height: 20%;
|
74
|
+
font-weight: 900;
|
75
|
+
box-shadow: 0 5px rgb(231, 229, 229);
|
76
|
+
|
77
|
+
.card-header-content {
|
78
|
+
width: fit-content;
|
79
|
+
height: 70%;
|
80
|
+
margin: auto auto auto auto;
|
81
|
+
transform: translateY(50%);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.card-body {
|
86
|
+
margin-left: 3%;
|
87
|
+
margin-right: 3%;
|
88
|
+
position: absolute;
|
89
|
+
top: 22%;
|
90
|
+
width: fit-content;
|
91
|
+
max-width: inherit;
|
92
|
+
height: 63%;
|
93
|
+
border-radius: inherit;
|
94
|
+
// background-color: rgb(120, 9, 134);
|
95
|
+
|
96
|
+
.card-body-content {
|
97
|
+
width: fit-content;
|
98
|
+
margin: auto auto auto auto;
|
99
|
+
text-align: center;
|
100
|
+
padding: 1%;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.card-footer {
|
105
|
+
position: absolute;
|
106
|
+
bottom: 0;
|
107
|
+
height: 13%;
|
108
|
+
width: 100%;
|
109
|
+
background-color: rgb(224, 222, 222);
|
110
|
+
border-bottom-left-radius: inherit;
|
111
|
+
border-bottom-right-radius: inherit;
|
112
|
+
display: flex;
|
113
|
+
.card-footer-content {
|
114
|
+
width: auto;
|
115
|
+
margin: auto;
|
116
|
+
padding: 2% 1% 2% 1%;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -153,4 +153,65 @@
|
|
153
153
|
}
|
154
154
|
}
|
155
155
|
}
|
156
|
+
}
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
.pagination {
|
164
|
+
width: inherit;
|
165
|
+
height: 100%;
|
166
|
+
position: relative;
|
167
|
+
display: flex;
|
168
|
+
flex-direction: column;
|
169
|
+
align-items: center;
|
170
|
+
justify-content: center;
|
171
|
+
|
172
|
+
@for $i from 1 through 10 {
|
173
|
+
.input-#{$i} {
|
174
|
+
display: none;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
@for $i from 1 through 10 {
|
179
|
+
.page-#{$i} {
|
180
|
+
position: absolute;
|
181
|
+
top: 0;
|
182
|
+
width: 100%;
|
183
|
+
display: none;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
@for $i from 1 through 10 {
|
188
|
+
.input-#{$i}:checked ~ .page-#{$i} {
|
189
|
+
display: block;
|
190
|
+
}
|
191
|
+
|
192
|
+
.input-#{$i}:checked ~ .pagination-control > .lab-#{$i} {
|
193
|
+
background-color: rgb(219, 51, 9);
|
194
|
+
color: lemonchiffon;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
.pagination-control {
|
199
|
+
position: absolute;
|
200
|
+
bottom: 0;
|
201
|
+
transform: translateY(90%);
|
202
|
+
width: 100%;
|
203
|
+
height: 10%;
|
204
|
+
display: flex;
|
205
|
+
justify-content: center;
|
206
|
+
|
207
|
+
@for $i from 1 through 10 {
|
208
|
+
.lab-#{$i} {
|
209
|
+
width: fit-content;
|
210
|
+
padding: 0.7rem 0.5rem 0.7rem 0.5rem;
|
211
|
+
background-color: rgb(73, 65, 6);
|
212
|
+
border-radius: 5px;
|
213
|
+
margin: auto;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
156
217
|
}
|
@@ -0,0 +1,228 @@
|
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
width: 100vw;
|
4
|
+
height: 100vh;
|
5
|
+
padding: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
.flex-col {
|
9
|
+
display: flex;
|
10
|
+
flex-direction: column;
|
11
|
+
}
|
12
|
+
|
13
|
+
.has-text-centered {
|
14
|
+
text-align: center;
|
15
|
+
align-content: center;
|
16
|
+
width: 100%;
|
17
|
+
}
|
18
|
+
|
19
|
+
.is-fullwidth {
|
20
|
+
width: inherit;
|
21
|
+
}
|
22
|
+
|
23
|
+
.submit {
|
24
|
+
padding-left: 2.5rem;
|
25
|
+
padding-right: 2.5rem;
|
26
|
+
padding-top: 0.7rem;
|
27
|
+
padding-bottom: 0.7rem;
|
28
|
+
font-size: 17px;
|
29
|
+
font-weight: 900;
|
30
|
+
border: 1px solid rgb(9, 231, 194);
|
31
|
+
border-radius: 7px;
|
32
|
+
color: white;
|
33
|
+
margin-bottom: 1.2rem;
|
34
|
+
text-align: center;
|
35
|
+
text-decoration: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
.main {
|
39
|
+
margin: 0;
|
40
|
+
height: 84%;
|
41
|
+
width: 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
.button {
|
45
|
+
padding: 0.7rem 2.5rem 0.7rem 2.5rem;
|
46
|
+
font-size: 17px;
|
47
|
+
font-weight: 900;
|
48
|
+
background-color: #000000;
|
49
|
+
border: 1px solid rgb(9, 231, 194);
|
50
|
+
border-radius: 7px;
|
51
|
+
color: white;
|
52
|
+
text-decoration: none;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* ################ Styles for columns ################# */
|
56
|
+
|
57
|
+
$column: 12;
|
58
|
+
|
59
|
+
@for $i from 1 through $column {
|
60
|
+
@if $column <= 11 {
|
61
|
+
.column-#{$i} {
|
62
|
+
width: (99% * ($i / $column));
|
63
|
+
height: inherit;
|
64
|
+
margin-right: 0 0.5% 0 0.5%;
|
65
|
+
}
|
66
|
+
} @else {
|
67
|
+
.column-#{$i} {
|
68
|
+
width: (100% * ($i / $column));
|
69
|
+
height: inherit;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.columns {
|
75
|
+
width: 100%;
|
76
|
+
height: fit-content;
|
77
|
+
}
|
78
|
+
|
79
|
+
.is-centered {
|
80
|
+
margin-left: auto;
|
81
|
+
margin-right: auto;
|
82
|
+
}
|
83
|
+
|
84
|
+
@media only screen and (max-width: 576px) {
|
85
|
+
$column: 12;
|
86
|
+
|
87
|
+
@for $i from 1 through $column {
|
88
|
+
@if $column <= 11 {
|
89
|
+
.m-column-#{$i} {
|
90
|
+
width: (99% * ($i / $column)) !important;
|
91
|
+
height: inherit;
|
92
|
+
margin-right: 0 0.5% 0 0.5%;
|
93
|
+
}
|
94
|
+
} @else {
|
95
|
+
.m-column-#{$i} {
|
96
|
+
width: (100% * ($i / $column)) !important;
|
97
|
+
height: inherit;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.columns {
|
103
|
+
width: 100%;
|
104
|
+
height: fit-content;
|
105
|
+
}
|
106
|
+
|
107
|
+
.is-centered {
|
108
|
+
margin-left: auto;
|
109
|
+
margin-right: auto;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
@media only screen and(min-width: 577px) and (max-width: 768px) {
|
115
|
+
$column: 12;
|
116
|
+
|
117
|
+
@for $i from 1 through $column {
|
118
|
+
@if $column <= 11 {
|
119
|
+
.lm-column-#{$i} {
|
120
|
+
width: (99% * ($i / $column));
|
121
|
+
height: inherit;
|
122
|
+
margin-right: 0 0.5% 0 0.5%;
|
123
|
+
}
|
124
|
+
} @else {
|
125
|
+
.lm-column-#{$i} {
|
126
|
+
width: (100% * ($i / $column));
|
127
|
+
height: inherit;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
.columns {
|
133
|
+
width: 100%;
|
134
|
+
height: fit-content;
|
135
|
+
}
|
136
|
+
|
137
|
+
.is-centered {
|
138
|
+
margin-left: auto;
|
139
|
+
margin-right: auto;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
@media only screen and(min-width: 769px) and (max-width: 992px) {
|
144
|
+
$column: 12;
|
145
|
+
|
146
|
+
@for $i from 1 through $column {
|
147
|
+
@if $column <= 11 {
|
148
|
+
.t-column-#{$i} {
|
149
|
+
width: (99% * ($i / $column));
|
150
|
+
height: inherit;
|
151
|
+
margin-right: 0 0.5% 0 0.5%;
|
152
|
+
}
|
153
|
+
} @else {
|
154
|
+
.t-column-#{$i} {
|
155
|
+
width: (100% * ($i / $column));
|
156
|
+
height: inherit;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
.columns {
|
162
|
+
width: 100%;
|
163
|
+
height: fit-content;
|
164
|
+
}
|
165
|
+
|
166
|
+
.is-centered {
|
167
|
+
margin-left: auto;
|
168
|
+
margin-right: auto;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
@media only screen and(min-width: 992px) and (max-width: 1200px) {
|
173
|
+
$column: 12;
|
174
|
+
|
175
|
+
@for $i from 1 through $column {
|
176
|
+
@if $column <= 11 {
|
177
|
+
.d-column-#{$i} {
|
178
|
+
width: (99% * ($i / $column));
|
179
|
+
height: inherit;
|
180
|
+
margin-right: 0 0.5% 0 0.5%;
|
181
|
+
}
|
182
|
+
} @else {
|
183
|
+
.d-column-#{$i} {
|
184
|
+
width: (100% * ($i / $column));
|
185
|
+
height: inherit;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.columns {
|
191
|
+
width: 100%;
|
192
|
+
height: fit-content;
|
193
|
+
}
|
194
|
+
|
195
|
+
.is-centered {
|
196
|
+
margin-left: auto;
|
197
|
+
margin-right: auto;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
@media only screen and (min-width: 1200px) {
|
202
|
+
$column: 12;
|
203
|
+
|
204
|
+
@for $i from 1 through $column {
|
205
|
+
@if $column <= 11 {
|
206
|
+
.ld-column-#{$i} {
|
207
|
+
width: (99% * ($i / $column));
|
208
|
+
height: inherit;
|
209
|
+
margin-right: 0 0.5% 0 0.5%;
|
210
|
+
}
|
211
|
+
} @else {
|
212
|
+
.ld-column-#{$i} {
|
213
|
+
width: (100% * ($i / $column));
|
214
|
+
height: inherit;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
.columns {
|
220
|
+
width: 100%;
|
221
|
+
height: fit-content;
|
222
|
+
}
|
223
|
+
|
224
|
+
.is-centered {
|
225
|
+
margin-left: auto;
|
226
|
+
margin-right: auto;
|
227
|
+
}
|
228
|
+
}
|