app.component.scss 7.21 KB
Newer Older
Romain DELEAU's avatar
Romain DELEAU committed
1 2 3
.container {
    display: flex;
    flex-direction: row;
4
    z-index: 1;
Romain DELEAU's avatar
Romain DELEAU committed
5

Romain DELEAU's avatar
Romain DELEAU committed
6 7 8
    width: 100%;
    height: 100%;

Romain DELEAU's avatar
Romain DELEAU committed
9
    &-appDragScroll {
Romain DELEAU's avatar
Romain DELEAU committed
10
        position: absolute;
Romain DELEAU's avatar
Romain DELEAU committed
11
        height: 100%;
Romain DELEAU's avatar
Romain DELEAU committed
12
        width: calc(100% - 322px);
Romain DELEAU's avatar
Romain DELEAU committed
13 14 15
        left: 0;
        right: 5px;
        top: 0px;
Romain DELEAU's avatar
Romain DELEAU committed
16
        overflow: scroll;
Romain DELEAU's avatar
Romain DELEAU committed
17 18
        -ms-overflow-style: none;
        scrollbar-width: none;
19
        user-select: none;
Romain DELEAU's avatar
Romain DELEAU committed
20
    }
Romain DELEAU's avatar
Romain DELEAU committed
21

Romain DELEAU's avatar
Romain DELEAU committed
22
    &-appDragScroll::-webkit-scrollbar {
Romain DELEAU's avatar
Romain DELEAU committed
23
        display: none;
Romain DELEAU's avatar
Romain DELEAU committed
24 25
    }

Romain DELEAU's avatar
Romain DELEAU committed
26 27 28 29
    &-appMouseWheelZoom {
        transform-origin: top left;
        padding: 60px 5px 10px 5px;
        margin-right: 7px;
30
        margin-top: 900px;
Romain DELEAU's avatar
Romain DELEAU committed
31 32 33 34
    }

    &-scenario {
        &-chronologie {
Romain DELEAU's avatar
Romain DELEAU committed
35
            margin-bottom: 450px;
36 37
            position: relative;
            left: 800px;
Romain DELEAU's avatar
Romain DELEAU committed
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

            &-title {
                font-family: 'Glacial Indifference Bold';
                font-size: 20px;
                margin-bottom: 10px;
            }

            &-steps {
                display: flex;
                flex-direction: row;
            }
        }

        &-main {
            display: flex;
            flex-direction: row;

            &-gamePieces {
                display: flex;
                flex-direction: column;
            }

            &-missions {
                display: flex;
                flex-direction: column;

                &-mission {
                    display: flex;
66
                    flex-direction: column;
Romain DELEAU's avatar
Romain DELEAU committed
67
                    margin-bottom: 100px;
68
                    position: relative;
Romain DELEAU's avatar
Romain DELEAU committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
                    top: -784px;

                    &-buttonAdd {
                        display: flex;
                        width: 400px;
                        justify-content: center;
                        align-items: center;

                        button {
                            border-radius: 10px;
                            background-color: #f7f7f7;
                            border: solid black 1px;
                            width: 75px;
                            height: 75px;

                            mat-icon {
                                transform: scale(1.5);
                            }
                        }
                    }
Romain DELEAU's avatar
Romain DELEAU committed
89 90 91 92 93 94 95 96 97

                    &-missionPieces {
                        display: flex;
                        flex-direction: column;
                    }

                    &-roles {
                        display: flex;
                        flex-direction: column;
Romain DELEAU's avatar
Romain DELEAU committed
98
                        position: relative;
Romain DELEAU's avatar
Romain DELEAU committed
99
                        top: -409px;
Romain DELEAU's avatar
Romain DELEAU committed
100 101 102 103

                        &-role {
                            display: flex;
                            flex-direction: row;
Romain DELEAU's avatar
Romain DELEAU committed
104 105 106
                            margin-bottom: 50px;

                            &-chronologie {
Romain DELEAU's avatar
Romain DELEAU committed
107
                                margin-bottom: 75px;
Romain DELEAU's avatar
Romain DELEAU committed
108 109 110 111 112 113 114 115 116 117 118 119 120 121
                                margin-left: 400px;
                    
                                &-title {
                                    font-family: 'Glacial Indifference Bold';
                                    font-size: 20px;
                                    margin-bottom: 10px;
                                }
                    
                                &-steps {
                                    display: flex;
                                    flex-direction: row;
                                    height: 300px;
                                }
                            }
Romain DELEAU's avatar
Romain DELEAU committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138

                            &-tasks {
                                display: flex;
                                flex-direction: column;

                                &-inlineTasks {
                                    display: flex;
                                    flex-direction: row;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

Romain DELEAU's avatar
Romain DELEAU committed
139 140
    &-sider {
        height: 100%;
Romain DELEAU's avatar
Romain DELEAU committed
141
        width: 340px;
142
        background-color: #e3e3e3;
Romain DELEAU's avatar
Romain DELEAU committed
143 144 145
        position: fixed;
        right: 0;
        top: 0;
Romain DELEAU's avatar
Romain DELEAU committed
146
        z-index: 5;
Romain DELEAU's avatar
Romain DELEAU committed
147
        box-shadow: -6px 0px 16px rgba(0, 0, 0, 0.3);
148

149
        &-title {
Romain DELEAU's avatar
Romain DELEAU committed
150 151
            height: 5%;
            border-bottom: solid #8f8f8f 0.5px;
152
            font-size: 20px;
Romain DELEAU's avatar
Romain DELEAU committed
153
            width: 340px;
154
            background-color: #e3e3e3;
Romain DELEAU's avatar
Romain DELEAU committed
155
            position: relative;
Romain DELEAU's avatar
Romain DELEAU committed
156
            z-index: 5;
Romain DELEAU's avatar
Romain DELEAU committed
157
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
158
            font-family: 'Glacial Indifference Bold', sans-serif;
159
            display: flex;
160 161 162
            align-items: center;
            justify-content: center;
        }
Romain DELEAU's avatar
Romain DELEAU committed
163

164
        &-elements {
165 166
            flex-direction: column;
            align-items: center;
167
            display: flex;
Romain DELEAU's avatar
Romain DELEAU committed
168 169 170
            overflow-y: auto;
            overflow-x: hidden;
            height: 95%;
171 172 173 174 175

            &-element {
                margin-top: 10px;
                margin-bottom: 10px;
            }            
176
        }
Romain DELEAU's avatar
Romain DELEAU committed
177
    }
178 179 180

    &-settings {
        position: fixed;
181
        width: 400px;
Romain DELEAU's avatar
Romain DELEAU committed
182
        right: 360px;
183 184 185
        display: flex;
        flex-direction: row;
        justify-content: space-between;
Romain DELEAU's avatar
Romain DELEAU committed
186
        z-index: 5;
Romain DELEAU's avatar
Romain DELEAU committed
187

188
        &-mode {
189
            width: 120px;
190
            background-color: white;
Romain DELEAU's avatar
Romain DELEAU committed
191
            box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
192 193 194 195 196 197 198 199 200
            padding: 5px;
            border-radius: 10px;
            text-align: center;
        }

        button {
            width: 50px;
            height: 50px;
        }
201 202 203

        &-secondline {
            top: 75px;
204 205
            width: 112px;
            right: 360px;
206
        }
207
    }
208 209 210 211

    &-zoom {
        position: fixed;
        height: 110px;
212
        right: 580px;
213 214 215 216
        bottom: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
Romain DELEAU's avatar
Romain DELEAU committed
217
        z-index: 5;
218 219 220 221 222 223 224 225 226 227

        button {
            width: 50px;
            height: 50px;

            mat-icon {
                transform: scale(1.2);
            }
        }
    }
228 229 230 231 232

    &-minimap {
        position: fixed;
        height: 200px;
        width: 200px;
Romain DELEAU's avatar
Romain DELEAU committed
233
        z-index: 5;
234 235 236 237 238 239 240 241
        background-color: white;
        box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
        padding: 5px;
        border-radius: 10px;
        bottom: 25px;
        right: 360px;
        overflow: scroll;
    }
Romain DELEAU's avatar
Romain DELEAU committed
242 243 244 245 246 247 248 249 250 251

    &-tutorial {
        &-resume {
            border-radius: 10px;
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 5;
        }
    }
252
}
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
  
.langIcon {
    width: 28px;
    height: 28px;
}

.buttonLang {
    display: flex;
    flex-direction: row;

    img {
        margin-top: 10px;
        margin-right: 5px;
    }
}
268 269

::ng-deep .mat-tooltip {
270 271 272 273 274 275 276 277 278
    font-size: 15px;
    font-family: 'Glacial Indifference', sans-serif;
}

::ng-deep .mat-button {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 16px;
}

Romain DELEAU's avatar
Romain DELEAU committed
279 280 281 282 283
::ng-deep .mat-raised-button {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 16px;
}

284 285 286 287 288 289 290 291 292 293 294 295 296
::ng-deep .mat-menu-content {
    padding: 5px;

    button {
        font-family: 'Glacial Indifference', sans-serif;
        font-size: 17px;
        border-radius: 10px;
        margin-bottom: 5px;
    }

    button:hover {
        opacity: 0.75;
    }
Romain DELEAU's avatar
Romain DELEAU committed
297
}