oocss3-shapes 0.0.1 → 0.0.2

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.
Files changed (87) hide show
  1. data/stylesheets/_oocss3-shapes.scss +14 -0
  2. data/stylesheets/oocss3-shapes/_arrows.scss +12 -0
  3. data/stylesheets/oocss3-shapes/_base.scss +117 -0
  4. data/stylesheets/oocss3-shapes/_chains.scss +3 -0
  5. data/stylesheets/oocss3-shapes/_figures.scss +24 -0
  6. data/stylesheets/oocss3-shapes/_mediacontrols.scss +11 -0
  7. data/stylesheets/oocss3-shapes/_miscellaneous.scss +21 -0
  8. data/stylesheets/oocss3-shapes/_objects.scss +7 -0
  9. data/stylesheets/oocss3-shapes/_ribbons.scss +9 -0
  10. data/stylesheets/oocss3-shapes/_vectors.scss +17 -0
  11. data/stylesheets/oocss3-shapes/arrows/_backALt.scss +15 -0
  12. data/stylesheets/oocss3-shapes/arrows/_down.scss +15 -0
  13. data/stylesheets/oocss3-shapes/arrows/_forward.scss +14 -0
  14. data/stylesheets/oocss3-shapes/arrows/_forwardAlt.scss +17 -0
  15. data/stylesheets/oocss3-shapes/arrows/_up.scss +11 -0
  16. data/stylesheets/oocss3-shapes/arrows/back.scss +14 -0
  17. data/stylesheets/oocss3-shapes/chains/_permaLink.scss +12 -0
  18. data/stylesheets/oocss3-shapes/example/index.haml +61 -0
  19. data/stylesheets/oocss3-shapes/example/index.html +61 -0
  20. data/stylesheets/oocss3-shapes/figures/_oval.scss +6 -0
  21. data/stylesheets/oocss3-shapes/figures/_rectangle.scss +6 -0
  22. data/stylesheets/oocss3-shapes/figures/_square.scss +5 -0
  23. data/stylesheets/oocss3-shapes/figures/_trianguleBottomLeft.scss +10 -0
  24. data/stylesheets/oocss3-shapes/figures/_trianguleBottomRight.scss +10 -0
  25. data/stylesheets/oocss3-shapes/figures/_trianguleDown.scss +9 -0
  26. data/stylesheets/oocss3-shapes/figures/_trianguleLeft.scss +10 -0
  27. data/stylesheets/oocss3-shapes/figures/_trianguleRight.scss +10 -0
  28. data/stylesheets/oocss3-shapes/figures/_trianguleTopLeft.scss +10 -0
  29. data/stylesheets/oocss3-shapes/figures/_trianguleTopRight.scss +10 -0
  30. data/stylesheets/oocss3-shapes/figures/_trianguleUp.scss +9 -0
  31. data/stylesheets/oocss3-shapes/figures/circle.scss +6 -0
  32. data/stylesheets/oocss3-shapes/mediacontrols/_base.scss +13 -0
  33. data/stylesheets/oocss3-shapes/mediacontrols/_enlarge.scss +15 -0
  34. data/stylesheets/oocss3-shapes/mediacontrols/_expand.scss +26 -0
  35. data/stylesheets/oocss3-shapes/mediacontrols/_fastFoward.scss +13 -0
  36. data/stylesheets/oocss3-shapes/mediacontrols/_pause.scss +13 -0
  37. data/stylesheets/oocss3-shapes/mediacontrols/_pauseAlt.scss +10 -0
  38. data/stylesheets/oocss3-shapes/mediacontrols/_play.scss +13 -0
  39. data/stylesheets/oocss3-shapes/mediacontrols/_popOut.scss +19 -0
  40. data/stylesheets/oocss3-shapes/mediacontrols/_stop.scss +13 -0
  41. data/stylesheets/oocss3-shapes/miscellaneous/_denied.scss +19 -0
  42. data/stylesheets/oocss3-shapes/miscellaneous/_help.scss +13 -0
  43. data/stylesheets/oocss3-shapes/miscellaneous/_history.scss +22 -0
  44. data/stylesheets/oocss3-shapes/miscellaneous/_info.scss +13 -0
  45. data/stylesheets/oocss3-shapes/miscellaneous/_pieChart.scss +19 -0
  46. data/stylesheets/oocss3-shapes/miscellaneous/_power.scss +18 -0
  47. data/stylesheets/oocss3-shapes/miscellaneous/_success.scss +14 -0
  48. data/stylesheets/oocss3-shapes/miscellaneous/_successAlt.scss +14 -0
  49. data/stylesheets/oocss3-shapes/miscellaneous/_views.scss +13 -0
  50. data/stylesheets/oocss3-shapes/miscellaneous/_warning.scss +13 -0
  51. data/stylesheets/oocss3-shapes/objects/_headPhone.scss +23 -0
  52. data/stylesheets/oocss3-shapes/objects/_ipod.scss +19 -0
  53. data/stylesheets/oocss3-shapes/objects/_tool.scss +26 -0
  54. data/stylesheets/oocss3-shapes/ribbons/_downRibbon.scss +8 -0
  55. data/stylesheets/oocss3-shapes/ribbons/_leftRibbon.scss +8 -0
  56. data/stylesheets/oocss3-shapes/ribbons/_rightRIbbon.scss +8 -0
  57. data/stylesheets/oocss3-shapes/ribbons/_upRibbon.scss +8 -0
  58. data/stylesheets/oocss3-shapes/ribbons/minifest.rb +4 -0
  59. data/stylesheets/oocss3-shapes/vectors/_minor.scss +9 -0
  60. data/stylesheets/oocss3-shapes/vectors/_minorRounded.scss +7 -0
  61. data/stylesheets/oocss3-shapes/vectors/_more.scss +8 -0
  62. data/stylesheets/oocss3-shapes/vectors/_plus.scss +12 -0
  63. data/stylesheets/oocss3-shapes/vectors/_plusRounded.scss +7 -0
  64. data/stylesheets/oocss3-shapes/vectors/_remove.scss +7 -0
  65. data/stylesheets/oocss3-shapes/vectors/_roundedRemove.scss +7 -0
  66. data/stylesheets/oocss3-shapes/vectors/less.scss +8 -0
  67. data/templates/oocss3-shapes/arrows/arrows.scss +1 -0
  68. data/templates/oocss3-shapes/arrows/minifest.rb +11 -0
  69. data/templates/oocss3-shapes/chains/chains.scss +1 -0
  70. data/templates/oocss3-shapes/chains/minifest.rb +11 -0
  71. data/templates/oocss3-shapes/figures/figures.scss +1 -0
  72. data/templates/oocss3-shapes/figures/manifest.rb +11 -0
  73. data/templates/oocss3-shapes/mediacontrols/manifest.rb +11 -0
  74. data/templates/oocss3-shapes/mediacontrols/mediacontrols.scss +1 -0
  75. data/templates/oocss3-shapes/miscellaneous/minifest.rb +11 -0
  76. data/templates/oocss3-shapes/miscellaneous/miscellaneous.scss +1 -0
  77. data/templates/oocss3-shapes/objects/minifest.rb +11 -0
  78. data/templates/oocss3-shapes/objects/objects.scss +1 -0
  79. data/templates/oocss3-shapes/ribbons/minifest.rb +11 -0
  80. data/templates/oocss3-shapes/ribbons/ribbons.scss +1 -0
  81. data/templates/oocss3-shapes/vectors/minifest.rb +11 -0
  82. data/templates/oocss3-shapes/vectors/vectors.scss +1 -0
  83. metadata +84 -6
  84. data/stylesheets/_oocss3-shapes.sass +0 -1
  85. data/stylesheets/oocss3-shapes/_module_one.scss +0 -1
  86. data/stylesheets/oocss3-shapes/_module_two.scss +0 -0
  87. data/templates/project/manifest.rb +0 -13
