mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Updating YUI to 0.12.0.
This commit is contained in:
parent
31cc9c810f
commit
ec67df2944
44
lib/yui/tabview/assets/border_tabs.css
Executable file
44
lib/yui/tabview/assets/border_tabs.css
Executable file
@ -0,0 +1,44 @@
|
||||
.yui-navset .yui-nav li a, .yui-navset .yui-content {
|
||||
border:1px solid #000; /* label and content borders */
|
||||
}
|
||||
|
||||
.yui-navset .yui-nav .selected a, .yui-navset .yui-nav a:hover, .yui-navset .yui-content {
|
||||
background-color:#f6f7ee; /* active tab, tab hover, and content bgcolor */
|
||||
}
|
||||
|
||||
.yui-navset-top .yui-nav .selected a {
|
||||
border-bottom:0; /* no bottom border for active tab */
|
||||
padding-bottom:1px; /* to match height of other tabs */
|
||||
}
|
||||
|
||||
.yui-navset-top .yui-content {
|
||||
margin-top:-1px; /* for active tab overlap */
|
||||
}
|
||||
|
||||
.yui-navset-bottom .yui-nav .selected a {
|
||||
border-top:0; /* no bottom border for active tab */
|
||||
padding-top:1px; /* to match height of other tabs */
|
||||
}
|
||||
|
||||
.yui-navset-bottom .yui-content {
|
||||
margin-bottom:-1px; /* for active tab overlap */
|
||||
}
|
||||
|
||||
.yui-navset-left .yui-nav li.selected a {
|
||||
border-right:0; /* no bottom border for active tab */
|
||||
padding-right:1px; /* to match height of other tabs */
|
||||
}
|
||||
|
||||
.yui-navset-left .yui-content {
|
||||
margin-left:-1px; /* for active tab overlap */
|
||||
}
|
||||
|
||||
.yui-navset-right .yui-nav li.selected a {
|
||||
border-left:0; /* no bottom border for active tab */
|
||||
padding-left:1px; /* to match height of other tabs */
|
||||
}
|
||||
|
||||
.yui-navset-right .yui-content {
|
||||
margin-right:-1px; /* for active tab overlap */
|
||||
*margin-right:0; /* except IE */
|
||||
}
|
66
lib/yui/tabview/assets/tabs.css
Executable file
66
lib/yui/tabview/assets/tabs.css
Executable file
@ -0,0 +1,66 @@
|
||||
/* default space between tabs */
|
||||
.yui-navset-top .yui-nav li, .yui-navset-bottom .yui-nav li {
|
||||
margin-right:0.5em; /* horizontal tabs */
|
||||
}
|
||||
.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
|
||||
margin-bottom:0.5em; /* vertical tabs */
|
||||
}
|
||||
|
||||
.yui-navset .yui-nav li em { padding:.5em; } /* default tab padding */
|
||||
|
||||
/* default width for side tabs */
|
||||
.yui-navset-left .yui-nav, .yui-navset-right .yui-nav { width:6em; }
|
||||
.yui-navset-left { padding-left:6em; } /* map to nav width */
|
||||
.yui-navset-right { padding-right:6em; } /* ditto */
|
||||
|
||||
/* core */
|
||||
|
||||
.yui-nav, .yui-nav li {
|
||||
margin:0;
|
||||
padding:0;
|
||||
list-style:none;
|
||||
}
|
||||
.yui-navset li em { font-style:normal; }
|
||||
|
||||
.yui-navset {
|
||||
position:relative; /* contain absolute positioned tabs (left/right) */
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.yui-navset .yui-content { zoom:1; }
|
||||
|
||||
.yui-navset-top .yui-nav li, .yui-navset-bottom .yui-nav li {
|
||||
display:inline-block;
|
||||
display:-moz-inline-stack;
|
||||
*display:inline; /* IE */
|
||||
vertical-align:bottom; /* safari: for overlap */
|
||||
cursor:pointer; /* gecko: due to -moz-inline-stack on anchor */
|
||||
zoom:1; /* IE: kill space between horizontal tabs */
|
||||
}
|
||||
|
||||
.yui-navset .yui-nav a {
|
||||
outline:0; /* gecko: keep from shifting */
|
||||
}
|
||||
|
||||
.yui-navset .yui-nav a { position:relative; } /* IE: to allow overlap */
|
||||
|
||||
.yui-navset .yui-nav li a {
|
||||
display:block;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.yui-navset-top .yui-nav li a, .yui-navset-bottom .yui-nav li a {
|
||||
display:inline-block;
|
||||
vertical-align:bottom; /* safari: for overlap */
|
||||
}
|
||||
|
||||
.yui-navset-bottom .yui-nav li a {
|
||||
vertical-align:text-top; /* for inline overlap (reverse for Op border bug) */
|
||||
}
|
||||
|
||||
.yui-navset .yui-nav li a em { display:block; }
|
||||
|
||||
/* position left and right oriented tabs */
|
||||
.yui-navset-left .yui-nav, .yui-navset-right .yui-nav { position:absolute; z-index:1; }
|
||||
.yui-navset-left .yui-nav { left:0; }
|
||||
.yui-navset-right .yui-nav { right:0; }
|
Loading…
x
Reference in New Issue
Block a user