Permalink
Browse files

Tabs for people styled.

  • Loading branch information...
1 parent 11bc89c commit c5aa95b046d55e32cf86734ed82c02cb23a50d75 @raskhadafi raskhadafi committed Dec 17, 2010
@@ -11,7 +11,7 @@ body
#content-column
+column($column_content)
- width: 86.347%
+ margin-right: 0.7%
#sidebar-column
+column($column_sidebar)
@@ -35,7 +35,6 @@ body
#content-column
background-color: white
border: 1px solid #dddddd
- margin-left: -2px
+border-radius($border_radius)
* html #content
@@ -108,15 +108,15 @@
font-size: 1em
.ui-widget-content
- border: 1px solid #e4e4e4
- background: #f6f6f6 url(/images/jquery-ui/ui-bg_inset-hard_100_f6f6f6_1x100.png) 50% bottom repeat-x
+ //border: 1px solid #e4e4e4
+ //background: #f6f6f6 url(/images/jquery-ui/ui-bg_inset-hard_100_f6f6f6_1x100.png) 50% bottom repeat-x
color: #222222
a
color: #222222
.ui-widget-header
- border: 1px solid #7e89a0
- background: #aeb9cf url(/images/jquery-ui/ui-bg_gloss-wave_55_aeb9cf_500x100.png) 50% 50% repeat-x
+ //border: 1px solid #7e89a0
+ //background: #aeb9cf url(/images/jquery-ui/ui-bg_gloss-wave_55_aeb9cf_500x100.png) 50% 50% repeat-x
color: white
font-weight: bold
a
@@ -127,20 +127,22 @@
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
border: 1px solid #e4e4e4
- background: #aeb9cf url(/images/jquery-ui/ui-bg_glass_85_aeb9cf_1x400.png) 50% 50% repeat-x
+ //background: #aeb9cf url(/images/jquery-ui/ui-bg_glass_85_aeb9cf_1x400.png) 50% 50% repeat-x
+ background: white
font-weight: bold
- color: white
+ color: #555555
.ui-state-default a
- color: white
+ color: #555555
text-decoration: none
&:link, &:visited
- color: white
+ color: #555555
text-decoration: none
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus
border: 1px solid #e4e4e4
- background: #759fcf url(/images/jquery-ui/ui-bg_glass_75_759fcf_1x400.png) 50% 50% repeat-x
+ //background: #759fcf url(/images/jquery-ui/ui-bg_glass_75_759fcf_1x400.png) 50% 50% repeat-x
+ background: #759FCF
font-weight: bold
color: black
@@ -153,7 +155,8 @@
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active
border: 1px solid #e4e4e4
- background: #759fcf url(/images/jquery-ui/ui-bg_inset-hard_100_759fcf_1x100.png) 50% 50% repeat-x
+ //background: #759fcf url(/images/jquery-ui/ui-bg_inset-hard_100_759fcf_1x100.png) 50% 50% repeat-x
+ background: #AEB9CF
font-weight: bold
color: black 0
@@ -1259,17 +1262,20 @@ button.ui-button::-moz-focus-inner
padding: 0.2em 0.2em 0
li
list-style: none
- float: left
- position: relative
- top: 1px
- margin: 0 0.2em 1px 0
- border-bottom: 0 !important
+ //float: left
+ //position: relative
+ //top: 1px
+ //margin: 0 0.2em 1px 0
+ //border-bottom: 0 !important
padding: 0
white-space: nowrap
+ +border-bottom-left-radius(5px)
+ +border-top-right-radius(0px)
a
- float: left
+ //float: left
padding: 0.5em 1em
text-decoration: none
+ display: block
&.ui-tabs-selected
margin-bottom: 0
padding-bottom: 1px
@@ -1285,7 +1291,13 @@ button.ui-button::-moz-focus-inner
display: block
border-width: 0
padding: 1em 1.4em
- background: none
+ //background: none
+ border: 1px solid #e4e4e4
+ background: #f6f6f6 url(/images/jquery-ui/ui-bg_inset-hard_100_f6f6f6_1x100.png) 50% bottom repeat-x
+ float: left
+ +border-radius(5px)
+ width: 85%
+ min-height: 540px
.ui-tabs-hide
display: none !important
@@ -1471,3 +1483,10 @@ button.ui-button::-moz-focus-inner
.ui-progressbar-value
margin: -1px
height: 100%
+
+// Custom modifications
+#tabs ul
+ disply: inline-table
+ float: left
+ padding: 0
+ margin-top: 20px
@@ -1,3 +1,5 @@
-%h2= t('learnyt.address')
+= render 'people/tab_header'
+%h2
+ = t('learnyt.address')
= full_address(resource.vcard)
@@ -1,4 +1,7 @@
-%h2= t_title(:new, User)
+= render 'people/tab_header'
+
+%h2
+ = t_title(:new, User)
- @user = resource.build_user
= render 'users/form'
@@ -0,0 +1,4 @@
+%h1
+ = resource
+
+= contextual_links
@@ -1,3 +1,6 @@
-%h2= t_attr(:remarks, Person)
+= render 'people/tab_header'
+
+%h2
+ = t_attr(:remarks, Person)
%p.remarks<= resource.remarks
@@ -1,7 +1,3 @@
-= contextual_links
-
-%h1= resource
-
%div[resource]
= ui_tabs [ |
{:name => 'address', :partial => 'people/tab_address' }, |

0 comments on commit c5aa95b

Please sign in to comment.