-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: JAGFx <contact@jagfx.fr>
- Loading branch information
Showing
12 changed files
with
362 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/** | ||
* @author: Emmanuel SMITH <hey@emmanuel-smith.me> | ||
* project: ets2-dashboard-skin | ||
* file: _menu-tab-skins.scss | ||
* Date: 17/02/2022 | ||
* Time: 19:27 | ||
*/ | ||
|
||
@import "../variables"; | ||
|
||
.manual { | ||
.manual-wrapper { | ||
width: 90vw; | ||
height: 85vh; | ||
overflow: auto; | ||
|
||
table.symbols { | ||
th:first-child{ | ||
width: 11rem; | ||
text-align: center; | ||
} | ||
|
||
td, th{ vertical-align: middle; } | ||
|
||
th { | ||
background: $cBlack2; | ||
border-color: $cRed; | ||
border-top: 0; | ||
border-bottom-width: 1px; | ||
} | ||
|
||
td.symbol-td { padding: 0 } | ||
|
||
.category { | ||
background: $cBlack; | ||
padding: 0.2rem 1rem; | ||
font-weight: bold; | ||
border-color: $cBlackTransparentMid; | ||
} | ||
|
||
.symbol { | ||
border-radius: 0.5rem; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background: $cBlack; | ||
font-size: 2rem; | ||
margin: .5rem; | ||
|
||
&.red { color: $cRed; } | ||
&.green { color: $cGreen; } | ||
&.yellow { color: $cYellow; } | ||
&.blue { color: $cBlue; } | ||
|
||
&.multiple i:last-child{ margin-left: 0 } | ||
|
||
i { | ||
line-height: 0; | ||
margin: 1rem; | ||
} | ||
} | ||
|
||
.description { | ||
color: $cGray2; | ||
font-style: italic; | ||
text-align: justify; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<tr> | ||
<td class="symbol-td"> | ||
<div class="d-flex justify-content-center"> | ||
<div | ||
class="symbol" | ||
:class="[ | ||
color, | ||
{ | ||
multiple: icons.length > 1 | ||
} | ||
]" | ||
> | ||
<i v-for="icon in icons" :key="icon" class="icon" :class="icon" /> | ||
</div> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="d-flex flex-column"> | ||
<div class="d-flex justify-content-start align-items-center"> | ||
<span>{{ label }}</span> | ||
<span v-if="!implemented" class="badge badge-secondary ml-2" | ||
>Not yet implemented</span | ||
> | ||
</div> | ||
<small v-if="description.length > 0" class="description">{{ | ||
description | ||
}}</small> | ||
</div> | ||
</td> | ||
</tr> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'SkinManualLine', | ||
props: { | ||
icons: { | ||
type: Array, | ||
required: true | ||
}, | ||
color: { | ||
type: String, | ||
required: false, | ||
default: '' | ||
}, | ||
label: { | ||
type: String, | ||
required: true | ||
}, | ||
description: { | ||
type: String, | ||
required: false, | ||
default: '' | ||
}, | ||
implemented: { | ||
type: Boolean, | ||
required: false, | ||
default: true | ||
} | ||
} | ||
}; | ||
</script> |
Oops, something went wrong.