pixarea-compass-themes 0.2.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Pixarea
2
2
  module Compass
3
3
  module Themes
4
- VERSION = "0.2.3"
4
+ VERSION = "0.3.1"
5
5
  end
6
6
  end
7
7
  end
@@ -1,2 +1,3 @@
1
1
  @import pixarea/themes/shapy
2
2
  @import pixarea/themes/minipane
3
+ @import pixarea/themes/cabinet
@@ -1,11 +1,11 @@
1
- =menu-inline-blocks($item-span:4)
1
+ =menu-inline-blocks($item-span:4, $padding:5px, $margin-bottom:10px)
2
2
  ul
3
3
  +inline-block-list
4
4
  li
5
- margin-bottom: 10px
5
+ margin-bottom: $margin-bottom
6
6
  +column($item-span)
7
7
  a
8
- padding: 5px
8
+ padding: $padding
9
9
  display: block
10
10
  text-align: center
11
11
  &.selected > a
@@ -0,0 +1,32 @@
1
+ // @import /stylesheets/refinery/application.css
2
+
3
+ @import compass
4
+ @import blueprint
5
+ @import blueprint/reset/utilities
6
+
7
+ @import compass/css3/pie
8
+ $pie-behavior: stylesheet-url("../theme/stylesheets/PIE.htc")
9
+
10
+ @import pixarea/lib
11
+ @import pixarea/modules
12
+
13
+ @import pixarea/themes/cabinet/formatting
14
+ @import pixarea/themes/cabinet/structure
15
+ @import pixarea/themes/cabinet/tones
16
+ @import pixarea/themes/cabinet/shapes
17
+ @import pixarea/themes/cabinet/shadows
18
+
19
+ =theme-cabinet($tones: graysand)
20
+ /* RESET ---------------------------------------------------------------------*/
21
+ +blueprint-global-reset
22
+ /* STRUCTURE -----------------------------------------------------------------*/
23
+ +cabinet-structure
24
+ /* FORMATTING-----------------------------------------------------------------*/
25
+ +cabinet-formatting
26
+ /* TONES ---------------------------------------------------------------------*/
27
+ +cabinet-tones($tones)
28
+ /* SHAPES --------------------------------------------------------------------*/
29
+ //+cabinet-shapes
30
+ /* SHADOWS -------------------------------------------------------------------*/
31
+ //+cabinet-shadows
32
+
@@ -0,0 +1,4 @@
1
+ //@import /stylesheets/refinery/formatting.css
2
+
3
+ =cabinet-formatting
4
+ +formatting-base
@@ -0,0 +1,16 @@
1
+ $shadow-color: black !default
2
+
3
+ =cabinet-shadows
4
+
5
+ $default-box-shadow-color: $shadow-color
6
+ $default-box-shadow-blur: 15px
7
+ #{$_body_content_1},
8
+ #{$_menu_1} a,
9
+ #{$_header} h1,
10
+ #{$_header} h1 a
11
+ +single-box-shadow
12
+ #{$_header} h1 a
13
+ +text-shadow(0,0,4px,transparentize($shadow-color, 0.7))
14
+ //filter: Shadow(Color=$shadow-color, Direction=135, Strength=5)
15
+ #{$_body_content_2} #{$_inner}
16
+ +box-shadow(transparentize(black, 0.6), -6px, 6px, 14px, 0)
@@ -0,0 +1,32 @@
1
+ =cabinet-shapes-form
2
+ form
3
+ input[type=text],
4
+ input[type=submit],
5
+ textarea
6
+ +pie
7
+ +border-radius
8
+
9
+ =cabinet-shapes-
10
+ $default-border-radius: 10px
11
+ +cabinet-shapes-form
12
+ #{$_header} h1,
13
+ #{$_header} h1 a,
14
+ #{$_menu_1} a,
15
+ #{$_body_content_left}
16
+ +pie
17
+ +border-radius
18
+
19
+
20
+ =cabinet-shapes
21
+ $b: 10px
22
+ +cabinet-shapes-form
23
+ h1
24
+ +border-radius-pie(50px $b)
25
+ a
26
+ +border-radius-pie(50px $b)
27
+ #{$_body_content_2} #{$_inner}
28
+ +border-radius-pie($b $b*4 $b*4 $b)
29
+ #{$_body_content_1}
30
+ +border-radius-pie($b)
31
+ #{$_menu_1} a
32
+ +border-radius-pie($b $b 0 0)
@@ -0,0 +1,45 @@
1
+ =cabinet-structure
2
+ #{$_page_title}
3
+ +visually-hide
4
+
5
+ #{$_inner}
6
+ +box
7
+ #{$_page}
8
+ #{$_header}
9
+ #{$_body_content}
10
+ +container-alt
11
+ #{$_body_content_1}
12
+ +column(17)
13
+ #{$_inner}
14
+ padding-right: 100px
15
+ #{$_no_body_content_2} #{$_body_content_1}
16
+ +column(22)
17
+ #{$_body_content_2}
18
+ +column(8)
19
+ +last
20
+ +pull(1.5)
21
+ +prepend-top(40px)
22
+
23
+ #{$_menu_1}
24
+ +menu-inline-blocks(4, 0, 0)
25
+ ul
26
+ +container-alt
27
+
28
+ #{$_header}
29
+ h1
30
+ +container-alt
31
+ a
32
+ +unstyled-link
33
+ +inline-block
34
+ padding: 20px 10px
35
+
36
+ #{$_footer}
37
+ +container-alt
38
+ padding-top: 10px
39
+ padding-left: 40px
40
+
41
+ /* FORMS ------------------------------*/
42
+ .inquiries
43
+ form
44
+ +form-basic
45
+
@@ -0,0 +1,62 @@
1
+
2
+
3
+ // DEFAULT BP VALUES:
4
+
5
+ // $font_color: #333333 !default
6
+ // $quiet_color: $font_color + #333333 !default
7
+ // $loud_color: $font_color - #222222 !default
8
+ // $header_color: $font_color - #111111 !default
9
+ // $alt_text_color: #666666 !default
10
+ // $blueprint_background_color: #eeeeee !default
11
+ //
12
+ // $link_color: #000099 !default
13
+ // $link_hover_color: black !default
14
+ // $link_focus_color: $link_hover_color !default
15
+ // $link_active_color: $link_color + #cc0000 !default
16
+ // $link_visited_color: $link_color - #333333 !default
17
+ //
18
+ // $feedback_border_color: #dddddd !default
19
+ // $success_color: #264409 !default
20
+ // $success_bg_color: #e6efc2 !default
21
+ // $success_border_color: #c6d880 !default
22
+ // $notice_color: #514721 !default
23
+ // $notice_bg_color: #fff6bf !default
24
+ // $notice_border_color: #ffd324 !default
25
+ // $error_color: #8a1f11 !default
26
+ // $error_bg_color: #fbe3e4 !default
27
+ // $error_border_color: #fbc2c4 !default
28
+ //
29
+ // $highlight_color: yellow !default
30
+ // $added_color: white !default
31
+ // $added_bg_color: #006600 !default
32
+ // $removed_color: white !default
33
+ // $removed_bg_color: #990000 !default
34
+ //
35
+ // $blueprint_table_header_color: #c3d9ff !default
36
+ // $blueprint_table_stripe_color: #e5ecf9 !default
37
+
38
+ @import pixarea/lib
39
+
40
+ @import pixarea/themes/cabinet/tones/circus
41
+ @import pixarea/themes/cabinet/tones/burma
42
+ @import pixarea/themes/cabinet/tones/dark
43
+ @import pixarea/themes/cabinet/tones/firen
44
+ @import pixarea/themes/cabinet/tones/rusty
45
+ @import pixarea/themes/cabinet/tones/graysand
46
+
47
+ =cabinet-tones($tones: dark)
48
+ @if $tones == circus
49
+ +cabinet-tones-circus
50
+ @if $tones == burma
51
+ +cabinet-tones-burma
52
+ @if $tones == dark
53
+ +cabinet-tones-dark
54
+ @if $tones == firen
55
+ +cabinet-tones-firen
56
+ @if $tones == rusty
57
+ +cabinet-tones-rusty
58
+ @if $tones == graysand
59
+ +cabinet-tones-graysand
60
+
61
+ #{$_menu_1} a
62
+ +unstyled-link
@@ -0,0 +1,30 @@
1
+ =cabinet-tones-burma
2
+
3
+ $darkblue: $burma-darkblue
4
+ $clearblue: $burma-clearblue
5
+ $sable: $burma-sable
6
+ $palegreen: $burma-palegreen
7
+ $deepgreen: $burma-deepgreen
8
+ $lightsable:$burma-lightsable
9
+
10
+ html, body
11
+ height: 100%
12
+ body
13
+ +linear-gradient-pie(#333 0%, #999 100%)
14
+ #{$_header}
15
+ h1
16
+ background: $darkblue
17
+ a
18
+ +linear-gradient-pie($palegreen 0%, $deepgreen 100%)
19
+ #{$_body_content_1}
20
+ background: $lightsable
21
+ #{$_menu_1} a
22
+ background: $lightsable - 30
23
+ #{$_body_content_2} #{$_inner}
24
+ $framb: #A83438
25
+ $bg-sub: $framb
26
+ background: $bg-sub
27
+ color: $bg-sub / 4
28
+
29
+ border: ($bg-sub / 1.5) 2px solid
30
+
@@ -0,0 +1,34 @@
1
+ =cabinet-tones-circus
2
+
3
+ $brown: $circ-brown
4
+ $red: $circ-red
5
+ $yellow: $circ-yellow
6
+ $green: $circ-green
7
+ $white: $circ-white
8
+
9
+ html, body
10
+ height: 100%
11
+ body
12
+ +linear-gradient-pie(#222 0%, #777 100%)
13
+ #{$_header}
14
+ h1
15
+ $mix: mix($yellow, $white, 50)
16
+ +linear-gradient-pie($mix 0%, $yellow 100%)
17
+ a
18
+ +linear-gradient-pie($green +#222 0%, $green -#222 100%)
19
+ #{$_body_content_1}
20
+ $mix: mix($brown, $white, 50)
21
+ +linear-gradient-pie($mix 50px, $white 300px)
22
+ #{$_menu_1} li
23
+ $mix: mix($brown, $white, 80)
24
+ +linear-gradient-pie($mix 70%, $mix - #222 100%)
25
+ color: $white !important
26
+ #{$_body_content_2} .box
27
+ background: $red
28
+ border: 5px solid mix($red,$brown - #333 ,50)
29
+
30
+
31
+
32
+
33
+
34
+
@@ -0,0 +1,70 @@
1
+ =cabinet-tones-dark
2
+
3
+ // PALETTE
4
+
5
+ $neutral: (blue/9) + (gray) + 70
6
+ $dark: $neutral / 8
7
+ $light: $neutral * 1.5
8
+ $lighter: $neutral * 2
9
+
10
+ $bg: $dark
11
+ $text: $neutral
12
+
13
+ // ASSIGNEMENTS
14
+
15
+ body
16
+ background: $bg
17
+ color: $text
18
+
19
+ a
20
+ +link-colors($lighter, $lighter + 30, $lighter, $lighter, $lighter)
21
+ +hover-link
22
+
23
+ #{$_header}
24
+ +linear-gradient-pie($bg + 25, $bg + 10)
25
+ h1
26
+ color: $neutral
27
+ a
28
+ +link-colors(inherit, inherit)
29
+ text-decoration: none
30
+ li a
31
+ //+linear-gradient-pie($bg + 45, $bg + 20)
32
+ &.selected,
33
+ &:hover
34
+ +linear-gradient-pie($bg + 65, $bg + 40)
35
+ color: $light
36
+
37
+ #{$_footer}
38
+ color: ($bg / 2) + ($neutral / 2.5)
39
+
40
+ #{$_body_content_1}
41
+ //background: $dark + 30
42
+
43
+ #{$_body_content_2}
44
+ background: $dark + 20
45
+ border: 2px solid $dark - 10
46
+
47
+
48
+ #{headers()}
49
+ color: $light
50
+
51
+ input[type=text],
52
+ input[type=submit],
53
+ textarea
54
+ background: $dark + 20
55
+ &:focus
56
+ background: $dark + 60
57
+ border: none
58
+ outline: none
59
+
60
+ input[type=submit]
61
+ color: $neutral
62
+ font-weight: bold
63
+ cursor: pointer
64
+ &:hover
65
+ background: $dark + 60
66
+ color: $lighter
67
+
68
+
69
+
70
+
@@ -0,0 +1,25 @@
1
+ =cabinet-tones-firen
2
+
3
+ $blue: $firen-blue
4
+ $egg: $firen-egg
5
+ $deepegg: $firen-deepegg
6
+ $brick: $firen-brick
7
+ $deepbrick: $firen-deepbrick
8
+
9
+ html, body
10
+ height: 100%
11
+ body
12
+ +linear-gradient-pie($deepbrick 0%, $egg 100%)
13
+ #{$_header}
14
+ h1
15
+ $mix1: mix($egg, $brick, 50)
16
+ +linear-gradient-pie($mix1 30%, $brick 95%)
17
+ a
18
+ background: $blue
19
+ #{$_body_content_1}
20
+ +linear-gradient-pie($egg 0%, $deepegg 100%)
21
+ #{$_menu_1} li
22
+ background: $egg
23
+ &:hover
24
+ #{$_body_content_2} .box
25
+ background: $egg
@@ -0,0 +1,23 @@
1
+ // palette: graysand
2
+ $graysand-sable: lighten(red/3 + yellow/2, 40)
3
+ $graysand-gray: #ddd
4
+
5
+ =cabinet-tones-graysand
6
+
7
+ $sable: $graysand-sable
8
+ $gray: $graysand-gray
9
+
10
+ html, body
11
+ height: 100%
12
+ body
13
+ background: image-url("page-shadow-centered-white-950.png") top no-repeat
14
+ #{$_header}
15
+ background: $sable
16
+ #{$_body_content_1}
17
+ #{$_menu_1}
18
+ background: $gray
19
+ #{$_body_content_2} #{$_inner}
20
+
21
+
22
+
23
+
@@ -0,0 +1,30 @@
1
+
2
+ =cabinet-tones-rusty
3
+
4
+ $brown: $rusty-brown
5
+ $red: $rusty-red
6
+ $orange: $rusty-orange
7
+ $green: $rusty-green
8
+ $young-green: $rusty-young-green
9
+ $brownish-orange: $rusty-brownish-orange
10
+ $mix1: mix($brownish-orange,white,50)
11
+ $shadow-color: $rusty-brown !default
12
+
13
+ html, body
14
+ height: 100%
15
+ body
16
+ +linear-gradient-pie($brown, $brownish-orange)
17
+ #{$_header}
18
+ h1
19
+ +linear-gradient-pie(saturate(lighten($young-green, 20),100) 0%,saturate(darken($green,10),30) 100%)
20
+ a
21
+ +linear-gradient(color-stops(lighten($orange, 30), lighten($orange, 20), $orange, $red))
22
+ color: darken($brownish-orange, 5)
23
+ #{$_body_content_1}
24
+ +linear-gradient-pie($mix1 0%, white 100%)
25
+ #{$_menu_1} li
26
+ +linear-gradient-pie($mix1 0%, darken($mix1,20) 100%)
27
+ &:hover
28
+ +linear-gradient-pie($mix1 0%, $mix1 100%)
29
+ #{$_body_content_2} .box
30
+ background: mix($young-green, $brownish-orange, 30)
@@ -1,30 +1,35 @@
1
- @import base
2
- @import pixarea/themes
3
-
4
- +theme-minipane(burma)
5
-
6
-
7
- // LIST OF AVAILABLE PRECONFIGURED THEMES:
8
-
9
- // +theme-minipane(dark)
10
- // +theme-minipane(burma)
11
- // +theme-shapy(burma)
12
- // +theme-shapy(circus)
13
- // +theme-shapy(dark)
14
- // +theme-shapy(firen)
15
- // +theme-shapy(rusty)
16
-
17
-
18
- // NOTES:
19
-
20
- // All themes are supra-modular, so you can use all or only parts of any theme.
21
- // Add your own themes, create your own color-palettes, shadows, ...
22
- // Learn here how a theme is structured, so you can use only parts of it, and
23
- // build your own themes in minutes:
24
- // https://github.com/danielres/pixarea-compass-themes/blob/master/sass/pixarea/themes/_minipane.sass
25
-
26
- // The themes use configurable, reusable elements, called "modules":
27
- // https://github.com/danielres/pixarea-compass-themes/tree/master/sass/pixarea/modules
28
-
29
- // Modules and themes use preconfigured values and mixins, which you can find in the "lib" folder:
30
- // https://github.com/danielres/pixarea-compass-themes/tree/master/sass/pixarea/lib
1
+ @import base
2
+ @import pixarea/themes
3
+
4
+ +theme-minipane(dark)
5
+
6
+
7
+ // LIST OF AVAILABLE PRECONFIGURED THEMES:
8
+
9
+ // +theme-minipane(dark)
10
+ // +theme-minipane(burma)
11
+ // +theme-shapy(burma)
12
+
13
+ // +theme-shapy(circus)
14
+
15
+ // +theme-shapy(dark)
16
+
17
+ // +theme-shapy(firen)
18
+
19
+ // +theme-shapy(rusty)
20
+
21
+
22
+
23
+ // NOTES:
24
+
25
+ // All themes are supra-modular, so you can use all or only parts of any theme.
26
+ // Add your own themes, create your own color-palettes, shadows, ...
27
+ // Learn here how a theme is structured, so you can use only parts of it, and
28
+ // build your own themes in minutes:
29
+ // https://github.com/danielres/pixarea-compass-themes/blob/master/sass/pixarea/themes/_minipane.sass
30
+
31
+ // The themes use configurable, reusable elements, called "modules":
32
+ // https://github.com/danielres/pixarea-compass-themes/tree/master/sass/pixarea/modules
33
+
34
+ // Modules and themes use preconfigured values and mixins, which you can find in the "lib" folder:
35
+ // https://github.com/danielres/pixarea-compass-themes/tree/master/sass/pixarea/lib
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pixarea-compass-themes
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Reszka
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-19 00:00:00 +02:00
13
+ date: 2011-04-20 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -58,8 +58,20 @@ files:
58
58
  - sass/pixarea/modules/forms/_basic.sass
59
59
  - sass/pixarea/modules/menus/_inline-blocks.sass
60
60
  - sass/pixarea/theme.sass
61
+ - sass/pixarea/themes/_cabinet.sass
61
62
  - sass/pixarea/themes/_minipane.sass
62
63
  - sass/pixarea/themes/_shapy.sass
64
+ - sass/pixarea/themes/cabinet/_formatting.sass
65
+ - sass/pixarea/themes/cabinet/_shadows.sass
66
+ - sass/pixarea/themes/cabinet/_shapes.sass
67
+ - sass/pixarea/themes/cabinet/_structure.sass
68
+ - sass/pixarea/themes/cabinet/_tones.sass
69
+ - sass/pixarea/themes/cabinet/tones/_burma.sass
70
+ - sass/pixarea/themes/cabinet/tones/_circus.sass
71
+ - sass/pixarea/themes/cabinet/tones/_dark.sass
72
+ - sass/pixarea/themes/cabinet/tones/_firen.sass
73
+ - sass/pixarea/themes/cabinet/tones/_graysand.sass
74
+ - sass/pixarea/themes/cabinet/tones/_rusty.sass
63
75
  - sass/pixarea/themes/minipane/_formatting.sass
64
76
  - sass/pixarea/themes/minipane/_shadows.sass
65
77
  - sass/pixarea/themes/minipane/_shapes.sass
@@ -78,6 +90,7 @@ files:
78
90
  - sass/pixarea/themes/shapy/tones/_firen.sass
79
91
  - sass/pixarea/themes/shapy/tones/_rusty.sass
80
92
  - templates/project/_base.sass
93
+ - templates/project/images/page-shadow-centered-white-950.png
81
94
  - templates/project/manifest.rb
82
95
  - templates/project/stylesheets/PIE.htc
83
96
  - templates/project/theme.sass