Lổi trả lời trích dẫn

Thảo luận trong 'Installation & Upgrade Questions' bắt đầu bởi bibiduy, 14/8/14.

1votes
5/5, 1 vote

  1. bibiduy

    bibiduy Member

    Bài viết:
    511
    Likes :
    59
    Đang tải...
  2. Bcat9505

    Bcat9505 Moderator Staff Member

    Bài viết:
    1,335
    Likes :
    494
    bb_code.css Khởi động lại template này.
    Mã:
    /* .bbCodeX classes are designed to exist inside .baseHtml. ie: they have no CSS reset applied */
    .bbCodeBlock
    {
        @property "bbCodeBlock";
        background-color: @secondaryLighter;
        margin: 1em @messageInfo.margin-left 1em 0;
        border: 1px solid @secondaryMedium;
        border-radius: @uix_globalBorderRadius;
        @property "/bbCodeBlock";
    }
    
        .bbCodeBlock .bbCodeBlock,
        .hasJs .bbCodeBlock .bbCodeSpoilerText,
        .messageList.withSidebar .bbCodeBlock
        {
            margin-right: 0;
        }
    
        /* mini CSS reset */
        .bbCodeBlock pre,
        .bbCodeBlock blockquote
        {
            margin: 0;
        }
      
        .bbCodeBlock img
        {
            border: none;
        }
    
    .bbCodeBlock .type
    {
        @property "bbCodeBlockType";
        font-size: @uix_globalFontSize;
        font-family: @body.font-family;
        color: @secondaryDarker;
        background-color: @primaryLightest;
        padding: @uix_gutterWidthSmall;
        border-bottom: 1px solid @secondaryMedium;
        border-top-left-radius: @uix_globalBorderRadius;
        border-top-right-radius: @uix_globalBorderRadius;
        @property "/bbCodeBlockType";
    }
    
    .bbCodeBlock pre,
    .bbCodeBlock .code
    {
        @property "bbCodeCode";
        font-size: 10pt;
        font-family: Consolas, 'Courier New', Courier, monospace;
        background-color: @secondaryLighter;
        background-repeat: repeat-x;
        background-position: top;
        padding-right: @uix_gutterWidthSmall;
        padding-left: @uix_gutterWidthSmall;
        border-bottom-right-radius: @uix_globalBorderRadius;
        border-bottom-left-radius: @uix_globalBorderRadius;
        word-wrap: normal;
        overflow: auto;
        line-height: 26px;
        min-height: 30px;
        max-height: 500px;
        _width: 600px;
        direction: ltr;
    
    
        background-image: -webkit-repeating-linear-gradient(top, rgba(0,0,0,.015) 0px, rgba(0,0,0,.015) 26px, rgba(0,0,0,.045) 26px, rgba(0,0,0,.045) 52px);
        background-image: -moz-repeating-linear-gradient(top, rgba(0,0,0,.015) 0px, rgba(0,0,0,.015) 26px, rgba(0,0,0,.045) 26px, rgba(0,0,0,.045) 52px);
        background-image: -ms-repeating-linear-gradient(top, rgba(0,0,0,.015) 0px, rgba(0,0,0,.015) 26px, rgba(0,0,0,.045) 26px, rgba(0,0,0,.045) 52px);
        background-image: -o-repeating-linear-gradient(top, rgba(0,0,0,.015) 0px, rgba(0,0,0,.015) 26px, rgba(0,0,0,.045) 26px, rgba(0,0,0,.045) 52px);
        background-image: repeating-linear-gradient(top, rgba(0,0,0,.015) 0px, rgba(0,0,0,.015) 26px, rgba(0,0,0,.045) 26px, rgba(0,0,0,.045) 52px);
        @property "/bbCodeCode";
    }
    
    .bbCodeBlock .code
    {
        white-space: nowrap;
    }
    
    .bbCodeQuote
    {
        @property "bbCodeQuote";
        border-color: @secondaryMedium;
        @property "/bbCodeQuote";
    }
    
    .bbCodeQuote .attribution
    {
        @property "bbCodeQuoteAttribution";
        font-size: @uix_globalFontSize;
        color: @secondaryDarker;
        background-color: @primaryLightest;
        background-repeat: repeat-x;
        background-position: top;
        padding: @uix_gutterWidthSmall;
        border-bottom: 1px solid @secondaryMedium;
        border-left: 2px solid @secondaryDark;
        @property "/bbCodeQuoteAttribution";
    }
    
    .bbCodeQuote .quoteContainer
    {
        overflow: hidden;
        position: relative;
      
        @property "bbCodeQuoteMessage";
        font-style: italic;
        font-size: 9pt;
        background-color: @secondaryLighter;
        background-repeat: repeat-x;
        background-position: top;
        padding: @uix_gutterWidthSmall;
        border-left: 2px solid @secondaryDark;
        @property "/bbCodeQuoteMessage";
    }
    
    <xen:if is="@bbCodeQuoteMaxHeight">
        .bbCodeQuote .quoteContainer .quote
        {
            max-height: @bbCodeQuoteMaxHeight;
            overflow: hidden;
            padding-bottom: 1px;
        }
      
            .NoJs .bbCodeQuote .quoteContainer .quote
            {
                max-height: none;
            }
    
        .bbCodeQuote .quoteContainer .quoteExpand
        {      
            display: none;
            box-sizing: border-box;
            position: absolute;
            height: 80px;
            top: {xen:calc '@bbCodeQuoteMaxHeight + @bbCodeQuoteMessage.padding-top + @bbCodeQuoteMessage.padding-bottom - 80'}px;
            left: 0;
            right: 0;
          
            font-size: 11px;
            line-height: 1;
            text-align: center;
            color: @secondaryLight;
            cursor: pointer;
            padding-top: 65px;
            background: -webkit-linear-gradient(top, {xen:helper rgba, @bbCodeQuoteMessage.background-color, 0} 0%, {xen:helper unrgba, @bbCodeQuoteMessage.background-color} 80%);
            background: -moz-linear-gradient(top, {xen:helper rgba, @bbCodeQuoteMessage.background-color, 0} 0%, {xen:helper unrgba, @bbCodeQuoteMessage.background-color} 80%);
            background: -o-linear-gradient(top, {xen:helper rgba, @bbCodeQuoteMessage.background-color, 0} 0%, {xen:helper unrgba, @bbCodeQuoteMessage.background-color} 80%);
            background: linear-gradient(to bottom, {xen:helper rgba, @bbCodeQuoteMessage.background-color, 0} 0%, {xen:helper unrgba, @bbCodeQuoteMessage.background-color} 80%);
          
            border-bottom-left-radius: @bbCodeQuoteMessage.border-bottom-left-radius;
            border-bottom-right-radius: @bbCodeQuoteMessage.border-bottom-right-radius;
        }
      
        .bbCodeQuote .quoteContainer .quoteExpand.quoteCut
        {
            display: block;
        }
      
        .bbCodeQuote .quoteContainer.expanded .quote
        {
            max-height: none;
        }
      
        .bbCodeQuote .quoteContainer.expanded .quoteExpand
        {
            display: none;
        }
    <xen:else />
        .bbCodeQuote .quoteContainer .quoteExpand
        {
            display: none;
        }
    </xen:if>
    
        .bbCodeQuote img
        {
            max-height: 150px;
        }
      
        .bbCodeQuote iframe,
        .bbCodeQuote object,
        .bbCodeQuote embed
        {
            max-width: 200px;
            max-height: 150px;
        }
      
        .bbCodeQuote iframe:-webkit-full-screen
        {
            max-width: none;
            max-height: none;
        }
      
        .bbCodeQuote iframe:-moz-full-screen
        {
            max-width: none;
            max-height: none;
        }
      
        .bbCodeQuote iframe:-ms-fullscreen
        {
            max-width: none;
            max-height: none;
        }
      
        .bbCodeQuote iframe:fullscreen
        {
            max-width: none;
            max-height: none;
        }
      
    .bbCodeSpoilerButton
    {
        margin: 5px 0;
        max-width: 99%;
    }
    
        .bbCodeSpoilerButton > span
        {
            display: inline-block;
            max-width: 100%;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
      
    .hasJs .bbCodeSpoilerText
    {
        display: none;
        @property "bbCodeSpoilerText";
        background-color: @primaryLightest;
        padding: 5px;
        margin-top: 5px;
        margin-right: @messageInfo.margin-left;
        margin-bottom: 5px;
        border: 1px solid @primaryLighterStill;
        border-radius: 5px;
        overflow: auto;
        @property "/bbCodeSpoilerText";
    }
    
        .hasJs .bbCodeSpoilerText .bbCodeSpoilerText,
        .hasJs .bbCodeSpoilerText .bbCodeBlock,
        .hasJs .messageList.withSidebar .bbCodeSpoilerText
        {
            margin-right: 0;
        }
      
    .NoJs .bbCodeSpoilerContainer
    {
        background-color: @contentText; /* fallback for browsers without currentColor */
        background-color: currentColor;
    }
    
        .NoJs .bbCodeSpoilerContainer > .bbCodeSpoilerText
        {
            visibility: hidden;
        }
    
        .NoJs .bbCodeSpoilerContainer:hover
        {
            background-color: transparent;
        }
      
            .NoJs .bbCodeSpoilerContainer:hover > .bbCodeSpoilerText
            {
                visibility: visible;
            }
    
    <xen:if is="@enableResponsive">
    @media (max-width:@maxResponsiveWideWidth)
    {
        .Responsive .bbCodeBlock,
        .Responsive.hasJs .bbCodeSpoilerText
        {
            margin-right: 0;
        }
    }
    </xen:if>
     
    bibiduy thích bài này.
comments powered by Disqus

Chia sẻ trang này

Đang tải...