Advertisement
saadimran

GaalaxisDark LESS

Oct 14th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.12 KB | None | 0 0
  1. @import url("../../../assets/common.less");
  2. @import url("../../../assets/thirdparty/font-awesome/less/font-awesome.less");
  3.  
  4. body{
  5.     @width-layout: 979px;
  6.     @color-flashyblue: #4285f4;
  7.     @color-skyblue: #3b88c3;
  8.     @color-blue: #3B5998;
  9.     @color-gray: #1f1f1f;
  10.     @color-red: #c42f2f;
  11.    
  12.     background-image: url('images/header-bg.png'), url('images/body-bg.png');
  13.     background-position: top left, top center;
  14.     background-repeat: repeat-x, repeat;
  15.    
  16.     * {
  17.         vertical-align: top;
  18.         font-family: Verdana;
  19.         font-size: 11px;
  20.         line-height: 1.5;
  21.         color: #ffffff;
  22.     }
  23.    
  24.     a, a:link, a:visited {
  25.         border-bottom: 1px dotted @color-red;
  26.         text-decoration: none;
  27.         color: @color-red;
  28.     }
  29.    
  30.     div.small, span.small, td.small {
  31.         font-family: "Lucida Console";
  32.         font-size: 10px;
  33.     }
  34.    
  35.     div.bar {
  36.         background-color: fade(@color-red, 30%);
  37.         margin-bottom: 2px;
  38.         height: 5px;
  39.         width: 100%;
  40.                            
  41.         & > div {
  42.             background-color: @color-red;
  43.             height: 100%;
  44.         }
  45.                            
  46.         &.hp > div {
  47.             background-color: @color-red;
  48.         }
  49.     }
  50.    
  51.     & > header {
  52.         width: @width-layout;
  53.         margin-right: auto;
  54.         margin-left: auto;
  55.         height: 112px;
  56.        
  57.         & > a.logo {
  58.             border-bottom-width: 0px;
  59.             display: inline-block;
  60.             height: 112px;
  61.             width: 285px;
  62.         }
  63.        
  64.         & > nav {
  65.             width: @width-layout - 285 - 4;
  66.         }
  67.     }
  68.    
  69.     & > section.body {
  70.         display: table;
  71.         width: 100%;
  72.        
  73.         & > section {
  74.             display: table-cell;
  75.             vertical-align: top;
  76.             width: 33%;
  77.         }
  78.        
  79.         & > section.middle {
  80.             max-width: @width-layout;
  81.             min-width: @width-layout;
  82.         }
  83.     }
  84.    
  85.     & section.body > section.middle > header {
  86.         background-image: url('images/content-header-bg.png');
  87.         background-repeat: no-repeat;
  88.         margin-top: 29px;
  89.         height: 83px;
  90.        
  91.         & > menu {
  92.             margin-right: auto;
  93.             margin-left: auto;
  94.             width: @width-layout - 28 - 28;
  95.             height: 100%;
  96.            
  97.            
  98.             & > a {
  99.                 background-color: rgba(0, 0, 0, 0.05);
  100.                 -moz-box-sizing: border-box;
  101.                 box-sizing: border-box;
  102.                 text-align: center;
  103.                 border-width: 0px;
  104.                 padding: 15px 10px 0px 10px;
  105.                 margin: 0px 10px;
  106.                 cursor: pointer;
  107.                 display: block;
  108.                 height: 100%;
  109.                 width: 80px;
  110.                 float: left;
  111.                 color: #000;
  112.                
  113.                 &:first-child {
  114.                     margin-left: 0px;
  115.                 }
  116.                
  117.                 &:hover {
  118.                     background-color: rgba(0, 0, 0, 0.1);
  119.                 }
  120.                
  121.                 & > img {
  122.                     margin-bottom: 5px;
  123.                     margin-right: auto;
  124.                     margin-left: auto;
  125.                     display: block;
  126.                     width: 32px;
  127.                 }
  128.             }
  129.         }
  130.     }
  131.    
  132.     & section.body > section.middle > section {
  133.         background-color: rgba(0, 0, 0, 0.4);
  134.         padding: 29px 28px 0px 28px;
  135.         box-sizing: border-box;
  136.     }
  137.    
  138.     & > section.body > section.middle > section > section.content {
  139.         background-color: @color-gray;
  140.         padding: 10px 10px 0px 10px;
  141.         -moz-box-sizing: border-box;
  142.         box-sizing: border-box;
  143.         color: #ffffff;
  144.        
  145.         &.bare {
  146.             background-color: transparent;
  147.             padding: 0px;
  148.            
  149.             & > section.content {
  150.                     background-color: @color-gray;
  151.                     padding: 10px 10px 0px 10px;
  152.                     -moz-box-sizing: border-box;
  153.                     box-sizing: border-box;
  154.                     color: #ffffff;
  155.             }
  156.         }
  157.        
  158.         & div.h1, & h1 {
  159.             text-transform: uppercase;
  160.             font-weight: bold;
  161.             font-size: 14px;
  162.             color: @color-red;
  163.         }
  164.        
  165.         & form.block {
  166.             input {
  167.                 background-color: #343434;
  168.                 -mox-box-sizing: border-box;
  169.                 box-sizing: border-box;
  170.                 border-width: 0px;
  171.                 padding: 10px;
  172.                 margin: 10px 0px 0px 0px;
  173.                 width: 250px;
  174.                
  175.                 &:focus {
  176.                     background: fade(@color-red, 30%);
  177.                     outline: 0;
  178.                 }
  179.                
  180.                 &:-webkit-autofill {
  181.                     -webkit-box-shadow: 0 0 0 1000px #4f2323 inset;
  182.                     -webkit-text-fill-color: #ffffff;
  183.                 }
  184.             }
  185.            
  186.             button {
  187.                 background-color: @color-red;
  188.                 margin: 10px 0px 0px 0px;
  189.                 border-width: 0px;
  190.                 cursor: pointer;
  191.                 padding: 10px;
  192.                 width: 250px;
  193.                 outline: 0;
  194.                
  195.                 &:hover {
  196.                     background-color: darken(@color-red, 5%);
  197.                 }
  198.                
  199.                 &.blue {
  200.                     background-color: @color-blue;
  201.                     &:hover {
  202.                         background-color: lighten(@color-blue, 10%);
  203.                     }
  204.                 }
  205.                
  206.                 &.skyblue {
  207.                     background-color: @color-skyblue;
  208.                     &:hover {
  209.                         background-color: lighten(@color-skyblue, 10%);
  210.                     }
  211.                 }
  212.             }
  213.         }
  214.     }
  215.    
  216.     & > section.body > section.middle > footer:nth-child(3) {
  217.         background-image: url('images/content-footer-bg.png');
  218.         background-repeat: no-repeat;
  219.         padding: 0px 28px 0px 28px;
  220.         box-sizing: border-box;
  221.         height: 28px;
  222.        
  223.         & > div {
  224.             background-color: @color-gray;
  225.             height: 100%;
  226.         }
  227.     }
  228.    
  229.     & > section.body > section.middle > footer:last-child {
  230.         background-image: url('images/footer-bg.png');
  231.         background-repeat: no-repeat;
  232.         margin-top: 29px;
  233.         height: 55px;
  234.        
  235.         padding: 10px 30px 0px 30px;
  236.         -mox-box-sizing: border-box;
  237.         box-sizing: border-box;
  238.         font-size: 10px;
  239.        
  240.         &, & > a {
  241.             line-height: 1.8;
  242.         }
  243.     }
  244.    
  245.         nav.hoverdeet {
  246.             display: inline-block;
  247.             height: 100%;
  248.             white-space: no-wrap;
  249.             text-align: right;
  250.            
  251.             & > a {
  252.                 background-color: rgba(0, 0, 0, 0.2);
  253.                 border-bottom-width: 0px !important;
  254.                 -moz-box-sizing: 5px;
  255.                 box-sizing: border-box;
  256.                 display: inline-block;
  257.                 text-align: center;
  258.                 margin-left: 5px;
  259.                 padding-top: 5px;
  260.                 height: 100%;
  261.                 width: 90px;
  262.                
  263.                 & > div > i {
  264.                     font-size: 50px;
  265.                     color: @color-red;
  266.                 }
  267.                
  268.                 & > div:nth-child(2) {
  269.                     display: none;
  270.                 }
  271.                
  272.                 & > div.trainer > img {
  273.                     height: 80px;
  274.                     width: 80px;
  275.                 }
  276.                
  277.                 & > div.pokemon > img {
  278.                     height: 80px;
  279.                     width: 80px;
  280.                 }
  281.                
  282.                 &:hover {
  283.                     background-color: rgba(0, 0, 0, 0.1);
  284.                     & > div {
  285.                         &:first-child { display: none; }
  286.                         &:last-child { display: block !important; }
  287.                     }
  288.                 }
  289.             }
  290.         }
  291.    
  292.     #region-picker {
  293.         background-color: rgba(0, 0, 0, 0.1);
  294.         position: relative;
  295.         overflow: hidden;
  296.         height: 391px;
  297.         width: 100%;
  298.        
  299.         & > div > div.link {
  300.             position: absolute;
  301.            
  302.             &.active {
  303.                 background-color: rgba(0, 0, 0, 0.10);
  304.                 border: 1px solid #000;
  305.             }
  306.            
  307.             &:hover {
  308.                 background-color: rgba(0, 0, 0, 0.15);
  309.                 border: 1px solid #000;
  310.             }
  311.         }
  312.     }
  313. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement