2018-09-09 16:58:41 +00:00
|
|
|
<!-- *************************************************************************
|
|
|
|
TEMPLATE
|
|
|
|
************************************************************************* -->
|
|
|
|
|
|
|
|
<template lang="pug">
|
2018-09-09 17:18:40 +00:00
|
|
|
.c-base-divider
|
|
|
|
span.c-base-divider__category {{ category }}
|
2018-09-09 16:58:41 +00:00
|
|
|
|
2018-09-09 17:18:40 +00:00
|
|
|
hr.c-base-divider__line
|
2018-09-09 16:58:41 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<!-- *************************************************************************
|
|
|
|
SCRIPT
|
|
|
|
************************************************************************* -->
|
|
|
|
|
|
|
|
<script>
|
2018-09-09 17:18:40 +00:00
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
category: {
|
|
|
|
name: String,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
2018-09-09 16:58:41 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<!-- *************************************************************************
|
|
|
|
STYLE
|
|
|
|
************************************************************************* -->
|
|
|
|
|
2018-09-09 17:18:40 +00:00
|
|
|
<style lang="scss">
|
|
|
|
$c: ".c-base-divider";
|
|
|
|
|
|
|
|
#{$c} {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
#{$c}__category {
|
2018-09-09 23:16:43 +00:00
|
|
|
margin-right: 20px;
|
2018-09-09 23:14:07 +00:00
|
|
|
color: $white;
|
2018-09-09 18:07:59 +00:00
|
|
|
text-align-last: left;
|
2018-09-09 17:18:40 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
2018-09-09 17:46:23 +00:00
|
|
|
font-size: 18px;
|
2018-09-09 17:18:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#{$c}__line {
|
|
|
|
flex: 1;
|
2018-09-09 20:49:49 +00:00
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
border: 0;
|
2018-09-09 23:14:07 +00:00
|
|
|
border-top: 1px solid $oxford-blue;
|
2018-09-09 17:18:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|