-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsvg.css
100 lines (93 loc) · 1.32 KB
/
svg.css
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
svg {
stroke-width: 2;
stroke: black;
}
/* ------- m2 -------*/
.m2 {
fill: #EEE;
stroke: gray;
}
.m2.n-1 rect{
fill: none;
stroke: gray;
}
.m2 text {
font-size:4em;
fill:gray;
stroke:none;
text-anchor: middle;
}
/* ------- les murs principaux -------*/
.walls {
stroke: black;
stroke-width: 3;
fill : none;
}
.walls.ext{
fill: white;
fill-opacity: .7;
}
/* ------- les salles -------*/
.room {
fill:#BFB;
opacity:1;
}
.room.isnotok{
fill:#BFB;
opacity:.1;
}
.room.isok {
fill:#FBB;
opacity:1;
}
/* ------- les partie non accessibles -------*/
.useless .room{
fill: #EEE;
}
.useless .room.isnotok{
opacity:.1;
}
/* ------- les portes -------*/
.door {
stroke: darkGray;
}
.door .arc {
fill: white;
stroke-width: 1;
}
.door .front {
stroke-width: 3;
}
/* ------- les escaliers -------*/
.stairs {
fill: none;
stroke: black;
stroke-width: 1;
}
.stairs rect, .stairs path {
vector-effect:non-scaling-stroke;
}
.stairs rect {
stroke-width: 1;
stroke: black;
}
.stairs .updown {
stroke-width: 1;
stroke: black;
}
/* ------- noms des pièces -------*/
.room-name {
fill:#444;
stroke:none;
font-size: 10px;
text-anchor: middle;
}
.room-name .main-name {
fill:black;
font-weight: bold;
font-size: 11px;
}
.room-name .room-number {
fill:black;
font-size: 10px;
}