git repos / blockattack-game

blame: source/misc/embedded_libs/fmt-8.1.1/doc/bootstrap/close.less

normal view · raw

f8deb5b9 Poul Sander 2022-01-15 13:55 1
//
f8deb5b9 Poul Sander 2022-01-15 13:55 2
// Close icons
f8deb5b9 Poul Sander 2022-01-15 13:55 3
// --------------------------------------------------
f8deb5b9 Poul Sander 2022-01-15 13:55 4
f8deb5b9 Poul Sander 2022-01-15 13:55 5
f8deb5b9 Poul Sander 2022-01-15 13:55 6
.close {
f8deb5b9 Poul Sander 2022-01-15 13:55 7
  float: right;
f8deb5b9 Poul Sander 2022-01-15 13:55 8
  font-size: (@font-size-base * 1.5);
f8deb5b9 Poul Sander 2022-01-15 13:55 9
  font-weight: @close-font-weight;
f8deb5b9 Poul Sander 2022-01-15 13:55 10
  line-height: 1;
f8deb5b9 Poul Sander 2022-01-15 13:55 11
  color: @close-color;
f8deb5b9 Poul Sander 2022-01-15 13:55 12
  text-shadow: @close-text-shadow;
f8deb5b9 Poul Sander 2022-01-15 13:55 13
  .opacity(.2);
f8deb5b9 Poul Sander 2022-01-15 13:55 14
f8deb5b9 Poul Sander 2022-01-15 13:55 15
  &:hover,
f8deb5b9 Poul Sander 2022-01-15 13:55 16
  &:focus {
f8deb5b9 Poul Sander 2022-01-15 13:55 17
    color: @close-color;
f8deb5b9 Poul Sander 2022-01-15 13:55 18
    text-decoration: none;
f8deb5b9 Poul Sander 2022-01-15 13:55 19
    cursor: pointer;
f8deb5b9 Poul Sander 2022-01-15 13:55 20
    .opacity(.5);
f8deb5b9 Poul Sander 2022-01-15 13:55 21
  }
f8deb5b9 Poul Sander 2022-01-15 13:55 22
f8deb5b9 Poul Sander 2022-01-15 13:55 23
  // Additional properties for button version
f8deb5b9 Poul Sander 2022-01-15 13:55 24
  // iOS requires the button element instead of an anchor tag.
f8deb5b9 Poul Sander 2022-01-15 13:55 25
  // If you want the anchor version, it requires `href="#"`.
f8deb5b9 Poul Sander 2022-01-15 13:55 26
  // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
f8deb5b9 Poul Sander 2022-01-15 13:55 27
  button& {
f8deb5b9 Poul Sander 2022-01-15 13:55 28
    padding: 0;
f8deb5b9 Poul Sander 2022-01-15 13:55 29
    cursor: pointer;
f8deb5b9 Poul Sander 2022-01-15 13:55 30
    background: transparent;
f8deb5b9 Poul Sander 2022-01-15 13:55 31
    border: 0;
f8deb5b9 Poul Sander 2022-01-15 13:55 32
    -webkit-appearance: none;
f8deb5b9 Poul Sander 2022-01-15 13:55 33
  }
f8deb5b9 Poul Sander 2022-01-15 13:55 34
}
1970-01-01 00:00 35