summaryrefslogtreecommitdiff
path: root/themes/base.less
blob: 9cba002cdaa7ffbc3df75fb7e165e5fd2372cc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import "../vendor/bootstrap/less/bootstrap";

@icon-font-path: "../vendor/bootstrap/fonts/";

body {
  padding-top: 50px;
}

.footer a {
  color: @text-muted;
}

#shifts {
  td {
    &.free {
      border: 1px solid @gray-light;
      .bg-danger();
    }
    &.occupied {
      border: 1px solid @gray-light;
      .bg-success();
    }
    &.collides {
      border: 1px solid @gray-light;
      .bg-warning();
    }
    &.own {
      border: 1px solid @gray-light;
    }
  }
}

.space-top {
  margin-top: 15px;
}

.messages {
  &:focus {
    outline: none;
  }
  a:focus {
    outline: none;
  }
}

.messages span.text-danger {
  animation: pulse 1s infinite;
  -webkit-animation: pulse 1s infinite;
  -moz-animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
     transform: rotate(0deg);
  }
  10% {
     transform: rotate(5deg) translateY(-2px);
  }
  20% {
     transform: rotate(-5deg);
  }
    30% {
     transform: rotate(5deg) translateY(-2px);;
  }
    40% {
     transform: rotate(-5deg);
  }
    50% {
     transform: rotate(0deg) translateY(-2px);
  }
  75% {
    transform: rotate(0deg) translateY(0px);
  }
}

@-webkit-keyframes pulse {
  0% {
     transform: rotate(0deg);
  }
  10% {
     transform: rotate(5deg) translateY(-2px);
  }
  20% {
     transform: rotate(-5deg);
  }
    30% {
     transform: rotate(5deg) translateY(-2px);
  }
    40% {
     transform: rotate(-5deg);
  }
    50% {
     transform: rotate(0deg) translateY(-2px);
  }
  75% {
    transform: rotate(0deg) translateY(0px);
  }
}

@-moz-keyframes pulse {
  0% {
     transform: rotate(0deg);
  }
  10% {
     transform: rotate(5deg) translateY(-2px);
  }
  20% {
     transform: rotate(-5deg);
  }
    30% {
     transform: rotate(5deg) translateY(-2px);
  }
    40% {
     transform: rotate(-5deg);
  }
    50% {
     transform: rotate(0deg) translateY(-2px);
  }
  75% {
    transform: rotate(0deg) translateY(0px);
  }
}