1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Old Post new thread / reply to thread buttons?

Discussion in 'Add-on Requests [Archive]' started by Sir nick, Oct 6, 2010.

  1. Sir nick

    Sir nick Well-Known Member

    Is it possible to get the old ones. I liked them a lot better.
     
  2. Sir nick

    Sir nick Well-Known Member

    Is it?
     
  3. [PixeL]

    [PixeL] Member

    You don't need a add-on for that ;)

    Just follow these instructions:
    Open template "public.css" and search for:
    Code:
    a.callToAction
    {
    ...
    }
    
    And replace with:
    Code:
    a.callToAction
    {
    	@property "callToAction";
    	background-color: @primaryLightest;
    	padding: 2px;
    	border: 1px solid @primaryLighter;
    	border-radius: 6px;
    	display: inline-block;
    	line-height: 20px;
    	/*box-shadow: 1px 1px 5px rgba(0,0,0, 0.15);*/
    	outline: 0 none;
    	height: 20px;
    	@property "/callToAction";
    }
    
    Then search for:

    Code:
    a.callToAction span
    {
    ...
    }
    
    And replace with:
    Code:
    a.callToAction span
    	{
    		@property "callToActionSpan";
    		font-weight: bold;
    		font-size: 11px;
    		font-family: @button.font-family;
    		padding: 0 15px;
    		display: block;
    		/*color: @textCtrlBackgroundr;*/
    /*background: @primaryLightish url('@imagePath/xenforo/gradients/form-button-white-25px.png') repeat-x center -8px;*/
    /*border-radius: 3px;*/
    /*text-shadow: 0px 0px 3px @primaryMedium;*/
    		@property "/callToActionSpan";
    	}
    
    And finnaly search for:
    Code:
    a.callToAction:hover span
    {
    ...
    }
    
    And replace with:
    Code:
    a.callToAction:hover span
    		{
    			@property "callToActionHover";
    			/*background-color: @primaryLight;*/
    			@property "/callToActionHover";
    		}
    
    Easy, isn't it :)?
     
    CyberAP and Sir nick like this.

Share This Page