AdminLTE/build/scss/_buttons.scss
REJack f70483a806
plugins updates part 2
- added .editorconfig
- updated package.json & build/npm/Plugins.js according to the following changes
- updated dev dependencies to clear audits
- updated daterangepicker
- updated overlayScrollbars
- moved flot (0.8.2) to flot-old for plugins
- updated flot
- updated fullcalendar
- replaced icheck with icheck-bootstrap & updated demo files
- added icheck-bootstrap color overrides
- updated inputmask
- updated ion-rangeslider
- updated jquery-ui
- updated bootstrap-slider tweaks & demo files
- replaced jvectormap with jqvmap & updated demo files
- added jquery-mapael & replaced in index2 jvectormap
- updated jquery-knob
- replaced pace with pace-progress
- updated select2 & demo files
- replaced jquery.sparkline with sparklines & updated demo files and removed jquery.sparkline demo section
2019-06-14 09:33:43 +02:00

92 lines
1.7 KiB
SCSS

/*
* Component: Button
* -----------------
*/
.btn {
// Flat buttons
&.btn-flat {
@include border-radius(0);
box-shadow: none;
border-width: 1px;
}
// input file btn
&.btn-file {
position: relative;
overflow: hidden;
> input[type='file'] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
}
}
}
// Button color variations
.btn-default {
background-color: $button-default-background-color;
color: $button-default-color;
border-color: $button-default-border-color;
&:hover,
&:active,
&.hover {
color: darken($button-default-color, 10%);
background-color: darken($button-default-background-color, 5%);
}
}
// Application buttons
.btn-app {
@include border-radius(3px);
position: relative;
padding: 15px 5px;
margin: 0 0 10px 10px;
min-width: 80px;
height: 60px;
text-align: center;
color: #666;
border: 1px solid $button-default-border-color;
background-color: $button-default-background-color;
font-size: 12px;
// Icons within the btn
> .fa,
> .fas,
> .far,
> .fab,
> .glyphicon,
> .ion {
font-size: 20px;
display: block;
}
&:hover {
background: $button-default-background-color;
color: $button-default-color;
border-color: darken($button-default-border-color, 20%);
}
&:active,
&:focus {
@include box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.125));
}
// The badge
> .badge {
position: absolute;
top: -3px;
right: -10px;
font-size: 10px;
font-weight: 400;
}
}