area.component.scss 1.99 KB
Newer Older
mdsecurity's avatar
mdsecurity committed
1
$hex-border-color: #C1C7CD;
2
@import "../../../global-styles";
mdsecurity's avatar
mdsecurity committed
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
.hexagon {
  position: relative;
  width: 60px; 
  height: 34.64px;
  margin: 17.32px 0;
  background-size: auto 64.4323px;
  background-position: center;
  border-left: solid 2.1px $hex-border-color;
  border-right: solid 2.1px $hex-border-color;
}

.hexTop,
.hexBottom {
  position: absolute;
  z-index: 1;
  width: 42.43px;
  height: 42.43px;
  overflow: hidden;
  -webkit-transform: scaleY(0.5774) rotate(-45deg);
  -ms-transform: scaleY(0.5774) rotate(-45deg);
  transform: scaleY(0.5774) rotate(-45deg);
  background: inherit;
  left: 6.69px;
}

/*counter transform the bg image on the caps*/
.hexTop:after,
.hexBottom:after {
  content: "";
  position: absolute;
  width: 55.8000px;
  height: 32.21614502078112px;
  -webkit-transform:  rotate(45deg) scaleY(1.7321) translateY(-16.1081px);
  -ms-transform:      rotate(45deg) scaleY(1.7321) translateY(-16.1081px);
  transform:          rotate(45deg) scaleY(1.7321) translateY(-16.1081px);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  background: inherit;
}

.hexTop {
  top: -21.2132px;
  border-top: solid 2.9698px $hex-border-color;
  border-right: solid 2.9698px $hex-border-color;
}

.hexTop:after {
  background-position: center top;
}

.hexBottom {
  bottom: -21.2132px;
  border-bottom: solid 2.9698px $hex-border-color;
  border-left: solid 2.9698px $hex-border-color;
}

.hexBottom:after {
  background-position: center bottom;
}

.hexagon:after {
  content: "";
  position: absolute;
  top: 1.2124px;
  left: 0;
  width: 55.8000px;
  height: 32.2161px;
  z-index: 2;
  background: inherit;
}
.center {
    margin-left: auto;
mdsecurity's avatar
mdsecurity committed
76
    margin-right: auto
mdsecurity's avatar
mdsecurity committed
77
78
    // width: 100%;
}
79

mdsecurity's avatar
mdsecurity committed
80
81
82
hr {
    height:1.5px;
    background-color:rgba(104, 118, 140, 0.5); 
83
84
85
86
87
    margin-top: 0px;
    margin-bottom: 15px;
}
.area-card-header{
  margin-top:30px;
mdsecurity's avatar
mdsecurity committed
88
89
90
91
92
}
.place-card-holder{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
93
94
  justify-content: center; 
  padding:0px 0px 0px 0px;
mdsecurity's avatar
mdsecurity committed
95
}