@@ -0,0 +1,14 @@
1
+ // This is your framework's main stylesheet. Use it to import all default modules.
2
+ @import "compass/css3";
3
+ @import "compass/css3/transform";
4
+
5
+ @import "oocss3-shapes/base.scss";
6
+ @import "oocss3-shapes/arrows.scss";
7
+ @import "oocss3-shapes/chains.scss";
8
+ @import "oocss3-shapes/figures.scss";
9
+ @import "oocss3-shapes/mediacontrols.scss";
10
+ @import "oocss3-shapes/miscellaneous.scss";
11
+ @import "oocss3-shapes/objects.scss";
12
+ @import "oocss3-shapes/ribbons.scss";
13
+ @import "oocss3-shapes/vectors.scss";
14
+
@@ -0,0 +1,12 @@
1
+ @import 'arrows/back.scss';
2
+ @import 'arrows/backAlt.scss';
3
+ @import 'arrows/down.scss';
4
+ @import 'arrows/forward.scss';
5
+ @import 'arrows/forwardAlt.scss';
6
+ @import 'arrows/up.scss';
7
+
8
+ @include backAltIcon;
9
+ @include downIcon;
10
+ @include forwardIcon;
11
+ @include upIcon;
12
+ @include backIcon;
@@ -0,0 +1,117 @@
1
+ .base {
2
+ position: relative;
3
+ display: inline-block;
4
+ }
5
+
6
+ .pseudoElement {
7
+ content: "";
8
+ position: absolute;
9
+ }
10
+
11
+ .resetBorder {
12
+ width: 0;
13
+ height: 0;
14
+ }
15
+
16
+ .horizontalAlighment {
17
+ left: 0;
18
+ right: 0;
19
+ margin: auto;
20
+ }
21
+
22
+
23
+ .horizontalLine {
24
+ height: 0.1em;
25
+ width: 0.6em;
26
+ }
27
+
28
+ .verticalLine {
29
+ height: 0.6em;
30
+ width: 0.1em;
31
+ }
32
+
33
+ .verticalLine,
34
+ .horizontalLine{
35
+ @extend .pseudoElement;
36
+ @extend .horizontalAlighment;
37
+ background: red;
38
+ top: 0;
39
+ bottom: 0;
40
+ }
41
+
42
+
43
+
44
+ .shape {
45
+ width: 1em;
46
+ height: 1em;
47
+ background: #C55500;
48
+ @extend .base;
49
+ }
50
+
51
+ .triangule {
52
+ @extend .base;
53
+ @extend .resetBorder;
54
+ border: 0.5em solid transparent;
55
+ }
56
+
57
+ .disk {
58
+ @extend .pseudoElement;
59
+ @extend .rounded;
60
+ border: 0.25em solid #FFFFFF;
61
+ width: 0.25em;
62
+ height: 0.25em
63
+ }
64
+
65
+ .ribbon {
66
+ @extend .resetBorder;
67
+ @extend .base;
68
+ border: {
69
+ width: 0.5em;
70
+ style: solid;
71
+ }
72
+ }
73
+
74
+ .rightArrow {
75
+ &:before{
76
+ @extend .pseudoElement;
77
+ border:{
78
+ color: transparent red;
79
+ style: solid;
80
+ width: 0.5em 0.5em 0.5em 0.5em;
81
+ }
82
+ }
83
+ &:after{
84
+ @extend .pseudoElement;
85
+ background: red;
86
+ height: 0.4em;
87
+ width: 0.5em;
88
+ }
89
+ }
90
+
91
+ .topArrow {
92
+ &:before{
93
+ @extend .pseudoElement;
94
+ border:{
95
+ color: red transparent;
96
+ width: 0em 0.5em 0.5em 0.5em;
97
+ }
98
+ }
99
+ &:after {
100
+ @extend .pseudoElement;
101
+ height: 0.5em;
102
+ width: 0.4em;
103
+ @extend .horizontalAlighment;
104
+ }
105
+ }
106
+
107
+ .rotate45 {
108
+ @include rotate(45deg);
109
+ }
110
+
111
+ .rotateLess45 {
112
+ @include rotate(-45deg);
113
+ }
114
+
115
+ .rounded {
116
+ @include border-radius(50%);
117
+ }
@@ -0,0 +1,3 @@
1
+ @import 'chains/permaLink.scss';
2
+
3
+ @Include permalinkIcon;
@@ -0,0 +1,24 @@
1
+ @import 'figures/circle.scss';
2
+ @import 'figures/oval.scss';
3
+ @import 'figures/rectangle.scss';
4
+ @import 'figures/square.scss';
5
+ @import 'figures/trianguleBottomLeft.scss';
6
+ @import 'figures/trianguleBottomRight.scss';
7
+ @import 'figures/trianguleDown.scss';
8
+ @import 'figures/trianguleLeft.scss';
9
+ @import 'figures/trianguleRight.scss';
10
+ @import 'figures/trianguleTopLeft.scss';
11
+ @import 'figures/trianguleTopRight.scss';
12
+ @import 'figures/trianguleUp.scss';
13
+
14
+ @include oval;
15
+ @include rectangle;
16
+ @include square;
17
+ @include trianguleUp;
18
+ @include trianguleDown;
19
+ @include trianguleLeft;
20
+ @include trianguleRight;
21
+ @include trianguleTopLeft;
22
+ @include trianguleTopRight;
23
+ @include trianguleBottomLeft;
24
+ @include trianguleBottomRight;
@@ -0,0 +1,11 @@
1
+ @import 'mediacontrols/play.scss';
2
+ @import 'mediacontrols/stop.scss';
3
+ @import 'mediacontrols/pause.scss';
4
+ @import 'mediacontrols/pauseALt.scss';
5
+ @import 'mediacontrols/fastFoward.scss';
6
+
7
+ @include playIcon;
8
+ @include stopIcon;
9
+ @include pauseAltIcon;
10
+ @include pauseIcon;
11
+ //@include fastFowardIcon;
@@ -0,0 +1,21 @@
1
+ @import 'miscellaneous/denied.scss';
2
+ @import 'miscellaneous/help.scss';
3
+ @import 'miscellaneous/history.scss';
4
+ @import 'miscellaneous/info.scss';
5
+ @import 'miscellaneous/pieChart.scss';
6
+ @import 'miscellaneous/power.scss';
7
+ @import 'miscellaneous/success.scss';
8
+ @import 'miscellaneous/successAlt.scss';
9
+ @import 'miscellaneous/views.scss';
10
+ @import 'miscellaneous/warning.scss';
11
+
12
+ @include deniedIcon;
13
+ @include helpIcon;
14
+ @include historyIcon;
15
+ @include infoIcon;
16
+ @include pieChartIcon;
17
+ @include powerIcon;
18
+ @include successIcon;
19
+ @include successAltIcon;
20
+ @include viewsIcon;
21
+ @include warningIcon;
@@ -0,0 +1,7 @@
1
+ @import 'objects/headPhone.scss';
2
+ @import 'objects/ipod.scss';
3
+ @import 'objects/tool.scss';
4
+
5
+ @include headPhoneIcon;
6
+ @include ipodIcon;
7
+ @include toolIcon;
@@ -0,0 +1,9 @@
1
+ @import 'ribbons/downRibbon.scss';
2
+ @import 'ribbons/leftRibbon.scss';
3
+ @import 'ribbons/rightRibbon.scss';
4
+ @import 'ribbons/upRibbon.scss';
5
+
6
+ @include downRibbonIcon;
7
+ @include upRibbonIcon;
8
+ @include leftRibbonIcon;
9
+ @include rightRibbonIcon;
@@ -0,0 +1,17 @@
1
+ @import 'vectors/less.scss';
2
+ @import 'vectors/minor.scss';
3
+ @import 'vectors/minorRounded.scss';
4
+ @import 'vectors/more.scss';
5
+ @import 'vectors/plus.scss';
6
+ @import 'vectors/plusRounded.scss';
7
+ @import 'vectors/remove.scss';
8
+ @import 'vectors/roundedRemove.scss';
9
+
10
+ @include plusIcon;
11
+ @include minorIcon;
12
+ @include minorRoundedIcon;
13
+ @include plusRoundedIcon;
14
+ @include removeIcon;
15
+ @include roundedRemoveIcon;
16
+ @include moreIcon;
17
+ @include lessIcon;
@@ -0,0 +1,15 @@
1
+ @mixin backAltIcon {
2
+ .backAltIcon {
3
+ @extend .circle;
4
+ @extend .backIcon;
5
+ &:before, &:after{
6
+ font-size: 0.8em;
7
+ }
8
+ &:before{
9
+ top: 0.14em;
10
+ }
11
+ &:after{
12
+ top: 0.39em;
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ @mixin downIcon {
2
+ .downIcon {
3
+ @extend .upIcon;
4
+ &:before{
5
+ bottom: 0;
6
+ border:{
7
+ width: 0.5em 0.5em 0em 0.5em;
8
+ }
9
+ }
10
+ &:after {
11
+ top: 0em;
12
+ @extend .horizontalAlighment;
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ @mixin forwardIcon {
2
+ .forwardIcon {
3
+ @extend .shape;
4
+ @extend .rightArrow;
5
+ background: blue;
6
+ &:before {
7
+ right: 0;
8
+ border-width: 0.5em 0em 0.5em 0.5em;
9
+ }
10
+ &:after {
11
+ top: 0.24em;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,17 @@
1
+ @mixin fowardAltIcon {
2
+ .forwardAltIcon {
3
+ @extend .circle;
4
+ @extend .forwardIcon;
5
+ &:before, &:after{
6
+ font-size: 0.8em;
7
+ }
8
+ &:before{
9
+ top: 0.14em;
10
+ right: 0.1em;
11
+ }
12
+ &:after{
13
+ left: 0.2em;
14
+ top: 0.39em;
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,11 @@
1
+ @mixin upIcon {
2
+ .upIcon {
3
+ @extend .shape;
4
+ @extend .rightArrow;
5
+ @extend .topArrow;
6
+ background: blue;
7
+ &:after{
8
+ top: 0.5em;
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,14 @@
1
+ @mixin backIcon {
2
+ .backIcon {
3
+ @extend .forwardIcon;
4
+ &:before{
5
+ right: 0.5em;
6
+ border-width: 0.5em 0.5em 0.5em 0em;
7
+
8
+ }
9
+ &:after{
10
+ right: 0;
11
+ top: 0.29em;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,12 @@
1
+ @mixin permalinkIcon {
2
+ .permalinkIcon {
3
+ @extend .base;
4
+ @extend .rotateLess45;
5
+ height: 0.5em;
6
+ width: 0.125em;
7
+ background: #C55500;
8
+ &:before, &:after {
9
+ @extend .pseudoElement;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,61 @@
1
+ !!! 5
2
+ %html
3
+ %head
4
+ %link{:rel=>'stylesheet', :type=>'text/css', :href=>"stylesheets/screen.css"}
5
+ %script{:type=>"text/javascript", :src=>"http://localhost:8001/vogue-client.js"}
6
+ %body
7
+ .rectangle
8
+ .circle
9
+ .oval
10
+ .trianguleUp
11
+ .trianguleDown
12
+ .trianguleLeft
13
+ .trianguleRight
14
+ .trianguleTopLeft
15
+ .trianguleTopRight
16
+ .trianguleBottomLeft
17
+ .trianguleBottomRight
18
+
19
+ .downRibbonIcon
20
+ .upRibbonIcon
21
+ .leftRibbonIcon
22
+ .rightRibbonIcon
23
+
24
+ .playIcon
25
+ .stopIcon
26
+ .pauseIcon
27
+ .pauseAltIcon
28
+ .square
29
+ .fastFoward
30
+
31
+ .infoIcon
32
+ .helpIcon
33
+ .successIcon
34
+ .successAltIcon
35
+ .warningIcon
36
+ .deniedIcon
37
+ .pieChartIcon
38
+ .viewsIcon
39
+ /.headPhoneIcon
40
+ .ipodIcon
41
+ .toolIcon
42
+ .historyIcon
43
+ .powerIcon
44
+ .enlargeIcon
45
+ .popOutIcon
46
+ /.expandIcon
47
+ .forwardIcon
48
+ .backIcon
49
+ .upIcon
50
+ .downIcon
51
+ .forwardAltIcon
52
+ .backAltIcon
53
+ .plusIcon
54
+ .minorIcon
55
+ .removeIcon
56
+ .roundedRemoveIcon
57
+ .minorRoundedIcon
58
+ .plusRoundedIcon
59
+ .moreIcon
60
+ .lessIcon
61
+ /.permalinkIcon
@@ -0,0 +1,61 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link href='stylesheets/screen.css' rel='stylesheet' type='text/css'>
5
+ <script src='http://localhost:8001/vogue-client.js' type='text/javascript'></script>
6
+ </head>
7
+ <body>
8
+ <div class='rectangle'></div>
9
+ <div class='circle'></div>
10
+ <div class='oval'></div>
11
+ <div class='trianguleUp'></div>
12
+ <div class='trianguleDown'></div>
13
+ <div class='trianguleLeft'></div>
14
+ <div class='trianguleRight'></div>
15
+ <div class='trianguleTopLeft'></div>
16
+ <div class='trianguleTopRight'></div>
17
+ <div class='trianguleBottomLeft'></div>
18
+ <div class='trianguleBottomRight'></div>
19
+ <div class='downRibbonIcon'></div>
20
+ <div class='upRibbonIcon'></div>
21
+ <div class='leftRibbonIcon'></div>
22
+ <div class='rightRibbonIcon'></div>
23
+ <div class='playIcon'></div>
24
+ <div class='stopIcon'></div>
25
+ <div class='pauseIcon'></div>
26
+ <div class='pauseAltIcon'></div>
27
+ <div class='square'></div>
28
+ <div class='fastFoward'></div>
29
+ <div class='infoIcon'></div>
30
+ <div class='helpIcon'></div>
31
+ <div class='successIcon'></div>
32
+ <div class='successAltIcon'></div>
33
+ <div class='warningIcon'></div>
34
+ <div class='deniedIcon'></div>
35
+ <div class='pieChartIcon'></div>
36
+ <div class='viewsIcon'></div>
37
+ <!-- .headPhoneIcon -->
38
+ <div class='ipodIcon'></div>
39
+ <div class='toolIcon'></div>
40
+ <div class='historyIcon'></div>
41
+ <div class='powerIcon'></div>
42
+ <div class='enlargeIcon'></div>
43
+ <div class='popOutIcon'></div>
44
+ <!-- .expandIcon -->
45
+ <div class='forwardIcon'></div>
46
+ <div class='backIcon'></div>
47
+ <div class='upIcon'></div>
48
+ <div class='downIcon'></div>
49
+ <div class='forwardAltIcon'></div>
50
+ <div class='backAltIcon'></div>
51
+ <div class='plusIcon'></div>
52
+ <div class='minorIcon'></div>
53
+ <div class='removeIcon'></div>
54
+ <div class='roundedRemoveIcon'></div>
55
+ <div class='minorRoundedIcon'></div>
56
+ <div class='plusRoundedIcon'></div>
57
+ <div class='moreIcon'></div>
58
+ <div class='lessIcon'></div>
59
+ <!-- .permalinkIcon -->
60
+ </body>
61
+ </html>