Advertisement
Guest User

navigation.css

a guest
Jun 21st, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.14 KB | None | 0 0
  1. #navigation .pageContent
  2. {
  3.     background: transparent;
  4.     height: {xen:calc '@headerTabHeight * 2'}px;
  5.     position: relative;
  6. }
  7.  
  8.     .navTabs
  9.     {
  10.         padding: 0 25px;
  11.         height: @headerTabHeight;
  12.         /*background-color: @primaryDark;
  13.         border-top-left-radius: 10px;
  14.         border-top-right-radius: 10px;
  15.         border: 1px solid @primaryLightish;
  16.         border-bottom: 1px solid @primaryDarker;*/
  17.     }
  18.    
  19.         .navTabs .publicTabs
  20.         {
  21.             float: left;
  22.         }
  23.        
  24.         .navTabs .visitorTabs
  25.         {
  26.             float: right;
  27.         }
  28.    
  29.             .navTabs .navTab
  30.             {
  31.                 float: left;
  32.                 white-space: nowrap;
  33.                 word-wrap: normal;
  34.  
  35.                 <xen:if is="{$pageIsRtl}">*display: inline; *float: none; *zoom: 1;</xen:if>
  36.             }
  37.  
  38.  
  39. /* ---------------------------------------- */
  40. /* Links Inside Tabs */
  41.  
  42. .navTabs .navLink,
  43. .navTabs .SplitCtrl
  44. {
  45.     /* basic */
  46.     font-size: 14px;
  47.    
  48.     display: block;
  49.     float: left;
  50.     font-weight: bold;
  51.     height: @headerTabHeight;
  52.     line-height: @headerTabHeight;
  53.     vertical-align: text-bottom;
  54.    
  55.     text-shadow: 0px 1px 0px @veryDarkMonochrome;
  56.     text-align: center;
  57.    
  58.     outline: 0 none;
  59.  
  60.     <xen:if is="{$pageIsRtl}">*float: none; *display: inline; *zoom: 1;</xen:if>
  61. }
  62.  
  63.     .navTabs .publicTabs .navLink
  64.     {
  65.         padding: 0 15px;
  66.     }
  67.    
  68.     .navTabs .visitorTabs .navLink
  69.     {
  70.         padding: 0 10px;
  71.     }
  72.    
  73.     .navTabs .navLink:hover
  74.     {
  75.         text-decoration: none;
  76.     }
  77.    
  78.     /* ---------------------------------------- */
  79.     /* unselected tab, popup closed */
  80.    
  81.     .navTabs .navTab.PopupClosed .navLink
  82.     {
  83.         color: @primaryLighter;
  84.     }
  85.    
  86.         .navTabs .navTab.PopupClosed:hover
  87.         {
  88.             /*background-color: @primaryMedium;*/
  89.         }
  90.        
  91.             .navTabs .navTab.PopupClosed .navLink:hover
  92.             {
  93.                 color: @lightTextColor;
  94.             }
  95.  
  96.             .navTabs .navTab.Popup .PopupControl:hover, .navTabs .navTab.Popup.PopupContainerControl:hover {
  97.                 background: none;
  98.             }
  99.            
  100.             .navTabs .navTab.Popup .PopupControl.PopupOpen:hover,
  101.             .navTabs .navTab.Popup.PopupContainerControl.PopupOpen:hover
  102.             {
  103.                 background: @primaryLight url('@imagePath/xenforo/gradients/user-bar-hover.png') repeat-x top;
  104.             }
  105.                 .navTabs .navTab.Popup .PopupControl.PopupOpen .navLink,
  106.                 .navTabs .navTab.Popup.PopupContainerControl.PopupOpen .navLink
  107.                 {
  108.                     text-shadow: 0 0 5px @primaryLightest;
  109.                 }
  110.  
  111.     .navTabs .navTab.PopupClosed .arrowWidget
  112.     {
  113.         /* circle-arrow-down-light */
  114.         background-position: -64px 0;
  115.     }
  116.    
  117.     .navTabs .navTab.PopupClosed .SplitCtrl
  118.     {
  119.         margin-left: -14px;
  120.         width: 14px;
  121.     }
  122.        
  123.         .navTabs .navTab.PopupClosed:hover .SplitCtrl
  124.         {
  125.             /* nav_menu_gadget, height: 17px */
  126.             background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -128px {xen:calc '(@headerTabHeight - 17) / 2 + 1'}px;
  127.         }
  128.    
  129.     /* ---------------------------------------- */
  130.     /* selected tab */
  131.  
  132.     .navTabs .navTab.selected .navLink
  133.     {
  134.         border-top-left-radius: 4px;
  135.         border-top-right-radius: 4px;
  136.            
  137.         /*margin-top: -2px;
  138.         padding-top: 2px;*/
  139.        
  140.         background: @primaryLightish url('@imagePath/xenforo/gradients/navigation-tab.png') repeat-x top;
  141.         color: @lightTextColor;
  142.         font-weight: bold;
  143.  
  144.         /*position: relative;*/
  145.         padding-bottom: 1px;
  146.         /*z-index: 2;*/
  147.     }
  148.    
  149.     .navTabs .navTab.selected .SplitCtrl
  150.     {
  151.         display: none;
  152.     }
  153.    
  154.     .navTabs .navTab.selected .arrowWidget
  155.     {
  156.         /* background-image: @popupArrowClosed.background-image; 11/23/2011 */
  157.         /* circle-arrow-down */
  158.         background-position: -32px 0;
  159.     }
  160.  
  161.         .navTabs .navTab.selected.PopupOpen .arrowWidget
  162.         {
  163.             /* circle-arrow-up */
  164.             background-position: -16px 0;
  165.         }
  166.    
  167.     /* ---------------------------------------- */
  168.     /* unselected tab, popup open */
  169.    
  170.     .navTabs .navTab.PopupOpen .navLink
  171.     {
  172.     }
  173.    
  174.    
  175.     /* ---------------------------------------- */
  176.     /* selected tab, popup open (account) */
  177.    
  178.     .navTabs .navTab.selected.PopupOpen .navLink
  179.     {      
  180.         @property "popupControl";
  181.         color: @primaryDark;
  182.         background: @primaryLight url('@imagePath/xenforo/gradients/user-bar-hover.png') repeat-x top;
  183.         border-top-left-radius: 3px;
  184.         border-top-right-radius: 3px;
  185.         border-bottom-right-radius: 0px;
  186.         border-bottom-left-radius: 0px;
  187.         text-shadow: 1px 1px 2px white;
  188.         @property "/popupControl";
  189.     }
  190.    
  191. /* ---------------------------------------- */
  192. /* Second Row */
  193.  
  194. .navTabs .navTab.selected .tabLinks
  195. {
  196.     height: @headerTabHeight;
  197.     width: 100%;
  198.    
  199.     padding-top: 1px;
  200.     /*border-top: 1px solid rgba(252,252,252,0.42);*/
  201.    
  202.     /*background: @primaryLightish url('@imagePath/xenforo/gradients/navigation-tab.png') repeat-x 0px -@headerTabHeight;*/
  203.  
  204.     *clear:expression(style.width = document.getElementById('navigation').offsetWidth + 'px', style.clear = "none", 0);
  205.     overflow: hidden; zoom: 1;
  206.    
  207.     position: absolute;
  208.     top: @headerTabHeight;
  209.     left: 0px;
  210. }
  211.  
  212.     .navTabs .navTab.selected .blockLinksList
  213.     {
  214.         background: none;
  215.         padding: 0;
  216.         border: none;
  217.     }
  218.  
  219.     .navTabs .navTab.selected .tabLinks .menuHeader
  220.     {
  221.         display: none;
  222.     }
  223.    
  224.     .navTabs .navTab.selected .tabLinks li
  225.     {
  226.         float: left;
  227.         padding: 6px 0;
  228.     }
  229.  
  230.         .navTabs .navTab.selected .tabLinks li:first-child
  231.         {
  232.             margin-left: 8px;
  233.         }
  234.    
  235.         .navTabs .navTab.selected .tabLinks a
  236.         {
  237.             display: block;
  238.             padding: 1px 10px;
  239.             line-height: {xen:calc '@headerTabHeight - 14'}px;
  240.             color: white;
  241.             font-size: 11px;
  242.         }
  243.        
  244.             .navTabs .navTab.selected .tabLinks a:hover,
  245.             .navTabs .navTab.selected .tabLinks a:focus
  246.             {
  247.                 text-decoration: none;
  248.                 padding: 0 10px;
  249.                 border-bottom: 1px solid rgba(255,255,255,.2);
  250.                 border-top: 1px solid rgba(0,0,0,.2);
  251.                 background: rgba(0,0,0,.1);
  252.                 /*color: @lightTextColor;*/
  253.                 border-radius: 5px;
  254.                 text-shadow: 0px 1px 0px rgba(0,0,0,.6);
  255.                 outline: 0;
  256.             }
  257.    
  258. /* ---------------------------------------- */
  259. /* Alert Balloons */
  260.    
  261. .navTabs .navLink .itemCount
  262. {
  263.     position: absolute;
  264.     right: 2px;
  265.     top: -12px;
  266.    
  267.     height: 16px;
  268.     line-height: 16px;
  269.     min-width: 12px;
  270.     _width: 12px;
  271.     padding: 0 2px;
  272.     text-align: center;
  273.    
  274.     background: #e03030;
  275.     color: white;
  276.     text-shadow: none;
  277.     font-size: 9px;
  278.     font-weight: bold;
  279.    
  280.     white-space: nowrap;
  281.     word-wrap: normal;
  282.    
  283.     border-radius: 2px;
  284.     box-shadow: 2px 2px 5px rgba(0,0,0, 0.25);
  285. }
  286.  
  287.     .navTabs .navLink .itemCount .arrow
  288.     {
  289.         border: 3px solid transparent;
  290.         border-top-color: #e03030;
  291.         border-bottom: none;
  292.         position: absolute;
  293.         bottom: -3px;
  294.         right: 4px;
  295.         line-height: 0px;
  296.         width: 0px;
  297.         height: 0px;
  298.         text-shadow: none;
  299.         /* Hide from IE6 */
  300.         _display: none;
  301.     }
  302.  
  303. .visitorTabs .navLink .itemCount.Zero
  304. {
  305.     display: none !important;
  306. }
  307.    
  308. /* ---------------------------------------- */
  309. /* Account Popup Menu */
  310.  
  311. .navTabs .navTab.account .navLink
  312. {
  313.     font-weight: bold;
  314. }
  315.  
  316. #AccountMenu
  317. {
  318.     width: 274px;
  319. }
  320.  
  321. #AccountMenu .menuHeader
  322. {
  323.     position: relative;
  324. }
  325.  
  326.     #AccountMenu .menuHeader .avatar
  327.     {
  328.         float: left;
  329.         margin-right: 10px;
  330.     }
  331.  
  332.     #AccountMenu .menuHeader .visibilityForm
  333.     {
  334.         margin-top: 10px;
  335.         color: @primaryMedium;
  336.     }
  337.    
  338.     #AccountMenu .menuHeader .links .fl
  339.     {
  340.         position: absolute;
  341.         bottom: 10px;
  342.         left: {xen:calc '10 + 10 + 96'}px;
  343.     }
  344.  
  345.     #AccountMenu .menuHeader .links .fr
  346.     {
  347.         position: absolute;
  348.         bottom: 10px;
  349.         right: 10px;
  350.     }
  351.    
  352. #AccountMenu .menuColumns
  353. {
  354.     overflow: hidden; zoom: 1;
  355.     padding: 2px;
  356. }
  357.  
  358.     #AccountMenu .menuColumns ul
  359.     {
  360.         float: left;
  361.         padding: 0;
  362.         max-height: none;
  363.         overflow: hidden;
  364.     }
  365.  
  366.         #AccountMenu .menuColumns a,
  367.         #AccountMenu .menuColumns label
  368.         {
  369.             width: 115px;
  370.         }
  371.  
  372. #AccountMenu .statusPoster textarea
  373. {
  374.     width: 245px;
  375.     margin: 0;
  376.     resize: vertical;
  377.     overflow: hidden;
  378. }
  379.  
  380. #AccountMenu .statusPoster .submitUnit
  381. {
  382.     margin-top: 5px;
  383.     text-align: right;
  384. }
  385.  
  386.     #AccountMenu .statusPoster .submitUnit .statusEditorCounter
  387.     {
  388.         float: left;
  389.         line-height: 23px;
  390.         height: 23px;
  391.     }
  392.    
  393. /* ---------------------------------------- */
  394. /* Inbox, Alerts Popups */
  395.  
  396. .navPopup
  397. {
  398.     width: 260px;
  399. }
  400.  
  401. .navPopup a:hover,
  402. .navPopup .listItemText a:hover
  403. {
  404.     background: none;
  405.     text-decoration: underline;
  406. }
  407.  
  408.     .navPopup .menuHeader .InProgress
  409.     {
  410.         float: right;
  411.         display: block;
  412.         width: 20px;
  413.         height: 20px;
  414.     }
  415.  
  416. .navPopup .listPlaceholder
  417. {
  418.     max-height: 350px;
  419.     overflow: auto;
  420. }
  421.  
  422.     .navPopup .listPlaceholder ol.secondaryContent
  423.     {
  424.         padding: 0 10px;
  425.     }
  426.  
  427.         .navPopup .listPlaceholder ol.secondaryContent.Unread
  428.         {
  429.             background-color: @inlineModChecked.background-color;
  430.         }
  431.  
  432. .navPopup .listItem
  433. {
  434.     overflow: hidden; zoom: 1;
  435.     padding: 5px 0;
  436.     border-bottom: 1px solid @primaryLighterStill;
  437. }
  438.  
  439. .navPopup .listItem:last-child
  440. {
  441.     border-bottom: none;
  442. }
  443.  
  444. .navPopup .PopupItemLinkActive:hover
  445. {
  446.     margin: 0 -8px;
  447.     padding: 5px 8px;
  448.     border-radius: 5px;
  449.     background-color: @primaryLighterStill;
  450.     cursor: pointer;
  451. }
  452.  
  453. .navPopup .avatar
  454. {
  455.     float: left;
  456. }
  457.  
  458.     .navPopup .avatar img
  459.     {
  460.         width: 32px;
  461.         height: 32px;
  462.     }
  463.  
  464. .navPopup .listItemText
  465. {
  466.     margin-left: 37px;
  467. }
  468.  
  469.     .navPopup .listItemText .muted
  470.     {
  471.         font-size: 9px;
  472.     }
  473.  
  474.     .navPopup .unread .listItemText .title,
  475.     .navPopup .listItemText .subject
  476.     {
  477.         font-weight: bold;
  478.     }
  479.  
  480. .navPopup .sectionFooter .floatLink
  481. {
  482.     float: right;
  483. }
  484. .secondaryBar {
  485.     height: @headerTabHeight;
  486.     background-color: @primaryLightish;
  487.     border-top: 1px solid rgba(252,252,252,0.42);
  488.     border-bottom: 1px solid @primaryDarker;
  489.     position: absolute;
  490.     margin-bottom: -1px; /* temporary fix - meh */
  491.     bottom: 0;
  492.     width: 100%;
  493. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement