engelsystem/themes/base.less

191 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-01-02 03:15:57 +01:00
@import "../vendor/twbs/bootstrap/less/bootstrap";
2017-07-17 23:44:39 +02:00
@icon-font-path: "../../../../vendor/bootstrap/fonts/";
2014-12-06 19:02:02 +01:00
body {
padding-top: 50px;
}
.footer a {
color: @text-muted;
}
2016-11-18 15:36:02 +01:00
.first {
2017-01-02 15:43:36 +01:00
margin-top: 30px;
}
.text-big {
2017-01-02 15:43:36 +01:00
display: block;
font-size: 30px;
line-height: 30px;
margin: 0px;
2016-11-18 15:36:02 +01:00
}
2016-11-14 17:58:15 +01:00
.panel-primary .panel-heading a {
color: @panel-primary-text;
}
.panel-default .panel-heading a {
color: @panel-default-text;
}
.panel-info .panel-heading a {
color: @panel-info-text;
}
.panel-success .panel-heading a {
color: @panel-success-text;
}
.panel-warning .panel-heading a {
color: @panel-warning-text;
}
.panel-danger .panel-heading a {
color: @panel-danger-text;
}
2016-11-05 10:06:06 +01:00
.shift-calendar {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-itmes: stretch;
width: 100%;
2017-01-02 15:43:36 +01:00
.lane {
background: @table-bg-accent;
flex-grow: 1;
min-width: 280px;
width: 280px;
flex-shrink: 1;
.header {
background: @panel-bg;
border-bottom: 1px solid @table-border-color;
height: 30px;
padding: 5px 5px 5px 16px;
}
.tick {
height: 30px;
border-top: 1px solid darken(@table-bg-accent, 2%);
}
2016-11-05 10:06:06 +01:00
.tick.hour {
border-top: 2px solid @table-border-color;
font-size: 0.9em;
padding-left: 5px;
}
2017-01-02 15:43:36 +01:00
2016-11-05 10:06:06 +01:00
.tick.day {
border-top: 2px solid @brand-primary;
font-size: 0.9em;
padding-left: 5px;
}
2017-01-02 15:43:36 +01:00
}
.lane.time {
border-right: 1px solid @table-border-color;
flex-grow: 0;
min-width: 50px;
width: 50px;
flex-shrink: 0;
}
.shift {
margin: 0 5px 5px 0;
overflow: hidden;
}
2014-12-15 23:09:06 +01:00
}
2014-12-06 19:02:02 +01:00
.space-top {
margin-top: 15px;
}
2014-12-07 00:08:09 +01:00
.messages {
&:focus {
outline: none;
}
a:focus {
outline: none;
}
}
2014-12-07 21:02:22 +01:00
.messages span.text-danger {
animation: pulse 1s infinite;
-webkit-animation: pulse 1s infinite;
-moz-animation: pulse 1s infinite;
}
@keyframes pulse {
0% {
2017-01-02 15:43:36 +01:00
transform: rotate(0deg);
2014-12-07 21:02:22 +01:00
}
10% {
2017-01-02 15:43:36 +01:00
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
20% {
2017-01-02 15:43:36 +01:00
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
30% {
transform: rotate(5deg) translateY(-2px);;
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
40% {
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
50% {
transform: rotate(0deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
75% {
transform: rotate(0deg) translateY(0px);
}
}
@-webkit-keyframes pulse {
0% {
2017-01-02 15:43:36 +01:00
transform: rotate(0deg);
2014-12-07 21:02:22 +01:00
}
10% {
2017-01-02 15:43:36 +01:00
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
20% {
2017-01-02 15:43:36 +01:00
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
30% {
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
40% {
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
50% {
transform: rotate(0deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
75% {
transform: rotate(0deg) translateY(0px);
}
}
@-moz-keyframes pulse {
0% {
2017-01-02 15:43:36 +01:00
transform: rotate(0deg);
2014-12-07 21:02:22 +01:00
}
10% {
2017-01-02 15:43:36 +01:00
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
20% {
2017-01-02 15:43:36 +01:00
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
30% {
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
40% {
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
50% {
transform: rotate(0deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
75% {
transform: rotate(0deg) translateY(0px);
}
}