~ubuntu-fr/ubuntu-fr-website/www.dev

« back to all changes in this revision

Viewing changes to sites/all/themes/bs_ubuntu_fr/sass/tabs.sass

  • Committer: Vincent Liefooghe
  • Date: 2010-11-01 09:45:50 UTC
  • Revision ID: vl@ubuntovo-20101101094550-8qagmuchhji1f0nx
Nouvelle version du theme sur 3 colonnes en page d'accueil et disparition du menu bas horizontal

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
  Tabs CSS
3
 
  --------
4
 
  Adds styles for the primary and secondary tabs.
5
 
  
6
 
  Compare this with default CSS found in the system module's stylesheet (a copy
7
 
  of which is in drupal5-reference.css, line 510.)
8
 
div.tabs
9
 
  :margin 0 0 5px 0
10
 
 
11
 
ul.primary, ul.secondary
12
 
  :width 99%
13
 
 
14
 
ul.primary
15
 
  :margin 0
16
 
  :padding 0 0 0 10px
17
 
  :border-width 0
18
 
  :list-style none
19
 
  :white-space nowrap
20
 
  :line-height normal
21
 
  :background url(../images/tabs/tab-bar.png) repeat-x left bottom
22
 
  li
23
 
    :float left
24
 
    :margin 0
25
 
    :padding 0
26
 
    &.active
27
 
      a, a:hover
28
 
        :border-width 0
29
 
        :color #000
30
 
        :background-color transparent
31
 
        :background url(../images/tabs/tab-left.png) no-repeat left 0
32
 
        .tab
33
 
          :background url(../images/tabs/tab-right.png) no-repeat right 0
34
 
    a
35
 
      :display block
36
 
      :height 24px
37
 
      :margin 0
38
 
      :padding 0 0 0 5px
39
 
      :border-width 0
40
 
      :font-weigh bold
41
 
      :text-decoration none
42
 
      :color #777
43
 
      :background-color transparent
44
 
      :background url(../images/tabs/tab-left.png) no-repeat left -38px
45
 
      &:hover
46
 
        :border-width 0
47
 
        :background-color transparent
48
 
        :background url(../images/tabs/tab-left.png) no-repeat left -76px
49
 
        .tab
50
 
          :background url(../images/tabs/tab-right.png) no-repeat right -76px
51
 
      .tab
52
 
        :display block
53
 
        :height 20px
54
 
        :margin 0
55
 
        :padding 4px 13px 0 6px
56
 
        :border-width 0
57
 
        :line-height 20px
58
 
        :background url(../images/tabs/tab-right.png) no-repeat right -38px
59
 
 
60
 
ul.secondary
61
 
  :margin 0
62
 
  :padding 0 0 0 5px
63
 
  :border-bottom 1px solid #c0c0c0
64
 
  :list-style none
65
 
  :white-space nowrap
66
 
  :background url(../images/tabs/tab-secondary-bg.png) repeat-x left bottom
67
 
  li
68
 
    :float left
69
 
    :margin 0 5px 0 0
70
 
    :padding 5px 0
71
 
    :border-right none
72
 
  a
73
 
    :display block
74
 
    :height 24px
75
 
    :margin 0
76
 
    :padding 0
77
 
    :border 1px solid #c0c0c0
78
 
    :text-decoration none
79
 
    :color #777
80
 
    :background url(../images/tabs/tab-secondary.png) repeat-x left -56px
81
 
    .active, .active&:hover
82
 
      :border 1px solid #c0c0c0
83
 
      :color #000
84
 
      :background url(../images/tabs/tab-secondary.png) repeat-x left top
85
 
    &:hover
86
 
      :background url(../images/tabs/tab-secondary.png) repeat-x left bottom
87
 
    .tab 
88
 
      :display block
89
 
      :height 18px
90
 
      :margin 0
91
 
      :padding 3px 8px
92
 
      :line-height 18px
 
 
b'\\ No newline at end of file'