diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 082590ac..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,20 +0,0 @@ -image: Visual Studio 2017 - -platform: - - x64 - -cache: - - node_modules - - '%USERPROFILE%\.electron' - -init: - - git config --global core.autocrlf input - -install: - - ps: Install-Product node 12 x64 - - npm install - -build_script: - - npm run build - -test: off diff --git a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css index 13f1c1a1..fc4e51d7 100644 --- a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css +++ b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.css @@ -1,4 +1,5 @@ .bubblePadding { + position: relative; width: 100px; height: 115px; padding: 10px; @@ -25,6 +26,20 @@ -webkit-border-radius: 200px 200px 200px 200px; } +.selected { + position: absolute; + top: 10px; + background-color: rgba(0, 0, 0, 0.5); +} + +.icon { + color: #EEEEEE; + font-size: 25px; + position: absolute; + top: 12px; + left: 12px; +} + .channelName { font-size: 13px; height: 60px; diff --git a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js index c5d16625..d9752676 100644 --- a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js +++ b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.js @@ -7,18 +7,26 @@ export default Vue.extend({ type: String, required: true }, - channelId: { - type: String, - required: true - }, channelThumbnail: { type: String, required: true + }, + showSelected: { + type: Boolean, + default: false + } + }, + data: function () { + return { + selected: false } }, methods: { - goToChannel: function () { - console.log('Go to channel') + handleClick: function () { + if (this.showSelected) { + this.selected = !this.selected + } + this.$emit('click') } } }) diff --git a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue index d845037f..ed60bc77 100644 --- a/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue +++ b/src/renderer/components/ft-channel-bubble/ft-channel-bubble.vue @@ -1,12 +1,21 @@