felinum

el psy ko: Updates Tab Style

Oct 1st, 2016
9,307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.86 KB | None | 0 0
  1.  /*    updates tab    */
  2.      
  3.     #updates {
  4.         position:fixed;
  5.         width:200px;
  6.         {block:ifUpdatesTabTopLeft}top:10px; left:15px; text-align:justify;{/block:ifUpdatesTabTopLeft}
  7.         {block:ifUpdatesTabTopRight}top:10px; right:15px; text-align:right;{/block:ifUpdatesTabTopRight}
  8.         {block:ifUpdatesTabBottomLeft}bottom:30px; left:15px; text-align:justify;{/block:ifUpdatesTabBottomLeft}
  9.         {block:ifUpdatesTabBottomRight}bottom:30px; right:15px; text-align:right;{/block:ifUpdatesTabBottomRight}
  10.         padding:5px;
  11.         z-index:99999999999;
  12.         font-family:{select:Updates Tab Font Family};
  13.         font-size:10px;
  14.     }
  15.    
  16.     #updates a {text-decoration:none;}
  17.     #updates a, #updates a:hover, .ui:hover ~ .lino:after, .ui:hover ~ .lino, .lino, #updates .lnr:hover, #updates .lnr {transition-duration: .5s;}
  18.     #updates a:link, #updates a:visited {color:{color:Updates Tab Link}; border-bottom:1px solid {color:Updates Tab Link Border};}
  19.     #updates a:hover {color:{color:Updates Tab Link Hover};}
  20.    
  21.     .uparent {padding-top:5px;}
  22.    
  23.     .ui {display:inline-block; padding:5px 0; vertical-align:middle;}
  24.    
  25.     .ui .lnr {
  26.         padding:6px;
  27.         font-size:10px;
  28.         color:{color:Updates Tab Icons};
  29.         background:{color:Updates Tab Icons BG};
  30.         border-radius:40px;
  31.     }
  32.    
  33.     .ui .lnr:hover {color:{color:Updates Tab Icons Hover}; background:{color:Updates Tab Icons BG Hover};}
  34.    
  35.     .ui:hover ~ .lino {border-bottom:1px solid {color:Updates Tab Icons BG Hover};}
  36.     .ui:hover ~ .lino:after {background-color:{color:Updates Tab Icons BG Hover};}
  37.    
  38.     .lino {
  39.         display:inline-block;
  40.         position:relative;
  41.         top:-2px;
  42.         width:170px;
  43.         {block:ifUpdatesTabTopLeft}left:-2px;{/block:ifUpdatesTabTopLeft}
  44.         {block:ifUpdatesTabTopRight}right:-2px;{/block:ifUpdatesTabTopRight}
  45.         {block:ifUpdatesTabBottomLeft}left:-2px;{/block:ifUpdatesTabBottomLeft}
  46.         {block:ifUpdatesTabBottomRight}right:-2px;{/block:ifUpdatesTabBottomRight}
  47.         {block:ifRevealUpdatesOnClick}width:0px;{/block:ifRevealUpdatesOnClick}
  48.         height:1px;
  49.         border-bottom:1px solid {color:Updates Tab Icons BG};
  50.     }
  51.    
  52.     .lino:after {
  53.         position:absolute;
  54.         {block:ifUpdatesTabTopLeft}right:0;{/block:ifUpdatesTabTopLeft}
  55.         {block:ifUpdatesTabTopRight}left:0;{/block:ifUpdatesTabTopRight}
  56.         {block:ifUpdatesTabBottomLeft}right:0;{/block:ifUpdatesTabBottomLeft}
  57.         {block:ifUpdatesTabBottomRight}left:0;{/block:ifUpdatesTabBottomRight}
  58.         top:-2px;
  59.         content:'';
  60.         width:6px;
  61.         height:6px;
  62.         background-color:{color:Updates Tab Icons BG};
  63.         border-radius:20px;
  64.     }
  65.    
  66.     .updates_title {
  67.         margin-top:-3px;
  68.         padding-bottom:5px;
  69.         text-transform:lowercase;
  70.         font-weight:bold;
  71.         font-size:12px;
  72.         color:{color:Updates Tab Title};
  73.         clear:both;
  74.     }
  75.    
  76.     .container_content {
  77.         display:block;
  78.         margin-left:14px;
  79.         {block:ifUpdatesTabTopLeft}margin-top:-6px;{/block:ifUpdatesTabTopLeft}
  80.         {block:ifUpdatesTabTopRight}margin-right:15px;{/block:ifUpdatesTabTopRight}
  81.         {block:ifUpdatesTabBottomLeft}margin-top:-6px;{/block:ifUpdatesTabBottomLeft}
  82.         {block:ifUpdatesTabBottomRight}margin-right:15px;{/block:ifUpdatesTabBottomRight}
  83.         padding:8px 6px 2px 7px;
  84.         color:{color:Updates Tab Content};
  85.     }
  86.    
  87.     .container_content ul {margin:0 0 0 -40px!important; list-style-type:none!important;}
  88.     .container_content ol {margin-left:-25px!important;}
  89.     .container_content ul li:before {content:'—'!important; margin-right:5px;!important;}
  90.  
  91.     .container_content .lnr-star {
  92.         background:none;
  93.         padding:0;
  94.         font-size:8px;
  95.         color:{color:Updates Tab Stars};
  96.     }
Advertisement
Add Comment
Please, Sign In to add comment