shipyard-framework 0.5.65 → 0.5.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/stylesheets/shipyard/_utilities.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_border-radius.sass +17 -0
- data/lib/shipyard-framework/version.rb +1 -1
- data/styleguide/Gemfile.lock +1 -1
- data/styleguide/utilities/border-radius.md +40 -0
- data/styleguide/utilities/index.md +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7385bdd1b30504d3021f2f2ff64c396f658df9e544e690bf972490d48b841c64
|
4
|
+
data.tar.gz: a523952e1980259ea5a4c31a50eacc7c9aa7ce3d0e63a146f4ec36c2c5db040e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6402d598fbf839d3041d2dad3a0172eb19794686d6daae33d3db8bca44709283922f9e70411ba52464305fbd5477ed2f2069ec76928e73c1a450f5949827d24d
|
7
|
+
data.tar.gz: 318e0e0eb33276703ed3577c777cccbe35d3b51ff1a1e5f53d8c293a621161abfe6ede8c9b573f03951919c68ae755409d29d7d3fab4366391125d62351ad177
|
@@ -0,0 +1,17 @@
|
|
1
|
+
+component('rds')
|
2
|
+
+border-radius
|
3
|
+
|
4
|
+
&-0
|
5
|
+
border-radius: 0
|
6
|
+
|
7
|
+
&-t
|
8
|
+
border-radius: $border-radius $border-radius 0 0
|
9
|
+
|
10
|
+
&-b
|
11
|
+
border-radius: 0 0 $border-radius $border-radius
|
12
|
+
|
13
|
+
&-l
|
14
|
+
border-radius: $border-radius 0 0 $border-radius
|
15
|
+
|
16
|
+
&-r
|
17
|
+
border-radius: 0 $border-radius $border-radius 0
|
data/styleguide/Gemfile.lock
CHANGED
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
title: Border-Radius Utilities
|
3
|
+
description: Shipyard's border-radius utilities are useful for connecting components together.
|
4
|
+
col_classes: col col-50 col-x1-0 margin-bottom-xs
|
5
|
+
box_classes: padding-top-xs padding-bottom-xs text-sm strong align-center bg-gray-light gray-dark
|
6
|
+
directions:
|
7
|
+
none: 0
|
8
|
+
top: t
|
9
|
+
bottom: b
|
10
|
+
left: l
|
11
|
+
right: r
|
12
|
+
---
|
13
|
+
|
14
|
+
{% include page-heading.html page=page %}
|
15
|
+
|
16
|
+
---
|
17
|
+
|
18
|
+
<div class="col-container">
|
19
|
+
<div class="{{ page.col_classes }}">
|
20
|
+
<div class="{{ page.box_classes }} rds" tooltip=".rds">
|
21
|
+
all
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
{% for direction in page.directions %}
|
25
|
+
<div class="{{ page.col_classes }}">
|
26
|
+
<div class="{{ page.box_classes }} box-secondary rds-{{ direction[1] }}" tooltip=".rds-{{ direction[1] }}">
|
27
|
+
{{ direction[0] }}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
{% endfor %}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
```html
|
34
|
+
<div class="rds"><!-- border-radius: all corners --></div>
|
35
|
+
<div class="rds-0"><!-- border-radius: 0 --></div>
|
36
|
+
<div class="rds-t"><!-- border-radius: top --></div>
|
37
|
+
<div class="rds-b"><!-- border-radius: bottom --></div>
|
38
|
+
<div class="rds-l"><!-- border-radius: left --></div>
|
39
|
+
<div class="rds-r"><!-- border-radius: right --></div>
|
40
|
+
```
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Shipyard Utilities
|
3
3
|
description: The utility classes below can be applied to any component to override or extend the base styles of the component.
|
4
|
-
utilities: [Responsive, Grid, Typography, Margin & Padding, Colors]
|
4
|
+
utilities: [Responsive, Grid, Typography, Margin & Padding, Colors, Border Radius]
|
5
5
|
---
|
6
6
|
|
7
7
|
{% include page-heading.html page=page %}
|
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.66
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codeship
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -239,6 +239,7 @@ files:
|
|
239
239
|
- assets/stylesheets/shipyard/mixins/_prefixed.sass
|
240
240
|
- assets/stylesheets/shipyard/mixins/_responsive.sass
|
241
241
|
- assets/stylesheets/shipyard/mixins/_selectors.sass
|
242
|
+
- assets/stylesheets/shipyard/utilities/_border-radius.sass
|
242
243
|
- assets/stylesheets/shipyard/utilities/_colors.sass
|
243
244
|
- assets/stylesheets/shipyard/utilities/_display.sass
|
244
245
|
- assets/stylesheets/shipyard/utilities/_grid.sass
|
@@ -323,6 +324,7 @@ files:
|
|
323
324
|
- styleguide/components/tables.md
|
324
325
|
- styleguide/components/tooltips.md
|
325
326
|
- styleguide/index.md
|
327
|
+
- styleguide/utilities/border-radius.md
|
326
328
|
- styleguide/utilities/colors.md
|
327
329
|
- styleguide/utilities/grid.md
|
328
330
|
- styleguide/utilities/index.md
|