Skip to content

Commit

Permalink
Fix stylelint
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Jul 31, 2020
1 parent ccb09fd commit d6b03cd
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/components/ActivityEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export default {
.visualdiff ins {
color: green;
}
.visualdiff del {
color: darkred;
}
Expand Down
3 changes: 3 additions & 0 deletions src/components/Controls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export default {
background-color: transparent;
}
}
.filter--item {
input + label {
display: block;
Expand All @@ -366,11 +367,13 @@ export default {
}
}
}
.filter {
width: 250px;
max-height: 80vh;
overflow: auto;
}
.filter h3 {
margin-top: 0px;
margin-bottom: 5px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/board/Board.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {

<style lang="scss" scoped>
@import "../../css/animations.scss";
@import '../../css/animations.scss';
$board-spacing: 15px;
$stack-spacing: 10px;
Expand Down
5 changes: 5 additions & 0 deletions src/components/board/SharingTabSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,25 @@ export default {
#shareWithList {
margin-bottom: 20px;
}
#shareWithList li {
display: flex;
align-items: center;
}
.username {
padding: 12px 9px;
flex-grow: 1;
}
.board-owner-label {
opacity: .7;
}
.avatarLabel {
padding: 6px
}
.avatardiv {
background-color: #f5f5f5;
border-radius: 16px;
Expand Down
2 changes: 2 additions & 0 deletions src/components/board/Stack.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export default {
border: none;
}
}
.stack .smooth-dnd-container.vertical {
margin-top: 3px;
}
Expand All @@ -307,6 +308,7 @@ export default {
.slide-top-leave-active {
transition: all 100ms ease;
}
.slide-top-enter, .slide-top-leave-to {
transform: translateY(-10px);
opacity: 0;
Expand Down
6 changes: 4 additions & 2 deletions src/components/card/CardSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -501,12 +501,14 @@ export default {
</script>

<style>
@import "~easymde/dist/easymde.min.css";
@import '~easymde/dist/easymde.min.css';
.vue-easymde, .CodeMirror {
border: none;
margin: 0;
padding: 0;
}
.editor-preview,
.editor-statusbar {
display: none;
Expand Down Expand Up @@ -615,7 +617,7 @@ export default {
min-height: 100px;
&::v-deep {
@import "./../../css/markdown";
@import './../../css/markdown';
}
&::v-deep input {
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/CardSidebarTabComments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ export default {
</script>

<style scoped lang="scss">
@import "../../css/comments";
@import '../../css/comments';
</style>
2 changes: 1 addition & 1 deletion src/components/card/CommentForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default {
</script>

<style scoped lang="scss">
@import "../../css/comments";
@import '../../css/comments';
.atwho-wrap {
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion src/components/card/CommentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default {
</script>

<style scoped lang="scss">
@import "../../css/comments";
@import '../../css/comments';
.reply {
border-left: 3px solid var(--color-primary-element);
Expand All @@ -195,6 +195,7 @@ export default {
margin: 0;
}
}
.comment--content::v-deep a {
text-decoration: underline;
}
Expand Down
2 changes: 2 additions & 0 deletions src/components/cards/AvatarList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default {
}
}
}
.avatar-list {
float: right;
display: inline-flex;
Expand All @@ -169,6 +170,7 @@ export default {
margin-right: 1px;
}
}
.popovermenu {
display: block;
margin: 40px -6px;
Expand Down
1 change: 1 addition & 0 deletions src/components/cards/CardBadges.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export default {
.fade-enter-active, .fade-leave-active {
transition: opacity .125s;
}
.fade-enter, .fade-leave-to {
opacity: 0;
}
Expand Down
2 changes: 2 additions & 0 deletions src/components/cards/CardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,11 @@ export default {
}
}
}
.duedate {
margin-right: 9px;
}
.right {
display: flex;
align-items: flex-start;
Expand Down
1 change: 1 addition & 0 deletions src/components/navigation/AppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export default {
color: var(--color-text-light);
}
}
::v-deep .app-navigation-toggle {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/AppNavigationAddBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
display: flex;
flex-grow: 1;
input[type="text"] {
input[type='text'] {
flex-grow: 1;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/AppNavigationBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export default {
display: flex;
flex-grow: 1;
input[type="text"] {
input[type='text'] {
flex-grow: 1;
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/css/animations.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.fade-enter-active {
transition: opacity 250ms;
}

.fade-enter, .fade-leave-to {
opacity: 0;
}
Expand All @@ -9,6 +10,7 @@
.zoom-enter-active {
animation: zoom-in var(--animation-quick);
}

.zoom-leave-active {
animation: zoom-in var(--animation-quick) reverse;
will-change: transform;
Expand Down
4 changes: 3 additions & 1 deletion src/css/comments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
}

input[type="submit"] {
input[type='submit'] {
width: 44px;
height: 44px;
margin: 0;
Expand All @@ -25,9 +25,11 @@
right: 0;
}
}

.comment {
margin-bottom: 10px;
}

.comment--header {
display: flex;
align-items: center;
Expand Down
8 changes: 5 additions & 3 deletions src/css/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,19 @@ input[type=checkbox] {
min-height: 12px;
}

li input[type="checkbox"].checkbox + label::before {
li input[type='checkbox'].checkbox + label::before {
margin-left: -15px;

}
input[type="checkbox"].checkbox + label::before {

input[type='checkbox'].checkbox + label::before {
position: relative;
z-index: 100;
margin-right: 10px;
margin-top: 0;
}
li input[type="checkbox"].checkbox:not(:checked) + label::before {

li input[type='checkbox'].checkbox:not(:checked) + label::before {
background-color: var(--color-main-background);
}

Expand Down

0 comments on commit d6b03cd

Please sign in to comment.