Browse Source

RFID

master
lucky 5 years ago
parent
commit
9a80cedfe0
  1. 51
      src/components/LoadCells/LoadCells.styl
  2. 52
      src/components/LoadCells/LoadCells.vue

51
src/components/LoadCells/LoadCells.styl

@ -0,0 +1,51 @@
.box {
width: 88%;
left: 6%;
position: relative;
}
.title {
font-size: 17px;
color: #C8CED5;
letter-spacing: 2px;
}
.number {
height: 80%;
position: absolute;
right: 0;
bottom: 0;
}
.number .num_item {
background: url('~assets/cz-bg.png') no-repeat bottom left;
background-size: auto 90%;
position: relative;
top: -6px;
left: 2px;
}
.number span {
display: inline-block;
position: relative;
top: -8px;
left: 2px;
font-size: 38px;
font-style: oblique;
font-weight: 400;
letter-spacing: 18px;
height: 100%;
}
@media (max-width: 1500px) {
.title {
font-size: 12px;
letter-spacing: 0;
}
.number span {
top: -8px;
font-size: 23px;
letter-spacing: 16px;
}
}

52
src/components/LoadCells/LoadCells.vue

@ -70,55 +70,5 @@ export default {
</script> </script>
<style lang="stylus" scoped > <style lang="stylus" scoped >
.box { @import './LoadCells.styl';
width: 88%;
left: 6%;
position: relative;
}
.title {
font-size: 17px;
color: #C8CED5;
letter-spacing: 2px;
}
.number {
height: 80%;
position: absolute;
right: 0;
bottom: 0;
}
.number .num_item {
background: url('~assets/cz-bg.png') no-repeat bottom left;
background-size: auto 90%;
position: relative;
top: -6px;
left: 2px;
}
.number span {
display: inline-block;
position: relative;
top: -8px;
left: 2px;
font-size: 38px;
font-style: oblique;
font-weight: 400;
letter-spacing: 18px;
height: 100%;
}
@media (max-width: 1500px) {
.title {
font-size: 12px;
letter-spacing: 0;
}
.number span {
top: -8px;
font-size: 23px;
letter-spacing: 16px;
}
}
</style> </style>

Loading…
Cancel
Save