ethosstyles 0.1.7 → 0.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fce6d48c0b1e84d48868e7fc3acf162c690cbcdfe19c305e45358869f63a10f1
4
- data.tar.gz: 353b3934e32adeb483750fb900998a293bd9687d5785db0633aba5646894a4aa
3
+ metadata.gz: fe969d87f6846095e57c108adade9c3f0705c08753c58e4855fdaceb7ad55f25
4
+ data.tar.gz: a79685e98829f618b2cdcd797f0f45248c04f7d363051cb6df8612d1fde5c940
5
5
  SHA512:
6
- metadata.gz: 9fdea4fc7b5152a5d023e5df70101e810df854ba8f8a9ec4c388e659430a0c1554769fe94486ff7158d942ef86f1c22e11615bf1f2c2b08096c3a835b969a772
7
- data.tar.gz: 46ae3228d8549602f472c9641f69eebf47ca2a68fc01d99d74a6f3ecafc5f007759be99985772bc9465bde97f7edaa28e5e3d1361b7af547a83fbbd81b70fdcc
6
+ metadata.gz: 6546bf38bad4f8bbe483a1e4e0c086e02c47a187edfc544d82ab4fb392794c21736ee4f3eb2ca9c6f92176d510eef6f205a617a15a13f0259f03d4192067d9da
7
+ data.tar.gz: e5f560e091b08d544a915bbfef8b106c05bc41591abaf0475b9e5e98d521f4800b64a7ea25d32f361dd5ecae5d29e5652190acb06548d673ab6eeed28f507587
data/.gitignore CHANGED
@@ -5,3 +5,5 @@ _site
5
5
  *swp
6
6
  Gemfile.lock
7
7
  tmp
8
+
9
+ app/assets/compiled/
data/Dockerfile ADDED
@@ -0,0 +1,7 @@
1
+ FROM behance/docker-php:7.1
2
+
3
+ # (optional, recommended) Verify everything is in order from the parent
4
+ RUN goss -g /tests/php-fpm/7.1.goss.yaml validate && /aufs_hack.sh
5
+
6
+ # Layer local code into runtime
7
+ COPY ./ /app/
data/Makefile ADDED
@@ -0,0 +1,15 @@
1
+ export DOCKER_IP = $(shell which docker-machine > /dev/null 2>&1 && docker-machine ip $(DOCKER_MACHINE_NAME))
2
+
3
+ down:
4
+ docker stop stardust || true
5
+ docker rm -v $$(docker ps -a -q -f status=exited -f status=created) || true
6
+ up: down
7
+ docker run --name stardust -p 9090:8080 -d \
8
+ -v $$(pwd)/app:/app/public:ro \
9
+ stardust
10
+ build:
11
+ docker build -t stardust .
12
+ sass --watch app/assets/stylesheets:app/assets/compiled &
13
+ open:
14
+ open "http://$(DOCKER_IP):9090/views/"
15
+ dev: build up open
@@ -0,0 +1,12 @@
1
+ <svg version="1.1" id="loader-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
2
+ width="40px" height="40px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
3
+ <path fill="#0057ff" d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z">
4
+ <animateTransform attributeType="xml"
5
+ attributeName="transform"
6
+ type="rotate"
7
+ from="0 25 25"
8
+ to="360 25 25"
9
+ dur="0.8s"
10
+ repeatCount="indefinite"/>
11
+ </path>
12
+ </svg>
@@ -1,4 +1,9 @@
1
1
  @import 'settings/test';
2
+
3
+ @import 'lib/fontawesome/scss/fa-regular.scss';
4
+ @import 'lib/fontawesome/scss/fa-solid.scss';
5
+ @import 'lib/fontawesome/scss/fa-brands.scss';
6
+
2
7
  @import 'settings/variables';
3
8
 
4
9
  @import 'utilities/animations';
@@ -17,6 +22,7 @@
17
22
  @import 'components/lists';
