Improved www.ttss.krakow.pl
Jacek Kowalski
2017-04-23 8b6250cb5db8d1bb17902d45f08a2e929e8e0afd
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
html, body, #map {
    margin: 0;
    font-family: sans-serif;
    overflow: hidden;
}
 
#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
 
#map .ol-attribution {
    left: 0;
    right: auto;
}
 
#popup {
    color: black;
    background: white;
    padding: 5px;
    border-left: 1px solid black;
    font-size: 14px;
    
    position: absolute;
    width: 300px;
    right: -315px;
    top: 0;
    bottom: 0;
    
    transition: right .4s;
    transition: width .4s;
    
    opacity: .85;
    
    overflow-y: auto;
}
 
#popup.show {
    right: 0;
}
 
@media (max-width: 600px) {
    #popup {
        width: 90%;
        right: -100%;
    }
    
    #popup.show {
        right: 0%;
    }
}
 
#popup .close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}
#popup .type {
    padding-bottom: 0;
    color: #444;
    font-size: 80%;
}
#popup p {
    margin: 0;
    padding: 5px;
}
#popup .name {
    font-weight: bold;
}
#popup .vehicleInfo {
    font-size: 21px;
    margin: -4px 0 -5px;
}
#popup table {
    margin-top: 3px;
    border-top: 1px solid gray;
    width: 100%;
    border-collapse: collapse;
}
#popup table th {
    text-align: left;
    border-bottom: 1px solid #999;
    padding-top: 5px;
}
#popup table td {
    vertical-align: top;
}
#popup .active {
    background: #f5f5f5;
    color: gray;
}
#popup .success {
    background: #dff0d8;
}
#popup .warning {
    background: #fcf8e3;
}
#popup .danger {
    background: #f2dede;
}
#popup table .vehicleInfo {
    float: right;
}
 
#title {
    top: .5em;
    left: .5em;
    padding: 2px .5em;
    font-weight: bold;
    background-color: rgba(255,255,255,.6);
}
 
#fail, #popup .error {
    background: red;
    color: white;
    font-weight: bold;
    padding: 5px;
}
#fail {
    top: -10em;
    right: 0.5em;
}
.ol-zoom {
    top: 2.2em;
}
 
a {
    color: #337ab7;
    text-decoration: none;
    cursor: pointer;
}
a:hover {
    text-decoration: underline;
}
 
.small {
    font-size: 80%;
}