Skip to content

Commit

Permalink
Fix stylelint
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Mar 23, 2021
1 parent 5b95136 commit d107778
Show file tree
Hide file tree
Showing 40 changed files with 211 additions and 173 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export default {
}
&.sortable-ghost {
opacity: 0.1;
opacity: 0.1;
}
& > .panel--header {
Expand Down
2 changes: 0 additions & 2 deletions apps/files/src/components/LegacyView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,3 @@ export default {
},
}
</script>
<style>
</style>
2 changes: 0 additions & 2 deletions apps/files/src/components/Setting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ export default {
},
}
</script>
<style>
</style>
2 changes: 1 addition & 1 deletion apps/files/src/components/TemplatePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export default {
&__title {
overflow: hidden;
// also count preview border
max-width: calc(var(--width) + 2*2px);
max-width: calc(var(--width) + 2 * 2px);
padding: var(--margin);
white-space: nowrap;
text-overflow: ellipsis;
Expand Down
3 changes: 3 additions & 0 deletions apps/files/src/components/TransferOwnershipDialogue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,12 @@ export default {
.middle-align {
vertical-align: middle;
}

p {
margin-top: 12px;
margin-bottom: 12px;
}

.new-owner-row {
display: flex;

Expand All @@ -251,6 +253,7 @@ p {
max-width: 280px;
}
}

.transfer-select-row {
span {
margin-right: 8px;
Expand Down
4 changes: 0 additions & 4 deletions apps/files/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,3 @@ export default {
},
}
</script>

<style lang="scss" scoped>

</style>
4 changes: 2 additions & 2 deletions apps/files/src/views/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ export default {
background-size: cover;
}

&[data-mimetype="text/plain"],
&[data-mimetype="text/markdown"] {
&[data-mimetype='text/plain'],
&[data-mimetype='text/markdown'] {
.app-sidebar-header__figure {
background-size: contain;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/files/src/views/TemplatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export default {
padding: calc(var(--margin) * 2) var(--margin);
position: sticky;
bottom: 0;
background-image: linear-gradient(0, var(--gradient-main-background));
background-image: linear-gradient(to bottom, var(--gradient-main-background));

button, input[type='submit'] {
height: 44px;
Expand Down
7 changes: 4 additions & 3 deletions apps/files_trashbin/src/trash.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
* See the COPYING-README file.
*
*/
#app-content-trashbin tbody tr[data-type="file"] td a.name,
#app-content-trashbin tbody tr[data-type="file"] td a.name span.nametext,
#app-content-trashbin tbody tr[data-type="file"] td a.name span.nametext span {
#app-content-trashbin tbody tr[data-type='file'] td a.name,
#app-content-trashbin tbody tr[data-type='file'] td a.name span.nametext,
#app-content-trashbin tbody tr[data-type='file'] td a.name span.nametext span {
cursor: default;
}

#app-content-trashbin .summary :last-child {
padding: 0;
}

#app-content-trashbin #filestable .summary .filesize {
display: none;
}
Expand Down
3 changes: 2 additions & 1 deletion apps/files_versions/src/css/versions.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
float: left;
border-bottom: 1px solid rgba(100,100,100,.1);
}

.versionsTabView li:last-child {
border-bottom: none;
}
Expand All @@ -30,7 +31,7 @@

.versionsTabView .preview-container {
display: inline-block;
vertical-align: top;
vertical-align: top;
}

.versionsTabView img {
Expand Down
2 changes: 2 additions & 0 deletions apps/oauth2/src/components/OAuthItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ export default {
padding: 10px;
vertical-align: middle;
}

td code {
display: inline-block;
vertical-align: middle;
}

table.inline td {
border: none;
padding: 5px;
Expand Down
1 change: 1 addition & 0 deletions apps/settings/src/components/AppDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export default {
border-color: var(--color-error);
background: var(--color-main-background);
}

.force:hover,
.force:active {
color: var(--color-main-background);
Expand Down
1 change: 1 addition & 0 deletions apps/settings/src/components/AppList/AppItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export default {
border-color: var(--color-error);
color: var(--color-error);
}

.force:hover,
.force:active {
background: var(--color-error);
Expand Down
4 changes: 0 additions & 4 deletions apps/settings/src/components/AuthTokenSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,3 @@ export default {
},
}
</script>

<style scoped>

</style>
164 changes: 82 additions & 82 deletions apps/settings/src/components/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,88 +110,88 @@ export default {
<style scoped lang="scss">
.settings-markdown::v-deep {

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
line-height: 120%;
margin-top: 24px;
margin-bottom: 12px;
color: var(--color-main-text);
}

h1 {
font-size: 36px;
margin-top: 48px;
}

h2 {
font-size: 28px;
margin-top: 48px;
}

h3 {
font-size: 24px;
}

h4 {
font-size: 21px;
}

h5 {
font-size: 17px;
}

h6 {
font-size: var(--default-font-size);
}

pre {
white-space: pre;
overflow-x: auto;
background-color: var(--color-background-dark);
border-radius: var(--border-radius);
padding: 1em 1.3em;
margin-bottom: 1em;
}

p code {
background-color: var(--color-background-dark);
border-radius: var(--border-radius);
padding: .1em .3em;
}

li {
position: relative;
}

ul, ol {
padding-left: 10px;
margin-left: 10px;
}

ul li {
list-style-type: disc;
}

ul > li > ul > li {
list-style-type: circle;
}

ul > li > ul > li ul li {
list-style-type: square;
}

blockquote {
padding-left: 1em;
border-left: 4px solid var(--color-primary-element);
color: var(--color-text-maxcontrast);
margin-left: 0;
margin-right: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
line-height: 120%;
margin-top: 24px;
margin-bottom: 12px;
color: var(--color-main-text);
}

h1 {
font-size: 36px;
margin-top: 48px;
}

h2 {
font-size: 28px;
margin-top: 48px;
}

h3 {
font-size: 24px;
}

h4 {
font-size: 21px;
}

h5 {
font-size: 17px;
}

h6 {
font-size: var(--default-font-size);
}

pre {
white-space: pre;
overflow-x: auto;
background-color: var(--color-background-dark);
border-radius: var(--border-radius);
padding: 1em 1.3em;
margin-bottom: 1em;
}

p code {
background-color: var(--color-background-dark);
border-radius: var(--border-radius);
padding: .1em .3em;
}

li {
position: relative;
}

ul, ol {
padding-left: 10px;
margin-left: 10px;
}

ul li {
list-style-type: disc;
}

ul > li > ul > li {
list-style-type: circle;
}

ul > li > ul > li ul li {
list-style-type: square;
}

blockquote {
padding-left: 1em;
border-left: 4px solid var(--color-primary-element);
color: var(--color-text-maxcontrast);
margin-left: 0;
margin-right: 0;
}

}
</style>
1 change: 1 addition & 0 deletions apps/settings/src/components/UserList/UserRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ export default {
.row--menu-opened {
z-index: 1 !important;
}

.row::v-deep .multiselect__single {
z-index: auto !important;
}
Expand Down
17 changes: 9 additions & 8 deletions apps/settings/src/components/UserList/UserRowSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,14 @@ export default {
</script>

<style lang="scss">
.cellText {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.cellText {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.icon-more {
background-color: var(--color-main-background);
border: 0;
}
.icon-more {
background-color: var(--color-main-background);
border: 0;
}
</style>
4 changes: 0 additions & 4 deletions apps/settings/src/components/WebAuthn/Section.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,3 @@ export default {
},
}
</script>

<style scoped>

</style>
3 changes: 0 additions & 3 deletions apps/settings/src/main-apps-users-management.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@

import Vue from 'vue'
import VTooltip from 'v-tooltip'
import { sync } from 'vuex-router-sync'

import App from './App.vue'
import router from './router'
import store from './store'

Vue.use(VTooltip, { defaultHtml: false })

sync(store, router)

// CSP config for webpack dynamic chunk loading
// eslint-disable-next-line
__webpack_nonce__ = btoa(OC.requestToken)
Expand Down
Loading

0 comments on commit d107778

Please sign in to comment.