1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Default Admin Header.css

Discussion in 'XenForo Questions and Support' started by Ablac, Aug 14, 2014.

  1. Ablac

    Ablac Active Member

    I was making a minor adjustment to the header and it really screwed up my admin header -_- can somebody please post the default Admin Template: header.css

    Thank you :)
     
  2. Amaury

    Amaury Well-Known Member

    Just revert the template.
     
  3. Russ

    Russ Well-Known Member

    Just click "Revert Template" at the bottom to get it back to the default state.

    Copy your edits first so you have a reference to reapply any edits you may of done.
     
  4. Ablac

    Ablac Active Member

    I would but the Revert Template button doesn't exist :'(
    Capture.PNG
     
  5. Amaury

    Amaury Well-Known Member

    Then that means you have not edited it.
     
  6. Steve F

    Steve F Well-Known Member

    Admin Templates do not keep track of edit history, so there is no indication that you have edited a Admin Template.

    You can just go to http://yoursite/install/ to rebuild Master Data.
     
    Amaury likes this.
  7. Ablac

    Ablac Active Member

    :( Nobody can just post the default css template? cause i made a lot of changes to my Admin Templates, and other MISC stuff that I dont want to lose if I do a rebuild...
     
  8. Steve F

    Steve F Well-Known Member

    Well, I hope you understand that Admin Templates will be overwritten on upgrades to the software. May I ask why you are editing the Admin Templates?

    But here it is anyhow.

    Code:
    /* header */
    
    #header
    {
        background: @primaryMedium;
        position: fixed;
        min-width: 100%;
        z-index: 10;
    }
    
    /* logo line */
    
    #logoLine
    {
        text-align: center;
        border-bottom: 1px solid #1d74b3;
        overflow: hidden; zoom: 1;
    }
    
        #logoLine .pageWidth
        {
            position: relative;
        }
       
        #version,
        #logoutLink
        {
            position: absolute;
            top: 17px;
            left: 20px;
            font-size: 11px;
            color: @primaryLighter;
            padding: 0 11px;
            /*font-family: Eurostile, @body.font-family;*/
        }
       
            #logoLine a
            {
                color: @primaryLighter;
            }
       
            #logoLine a:hover
            {
                color: @primaryLightest;
                text-decoration: none;
            }
       
            #logoutLink
            {
                left: auto;
                right: 20px;
            }
    
        #logo
        {
            width: 100px;
            height: 30px;
        }
       
    /* tab navigation */
       
    #tabsNav
    {
        background: transparent url('@imagePath/xenforo/gradients/acp-banner-shadow.png') no-repeat top center;
        padding-top: 10px;
        border-top: 1px solid @primaryDark;
    }
       
        #tabsNav .pad
        {
            background: @primaryLight;
            height: 7px;
            border-bottom: 1px solid @primaryMedium;
            zoom: 1;
        }
    
        .acpTabs
        {
            overflow: hidden; zoom: 1;
            height: 22px;
            font-size: 11px;
            padding: 0 20px;
        }
       
            .acpTabs li
            {
                float: left;
            }
           
            .acpTabs li.logout
            {
                float: right;
            }
           
                .acpTabs li.logout a
                {
                    text-transform: none;
                }
       
            .acpTabs li a
            {
                display: block;
                height: 20px;
                line-height: 20px;
                padding: 3px 11px 0;
                color: @primaryLight;
                border-top-left-radius: 2px;
                border-top-right-radius: 5px;
                outline: 0;
            }
       
                .acpTabs li.active a,
                .acpTabs li.active:hover a
                {
                    background: @primaryLight;
                    color: @primaryLightest;
                    padding: 2px 10px 0;
                    border: 1px solid @primaryDarker;
                    border-bottom: none;
                    font-weight: bold;
                    /*text-shadow: 0px 0px 3px @primaryMedium;*/
                }
       
            .acpTabs li:hover a,
            .acpTabs li.Popup:hover a.PopupControl.PopupClosed
            {
                background-color: @primaryMedium;
                color: @primaryLighterStill;
                text-decoration: none;
            }
           
                .acpTabs li#AdminSearch a.PopupControl .arrowWidget
                {
                    background: transparent url('@imagePath/xenforo/widgets/acp-search-sprite.png') no-repeat right 0px;
                }
           
                .acpTabs li#AdminSearch a.PopupControl.PopupOpen .arrowWidget
                {
                    background-position: right -13px;
                }
           
            .acpTabs li.separated
            {
                float: right;
            }
           
    @media (max-width:960px)
    {
        #header
        {
            position: absolute;
        }
    }
    
     
  9. Ablac

    Ablac Active Member

    Because I have ADD, and I enjoy having my Admin CP Pretty :)
     
    Steve F likes this.
  10. Ablac

    Ablac Active Member

    Thank you :)
     
  11. Ablac

    Ablac Active Member

    I also add my own links to my CP, since I'm actually in the CP alot.

    Capture.PNG
     
  12. Steve F

    Steve F Well-Known Member

    You could use the Admin Template mods to insert your edits.. ;)

    You could actually just create a little add-on if you do that.
     

Share This Page