samsonos/php_compressor

View on GitHub
www/panel/index.less

Summary

Maintainability
Test Coverage
@import '../../../../samsonphp/less/www/mixin.less';

.__compressor_panel {
  position:absolute;
  bottom:0px;
  right:0px;
  z-index: 999999;
  padding: 0px 10px;

  width:60px;
  height:60px;

  .__compressor_panel_logo {
    background: url('logo.png') no-repeat;
    background-position: 100% 50%;
    width:60px;
    height:60px;
    .opacity(50);
    position:absolute;
    right:0px;
    cursor: pointer;
  }

  &:hover {
    left:80%;
    width:auto;
    background: black;
    /*border-bottom-left-radius: 10px;*/
    border-top-left-radius: 10px;

    .__compressor_panel_logo {
      -webkit-filter: invert(100%);
      filter: invert(100%);
      .opacity(100);
    }

    a { display: inline-block;}
  }

  a {
    display: none;
    padding:5px;
    color:white;

    &:hover { .opacity(80);}
  }
}