diff options
Diffstat (limited to 'themes/default/css')
| -rw-r--r-- | themes/default/css/screen.css | 148 | ||||
| -rw-r--r-- | themes/default/css/superfish-navbar.css | 93 | ||||
| -rw-r--r-- | themes/default/css/superfish.css | 136 | 
3 files changed, 295 insertions, 82 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 5e08c61f..10c80d49 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -92,13 +92,13 @@ input[type="text"],  input[type="password"],  textarea,  select { +  width: 50%;  }  input[type="text"],  input[type="password"],  textarea,  .gValidationRule { -  width: 40%;  }  input[type="button"] { @@ -391,37 +391,27 @@ li.gError select {  /* Inline layout (forms, lists) ~~~~~~~~~~ */ -#gHeader #gLoginMenu li,  #gHeader #gSearchForm li,  #gSidebar #gAddTagForm li {    float: left;    padding: .4em .5em;  } -#gHeader #gLoginMenu input[type="text"], -#gHeader #gLoginMenu input[type="password"],  #gHeader #gSearchForm input[type="text"],  #gSidebar #gAddTagForm input[type="text"] {    width: 10em;  } -#gHeader #gLoginForm button { -  margin-top: 1em; -} -  #gHeader #gSearchForm {    float: right;    margin-right: 20px;  } -#gHeader #gLoginForm legend, -#gHeader #gLoginFormContainer,  #gHeader #gSearchForm label,  #gSidebar #gAddTagForm legend {    display: none;  } -#gHeader #gLoginForm fieldset,  #gSidebar #gAddTagForm fieldset {    border: none;  } @@ -448,8 +438,6 @@ li.gError select {  /* Login menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */  #gLoginMenu { -  border: 1px solid #ccc; -  border-top: none;    float: right;    margin-right: 20px;  } @@ -466,10 +454,6 @@ li.gError select {    margin-bottom: 0;  } -#gViewMenu li { -  float: left; -} -  #gViewMenu #gAlbumLink,  #gViewMenu #gHybridLink,   #gViewMenu #gSlideshowLink, @@ -790,10 +774,10 @@ span.gInPlaceEdit:hover {    text-decoration: none;    padding: .5em 1.7em;    color: #444444; -  background: #e6e6e6 url(../jquery/images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x; +  background: #e6e6e6 url(../images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x;  }  .ui-tabs-nav li a:hover, .ui-tabs-nav li a:focus, .ui-tabs-nav li a:active { /* order: LVHFA */ -  background: #eb9300 url(../jquery/images/eb9300_40x100_textures_02_glass_90.png) 0 50% repeat-x; +  background: #eb9300 url(../images/eb9300_40x100_textures_02_glass_90.png) 0 50% repeat-x;    color: #111111;  }  .ui-tabs-nav li.ui-tabs-selected { @@ -801,13 +785,13 @@ span.gInPlaceEdit:hover {  }  .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs-nav li.ui-tabs-selected a:hover,  .ui-tabs-nav li.ui-tabs-selected a:focus, .ui-tabs-nav li.ui-tabs-selected a:active { -  background: #8ab9ff url(../jquery/images/8ab9ff_40x100_textures_02_glass_50.png) 0 50% repeat-x; +  background: #8ab9ff url(../images/8ab9ff_40x100_textures_02_glass_50.png) 0 50% repeat-x;    color: #000;  }  .ui-tabs-panel {    clear:left;    border: 1px solid #ccc; -  background: #f3f3f3 url(../jquery/images/f3f3f3_40x100_textures_01_flat_0.png) 0 0 repeat-x; +  background: #f3f3f3 url(../images/f3f3f3_40x100_textures_01_flat_0.png) 0 0 repeat-x;    color: #362b36;    padding: 1.5em 1.7em;      min-width: 0; /* => IE7 trigger hasLayout (while maintaining valid CSS) to prevent margins pushed here from preceding elements */ @@ -823,7 +807,7 @@ span.gInPlaceEdit:hover {  .ui-dialog {    font-family: Lucida Grande, Lucida Sans, Arial, sans-serif;    font-size: 1.2em; -  background: #f3f3f3 url(../jquery/images/f3f3f3_40x100_textures_01_flat_0.png) 0 0 repeat-x; +  background: #f3f3f3 url(../images/f3f3f3_40x100_textures_01_flat_0.png) 0 0 repeat-x;    color: #362b36;    border: 4px solid #dddddd;    position: relative; @@ -872,7 +856,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body    height: 18px;     right: -5px;     bottom: -5px;  -  background: url(../jquery/images/222222_11x11_icon_resize_se.gif) no-repeat 0 0; +  background: url(../images/222222_11x11_icon_resize_se.gif) no-repeat 0 0;  }  .ui-resizable-sw {     cursor: sw-resize;  @@ -898,7 +882,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body  .ui-dialog-titlebar {    padding: .5em 1.5em .5em 1em;    color: #444444; -  background: #e6e6e6 url(../jquery/images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x; +  background: #e6e6e6 url(../images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x;    border-bottom: 1px solid #cccccc;    font-size: 1em;    font-weight: normal; @@ -906,7 +890,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body  }  .ui-dialog-title {}  .ui-dialog-titlebar-close { -  background: url(../jquery/images/888888_11x11_icon_close.gif) 0 0 no-repeat; +  background: url(../images/888888_11x11_icon_close.gif) 0 0 no-repeat;    position: absolute;    right: 8px;    top: .7em; @@ -915,10 +899,10 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body    z-index: 100;  }  .ui-dialog-titlebar-close-hover, .ui-dialog-titlebar-close:hover { -  background: url(../jquery/images/222222_11x11_icon_close.gif) 0 0 no-repeat; +  background: url(../images/222222_11x11_icon_close.gif) 0 0 no-repeat;  }  .ui-dialog-titlebar-close:active { -  background: url(../jquery/images/ffffff_11x11_icon_close.gif) 0 0 no-repeat; +  background: url(../images/ffffff_11x11_icon_close.gif) 0 0 no-repeat;  }  .ui-dialog-titlebar-close span {    display: none; @@ -938,7 +922,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body  .ui-dialog-buttonpane button {    margin: .5em 0 .5em 8px;    color: #444444; -  background: #e6e6e6 url(../jquery/images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x; +  background: #e6e6e6 url(../images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x;    font-size: 1em;    border: 1px solid #cccccc;    cursor: pointer; @@ -947,12 +931,12 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body  }  .ui-dialog-buttonpane button:hover {    color: #111111; -  background: #eb9300 url(../jquery/images/eb9300_40x100_textures_02_glass_90.png) 0 50% repeat-x; +  background: #eb9300 url(../images/eb9300_40x100_textures_02_glass_90.png) 0 50% repeat-x;    border: 1px solid #888888;  }  .ui-dialog-buttonpane button:active {    color: #000000; -  background: #8ab9ff url(../jquery/images/8ab9ff_40x100_textures_02_glass_50.png) 0 50% repeat-x; +  background: #8ab9ff url(../images/8ab9ff_40x100_textures_02_glass_50.png) 0 50% repeat-x;    border: 1px solid #2694e8;  }  /* This file skins dialog */ @@ -972,7 +956,7 @@ Generic ThemeRoller Classes  /*component content styles*/  .ui-component-content {    border: 1px solid #dddddd; -  background: #f3f3f3 url(../jquery/images/f3f3f3_40x100_textures_01_flat_0.png) 0 0 repeat-x; +  background: #f3f3f3 url(../images/f3f3f3_40x100_textures_01_flat_0.png) 0 0 repeat-x;    color: #362b36;  }  .ui-component-content a { @@ -982,7 +966,7 @@ Generic ThemeRoller Classes  /*component states*/  .ui-default-state {    border: 1px solid #ccc; -  background: #e6e6e6 url(../jquery/images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x; +  background: #e6e6e6 url(../images/e6e6e6_40x100_textures_02_glass_80.png) 0 50% repeat-x;    font-weight: normal;    color: #444444 !important;  } @@ -991,7 +975,7 @@ Generic ThemeRoller Classes  }  .ui-default-state:hover, .ui-hover-state {    border: 1px solid #888888; -  background: #eb9300 url(../jquery/images/eb9300_40x100_textures_02_glass_90.png) 0 50% repeat-x; +  background: #eb9300 url(../images/eb9300_40x100_textures_02_glass_90.png) 0 50% repeat-x;    font-weight: normal;    color: #111111 !important;  } @@ -1000,7 +984,7 @@ Generic ThemeRoller Classes  }  .ui-default-state:active, .ui-active-state {    border: 1px solid #2694e8; -  background: #8ab9ff url(../jquery/images/8ab9ff_40x100_textures_02_glass_50.png) 0 50% repeat-x; +  background: #8ab9ff url(../images/8ab9ff_40x100_textures_02_glass_50.png) 0 50% repeat-x;    font-weight: normal;    color: #000 !important;    outline: none; @@ -1010,65 +994,65 @@ Generic ThemeRoller Classes    outline: none;  }  /*icons*/ -.ui-arrow-right-default {background: url(../jquery/images/888888_7x7_arrow_right.gif) no-repeat 50% 50%;} -.ui-arrow-right-default:hover, .ui-arrow-right-hover {background: url(../jquery/images/222222_7x7_arrow_right.gif) no-repeat 50% 50%;} -.ui-arrow-right-default:active, .ui-arrow-right-active {background: url(../jquery/images/ffffff_7x7_arrow_right.gif) no-repeat 50% 50%;} -.ui-arrow-right-content {background: url(../jquery/images/222222_7x7_arrow_right.gif) no-repeat 50% 50%;} +.ui-arrow-right-default {background: url(../images/888888_7x7_arrow_right.gif) no-repeat 50% 50%;} +.ui-arrow-right-default:hover, .ui-arrow-right-hover {background: url(../images/222222_7x7_arrow_right.gif) no-repeat 50% 50%;} +.ui-arrow-right-default:active, .ui-arrow-right-active {background: url(../images/ffffff_7x7_arrow_right.gif) no-repeat 50% 50%;} +.ui-arrow-right-content {background: url(../images/222222_7x7_arrow_right.gif) no-repeat 50% 50%;} -.ui-arrow-left-default {background: url(../jquery/images/888888_7x7_arrow_left.gif) no-repeat 50% 50%;} -.ui-arrow-left-default:hover, .ui-arrow-left-hover {background: url(../jquery/images/222222_7x7_arrow_left.gif) no-repeat 50% 50%;} -.ui-arrow-left-default:active, .ui-arrow-left-active {background: url(../jquery/images/ffffff_7x7_arrow_left.gif) no-repeat 50% 50%;} -.ui-arrow-left-content {background: url(../jquery/images/222222_7x7_arrow_left.gif) no-repeat 50% 50%;} +.ui-arrow-left-default {background: url(../images/888888_7x7_arrow_left.gif) no-repeat 50% 50%;} +.ui-arrow-left-default:hover, .ui-arrow-left-hover {background: url(../images/222222_7x7_arrow_left.gif) no-repeat 50% 50%;} +.ui-arrow-left-default:active, .ui-arrow-left-active {background: url(../images/ffffff_7x7_arrow_left.gif) no-repeat 50% 50%;} +.ui-arrow-left-content {background: url(../images/222222_7x7_arrow_left.gif) no-repeat 50% 50%;} -.ui-arrow-down-default {background: url(../jquery/images/888888_7x7_arrow_down.gif) no-repeat 50% 50%;} -.ui-arrow-down-default:hover, .ui-arrow-down-hover {background: url(../jquery/images/222222_7x7_arrow_down.gif) no-repeat 50% 50%;} -.ui-arrow-down-default:active, .ui-arrow-down-active {background: url(../jquery/images/ffffff_7x7_arrow_down.gif) no-repeat 50% 50%;} -.ui-arrow-down-content {background: url(../jquery/images/222222_7x7_arrow_down.gif) no-repeat 50% 50%;} +.ui-arrow-down-default {background: url(../images/888888_7x7_arrow_down.gif) no-repeat 50% 50%;} +.ui-arrow-down-default:hover, .ui-arrow-down-hover {background: url(../images/222222_7x7_arrow_down.gif) no-repeat 50% 50%;} +.ui-arrow-down-default:active, .ui-arrow-down-active {background: url(../images/ffffff_7x7_arrow_down.gif) no-repeat 50% 50%;} +.ui-arrow-down-content {background: url(../images/222222_7x7_arrow_down.gif) no-repeat 50% 50%;} -.ui-arrow-up-default {background: url(../jquery/images/888888_7x7_arrow_up.gif) no-repeat 50% 50%;} -.ui-arrow-up-default:hover, .ui-arrow-up-hover {background: url(../jquery/images/222222_7x7_arrow_up.gif) no-repeat 50% 50%;} -.ui-arrow-up-default:active, .ui-arrow-up-active {background: url(../jquery/images/ffffff_7x7_arrow_up.gif) no-repeat 50% 50%;} -.ui-arrow-up-content {background: url(../jquery/images/222222_7x7_arrow_up.gif) no-repeat 50% 50%;} +.ui-arrow-up-default {background: url(../images/888888_7x7_arrow_up.gif) no-repeat 50% 50%;} +.ui-arrow-up-default:hover, .ui-arrow-up-hover {background: url(../images/222222_7x7_arrow_up.gif) no-repeat 50% 50%;} +.ui-arrow-up-default:active, .ui-arrow-up-active {background: url(../images/ffffff_7x7_arrow_up.gif) no-repeat 50% 50%;} +.ui-arrow-up-content {background: url(../images/222222_7x7_arrow_up.gif) no-repeat 50% 50%;} -.ui-close-default {background: url(../jquery/images/888888_11x11_icon_close.gif) no-repeat 50% 50%;} -.ui-close-default:hover, .ui-close-hover {background: url(../jquery/images/222222_11x11_icon_close.gif) no-repeat 50% 50%;} -.ui-close-default:active, .ui-close-active {background: url(../jquery/images/ffffff_11x11_icon_close.gif) no-repeat 50% 50%;} -.ui-close-content {background: url(../jquery/images/ffffff_11x11_icon_close.gif) no-repeat 50% 50%;} +.ui-close-default {background: url(../images/888888_11x11_icon_close.gif) no-repeat 50% 50%;} +.ui-close-default:hover, .ui-close-hover {background: url(../images/222222_11x11_icon_close.gif) no-repeat 50% 50%;} +.ui-close-default:active, .ui-close-active {background: url(../images/ffffff_11x11_icon_close.gif) no-repeat 50% 50%;} +.ui-close-content {background: url(../images/ffffff_11x11_icon_close.gif) no-repeat 50% 50%;} -.ui-folder-closed-default {background: url(../jquery/images/888888_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} -.ui-folder-closed-default:hover, .ui-folder-closed-hover {background: url(../jquery/images/222222_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} -.ui-folder-closed-default:active, .ui-folder-closed-active {background: url(../jquery/images/ffffff_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} -.ui-folder-closed-content {background: url(../jquery/images/888888_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} +.ui-folder-closed-default {background: url(../images/888888_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} +.ui-folder-closed-default:hover, .ui-folder-closed-hover {background: url(../images/222222_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} +.ui-folder-closed-default:active, .ui-folder-closed-active {background: url(../images/ffffff_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} +.ui-folder-closed-content {background: url(../images/888888_11x11_icon_folder_closed.gif) no-repeat 50% 50%;} -.ui-folder-open-default {background: url(../jquery/images/888888_11x11_icon_folder_open.gif) no-repeat 50% 50%;} -.ui-folder-open-default:hover, .ui-folder-open-hover {background: url(../jquery/images/222222_11x11_icon_folder_open.gif) no-repeat 50% 50%;} -.ui-folder-open-default:active, .ui-folder-open-active {background: url(../jquery/images/ffffff_11x11_icon_folder_open.gif) no-repeat 50% 50%;} -.ui-folder-open-content {background: url(../jquery/images/ffffff_11x11_icon_folder_open.gif) no-repeat 50% 50%;} +.ui-folder-open-default {background: url(../images/888888_11x11_icon_folder_open.gif) no-repeat 50% 50%;} +.ui-folder-open-default:hover, .ui-folder-open-hover {background: url(../images/222222_11x11_icon_folder_open.gif) no-repeat 50% 50%;} +.ui-folder-open-default:active, .ui-folder-open-active {background: url(../images/ffffff_11x11_icon_folder_open.gif) no-repeat 50% 50%;} +.ui-folder-open-content {background: url(../images/ffffff_11x11_icon_folder_open.gif) no-repeat 50% 50%;} -.ui-doc-default {background: url(../jquery/images/888888_11x11_icon_doc.gif) no-repeat 50% 50%;} -.ui-doc-default:hover, .ui-doc-hover {background: url(../jquery/images/222222_11x11_icon_doc.gif) no-repeat 50% 50%;} -.ui-doc-default:active, .ui-doc-active {background: url(../jquery/images/ffffff_11x11_icon_doc.gif) no-repeat 50% 50%;} -.ui-doc-content {background: url(../jquery/images/222222_11x11_icon_doc.gif) no-repeat 50% 50%;} +.ui-doc-default {background: url(../images/888888_11x11_icon_doc.gif) no-repeat 50% 50%;} +.ui-doc-default:hover, .ui-doc-hover {background: url(../images/222222_11x11_icon_doc.gif) no-repeat 50% 50%;} +.ui-doc-default:active, .ui-doc-active {background: url(../images/ffffff_11x11_icon_doc.gif) no-repeat 50% 50%;} +.ui-doc-content {background: url(../images/222222_11x11_icon_doc.gif) no-repeat 50% 50%;} -.ui-arrows-leftright-default {background: url(../jquery/images/888888_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} -.ui-arrows-leftright-default:hover, .ui-arrows-leftright-hover {background: url(../jquery/images/222222_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} -.ui-arrows-leftright-default:active, .ui-arrows-leftright-active {background: url(../jquery/images/ffffff_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} -.ui-arrows-leftright-content {background: url(../jquery/images/222222_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} +.ui-arrows-leftright-default {background: url(../images/888888_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} +.ui-arrows-leftright-default:hover, .ui-arrows-leftright-hover {background: url(../images/222222_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} +.ui-arrows-leftright-default:active, .ui-arrows-leftright-active {background: url(../images/ffffff_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} +.ui-arrows-leftright-content {background: url(../images/222222_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;} -.ui-arrows-updown-default {background: url(../jquery/images/888888_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} -.ui-arrows-updown-default:hover, .ui-arrows-updown-hover {background: url(../jquery/images/222222_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} -.ui-arrows-updown-default:active, .ui-arrows-updown-active {background: url(../jquery/images/ffffff_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} -.ui-arrows-updown-content {background: url(../jquery/images/222222_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} +.ui-arrows-updown-default {background: url(../images/888888_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} +.ui-arrows-updown-default:hover, .ui-arrows-updown-hover {background: url(../images/222222_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} +.ui-arrows-updown-default:active, .ui-arrows-updown-active {background: url(../images/ffffff_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} +.ui-arrows-updown-content {background: url(../images/222222_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;} -.ui-minus-default {background: url(../jquery/images/888888_11x11_icon_minus.gif) no-repeat 50% 50%;} -.ui-minus-default:hover, .ui-minus-hover {background: url(../jquery/images/222222_11x11_icon_minus.gif) no-repeat 50% 50%;} -.ui-minus-default:active, .ui-minus-active {background: url(../jquery/images/ffffff_11x11_icon_minus.gif) no-repeat 50% 50%;} -.ui-minus-content {background: url(../jquery/images/222222_11x11_icon_minus.gif) no-repeat 50% 50%;} +.ui-minus-default {background: url(../images/888888_11x11_icon_minus.gif) no-repeat 50% 50%;} +.ui-minus-default:hover, .ui-minus-hover {background: url(../images/222222_11x11_icon_minus.gif) no-repeat 50% 50%;} +.ui-minus-default:active, .ui-minus-active {background: url(../images/ffffff_11x11_icon_minus.gif) no-repeat 50% 50%;} +.ui-minus-content {background: url(../images/222222_11x11_icon_minus.gif) no-repeat 50% 50%;} -.ui-plus-default {background: url(../jquery/images/888888_11x11_icon_plus.gif) no-repeat 50% 50%;} -.ui-plus-default:hover, .ui-plus-hover {background: url(../jquery/images/222222_11x11_icon_plus.gif) no-repeat 50% 50%;} -.ui-plus-default:active, .ui-plus-active {background: url(../jquery/images/ffffff_11x11_icon_plus.gif) no-repeat 50% 50%;} -.ui-plus-content {background: url(../jquery/images/222222_11x11_icon_plus.gif) no-repeat 50% 50%;} +.ui-plus-default {background: url(../images/888888_11x11_icon_plus.gif) no-repeat 50% 50%;} +.ui-plus-default:hover, .ui-plus-hover {background: url(../images/222222_11x11_icon_plus.gif) no-repeat 50% 50%;} +.ui-plus-default:active, .ui-plus-active {background: url(../images/ffffff_11x11_icon_plus.gif) no-repeat 50% 50%;} +.ui-plus-content {background: url(../images/222222_11x11_icon_plus.gif) no-repeat 50% 50%;}  /*hidden elements*/  .ui-hidden { diff --git a/themes/default/css/superfish-navbar.css b/themes/default/css/superfish-navbar.css new file mode 100644 index 00000000..68c71358 --- /dev/null +++ b/themes/default/css/superfish-navbar.css @@ -0,0 +1,93 @@ + +/*** adding the class sf-navbar in addition to sf-menu creates an all-horizontal nav-bar menu ***/ +.sf-navbar { +	background:		#BDD2FF; +	height:			2.5em; +	padding-bottom:	2.5em; +	position:		relative; +} +.sf-navbar li { +	background:		#AABDE6; +	position:		static; +} +.sf-navbar a { +	border-top:		none; +} +.sf-navbar li ul { +	width:			44em; /*IE6 soils itself without this*/ +} +.sf-navbar li li { +	background:		#BDD2FF; +	position:		relative; +} +.sf-navbar li li ul { +	width:			13em; +} +.sf-navbar li li li { +	width:			100%; +} +.sf-navbar ul li { +	width:			auto; +	float:			left; +} +.sf-navbar a, .sf-navbar a:visited { +	border:			none; +} +.sf-navbar li.current { +	background:		#BDD2FF; +} +.sf-navbar li:hover, +.sf-navbar li.sfHover, +.sf-navbar li li.current, +.sf-navbar a:focus, .sf-navbar a:hover, .sf-navbar a:active { +	background:		#BDD2FF; +} +.sf-navbar ul li:hover, +.sf-navbar ul li.sfHover, +ul.sf-navbar ul li:hover li, +ul.sf-navbar ul li.sfHover li, +.sf-navbar ul a:focus, .sf-navbar ul a:hover, .sf-navbar ul a:active { +	background:		#D1DFFF; +} +ul.sf-navbar li li li:hover, +ul.sf-navbar li li li.sfHover, +.sf-navbar li li.current li.current, +.sf-navbar ul li li a:focus, .sf-navbar ul li li a:hover, .sf-navbar ul li li a:active { +	background:		#E6EEFF; +} +ul.sf-navbar .current ul, +ul.sf-navbar ul li:hover ul, +ul.sf-navbar ul li.sfHover ul { +	left:			0; +	top:			2.5em; /* match top ul list item height */ +} +ul.sf-navbar .current ul ul { +	top: 			-999em; +} + +.sf-navbar li li.current > a { +	font-weight:	bold; +} + +/*** point all arrows down ***/ +/* point right for anchors in subs */ +.sf-navbar ul .sf-sub-indicator { background-position: -10px -100px; } +.sf-navbar ul a > .sf-sub-indicator { background-position: 0 -100px; } +/* apply hovers to modern browsers */ +.sf-navbar ul a:focus > .sf-sub-indicator, +.sf-navbar ul a:hover > .sf-sub-indicator, +.sf-navbar ul a:active > .sf-sub-indicator, +.sf-navbar ul li:hover > a > .sf-sub-indicator, +.sf-navbar ul li.sfHover > a > .sf-sub-indicator { +	background-position: -10px -100px; /* arrow hovers for modern browsers*/ +} + +/*** remove shadow on first submenu ***/ +.sf-navbar > li > ul { +	background: transparent; +	padding: 0; +	-moz-border-radius-bottomleft: 0; +	-moz-border-radius-topright: 0; +	-webkit-border-top-right-radius: 0; +	-webkit-border-bottom-left-radius: 0; +}
\ No newline at end of file diff --git a/themes/default/css/superfish.css b/themes/default/css/superfish.css new file mode 100644 index 00000000..e87756b2 --- /dev/null +++ b/themes/default/css/superfish.css @@ -0,0 +1,136 @@ + +/*** ESSENTIAL STYLES ***/ +.sf-menu, .sf-menu * { +  margin: 0; +  padding: 0; +  list-style: none; +} +.sf-menu { +  line-height: 1.0; +} +.sf-menu ul { +  position: absolute; +  top: -999em; +  width: 10em; /* left offset of submenus need to match (see below) */ +} +.sf-menu ul li { +  width: 100%; +} +.sf-menu li:hover { +  visibility: inherit; /* fixes IE7 'sticky bug' */ +} +.sf-menu li { +  float: left; +  position: relative; +} +.sf-menu a { +  display: block; +  position: relative; +} +.sf-menu li:hover ul, +.sf-menu li.sfHover ul { +  left: 0; +  top: 2.5em; /* match top ul list item height */ +  z-index: 99; +} +ul.sf-menu li:hover li ul, +ul.sf-menu li.sfHover li ul { +  top: -999em; +} +ul.sf-menu li li:hover ul, +ul.sf-menu li li.sfHover ul { +  left: 10em; /* match ul width */ +  top: 0; +} +ul.sf-menu li li:hover li ul, +ul.sf-menu li li.sfHover li ul { +  top: -999em; +} +ul.sf-menu li li li:hover ul, +ul.sf-menu li li li.sfHover ul { +  left: 10em; /* match ul width */ +  top: 0; +} + +/*** DEMO SKIN ***/ +.sf-menu { +  float: left; +  margin-bottom: 1em; +} +.sf-menu a { +  border-left: 1px solid #fff; +  border-top: 1px solid #CFDEFF; +  padding: .75em 1em; +  text-decoration: none; +} +.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/ +  color: #13a; +} +.sf-menu li { +  background: #BDD2FF; +} +.sf-menu li li { +  background: #AABDE6; +} +.sf-menu li li li { +  background: #9AAEDB; +} +.sf-menu li:hover, .sf-menu li.sfHover, +.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { +  background: #CFDEFF; +  outline: 0; +} + +/*** arrows **/ +.sf-menu a.sf-with-ul { +  padding-right: 2.25em; +  min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */ +} +.sf-sub-indicator { +  position: absolute; +  display: block; +  right: .75em; +  top: 1.05em; /* IE6 only */ +  width: 10px; +  height: 10px; +  text-indent: -999em; +  overflow: hidden; +  background: url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ +} +a > .sf-sub-indicator {  /* give all except IE6 the correct values */ +  top: .8em; +  background-position: 0 -100px; /* use translucent arrow for modern browsers*/ +} +/* apply hovers to modern browsers */ +a:focus > .sf-sub-indicator, +a:hover > .sf-sub-indicator, +a:active > .sf-sub-indicator, +li:hover > a > .sf-sub-indicator, +li.sfHover > a > .sf-sub-indicator { +  background-position: -10px -100px; /* arrow hovers for modern browsers*/ +} + +/* point right for anchors in subs */ +.sf-menu ul .sf-sub-indicator { background-position: -10px 0; } +.sf-menu ul a > .sf-sub-indicator { background-position: 0 0; } +/* apply hovers to modern browsers */ +.sf-menu ul a:focus > .sf-sub-indicator, +.sf-menu ul a:hover > .sf-sub-indicator, +.sf-menu ul a:active > .sf-sub-indicator, +.sf-menu ul li:hover > a > .sf-sub-indicator, +.sf-menu ul li.sfHover > a > .sf-sub-indicator { +  background-position: -10px 0; /* arrow hovers for modern browsers*/ +} + +/*** shadows for all but IE6 ***/ +.sf-shadow ul { +  background: url('../images/shadow.png') no-repeat bottom right; +  padding: 0 8px 9px 0; +  -moz-border-radius-bottomleft: 17px; +  -moz-border-radius-topright: 17px; +  -webkit-border-top-right-radius: 17px; +  -webkit-border-bottom-left-radius: 17px; +} +.sf-shadow ul.sf-shadow-off { +  background: transparent; +}  | 
