aboutsummaryrefslogtreecommitdiff
path: root/source/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'source/stylesheets')
-rw-r--r--source/stylesheets/_base.sass3
-rw-r--r--source/stylesheets/_layout.sass (renamed from source/stylesheets/partials/main/_layout.sass)2
-rw-r--r--source/stylesheets/_partials.sass2
-rw-r--r--source/stylesheets/_theme.sass (renamed from source/stylesheets/partials/main/_theme.sass)0
-rw-r--r--source/stylesheets/_typography.sass (renamed from source/stylesheets/partials/base/_typography.sass)0
-rw-r--r--source/stylesheets/partials/_base.sass16
-rw-r--r--source/stylesheets/partials/_main.sass4
-rw-r--r--source/stylesheets/partials/_search.sass18
-rw-r--r--source/stylesheets/partials/_twitter.sass (renamed from source/stylesheets/partials/main/_twitter.sass)0
-rw-r--r--source/stylesheets/partials/main/_flash_messages.sass36
-rw-r--r--source/stylesheets/partials/main/_form.sass61
-rw-r--r--source/stylesheets/screen.sass12
12 files changed, 35 insertions, 119 deletions
diff --git a/source/stylesheets/_base.sass b/source/stylesheets/_base.sass
new file mode 100644
index 00000000..82b34b76
--- /dev/null
+++ b/source/stylesheets/_base.sass
@@ -0,0 +1,3 @@
+//compass default reset
++global-reset
+@import compass/utilities.sass \ No newline at end of file
diff --git a/source/stylesheets/partials/main/_layout.sass b/source/stylesheets/_layout.sass
index 0275a511..ab06b650 100644
--- a/source/stylesheets/partials/main/_layout.sass
+++ b/source/stylesheets/_layout.sass
@@ -18,6 +18,8 @@ html body
background-color= !header_bg
border-bottom= "1px solid" !header_border
padding: 30px 0
+ .page_width
+ position: relative
a.title
font-size= !h1
+heading-font
diff --git a/source/stylesheets/_partials.sass b/source/stylesheets/_partials.sass
new file mode 100644
index 00000000..326df48d
--- /dev/null
+++ b/source/stylesheets/_partials.sass
@@ -0,0 +1,2 @@
+@import partials/twitter.sass
+@import partials/search.sass \ No newline at end of file
diff --git a/source/stylesheets/partials/main/_theme.sass b/source/stylesheets/_theme.sass
index b159019e..b159019e 100644
--- a/source/stylesheets/partials/main/_theme.sass
+++ b/source/stylesheets/_theme.sass
diff --git a/source/stylesheets/partials/base/_typography.sass b/source/stylesheets/_typography.sass
index b5fcd56e..b5fcd56e 100644
--- a/source/stylesheets/partials/base/_typography.sass
+++ b/source/stylesheets/_typography.sass
diff --git a/source/stylesheets/partials/_base.sass b/source/stylesheets/partials/_base.sass
deleted file mode 100644
index c88d3c01..00000000
--- a/source/stylesheets/partials/_base.sass
+++ /dev/null
@@ -1,16 +0,0 @@
-//compass default reset
-+global-reset
-//my reset
-button
- margin: 0
- padding: 0
- background: none
- border: none
- cursor: pointer
-
-button::-moz-focus-inner
- border: none
- padding: 0
-
-@import compass/utilities.sass
-@import base/typography.sass \ No newline at end of file
diff --git a/source/stylesheets/partials/_main.sass b/source/stylesheets/partials/_main.sass
deleted file mode 100644
index 374268c8..00000000
--- a/source/stylesheets/partials/_main.sass
+++ /dev/null
@@ -1,4 +0,0 @@
-@import main/theme.sass
-@import main/layout.sass
-@import main/form.sass
-@import main/twitter.sass \ No newline at end of file
diff --git a/source/stylesheets/partials/_search.sass b/source/stylesheets/partials/_search.sass
new file mode 100644
index 00000000..4de9c021
--- /dev/null
+++ b/source/stylesheets/partials/_search.sass
@@ -0,0 +1,18 @@
+#search
+ position: absolute
+ left= !page_width + !sidebar_margin - !sidebar_width
+ top= 10%
+ form
+ background: url(/images/search_bg.png) no-repeat
+ padding: 2px 0 0
+ height: 28px
+ width: 218px
+ #q
+ background: none
+ width: 160px
+ margin-left: 30px
+ font-size: 15px
+ border: none
+ color: #aaa
+ &:focus
+ outline: none \ No newline at end of file
diff --git a/source/stylesheets/partials/main/_twitter.sass b/source/stylesheets/partials/_twitter.sass
index baeef5b4..baeef5b4 100644
--- a/source/stylesheets/partials/main/_twitter.sass
+++ b/source/stylesheets/partials/_twitter.sass
diff --git a/source/stylesheets/partials/main/_flash_messages.sass b/source/stylesheets/partials/main/_flash_messages.sass
deleted file mode 100644
index bdc9f9c1..00000000
--- a/source/stylesheets/partials/main/_flash_messages.sass
+++ /dev/null
@@ -1,36 +0,0 @@
-!flash_notice ||= #00529B
-!flash_success ||= #4F8A10
-!flash_warning ||= #FBF4BD
-!flash_error ||= #D8000C
-!flash_notice_bg ||= #BDE5F8
-!flash_success_bg ||= #DFF2BF
-!flash_warning_bg ||= #FBF4BD
-!flash_error_bg ||= #FFD9DA
-
-=flash-message-style
- +flash-message-structure
- &.notice
- +flash-color(!flash_notice, !flash_notice_bg)
- &.success
- +flash-color(!flash_success, !flash_success_bg)
- &.warning
- +flash-color(!flash_warning, !flash_warning_bg)
- &.error
- +flash-color(!flash_error, !flash_error_bg)
-
-=flash-message-structure
- background-repeat: no-repeat
- background-position: 10px center
- border: 1px dashed
- padding: 10px 15px
- margin: 0 0 15px
-
-=flash-color(!color, !bg = 0)
- color= !color
- @if !bg == 0
- background-color= desaturate(lighten(adjust_hue(!color, -10), 83), 20)
- @else
- background-color= !bg
-
-#flash
- +flash-message-style \ No newline at end of file
diff --git a/source/stylesheets/partials/main/_form.sass b/source/stylesheets/partials/main/_form.sass
deleted file mode 100644
index dc28ff0f..00000000
--- a/source/stylesheets/partials/main/_form.sass
+++ /dev/null
@@ -1,61 +0,0 @@
-#page
- form
- clear: both
- padding-bottom= !pad
- fieldset, fieldset input.textbox, fieldset textarea
- +border-radius
- fieldset
- background-color= !fieldset_bg
- width: 480px
- border= "1px solid" !fieldset_border
- padding: 35px 25px 20px
- margin-bottom= !pad*2.2
- label
- font-size: 90%
- display: block
- padding-bottom: 4px
- select
- font-size: 110%
- input.textbox, textarea
- font-size: 115%
- color= !textinput_color
- background-color= !textinput_bg
-
- width: 70%
- padding: 6px 8px
- outline: 0
- display: inline-block
-
- border: 1px solid
- border-top-color= !textinput_border_top
- border-bottom-color= !textinput_border_bottom
- border-left-color= !textinput_border_left
- border-right-color= !textinput_border_right
-
- &:focus
- background= !textinput_bg_focus
- border-color= !textinput_border_focus
-
- input.checkbox, label.checkbox
- display: inline-block
- p
- +clearfix
- padding= 0 8px !pad
- input.wrong:focus
- outline: 2px solid #d0a5a5
- background: #fef2f2
- button
- +border-radius(5px)
- +btn-style(!blue_btn)
- +btn-structure(18px, 1px)
- color= !default_button_text_color
- border:
- width: 1px
- style: solid
- &:hover, &:focus
- +btn-style-hover(!blue_btn)
- outline: none
- &:active
- +btn-style-active(!blue_btn)
- a.cancel
- color= !cancel_link \ No newline at end of file
diff --git a/source/stylesheets/screen.sass b/source/stylesheets/screen.sass
index 51e46f6c..e7fcb538 100644
--- a/source/stylesheets/screen.sass
+++ b/source/stylesheets/screen.sass
@@ -1,3 +1,11 @@
+/* SASS mixins */
@import library.sass
-@import partials/base.sass
-@import partials/main.sass \ No newline at end of file
+
+/* primary SASS */
+@import base.sass
+@import theme.sass
+@import typography.sass
+@import layout.sass
+
+/* specific SASS */
+@import partials.sass \ No newline at end of file