Skip to content

Commit

Permalink
Clean up css
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Jun 4, 2021
1 parent 06df6b6 commit acd3d6a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
34 changes: 17 additions & 17 deletions src/components/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,6 @@ export default defineComponent({
}
}
.actions{
display: flex;
gap: math.div($padding, 2);
.hspace{
flex: 1;
}
}
label{
@extend .margins;
Expand All @@ -107,17 +98,26 @@ label{
font-weight: bold;
gap: math.div($padding, 2);
grid-template-columns: 1fr 2fr;
}
input{
font-weight: normal;
input{
font-weight: normal;
border: $border;
border-radius: $border-radius;
padding: math.div($padding, 4);
border: $border;
border-radius: $border-radius;
padding: math.div($padding, 4);
&:focus{
border-color: black;
}
}
&:focus{
border-color: black;
}
.actions{
display: flex;
gap: math.div($padding, 2);
.hspace{
flex: 1;
}
}
Expand Down
22 changes: 10 additions & 12 deletions src/components/UserscriptApp.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="userscript-app">
<div class="userscript-delete-workflow-runs">
<div v-if="isOpen" class="dialog-wrapper">
<div class="dialog">
<h1>
Expand Down Expand Up @@ -94,8 +94,8 @@ export default defineComponent({
})
</script>

<style lang="scss" scoped>
.userscript-app{
<style lang="scss">
.userscript-delete-workflow-runs{
*{
background: none;
outline: none;
Expand All @@ -109,15 +109,6 @@ export default defineComponent({
line-height: 1.5;
}
a{
color: blue;
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
a.stop-btn,
a.start-btn,
a.settings-btn{
Expand Down Expand Up @@ -175,6 +166,13 @@ export default defineComponent({
a.url{
display: block;
margin-bottom: $padding;
color: blue;
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
}
}
Expand Down

0 comments on commit acd3d6a

Please sign in to comment.