mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-23 15:41:33 +00:00
Better checkboxes, global button css
This commit is contained in:
24
src/App.vue
24
src/App.vue
@@ -53,4 +53,28 @@ export default {
|
|||||||
color: #2c3e50;
|
color: #2c3e50;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 8px;
|
||||||
|
border-radius: 3px;
|
||||||
|
margin: 5px 10px 5px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type='checkbox'] {
|
||||||
|
-webkit-appearance:none;
|
||||||
|
cursor: pointer;
|
||||||
|
width:24px;
|
||||||
|
height:24px;
|
||||||
|
background:white;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #555;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: middle;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type='checkbox']:checked {
|
||||||
|
background: #679;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
:checked="emailSelection.emails.has(email)"
|
:checked="emailSelection.emails.has(email)"
|
||||||
@click="emailSelection.toggle(email)" />
|
@click="emailSelection.toggle(email)">
|
||||||
</td>
|
</td>
|
||||||
<td>{{email.from}}</td>
|
<td>{{email.from}}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -55,11 +55,4 @@
|
|||||||
.email {
|
.email {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
|
||||||
font-size: 16px;
|
|
||||||
padding: 8px;
|
|
||||||
border-radius: 3px;
|
|
||||||
margin: 5px 10px 5px 0px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user