shipyard-framework 0.5.77 → 0.5.78
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3870cb6c83e464a5474bba3c1d4181a45ba5256335cf0eadb5e4dd94e06213d8
|
4
|
+
data.tar.gz: 20d5233ff48456ed58ab43aac06eac4065b5963259888ac96615956658daab53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 945083c6887f0cefb5483f575551320a64f05f5113210bd493a3995607304b3b089f065feb9c65df446952248b6d976f5fcc7786da19cf91e70dc08689577012
|
7
|
+
data.tar.gz: bd8a8b8adc8b512c70402ec029acb5b6eb6763893060fc6f043e1671d74ca61e235065eea46191505bb6d8483ad3122e40e12b7d72030ca047bc6190a8dd64dc
|
@@ -0,0 +1,16 @@
|
|
1
|
+
+component('accordion')
|
2
|
+
&-closed
|
3
|
+
opacity: 0
|
4
|
+
max-height: 0
|
5
|
+
overflow: hidden
|
6
|
+
padding-top: 0
|
7
|
+
padding-bottom: 0
|
8
|
+
transition: opacity 175ms ease, padding 350ms ease, max-height 350ms ease
|
9
|
+
|
10
|
+
&-open
|
11
|
+
transition: opacity 350ms ease, padding 350ms ease, max-height 350ms ease
|
12
|
+
|
13
|
+
@each $size, $value in (xs: 500px, sm: 750px, md: 1000px, lg: 1500px, xl: 3000px)
|
14
|
+
&-#{$size}
|
15
|
+
+extend('open')
|
16
|
+
max-height: $value
|
data/ci/sass_lint
CHANGED
@@ -12,28 +12,36 @@ echo -e "************** Copy Master Branch **************"
|
|
12
12
|
git clone $repository --branch master --single-branch ci/master-tmp
|
13
13
|
|
14
14
|
echo -e "\n\n************** Compile Sass **************"
|
15
|
-
bundle exec sass --no-cache --style compact assets/stylesheets/_shipyard.sass ci/master-tmp/branch-compact.css
|
16
|
-
bundle exec sass --no-cache --style compressed assets/stylesheets/_shipyard.sass ci/master-tmp/branch-compressed.css
|
17
|
-
bundle exec sass --no-cache --style compact ci/master-tmp/assets/stylesheets/_shipyard.sass ci/master-tmp/master-compact.css
|
18
|
-
bundle exec sass --no-cache --style compressed ci/master-tmp/assets/stylesheets/_shipyard.sass ci/master-tmp/master-compressed.css
|
15
|
+
bundle exec sass --no-cache --sourcemap=none --style compact assets/stylesheets/_shipyard.sass ci/master-tmp/branch-compact.css
|
16
|
+
bundle exec sass --no-cache --sourcemap=none --style compressed assets/stylesheets/_shipyard.sass ci/master-tmp/branch-compressed.css
|
17
|
+
bundle exec sass --no-cache --sourcemap=none --style compact ci/master-tmp/assets/stylesheets/_shipyard.sass ci/master-tmp/master-compact.css
|
18
|
+
bundle exec sass --no-cache --sourcemap=none --style compressed ci/master-tmp/assets/stylesheets/_shipyard.sass ci/master-tmp/master-compressed.css
|
19
|
+
gzip -kvf ci/master-tmp/branch-compressed.css
|
20
|
+
gzip -kvf ci/master-tmp/master-compressed.css
|
19
21
|
|
20
22
|
echo -e "\n\n************** CSS Output Filesize **************"
|
21
|
-
branch_compact=$(ls -
|
22
|
-
|
23
|
+
branch_compact=$(ls -lh ci/master-tmp/branch-compact.css | awk '{ printf $5 }')
|
24
|
+
master_compact=$(ls -lh ci/master-tmp/master-compact.css | awk '{ printf $5 }')
|
25
|
+
branch_compressed=$(ls -lh ci/master-tmp/branch-compressed.css | awk '{ printf $5 }')
|
26
|
+
master_compressed=$(ls -lh ci/master-tmp/master-compressed.css | awk '{ printf $5 }')
|
27
|
+
branch_gzipped=$(ls -l ci/master-tmp/branch-compressed.css.gz | awk '{ printf $5 }')
|
28
|
+
master_gzipped=$(ls -l ci/master-tmp/master-compressed.css.gz | awk '{ printf $5 }')
|
29
|
+
branch_gzipped=$(bc -l <<< "scale=1; $branch_gzipped/1000")
|
30
|
+
master_gzipped=$(bc -l <<< "scale=1; $master_gzipped/1000")
|
23
31
|
branch_compressed_int=${branch_compressed//[a-zA-Z]/}
|
24
|
-
master_compact=$(ls -lah ci/master-tmp/master-compact.css | awk '{ printf $5 }')
|
25
|
-
master_compressed=$(ls -lah ci/master-tmp/master-compressed.css | awk '{ printf $5 }')
|
26
32
|
master_compressed_int=${master_compressed//[a-zA-Z]/}
|
27
33
|
|
28
34
|
printf "Branch Compact:$color_start $branch_compact $color_end\n"
|
29
35
|
printf "Master Compact:$color_start $master_compact $color_end\n"
|
30
36
|
printf "Branch Compressed:$color_start $branch_compressed $color_end\n"
|
31
37
|
printf "Master Compressed:$color_start $master_compressed $color_end\n"
|
32
|
-
printf "
|
38
|
+
printf "Branch Gzipped:$color_start ${branch_gzipped}kb $color_end\n"
|
39
|
+
printf "Master Gzipped:$color_start ${master_gzipped}kb $color_end\n"
|
40
|
+
printf "Difference:$color_start $(bc -l <<< "scale=1; $branch_gzipped - $master_gzipped")kb $color_end\n"
|
33
41
|
|
34
42
|
echo -e "\n\n************** CSS Output Line Count **************"
|
35
43
|
branch_lines=$(wc -l ci/master-tmp/branch-compact.css | awk '{ printf $1 }')
|
36
44
|
master_lines=$(wc -l ci/master-tmp/master-compact.css | awk '{ printf $1 }')
|
37
|
-
printf "Branch:$color_start $branch_lines $color_end\n"
|
38
|
-
printf "Master:$color_start $master_lines $color_end\n"
|
39
|
-
printf "Difference:$color_start $(($branch_lines - $master_lines)) $color_end\n"
|
45
|
+
printf "Branch:$color_start $branch_lines lines $color_end\n"
|
46
|
+
printf "Master:$color_start $master_lines lines $color_end\n"
|
47
|
+
printf "Difference:$color_start $(($branch_lines - $master_lines)) lines $color_end\n"
|
data/styleguide/Gemfile.lock
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shipyard-framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.78
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codeship
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -252,6 +252,7 @@ files:
|
|
252
252
|
- assets/stylesheets/shipyard/mixins/_prefixed.sass
|
253
253
|
- assets/stylesheets/shipyard/mixins/_responsive.sass
|
254
254
|
- assets/stylesheets/shipyard/mixins/_selectors.sass
|
255
|
+
- assets/stylesheets/shipyard/utilities/_accordion.sass
|
255
256
|
- assets/stylesheets/shipyard/utilities/_border-radius.sass
|
256
257
|
- assets/stylesheets/shipyard/utilities/_colors.sass
|
257
258
|
- assets/stylesheets/shipyard/utilities/_display.sass
|