﻿/*
    Used to manage styles for specific blocks.

    1. HTML Overrides
    2. Kiosk Components
    3. Scroller
    

*/

// 1. HTML Overrides
// -------------------------

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


// 2. Components
// -------------------------

.tenkey {
  width: 320px;

  a.btn {
    width: 80px;
    height: 80px;
    margin: 2px;
  }

  a.digit {
    font-size: 48px;
    font-weight: @font-weight-semibold;
  }

  a.command {
    padding-top: 28px;
    font-size: 20px;
    font-weight: @font-weight-light;
  }
}

.btn-kioskselect {
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: @font-weight-bold;
  text-align: center;

  small {
    margin-left: 16px;
    font-weight: @font-weight-light;
  }
}

.btn-kiosk {
  font-size: 24px;
  font-weight: @font-weight-light;
}

.btn-kiosk-lg {
  width: 100%;
  min-height: 120px;
  font-size: 36px;
  font-weight: @font-weight-bold;
  line-height: 110px;
}

// 3. Scroller
// -------------------------

.scrollpanel {
  position: absolute;
  top: 45px;
  bottom: 48px;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.scroller {
  position: absolute;
  z-index: 1;
  width: 100%;
  padding-right: 24px;
  -webkit-text-size-adjust: none;
      -ms-text-size-adjust: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transform: translateZ(0);
     -moz-transform: translateZ(0);
      -ms-transform: translateZ(0);
       -o-transform: translateZ(0);
          transform: translateZ(0);

  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
     -moz-text-size-adjust: none;
       -o-text-size-adjust: none;
          text-size-adjust: none;
}

.iScrollIndicator {
  position: absolute;
  display: block;
  width: 100%;
  height: 8px;
  box-sizing: border-box;
  background-color: @scrollbar-bg;
  border: 1px solid @scrollbar-border;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  opacity: .3;
  -webkit-transition: 0ms cubic-bezier(.1, .57, .1, 1);
          transition: 0ms cubic-bezier(.1, .57, .1, 1);
  transform: translate(0px, 0px) translateZ(0px);
}

.iScrollVerticalScrollbar,
.iScrollLoneScrollbar {
  position: absolute;
  top: 2px;
  right: 1px;
  bottom: 2px;
  z-index: 1;
  width: 7px;
  overflow: hidden;
}