18
23
  @import 'components/list-groups';
19
24
  @import 'components/logs';
25
+ @import 'components/modal';
20
26
  @import 'components/notices';
21
27
  @import 'components/panels';
22
28
  @import 'components/pills';
@@ -23,7 +23,8 @@ h2 {
23
23
  padding-bottom: 6px;
24
24
  }
25
25
 
26
- h3 {
26
+ h3,
27
+ %h3 {
27
28
  @include remove_bootstrap_styles();
28
29
  color: $charcoal;
29
30
  font-size: 14px;
@@ -32,7 +33,8 @@ h3 {
32
33
  padding-bottom: 6px;
33
34
  }
34
35
 
35
- h4 {
36
+ h4,
37
+ %h4 {
36
38
  @include remove_bootstrap_styles();
37
39
  color: $charcoal;
38
40
  font-size: 16px;
@@ -41,7 +43,8 @@ h4 {
41
43
  padding-bottom: 8px;
42
44
  }
43
45
 
44
- h5 {
46
+ h5,
47
+ %h5 {
45
48
  @include remove_bootstrap_styles();
46
49
  color: $slate;
47
50
  font-size: 9px;
@@ -61,7 +64,8 @@ a:hover {
61
64
  color: $blue-bright;
62
65
  }
63
66
 
64
- p {
67
+ p,
68
+ %p {
65
69
  color: $slate;
66
70
  font-size: 14px;
67
71
  line-height: 18px;
@@ -16,6 +16,14 @@
16
16
  // COLUMNS
17
17
  //
18
18
 
19
+ .rf-col {
20
+ float: left;
21
+ }
22
+
23
+ .rf-col--grid {
24
+ padding: 20px;
25
+ }
26
+
19
27
  .rf-col--1 {
20
28
  width: 8.333333%;
21
29
  }
@@ -6,48 +6,270 @@
6
6
  position: relative;
7
7
  top: 1px;
8
8
  display: inline-block;
9
- font-family: 'Glyphicons Halflings';
9
+ font-family: $font-icon-f5;
10
+ font-size: 1em;
10
11
  font-style: normal;
11
12
  font-weight: normal;
12
- line-height: 1;
13
+ line-height: 1em;
13
14
  -webkit-font-smoothing: antialiased;
14
15
  -moz-osx-font-smoothing: grayscale;
15
16
  }
16
17
 
17
- .rf-icon--pending:after {
18
- color: $stormy;
19
- content: "\e083";
18
+
19
+ //
20
+ // BASIC
21
+ //
22
+
23
+ // the letter x
24
+
25
+ .rf-icon--no:after {
26
+ color: $red;
27
+ content: "\f00d";
28
+ font-family: $font-icon-f5;
20
29
  }
21
30
 
22
- .rf-icon--success:after {
23
- content: "\e084";
31
+ // Green check mark
32
+
33
+ .rf-icon--ok:after {
34
+ content: "\f00c";
24
35
  color: $green;
36
+ font-family: $font-icon-f5;
37
+ }
38
+ // 6 dots, 2 across
39
+
40
+ .rf-icon--grip:after {
41
+ color: $stormy;
42
+ content: "\f142 \202F \f142";
43
+ cursor: -webkit-grab;
44
+ font-family: $font-icon-f5;
45
+
46
+ &:active {
47
+ cursor: -webkit-grabbing;
48
+ }
49
+ }
50
+
51
+ .rf-icon--caret--right:after {
52
+ content: "\f0da";
53
+ font-family: $font-icon-f5;
54
+ }
55
+
56
+ .rf-icon--refresh:after {
57
+ content: "\f021";
58
+ font-family: $font-icon-f5;
59
+ }
60
+
61
+ .rf-icon--rollback{
62
+ transform: scale(-1, 1);
63
+
64
+ &:after {
65
+ color: $red;
66
+ content: "\f01e";
67
+ font-family: $font-icon-f5;
68
+ }
69
+ }
70
+
71
+ .rf-icon--pencil:after {
72
+ content: "\270f";
73
+ font-family: $font-icon-g;
25
74
  }
26
75
 
76
+ .rf-icon--eye-open:after {
77
+ content: "\f06e";
78
+ font-family: $font-icon-f5;
79
+ }
80
+
81
+ .rf-icon--eye-closed:after {
82
+ content: "\f070";
83
+ font-family: $font-icon-f5;
84
+ }
85
+
86
+ .rf-icon--download:after {
87
+ content: "\f019";
88
+ font-family: $font-icon-f5;
89
+ }
90
+
91
+ .rf-icon--upload:after {
92
+ content: "\f093";
93
+ font-family: $font-icon-f5;
94
+ }
95
+
96
+ .rf-icon--trash:after {
97
+ content: "\f2ed";
98
+ font-family: $font-icon-f5;
99
+ }
100
+
101
+ .rf-icon--dashboard:after {
102
+ content: "\f3fd";
103
+ font-family: $font-icon-f5;
104
+ }
105
+
106
+ .rf-icon--repeat:after {
107
+ content: "\f2f9";
108
+ font-family: $font-icon-f5;
109
+ }
110
+
111
+ .rf-icon--question:after {
112
+ color: $blue-bright;
113
+ content: "\f059";
114
+ font-family: $font-icon-f5;
115
+ }
116
+
117
+ .rf-icon--github:after {
118
+ font-weight: 900;
119
+ content: "\f09b";
120
+ font-family: $font-icon-f5-b;
121
+ }
122
+
123
+
124
+ //
125
+ // MODAL
126
+ //
127
+
128
+ // i with a circle
129
+
130
+ .rf-icon--info:after,
131
+ %rf-icon--info:after {
132
+ color: $blue-bright;
133
+ content: "\f05a";
134
+ font-family: $font-icon-f5;
135
+ }
136
+
137
+ // ! with a triangle
138
+
139
+ .rf-icon--warning:after,
140
+ %rf-icon--warning:after {
141
+ color: $gold;
142
+ content: "\f071";
143
+ font-family: $font-icon-f5;
144
+ }
145
+
146
+ // ! with a circle
147
+
148
+ .rf-icon--error:after,
149
+ %rf-icon--error:after {
150
+ color: $red;
151
+ content: "\f06a";
152
+ font-family: $font-icon-f5;
153
+ }
154
+
155
+
156
+ //
157
+ // STEP STATUSES
158
+ // In use on OrCA at the moment
159
+ //
160
+
161
+ // Circle with x
162
+ // Not executed
163
+
27
164
  .rf-icon--failure:after {
28
- content: "\e083";
29
165
  color: $red;
166
+ content: "\f057";
167
+ font-family: $font-icon-f5;
30
168
  }
31
169
 
32
- .rf-icon--ongoing {
33
- // @include rf-loader( $white, 14px );
34
- border: 3px solid $blue-bright;
35
- border-radius: 100%;
36
- height: 14px;
37
- width: 14px;
170
+ // Circle with x
171
+ // Not executed
172
+
173
+ .rf-icon--success:after {
174
+ color: $green;
175
+ content: "\f058";
176
+ font-family: $font-icon-f5;
38
177
  }
39
178
 
179
+ // Circle with x
180
+ // Not executed
181
+
182
+ .rf-icon--pending:after {
183
+ color: $stormy;
184
+ content: "\f057";
185
+ font-family: $font-icon-f5;
186
+ }
187
+
188
+ // Blue circle
189
+ // Step you're currently on
190
+
191
+ .rf-icon--ongoing:after {
192
+ color: $blue-bright;
193
+ content: "\f111";
194
+ font-family: $font-icon-f5-r;
195
+ }
196
+
197
+ // Gray dash
198
+ // Unneeded step
199
+
40
200
  .rf-icon--irrelevant:after {
41
- content: "\2212";
42
201
  color: $stormy;
202
+ content: "\f068";
203
+ font-family: $font-icon-f5;
43
204
  }
44
205
 
45
- // Grip Icon
46
206
 
47
- .rf-icon--grip {
48
- cursor: -webkit-grab;
207
+ //
208
+ // LOADERS
209
+ // Must define background color
210
+ //
49
211
 
50
- &:active {
51
- cursor: -webkit-grabbing;
212
+ .rf-icon--loading {
213
+ background-image: url(../images/loader.svg);
214
+ background-size: 100% 100%;
215
+ height: 30px;
216
+ width: 30px;
217
+
218
+ &.rf-icon--xlarge {
219
+ height: 50px;
220
+ width: 50px;
221
+ }
222
+
223
+ &.rf-icon--large {
224
+ height: 38px;
225
+ width: 38px;
226
+ }
227
+
228
+ &.rf-icon--small {
229
+ height: 20px;
230
+ width: 20px;
231
+ }
232
+
233
+ &.rf-icon--xsmall {
234
+ height: 14px;
235
+ width: 14px;
52
236
  }
53
237
  }
238
+
239
+
240
+ //
241
+ // ICON HELPERS
242
+ //
243
+
244
+ .rf-icon--onleft {
245
+ margin-right: 6px;
246
+ }
247
+
248
+ .rf-icon--onright {
249
+ margin-left: 6px;
250
+ }
251
+
252
+
253
+ //
254
+ // ICON SIZES
255
+ //
256
+
257
+ .rf-icon--xlarge,
258
+ %rf-icon--xlarge {
259
+ font-size: 3.8em;
260
+ }
261
+
262
+ .rf-icon--large,
263
+ %rf-icon--large {
264
+ font-size: 2em;
265
+ }
266
+
267
+ .rf-icon--small,
268
+ %rf-icon--small {
269
+ font-size: .8em;
270
+ }
271
+
272
+ .rf-icon--xsmall,
273
+ %rf-icon--xsmall {
274
+ font-size: .6em;
275
+ }
@@ -0,0 +1,52 @@
1
+ .rf-modal {
2
+ width: 100%;
3
+ max-width: 500px;
4
+ border-radius: $border-radius;
5
+ border: $border-default;
6
+ box-shadow: none; // for Bootstrap
7
+ padding: 50px;
8
+ }
9
+
10
+ .rf-modal__header {
11
+ padding: 0; // for Bootstrap
12
+ text-align: center;
13
+ border-bottom: 0px; // for Bootstrap
14
+ }
15
+
16
+ .rf-modal__header .rf-icon {
17
+ margin-bottom: 16px;
18
+ }
19
+
20
+ .rf-modal__footer {
21
+ padding: 0; // for Bootstrap
22
+ border-top-width: 0px; // for Bootstrap
23
+ text-align: center;
24
+ }
25
+
26
+ .rf-modal__body {
27
+ padding: 30px 0;
28
+ color: $slate;
29
+ font-size: 14px;
30
+ line-height: 20px;
31
+ }
32
+
33
+
34
+ // Types
35
+
36
+ .rf-modal--info {
37
+ .rf-modal__header .rf-icon {
38
+ @extend %rf-icon--info;
39
+ }
40
+ }
41
+
42
+ .rf-modal--warning {
43
+ .rf-modal__header .rf-icon {
44
+ @extend %rf-icon--warning;
45
+ }
46
+ }
47
+
48
+ .rf-modal--error {
49
+ .rf-modal__header .rf-icon {
50
+ @extend %rf-icon--error;
51
+ }
52
+ }
@@ -5,6 +5,7 @@
5
5
  .rf-section {
6
6
  padding-bottom: 20px;
7
7
  padding-top: 20px;
8
+ clear: both;
8
9
 
9
10
  &:first-of-type {
10
11
  padding-top: 0;