Skip to content

Commit 2243166

Browse files
committed
remove unnecessary styles and update readme;
1 parent 9a9576c commit 2243166

File tree

3 files changed

+2
-138
lines changed

3 files changed

+2
-138
lines changed

1.hello-world/5.read-video-vue/README.md

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ export default {
335335
display: flex;
336336
justify-content: center;
337337
align-items: center;
338-
width: 100%;
339-
height: 90%;
340338
border: 1px solid black
341339
}
342340
</style>
@@ -348,7 +346,7 @@ export default {
348346
<template>
349347
<div class="helloWorld">
350348
<h1>Hello World for Vue<img class="applogo" alt="Vue logo" src="../assets/logo.png" /></h1>
351-
<div class="btn-group">
349+
<div>
352350
<button :style="{ marginRight: '10px', backgroundColor: bShowScanner ? 'rgb(255,174,55)' : 'white' }"
353351
@click="showScanner">Video Decode</button>
354352
<button :style="{ backgroundColor: bShowImgDecode ? 'rgb(255,174,55)' : 'white' }" @click="showImgDecode">Image
@@ -412,19 +410,6 @@ h1 {
412410
font-size: 1.5em;
413411
}
414412
415-
ul {
416-
list-style-type: none;
417-
padding: 0;
418-
}
419-
420-
li {
421-
margin: 0 10px;
422-
}
423-
424-
a {
425-
color: #42b983;
426-
}
427-
428413
.applogo {
429414
height: 25px;
430415
}
@@ -434,7 +419,6 @@ a {
434419
flex-direction: column;
435420
align-items: center;
436421
justify-content: center;
437-
overflow: hidden;
438422
width: 100%;
439423
height: 100%;
440424
color: #455a64;
@@ -446,62 +430,10 @@ button {
446430
border: 1px solid black;
447431
}
448432
449-
span {
450-
font-size: 0.8rem;
451-
}
452-
453-
.latest-result {
454-
display: block;
455-
margin: 0;
456-
padding: 0.4rem 0.8rem;
457-
color: inherit;
458-
width: 80vw;
459-
border: none;
460-
font-size: 1rem;
461-
border-radius: 0.2rem;
462-
text-align: center;
463-
}
464-
465-
.latest-result::placeholder {
466-
color: #b0bec5;
467-
}
468-
469-
.latest-result:focus {
470-
outline: none;
471-
box-shadow: 0.1rem 0.4rem 0.8rem #fe8e14;
472-
}
473-
474-
#results {
475-
border: 1px dashed grey;
476-
overflow: auto;
477-
width: 80vw;
478-
padding: 2vmin;
479-
margin-bottom: 3vh;
480-
height: 15vh;
481-
}
482-
483-
#results ul {
484-
padding: 0;
485-
margin: 0;
486-
list-style: none;
487-
text-align: left;
488-
font-size: 0.8rem;
489-
}
490-
491-
.resultText {
492-
color: #ce5e04;
493-
}
494-
495-
.bigger {
496-
font-size: large;
497-
margin-bottom: 2%;
498-
}
499-
500433
.container {
501434
margin: 2vmin auto;
502435
text-align: center;
503436
font-size: medium;
504-
/* height: 40vh; */
505437
width: 80vw;
506438
}
507439
</style>
Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="helloWorld">
33
<h1>Hello World for Vue<img class="applogo" alt="Vue logo" src="../assets/logo.svg" /></h1>
4-
<div class="btn-group">
4+
<div>
55
<button :style="{ marginRight: '10px', backgroundColor: bShowScanner ? 'rgb(255,174,55)' : 'white' }"
66
@click="showScanner">Video Decode</button>
77
<button :style="{ backgroundColor: bShowImgDecode ? 'rgb(255,174,55)' : 'white' }" @click="showImgDecode">Image
@@ -65,19 +65,6 @@ h1 {
6565
font-size: 1.5em;
6666
}
6767
68-
ul {
69-
list-style-type: none;
70-
padding: 0;
71-
}
72-
73-
li {
74-
margin: 0 10px;
75-
}
76-
77-
a {
78-
color: #42b983;
79-
}
80-
8168
.applogo {
8269
height: 25px;
8370
}
@@ -87,7 +74,6 @@ a {
8774
flex-direction: column;
8875
align-items: center;
8976
justify-content: center;
90-
overflow: hidden;
9177
width: 100%;
9278
height: 100%;
9379
color: #455a64;
@@ -99,62 +85,10 @@ button {
9985
border: 1px solid black;
10086
}
10187
102-
span {
103-
font-size: 0.8rem;
104-
}
105-
106-
.latest-result {
107-
display: block;
108-
margin: 0;
109-
padding: 0.4rem 0.8rem;
110-
color: inherit;
111-
width: 80vw;
112-
border: none;
113-
font-size: 1rem;
114-
border-radius: 0.2rem;
115-
text-align: center;
116-
}
117-
118-
.latest-result::placeholder {
119-
color: #b0bec5;
120-
}
121-
122-
.latest-result:focus {
123-
outline: none;
124-
box-shadow: 0.1rem 0.4rem 0.8rem #fe8e14;
125-
}
126-
127-
#results {
128-
border: 1px dashed grey;
129-
overflow: auto;
130-
width: 80vw;
131-
padding: 2vmin;
132-
margin-bottom: 3vh;
133-
height: 15vh;
134-
}
135-
136-
#results ul {
137-
padding: 0;
138-
margin: 0;
139-
list-style: none;
140-
text-align: left;
141-
font-size: 0.8rem;
142-
}
143-
144-
.resultText {
145-
color: #ce5e04;
146-
}
147-
148-
.bigger {
149-
font-size: large;
150-
margin-bottom: 2%;
151-
}
152-
15388
.container {
15489
margin: 2vmin auto;
15590
text-align: center;
15691
font-size: medium;
157-
/* height: 40vh; */
15892
width: 80vw;
15993
}
16094
</style>

1.hello-world/5.read-video-vue/src/components/ImgDecode.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ export default {
4747
display: flex;
4848
justify-content: center;
4949
align-items: center;
50-
width: 100%;
51-
height: 90%;
5250
border: 1px solid black
5351
}
5452
</style>

0 commit comments

Comments
 (0)