2014-08-20 16:57:38 +04:00
|
|
|
// main: material.less
|
|
|
|
|
|
|
|
.popover, .tooltip-inner {
|
|
|
|
background: #323232;
|
|
|
|
color: #FFF;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip, .tooltip.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover, .tooltip {
|
|
|
|
&.left .arrow:after, &.left .tooltip-arrow {
|
|
|
|
border-left-color: #323232;
|
|
|
|
}
|
|
|
|
&.right .arrow:after, &.right .tooltip-arrow {
|
|
|
|
border-right-color: #323232;
|
|
|
|
}
|
|
|
|
&.top .arrow:after, &.top .tooltip-arrow {
|
|
|
|
border-top-color: #323232;
|
|
|
|
}
|
|
|
|
&.bottom .arrow:after, &.bottom .tooltip-arrow {
|
|
|
|
border-bottom-color: #323232;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-21 12:49:01 +04:00
|
|
|
// Support for SnackbarJS plugin
|
|
|
|
// https://github.com/FezVrasta/snackbarjs
|
2014-08-20 16:57:38 +04:00
|
|
|
|
2014-08-20 19:00:55 +04:00
|
|
|
.snackbar {
|
2014-08-21 12:49:01 +04:00
|
|
|
// Style
|
|
|
|
background-color: #323232;
|
2014-08-20 19:00:55 +04:00
|
|
|
color: @darkbg-text;
|
|
|
|
font-size: 14px;
|
2014-08-20 16:57:38 +04:00
|
|
|
border-radius: 2px;
|
2014-08-20 19:00:55 +04:00
|
|
|
.shadow-z-1;
|
|
|
|
|
2014-08-21 12:49:01 +04:00
|
|
|
// Animation
|
|
|
|
height: 0;
|
|
|
|
-moz-transition: -moz-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s;
|
|
|
|
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s;
|
|
|
|
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s;
|
|
|
|
-moz-transform: translateY(200%);
|
2014-08-20 19:00:55 +04:00
|
|
|
-webkit-transform: translateY(200%);
|
|
|
|
transform: translateY(200%);
|
2014-08-20 16:57:38 +04:00
|
|
|
}
|
2014-08-20 19:00:55 +04:00
|
|
|
|
|
|
|
.snackbar.snackbar-opened {
|
2014-08-21 12:49:01 +04:00
|
|
|
// Style
|
|
|
|
padding: 14px 15px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
// Animation
|
|
|
|
height: auto;
|
|
|
|
-moz-transition: -moz-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s;
|
|
|
|
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s;
|
|
|
|
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s;
|
|
|
|
-moz-transform: none;
|
2014-08-20 19:00:55 +04:00
|
|
|
-webkit-transform: none;
|
|
|
|
transform: none;
|
2014-08-20 16:57:38 +04:00
|
|
|
}
|