kopia lustrzana https://github.com/nextcloud/social
rodzic
5980519712
commit
bb9ab48fae
Plik diff jest za duży
Load Diff
|
@ -23,6 +23,8 @@
|
|||
"serve": "NODE_ENV=development webpack serve --progress --config webpack.common.js",
|
||||
"lint": "eslint --ext .js,.vue src",
|
||||
"lint:fix": "eslint --ext .js,.vue src --fix",
|
||||
"stylelint": "stylelint src",
|
||||
"stylelint:fix": "stylelint src --fix",
|
||||
"test": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"cypress": "./cypress/start.sh; cypress run; ./cypress/stop.sh",
|
||||
|
@ -38,7 +40,6 @@
|
|||
"@nextcloud/logger": "^2.5.0",
|
||||
"@nextcloud/moment": "^1.2.1",
|
||||
"@nextcloud/router": "^2.0.1",
|
||||
"@nextcloud/stylelint-config": "^2.3.0",
|
||||
"@nextcloud/vue": "^7.4.0",
|
||||
"@nextcloud/vue-richtext": "^2.0.4",
|
||||
"he": "^1.2.0",
|
||||
|
@ -77,6 +78,7 @@
|
|||
"@nextcloud/babel-config": "^1.0.0",
|
||||
"@nextcloud/browserslist-config": "^2.3.0",
|
||||
"@nextcloud/eslint-config": "^8.2.0",
|
||||
"@nextcloud/stylelint-config": "^2.3.0",
|
||||
"@nextcloud/webpack-vue-config": "^5.4.0",
|
||||
"cypress": "^11.2.0",
|
||||
"jest": "^29.3.1",
|
||||
|
|
|
@ -669,8 +669,7 @@ export default {
|
|||
right: 0;
|
||||
top: 2;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
|
||||
/* Tribute-specific styles TODO: properly scope component css */
|
||||
.tribute-container {
|
||||
position: absolute;
|
||||
|
@ -685,9 +684,8 @@ export default {
|
|||
z-index: 999999;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px var(--color-box-shadow);
|
||||
}
|
||||
|
||||
.tribute-container ul {
|
||||
ul {
|
||||
margin: 0;
|
||||
margin-top: 2px;
|
||||
padding: 0;
|
||||
|
@ -698,25 +696,24 @@ export default {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tribute-container li {
|
||||
li {
|
||||
color: var(--color-text);
|
||||
padding: 5px 10px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tribute-container li span {
|
||||
span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tribute-container li.highlight,
|
||||
.tribute-container li:hover {
|
||||
&.highlight,
|
||||
&:hover {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-primary-text);
|
||||
}
|
||||
|
||||
.tribute-container li img {
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
|
@ -726,31 +723,34 @@ export default {
|
|||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.tribute-container li span {
|
||||
span {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tribute-container li.no-match {
|
||||
&.no-match {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.tribute-container .menu-highlighted {
|
||||
}
|
||||
|
||||
.menu-highlighted {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tribute-container .account,
|
||||
.tribute-container li.highlight .account,
|
||||
.tribute-container li:hover .account {
|
||||
.account,
|
||||
li.highlight .account,
|
||||
li:hover .account {
|
||||
font-weight: normal;
|
||||
color: var(--color-text-light);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.tribute-container li.highlight .account,
|
||||
.tribute-container li:hover .account {
|
||||
li.highlight .account,
|
||||
li:hover .account {
|
||||
color: var(--color-primary-text) !important;
|
||||
opacity: .6;
|
||||
}
|
||||
}
|
||||
|
||||
.message .mention {
|
||||
color: var(--color-primary-element);
|
||||
|
@ -760,9 +760,8 @@ export default {
|
|||
padding-left: 2px;
|
||||
padding-bottom: 1px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.mention img {
|
||||
img {
|
||||
width: 16px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
@ -770,6 +769,7 @@ export default {
|
|||
vertical-align: middle;
|
||||
margin-top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.hashtag {
|
||||
text-decoration: underline;
|
||||
|
|
|
@ -41,6 +41,3 @@ export default {
|
|||
},
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
|
|
@ -154,17 +154,17 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
.list-item {
|
||||
}
|
||||
.list-enter-active, .list-leave-active {
|
||||
.list-enter-active, .list-leave-active {
|
||||
transition: all .5s;
|
||||
}
|
||||
.list-enter {
|
||||
}
|
||||
|
||||
.list-enter {
|
||||
opacity: 0;
|
||||
transform: translateY(-30px);
|
||||
}
|
||||
.list-leave-to {
|
||||
}
|
||||
|
||||
.list-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateX(-100px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -123,9 +123,11 @@ export default {
|
|||
h2, p {
|
||||
color: var(--color-primary-text);
|
||||
}
|
||||
|
||||
p .icon {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.avatardiv {
|
||||
vertical-align: -4px;
|
||||
margin-right: 3px;
|
||||
|
|
|
@ -68,6 +68,7 @@ export default {
|
|||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.user-entry {
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
|
|
|
@ -40,7 +40,3 @@ export default {
|
|||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
|
|
@ -149,6 +149,7 @@ export default {
|
|||
transition: all .5s ease-out;
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
.slide-fade-leave-to {
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
|
|
|
@ -93,18 +93,12 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.social__timeline {
|
||||
.social__timeline {
|
||||
max-width: 600px;
|
||||
margin: 15px auto;
|
||||
}
|
||||
}
|
||||
|
||||
#app-content {
|
||||
#app-content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style>
|
||||
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
const stylelintConfig = require('@nextcloud/stylelint-config')
|
||||
|
||||
module.exports = stylelintConfig
|
Ładowanie…
Reference in New Issue