felinum

shortcake: Updates Tab Style

Jul 10th, 2016
13,602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.26 KB | None | 0 0
  1.     /*    updates tab    */
  2.     /* installation tutorial: http://felinum.tumblr.com/post/147202359116/ */
  3.    
  4.     #updates_navicon {
  5.         position:fixed;
  6.         z-index:9999999999999999999;
  7.         {block:ifUpdatesTabTopLeft}left:20px; top:20px;{/block:ifUpdatesTabTopLeft}
  8.         {block:ifUpdatesTabTopRight}right:20px; top:35px;{/block:ifUpdatesTabTopRight}
  9.         {block:ifUpdatesTabBottomLeft}left:20px; bottom:20px;{/block:ifUpdatesTabBottomLeft}
  10.         {block:ifUpdatesTabBottomRight}right:20px; bottom:20px;{/block:ifUpdatesTabBottomRight}
  11.     }
  12.      
  13.     #updates {
  14.         position:fixed;
  15.         {block:ifUpdatesTabTopLeft}left:35px; top:35px;{/block:ifUpdatesTabTopLeft}
  16.         {block:ifUpdatesTabTopRight}right:35px; top:50px;{/block:ifUpdatesTabTopRight}
  17.         {block:ifUpdatesTabBottomLeft}left:35px; bottom:35px;{/block:ifUpdatesTabBottomLeft}
  18.         {block:ifUpdatesTabBottomRight}right:35px; bottom:35px;{/block:ifUpdatesTabBottomRight}
  19.         width:180px;
  20.         height:auto;
  21.         padding:5px 8px 5px 5px;
  22.         text-align:justify;
  23.         z-index:9999999999999999999;
  24.         border:1px solid {color:Updates Tab Border};
  25.         background-color:{color:Updates Tab BG};
  26.         {block:ifRevealUpdatesTabonclick}display:none;{/block:ifRevealUpdatesTabonclick}
  27.     }
  28.    
  29.     #updates a, #updates a:visited {
  30.         color:{color:Updates Tab Link};
  31.         text-decoration:none;
  32.         border-bottom:1px solid {color:Updates Tab Link Border};
  33.         -webkit-transition-duration: .5s;
  34.            -moz-transition-duration: .5s;
  35.              -o-transition-duration: .5s;
  36.                 transition-duration: .5s;
  37.     }
  38.    
  39.     #updates a:hover {
  40.         color:{color:Updates Tab Link Hover};
  41.         text-decoration:none;
  42.         -webkit-transition-duration: .5s;
  43.            -moz-transition-duration: .5s;
  44.              -o-transition-duration: .5s;
  45.                 transition-duration: .5s;
  46.     }
  47.    
  48.     #updates ul {list-style-type:none; margin:0 0 0 -40px;}
  49.    
  50.     #updates ul > li:before {content:'—'; margin-right:5px;}
  51.    
  52.     #updates ul > li li:before {margin-left:10px;}
  53.    
  54.     .ui {display:inline-block;}
  55.    
  56.     .updates_icon {text-align:center; display:table;}
  57.  
  58.     @keyframes spin {to{transform:rotateZ(720deg)}}
  59.  
  60.     .iconwrap:hover > i {animation:spin 3000ms;}
  61.  
  62.     .iconspin {display:inline-block; transform-origin:50% 50%;}
  63.    
  64.     #updates .fa:not(.fa-navicon) {
  65.         display:table-cell;
  66.         vertical-align:middle;
  67.         width:10px;
  68.         height:10px;
  69.         background-color:{color:Updates Tab Accent};
  70.         padding:8px;
  71.         color:{color:Updates Tab Icons};
  72.         font-size:10px;
  73.         -webkit-border-radius:20px;
  74.            -moz-border-radius:20px;
  75.                 border-radius:20px;
  76.     }
  77.    
  78.     #updates_navicon .fa-navicon {font-size:10px;}
  79.    
  80.     .updates_title {
  81.         display:inline-block;
  82.         margin-left:-6px;
  83.         margin-top:4px;
  84.         width:80%;
  85.         padding-left:8px;
  86.         vertical-align:top;
  87.         font:bold 13px {select:Updates Tab Font};
  88.         letter-spacing:1px;
  89.         text-transform:lowercase;
  90.         border-bottom:1px solid {color:Updates Tab Accent};
  91.         color:{color:Updates Tab Title};
  92.     }
  93.    
  94.     .updates_title:after, .container_content:last-of-type:after {
  95.         content:'';
  96.         width:6px;
  97.         height:6px;
  98.         background-color:{color:Updates Tab Accent};
  99.         -webkit-border-radius:20px;
  100.            -moz-border-radius:20px;
  101.                 border-radius:20px;
  102.     }
  103.    
  104.     .updates_title:after {
  105.         position:absolute;
  106.         right:0;
  107.         margin:13px 10px 0 0;
  108.     }
  109.    
  110.     .container_content {
  111.         display:block;
  112.         border-left:1px solid {color:Updates Tab Accent};
  113.         margin-left:12px;
  114.         margin-top:-6px;
  115.         padding:0 2px;
  116.     }
  117.    
  118.     .container_content:last-of-type {margin-bottom:-2px;}
  119.    
  120.     .container_content:last-of-type:after {
  121.         display:block;
  122.         margin-left:-5px;
  123.         margin-top:-9px;
  124.     }
  125.    
  126.     .updates_content {
  127.         padding:8px 2px 10px 7px;
  128.         font:8px {select:Updates Tab Font};
  129.         text-transform:uppercase;
  130.         letter-spacing:1px;
  131.         color:{color:Updates Tab Content};
  132.     }
Advertisement
Add Comment
Please, Sign In to add comment