Sha256: 9b2033699ce304ed6341c779f277a4628c6a692a7f3d609a1062b811b11605cd

Contents?: true

Size: 1.28 KB

Versions: 30

Compression:

Stored size: 1.28 KB

Contents

// Use this file to override Twitter Bootstrap mixins or define own mixins.

html, body {
  height: 100%;
}

// .border-radius doesn't exist anymore in bootstrap3
.border-radius(@radius) {
  .border-top-radius(@radius);
  .border-bottom-radius(@radius);
}


// Thoses mixins don't exist anymore in bootstrap 3. I just did a dummy
// implementation of them to prevent errors
.muted {
}

.rgba(@color,@alpha) {
  background-color:@color;
  background-color:rgba(red(@color),green(@color),blue(@color),@alpha);
}

.font(@size,@weight,@color) {
  font-weight:@weight;
  font-size:@size;
  color:@color;
}

.buttonBackground(@a,@b) {
}

.border-top-left-radius(@a) {
}

.border-top-right-radius(@a) {
}

.border-bottom-right-radius(@a) {
}

.border-bottom-left-radius(@a) {
}

.inherit-all {
  .font(inherit,inherit,inherit);
  background-color:inherit;
  text-align:inherit;
}

// Fontawesome icon mixing
// E.g.: 
// .my-class {
//   .icon-fa(exchange);
// }
//
// E.g.: 
// .my-class {
//   .fa-lg();
//   .icon-fa(exchange);
// }
//
.icon-fa(@icon) {
  .fa;
  @fa-icon-variable: "fa-var-@{icon}";
  &:before { content: @@fa-icon-variable; }
};

// Replace glyphicon by fontawesome
.glyphicon.glyphicon-chevron-right {
  .icon-fa(chevron-right)
}
.glyphicon.glyphicon-chevron-left {
  .icon-fa(chevron-left)
}

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mno-enterprise-frontend-3.4.0 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.3.3 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.3.2 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.2.1 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.3.1 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.3.0 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.2.0 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.1.4 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.0.7 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-2.0.9 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.1.3 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.0.6 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-2.0.8 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.1.2 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.0.5 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-2.0.7 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-2.0.6 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-2.0.5 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.1.1 app/assets/stylesheets/mno_enterprise/mixins.less
mno-enterprise-frontend-3.0.4 app/assets/stylesheets/mno_enterprise/mixins.less