PHP Classes
elePHPant
Icontem

File: SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_alerts-fixed.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_alerts-fixed.scss  >  Download  
File: SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_alerts-fixed.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 3 years ago
Size: 796 bytes
 

 

Contents

Class file image Download
// Fixed alerts
// Position to the top or bottom.
// ------------------------------------------------

.alert-fixed-top,
.alert-fixed-bottom {
  position: fixed;
  width: 100%;
  z-index: $zindex-alert-fixed;
  border-radius: 0;
  margin: 0;
  left: 0;

  @media (min-width: $alert-fixed-width) {
    width: $alert-fixed-width;
    left: 50%;
    margin-left: (-1 * ($alert-fixed-width / 2));
  }
}

.alert-fixed-top {
  top: 0;
  border-width: 0 0 1px 0;

  @media (min-width: $alert-fixed-width) {
    @include border-bottom-radius($alert-border-radius);
    border-width: 0 1px 1px 1px;
  }
}

.alert-fixed-bottom {
  bottom: 0;
  border-width: 1px 0 0 0;

  @media (min-width: $alert-fixed-width) {
    @include border-top-radius($alert-border-radius);
    border-width: 1px 1px 0 1px;
  }
}