cactu 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/assets/stylesheets/base/_examples.scss +12 -0
- data/assets/stylesheets/base/_global-variables.scss +1 -1
- data/assets/stylesheets/base/_reset.scss +61 -0
- data/assets/stylesheets/cactu.scss +2 -2
- data/assets/stylesheets/components/_blockquotes.scss +3 -0
- data/assets/stylesheets/components/_buttons.scss +1 -1
- data/assets/stylesheets/components/_figures.scss +3 -0
- data/assets/stylesheets/components/_forms.scss +4 -4
- data/assets/stylesheets/components/_navbars.scss +1 -1
- data/assets/stylesheets/components/_sidebars.scss +15 -0
- data/assets/stylesheets/components/_tables.scss +1 -1
- data/assets/stylesheets/elements/_link.scss +41 -0
- data/assets/stylesheets/elements/_type.scss +80 -0
- data/lib/cactu/version.rb +1 -1
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2a585e2363f60570bbb6e449789afe557e82102ff9964c06dacc56c99261f24
|
4
|
+
data.tar.gz: fbcc4ed37666436ba4769aa615a12e8627cdb0278b0c127f06dae6b04a51db9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fef40e5f4919f77800f6b6d744b0f1cad0f5b5595c24a4d5fa7810f60ed408cd8090d7c4b3d8523c1364fc0e09b06e1665c8573e690d46014d3ff5bf24e3d22b
|
7
|
+
data.tar.gz: 024fca53b50f02685d7a98e5bc70a3b5ef916ea6c6827be9488b239f881cd2bd90da55112171f1901431de155bf34afa5e214b8d6074bcd710ee94cf3690f515
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@ Cactu is a Sass framework to create webs easily, created to be simple, semantic,
|
|
11
11
|
Add this line to your application's Gemfile:
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
gem 'cactu', '~> 0.18.
|
14
|
+
gem 'cactu', '~> 0.18.1'
|
15
15
|
```
|
16
16
|
|
17
17
|
Ensure that `sprockets-rails` is at least v2.3.2.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
//
|
2
|
+
// ----------------------------------------------------------------
|
3
|
+
// Examples
|
4
|
+
// ----------------------------------------------------------------
|
5
|
+
|
6
|
+
.empty-column {
|
7
|
+
width: 100%;
|
8
|
+
padding: 1rem .5rem;
|
9
|
+
margin-bottom: .7rem;
|
10
|
+
font-size: 13px;
|
11
|
+
background-color: $gray-200;
|
12
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
//
|
2
|
+
// Grid mixins
|
3
|
+
// --------------------------------------------------
|
4
|
+
//
|
5
|
+
// Based on:
|
6
|
+
// http://meyerweb.com/eric/tools/css/reset/
|
7
|
+
// v2.0 | 20110126
|
8
|
+
// License: none (public domain)
|
9
|
+
//
|
10
|
+
// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
|
11
|
+
// 2. Addition div tag for display: block
|
12
|
+
|
13
|
+
|
14
|
+
*,
|
15
|
+
*::before,
|
16
|
+
*::after {
|
17
|
+
box-sizing: border-box;
|
18
|
+
}
|
19
|
+
|
20
|
+
html, body, div, span, applet, object, iframe,
|
21
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
22
|
+
a, abbr, acronym, address, big, cite, code,
|
23
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
24
|
+
small, strike, strong, sub, sup, tt, var,
|
25
|
+
b, u, i, center,ƒ
|
26
|
+
dl, dt, dd, ol, ul, li,
|
27
|
+
fieldset, form, label, legend,
|
28
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
29
|
+
article, aside, canvas, details, embed,
|
30
|
+
figure, figcaption, footer, header, hgroup,
|
31
|
+
menu, nav, output, ruby, section, summary,
|
32
|
+
time, mark, audio, video {
|
33
|
+
margin: 0;
|
34
|
+
padding: 0;
|
35
|
+
border: 0;
|
36
|
+
font-size: 100%;
|
37
|
+
font: inherit;
|
38
|
+
vertical-align: baseline;
|
39
|
+
}
|
40
|
+
div, article, aside, details, figcaption, figure,
|
41
|
+
footer, header, hgroup, menu, nav, section {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
body {
|
45
|
+
line-height: 1;
|
46
|
+
}
|
47
|
+
ol, ul {
|
48
|
+
list-style: none;
|
49
|
+
}
|
50
|
+
blockquote, q {
|
51
|
+
quotes: none;
|
52
|
+
}
|
53
|
+
blockquote:before, blockquote:after,
|
54
|
+
q:before, q:after {
|
55
|
+
content: '';
|
56
|
+
content: none;
|
57
|
+
}
|
58
|
+
table {
|
59
|
+
border-collapse: collapse;
|
60
|
+
border-spacing: 0;
|
61
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Cactu v0.18.
|
2
|
+
* Cactu v0.18.1 (http://cactu.site/)
|
3
3
|
* Copyright 2018 Giovanni Mendoza
|
4
4
|
* Licensed under MIT (https://github.com/mendozagioo/cactu/blob/master/LICENSE)
|
5
5
|
*/
|
@@ -43,4 +43,4 @@
|
|
43
43
|
@import "components/tooltips";
|
44
44
|
|
45
45
|
@import "utilities/classes";
|
46
|
-
@import "utilities/syntax";
|
46
|
+
@import "utilities/syntax";
|
@@ -126,9 +126,9 @@ select {
|
|
126
126
|
margin-top: $help-margin-top;
|
127
127
|
}
|
128
128
|
|
129
|
-
.checkbox
|
130
|
-
.radio
|
131
|
-
margin-
|
129
|
+
.checkbox:not(:last-child),
|
130
|
+
.radio:not(:last-child) {
|
131
|
+
margin-right: 1rem;
|
132
132
|
}
|
133
133
|
}
|
134
134
|
|
@@ -155,4 +155,4 @@ select {
|
|
155
155
|
padding: 0;
|
156
156
|
}
|
157
157
|
}
|
158
|
-
}
|
158
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
//
|
2
|
+
// Sidebars
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.sidebar {
|
7
|
+
height: calc(100vh - 3.5rem);
|
8
|
+
position: sticky;
|
9
|
+
border-right: 1px solid $border-color;
|
10
|
+
|
11
|
+
@include breakpoint-cellphone {
|
12
|
+
height: auto;
|
13
|
+
border-right: 0;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
//
|
2
|
+
// Link
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Variables
|
7
|
+
//
|
8
|
+
$link-color: $blue !default;
|
9
|
+
$link-decoration: none !default;
|
10
|
+
$link-hover-color: darken($link-color, 10%) !default;
|
11
|
+
$link-hover-decoration: underline !default;
|
12
|
+
$link-transition: $transition-all !default;
|
13
|
+
|
14
|
+
|
15
|
+
a {
|
16
|
+
display: inline-block;
|
17
|
+
color: $link-color;
|
18
|
+
text-decoration: $link-decoration;
|
19
|
+
background-color: transparent;
|
20
|
+
@include transition($link-transition);
|
21
|
+
-webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.
|
22
|
+
|
23
|
+
@include hover-focus {
|
24
|
+
color: $link-hover-color;
|
25
|
+
text-decoration: $link-hover-decoration;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
a:not([href]):not([tabindex]) {
|
30
|
+
color: inherit;
|
31
|
+
text-decoration: none;
|
32
|
+
|
33
|
+
@include hover-focus {
|
34
|
+
color: inherit;
|
35
|
+
text-decoration: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
&:focus {
|
39
|
+
outline: 0;
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
//
|
2
|
+
// Type
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Variables
|
7
|
+
//
|
8
|
+
$headings-font-family: $font-family !default;
|
9
|
+
$headings-font-weight: $font-weight-bold !default;
|
10
|
+
$headings-color: $text-color !default;
|
11
|
+
$headings-margins: 1rem 0 .5rem !default;
|
12
|
+
$h1-font-size: $font-size * 2.6 !default;
|
13
|
+
$h2-font-size: $font-size * 2.1 !default;
|
14
|
+
$h3-font-size: $font-size * 1.8 !default;
|
15
|
+
$h4-font-size: $font-size * 1.5 !default;
|
16
|
+
$h5-font-size: $font-size * 1.2 !default;
|
17
|
+
$h6-font-size: $font-size !default;
|
18
|
+
|
19
|
+
|
20
|
+
abbr[title],
|
21
|
+
abbr[data-original-title] {
|
22
|
+
text-decoration: underline;
|
23
|
+
text-decoration: underline dotted;
|
24
|
+
cursor: help;
|
25
|
+
border-bottom: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
address {
|
29
|
+
margin-bottom: 1rem;
|
30
|
+
font-style: normal;
|
31
|
+
line-height: inherit;
|
32
|
+
}
|
33
|
+
|
34
|
+
blockquote {
|
35
|
+
margin: 0 0 1rem;
|
36
|
+
}
|
37
|
+
|
38
|
+
b,
|
39
|
+
strong {
|
40
|
+
font-weight: bolder;
|
41
|
+
}
|
42
|
+
|
43
|
+
small {
|
44
|
+
font-size: .8em; // 80%
|
45
|
+
}
|
46
|
+
|
47
|
+
span {
|
48
|
+
font-style: inherit;
|
49
|
+
font-weight: inherit;
|
50
|
+
}
|
51
|
+
|
52
|
+
sub,
|
53
|
+
sup {
|
54
|
+
position: relative;
|
55
|
+
font-size: .75em; // 75%
|
56
|
+
line-height: 0;
|
57
|
+
vertical-align: baseline;
|
58
|
+
}
|
59
|
+
|
60
|
+
sub { bottom: -.25em; }
|
61
|
+
sup { top: -.5em; }
|
62
|
+
|
63
|
+
p { margin-bottom: .7rem; }
|
64
|
+
|
65
|
+
|
66
|
+
// Headings
|
67
|
+
//
|
68
|
+
h1, h2, h3, h4, h5, h6 {
|
69
|
+
margin: $headings-margins;
|
70
|
+
font-family: $headings-font-family;
|
71
|
+
font-weight: $headings-font-weight;
|
72
|
+
color: $headings-color;
|
73
|
+
}
|
74
|
+
|
75
|
+
h1 { font-size: $h1-font-size; }
|
76
|
+
h2 { font-size: $h2-font-size; }
|
77
|
+
h3 { font-size: $h3-font-size; }
|
78
|
+
h4 { font-size: $h4-font-size; }
|
79
|
+
h5 { font-size: $h5-font-size; }
|
80
|
+
h6 { font-size: $h6-font-size; }
|
data/lib/cactu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cactu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giovanni Mendoza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|
@@ -127,13 +127,17 @@ files:
|
|
127
127
|
- README.md
|
128
128
|
- Rakefile
|
129
129
|
- assets/stylesheets/base/_blocks.scss
|
130
|
+
- assets/stylesheets/base/_examples.scss
|
130
131
|
- assets/stylesheets/base/_global-variables.scss
|
131
132
|
- assets/stylesheets/base/_reboot.scss
|
133
|
+
- assets/stylesheets/base/_reset.scss
|
132
134
|
- assets/stylesheets/cactu.scss
|
133
135
|
- assets/stylesheets/components/_alerts.scss
|
136
|
+
- assets/stylesheets/components/_blockquotes.scss
|
134
137
|
- assets/stylesheets/components/_buttons.scss
|
135
138
|
- assets/stylesheets/components/_collapse.scss
|
136
139
|
- assets/stylesheets/components/_dropdowns.scss
|
140
|
+
- assets/stylesheets/components/_figures.scss
|
137
141
|
- assets/stylesheets/components/_forms.scss
|
138
142
|
- assets/stylesheets/components/_grids.scss
|
139
143
|
- assets/stylesheets/components/_lists.scss
|
@@ -141,12 +145,15 @@ files:
|
|
141
145
|
- assets/stylesheets/components/_navbars.scss
|
142
146
|
- assets/stylesheets/components/_navs.scss
|
143
147
|
- assets/stylesheets/components/_paginations.scss
|
148
|
+
- assets/stylesheets/components/_sidebars.scss
|
144
149
|
- assets/stylesheets/components/_tables.scss
|
145
150
|
- assets/stylesheets/components/_tooltips.scss
|
146
151
|
- assets/stylesheets/elements/_button.scss
|
147
152
|
- assets/stylesheets/elements/_code.scss
|
148
153
|
- assets/stylesheets/elements/_icon.scss
|
149
154
|
- assets/stylesheets/elements/_image.scss
|
155
|
+
- assets/stylesheets/elements/_link.scss
|
156
|
+
- assets/stylesheets/elements/_type.scss
|
150
157
|
- assets/stylesheets/elements/_typography.scss
|
151
158
|
- assets/stylesheets/functions/_colors.scss
|
152
159
|
- assets/stylesheets/functions/_strings.scss
|