stipe 0.0.5.7 → 0.0.5.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/readme.md +4 -1
- data/stylesheets/stipe/toadstool/ui_patterns/_color_grid.scss +67 -67
- metadata +1 -1
data/readme.md
CHANGED
@@ -12,7 +12,10 @@ To use the Stipe gem, using Bundler `gem 'stipe'`
|
|
12
12
|
Stipe is a Compass Extension, so Compass is set as a depdency. You will need to include `require 'stipe'` in your config.rb file.
|
13
13
|
|
14
14
|
# Stipe Changelog
|
15
|
-
###0.0.5.
|
15
|
+
###0.0.5.7.1
|
16
|
+
* Added `!optional` flag to Toadstool generated extended placeholder selectors to address backwards compatibility.
|
17
|
+
|
18
|
+
###0.0.5.7
|
16
19
|
* Over-hauled color palette CSS
|
17
20
|
* Updated forms extends to include `stipe_` in the name to increase visibility of where code is coming from in Toadstool
|
18
21
|
* Added UI for `contenteditable` new functionality
|
@@ -1,79 +1,79 @@
|
|
1
1
|
// Toadstool's view
|
2
2
|
// ----------------------------------------------
|
3
3
|
.colorcode {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
4
|
+
margin-bottom: 1.5em;
|
5
|
+
@extend %clearfix;
|
6
|
+
@media #{$mobile} {
|
7
|
+
@include grid(4, $grid_context: 4);
|
8
|
+
}
|
9
|
+
.toadstool_subheader {
|
10
|
+
margin-bottom: 1em;
|
11
|
+
}
|
12
|
+
section {
|
13
|
+
padding: em(10) 0 0 em(10);
|
14
|
+
margin: em(-10) 0 0 em(-10);
|
15
|
+
}
|
16
|
+
div {
|
17
|
+
@include box_sizing;
|
18
|
+
text-align: center;
|
19
|
+
float: left;
|
20
|
+
font-weight: bold;
|
21
|
+
width: em(75);
|
22
|
+
height: em(75);
|
23
|
+
border-radius: 50%;
|
24
|
+
margin: 0 em(50) em(70) em(50);
|
25
|
+
border: 1px solid $white;
|
26
|
+
box-shadow: 0 0 em(10) em(3) $shadow_color;
|
27
|
+
span {
|
28
|
+
display: block;
|
29
|
+
font-weight: normal;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
p {
|
33
|
+
margin-bottom: 0;
|
34
|
+
margin-left: -25px;
|
35
|
+
width: 125px;
|
36
|
+
margin-top: 85px;
|
37
|
+
}
|
38
|
+
.border {
|
39
|
+
@include box_shadow (inset $alpha_gray, 0 0 1px);
|
40
|
+
}
|
41
|
+
@media #{$mobile} {
|
42
|
+
div {
|
43
|
+
width: 100%;
|
44
|
+
border-radius: 0;
|
45
|
+
margin-bottom: em(10);
|
46
|
+
box-shadow: 0 0 em(7) em(0) $shadow_color;
|
47
|
+
margin-left: 0;
|
48
|
+
text-align: left;
|
49
|
+
span {
|
50
|
+
margin: 0;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
section {
|
54
|
+
position: relative;
|
55
|
+
top: em(-10);
|
56
|
+
}
|
57
|
+
p {
|
58
|
+
color: white;
|
59
|
+
left: 0;
|
60
|
+
margin: em(10) 0 em(10) em(10);
|
61
|
+
line-height: 1.5em;
|
62
|
+
text-shadow: 2px 2px 4px black;
|
63
|
+
}
|
64
|
+
}
|
65
65
|
}
|
66
66
|
|
67
67
|
|
68
68
|
/////// OOCSS color blocks ////////
|
69
69
|
// ----------------------------------------------
|
70
70
|
@mixin extend_color_loop {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
71
|
+
@each $name in $color_names {
|
72
|
+
$i: index($color_names, $name);
|
73
|
+
.#{$name} {
|
74
|
+
@extend %#{nth($color_names, $i)} !optional;
|
75
|
+
}
|
76
|
+
}
|
77
77
|
}
|
78
78
|
|
79
79
|
|