This commit is contained in:
supertiger1234 2019-11-23 20:39:38 +00:00
parent 4951e8729d
commit a81a296e61
58 changed files with 770 additions and 342 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 189 KiB

View file

@ -80,6 +80,7 @@ export default {
} }
.inner-profile-picture { .inner-profile-picture {
background-color: rgba(0, 0, 0, 0.315); background-color: rgba(0, 0, 0, 0.315);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
border-radius: 50%; border-radius: 50%;
background-position: center; background-position: center;
background-size: cover; background-size: cover;

View file

@ -2,6 +2,7 @@
<div class="left-panel"> <div class="left-panel">
<navigation /> <navigation />
<div class="content"> <div class="content">
<MyMiniInformation />
<div class="tabs"> <div class="tabs">
<div <div
class="tab" class="tab"
@ -22,8 +23,6 @@
<div v-else class="list"> <div v-else class="list">
<recent-friends /> <recent-friends />
</div> </div>
<div class="seperater" />
<MyMiniInformation />
</div> </div>
</div> </div>
</template> </template>
@ -94,15 +93,12 @@ export default {
<style scoped> <style scoped>
.left-panel { .left-panel {
height: 100%; height: 100%;
width: 300px; width: 340px;
max-width: calc(100% - 60px);
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
z-index: 1; z-index: 1;
background-image: url("../../assets/leftPanelBackground.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
} }
.content { .content {
display: flex; display: flex;
@ -110,6 +106,9 @@ export default {
flex-shrink: 0; flex-shrink: 0;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
background: rgba(0, 0, 0, 0.14);
border-top-left-radius: 10px;
} }
.list { .list {
flex: 1; flex: 1;
@ -136,7 +135,6 @@ export default {
height: 50px; height: 50px;
transition: 0.2s; transition: 0.2s;
cursor: pointer; cursor: pointer;
background: #075e64;
position: relative; position: relative;
} }
.tab .material-icons { .tab .material-icons {
@ -220,4 +218,10 @@ export default {
background: rgba(121, 3, 3, 0.541); background: rgba(121, 3, 3, 0.541);
} }
} }
@media (max-width: 600px) {
.content{
border-radius: 0;
}
}
</style> </style>

View file

@ -0,0 +1,380 @@
<template>
<div class="navigation" ref="navigation">
<div
class="tool-tip"
ref="toolTip"
:style="{ left: toolTipLeftPosition + 'px' }"
v-if="toolTipShown"
>
{{ toolTipLocalName || servers[toolTipServerID].name }}
</div>
<div class="container" @mouseleave="mouseLeaveEvent">
<div class="navigation-items">
<div
class="item material-icons"
:class="{ selected: currentTab == 0 }"
@click="switchTab(0)"
@mouseenter="localToolTipEvent('Explore', $event)"
>
explore
</div>
<div
class="item material-icons"
:class="{
selected: currentTab == 1,
notifyAnimation: DMNotification || friendRequestExists
}"
@click="switchTab(1)"
@mouseenter="localToolTipEvent('Direct Message', $event)"
>
chat
</div>
<div
class="item material-icons"
:class="{
selected: currentTab == 2,
notifyAnimation: serverNotification
}"
@click="switchTab(2)"
@mouseenter="localToolTipEvent('Servers', $event)"
>
forum
</div>
<div
class="item material-icons"
:class="{ selected: currentTab == 3 }"
@click="switchTab(3)"
@mouseenter="localToolTipEvent('Changelog', $event)"
>
import_contacts
</div>
<div
v-if="!user.survey_completed"
class="item material-icons"
@click="openSurvey"
@mouseenter="localToolTipEvent('Click Me', $event)"
>
error
</div>
</div>
</div>
<div
class="item material-icons"
@click="openSettings"
@mouseleave="mouseLeaveEvent"
@mouseenter="localToolTipEvent('Settings', $event)"
>
settings
</div>
</div>
</template>
<script>
import { bus } from "@/main.js";
import config from "@/config.js";
import settingsService from "@/services/settingsService";
import { isMobile } from "@/utils/Mobile";
export default {
data() {
return {
avatarDomain: config.domain + "/avatars",
toolTipShown: false,
toolTipLeftPosition: 0,
toolTipServerID: null,
toolTipLocalName: null,
mobile: isMobile(),
drag: false
};
},
methods: {
async onEnd(event) {
this.drag = false;
const serverIDArr = this.serversArr.map(s => s.server_id);
await settingsService.setServerPositions(serverIDArr);
},
onStart() {
this.toolTipShown = false;
this.drag = true;
this.$store.dispatch("setAllPopout", { show: false });
},
dismissNotification(channelID) {
const notifications = this.$store.getters.notifications.find(function(e) {
return e.channelID === channelID;
});
if (notifications && notifications.count >= 1 && document.hasFocus()) {
this.$socket.emit("notification:dismiss", { channelID });
}
},
openServer(serverID) {
const server = this.servers[serverID];
const lastSelectedChannel = JSON.parse(
localStorage.getItem("selectedChannels") || "{}"
)[serverID];
const defaultChannelID = server.default_channel_id;
const channels = this.$store.getters.channels;
let channel = channels[lastSelectedChannel || defaultChannelID];
if (!channel) {
channel = channels[defaultChannelID];
}
this.dismissNotification(channel.channelID);
this.$store.dispatch("servers/setSelectedServerID", serverID);
this.$store.dispatch("openChannel", channel);
},
switchChannel(isServer) {
const serverChannelID = this.$store.state.channelModule.serverChannelID;
const DMChannelID = this.$store.state.channelModule.DMChannelID;
if (isServer) {
this.$store.dispatch("selectedChannelID", serverChannelID);
const channel = this.$store.state.channelModule.channels[
serverChannelID
];
this.$store.dispatch("setChannelName", channel ? channel.name : "");
this.dismissNotification(serverChannelID);
} else {
const channel = this.$store.state.channelModule.channels[DMChannelID];
this.$store.dispatch(
"setChannelName",
channel ? channel.recipients[0].username : ""
);
this.$store.dispatch("selectedChannelID", DMChannelID);
this.dismissNotification(DMChannelID);
}
},
switchTab(index) {
localStorage.setItem("currentTab", index);
this.$store.dispatch("setCurrentTab", index);
if (index == 1) {
//1: direct message tab.
this.switchChannel(false);
} else if (index === 2) {
//2: server tab
this.switchChannel(true);
}
},
openSettings() {
this.$store.dispatch("setPopoutVisibility", {
name: "settings",
visibility: true
});
},
localToolTipEvent(name, event) {
this.toolTipLocalName = name;
this.toolTipShown = true;
this.$nextTick(() => {
const width = window.innerWidth;
const tooltipWidth = this.$refs.toolTip.clientWidth;
const rect = event.target.getBoundingClientRect();
this.toolTipLeftPosition = rect.left - tooltipWidth / 2 + 25;
});
},
mouseLeaveEvent() {
this.toolTipShown = false;
this.toolTipServerID = null;
this.toolTipLocalName = null;
},
addServer() {
this.$store.dispatch("setPopoutVisibility", {
name: "addServer",
visibility: true
});
},
addFriend() {
this.$store.dispatch("setAllPopout", {
show: true,
type: "ADD_FRIEND"
});
},
openSurvey() {
this.$store.dispatch("setPopoutVisibility", {
name: "surveyPopout",
visibility: true
});
}
},
computed: {
user() {
return this.$store.getters.user;
},
currentTab() {
return this.$store.getters.currentTab;
},
servers() {
return this.$store.getters["servers/servers"];
},
serversArr: {
get() {
const data = this.servers;
return Object.keys(data)
.map(key => {
return data[key];
})
.reverse();
},
set(value) {
const reversedServers = value.reverse();
// convert array to json
const json = {};
for (let index = 0; index < reversedServers.length; index++) {
const element = reversedServers[index];
json[element.server_id] = element;
}
this.$store.dispatch("servers/setServers", json);
}
},
selectedServerID() {
return this.$store.getters["servers/selectedServerID"];
},
serverNotification() {
const notifications = this.$store.getters.notifications;
const channels = this.$store.getters.channels;
const notification = notifications.find(e => {
return (
channels[e.channelID] &&
channels[e.channelID].server_id &&
(e.channelID !== this.$store.getters.selectedChannelID ||
!document.hasFocus() ||
this.currentTab !== 2)
);
});
return notification;
},
DMNotification() {
const notifications = this.$store.getters.notifications;
const channels = this.$store.getters.channels;
const notification = notifications.find(e => {
return (
channels[e.channelID] &&
!channels[e.channelID].server_id &&
(e.channelID !== this.$store.getters.selectedChannelID ||
!document.hasFocus() ||
this.currentTab !== 1)
);
});
// unopened dm
if (!notification) {
return notifications.find(e => {
return !channels[e.channelID];
});
}
return notification;
},
friendRequestExists() {
const allFriend = this.$store.getters.user.friends;
const result = Object.keys(allFriend).map(function(key) {
return allFriend[key];
});
return result.find(friend => friend.status === 1);
}
}
};
</script>
<style lang="scss" scoped>
.navigation {
display: flex;
flex-direction: row;
flex-shrink: 0;
height: 60px;
width: 100%;
}
.container {
display: flex;
flex-direction: row;
height: 100%;
width: 100%;
}
.navigation-items {
display: flex;
flex-direction: row;
width: 100%;
height: 100%;
align-self: flex-start;
align-content: center;
flex-shrink: 0;
}
.item {
position: relative;
display: flex;
flex-shrink: 0;
justify-content: center;
align-content: center;
align-items: center;
color: white;
font-size: 30px;
align-self: center;
width: 50px;
height: 50px;
margin-left: 10px;
border-radius: 50%;
cursor: pointer;
user-select: none;
opacity: 0.8;
transition: 0.2s;
&:hover {
background: #093b4b;
}
&.selected {
background: #072c38;
}
}
.notifyAnimation:before {
content: "!";
color: white;
display: flex;
flex-direction: column;
align-items: center;
align-content: center;
font-size: 15px;
position: absolute;
z-index: 115651;
top: 5px;
right: 5px;
width: 20px;
height: 20px;
animation: notifyAnime;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-fill-mode: forwards;
border-radius: 50%;
background: rgba(255, 23, 23, 0.753);
flex-shrink: 0;
}
@keyframes notifyAnime {
0% {
opacity: 0.2;
}
40% {
opacity: 1;
}
60% {
opacity: 1;
}
100% {
opacity: 0.2;
}
}
.tool-tip {
color: white;
position: absolute;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(3px);
padding: 5px;
max-width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
top: 60px;
z-index: 99999;
user-select: none;
cursor: default;
transition: 0.2s;
}
</style>

View file

@ -75,10 +75,13 @@ export default {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
overflow: hidden; overflow: hidden;
border-radius: 4px;
margin-left: 5px;
margin-right: 5px;
} }
.member:hover { .member:hover {
background: #064d55; background: #063442;
} }
.information { .information {

View file

@ -81,16 +81,14 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 300px; width: 300px;
max-width: calc(100% - 60px);
height: 100%; height: 100%;
background-image: url("../../assets/leftPanelBackground.jpg"); background: rgba(0, 0, 0, 0.14);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
} }
.header { .header {
height: 50px; height: 50px;
width: 100%; width: 100%;
background: rgba(0, 0, 0, 0.438); background: #083A4A;
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
} }
@ -103,12 +101,12 @@ export default {
overflow: auto; overflow: auto;
} }
.tab { .tab {
background: #095a5c;
padding: 5px; padding: 5px;
user-select: none; user-select: none;
cursor: default; cursor: default;
color: #cce4e3; color: #b5c4ca;
font-size: 15px; font-size: 15px;
margin-left: 10px;
} }
</style> </style>

View file

@ -41,7 +41,6 @@
</div> </div>
<edit-panel v-if="editMessage" :data="editMessage" /> <edit-panel v-if="editMessage" :data="editMessage" />
<div class="seperater" />
<div class="markdown-buttons" style="color: white;" v-if="sendMessagePermission === true || editMessage"> <div class="markdown-buttons" style="color: white;" v-if="sendMessagePermission === true || editMessage">
<div class="material-icons markdown-icon" @click="addFormat('**')" title="Bold">format_bold</div> <div class="material-icons markdown-icon" @click="addFormat('**')" title="Bold">format_bold</div>
<div class="material-icons markdown-icon" @click="addFormat('_')" title="Italic">format_italic</div> <div class="material-icons markdown-icon" @click="addFormat('_')" title="Italic">format_italic</div>
@ -78,7 +77,7 @@
@paste="onPaste" @paste="onPaste"
></textarea> ></textarea>
<button class="emojis-button" @click="showEmojiPanel = !showEmojiPanel"> <button class="emojis-button" @click="showEmojiPanel = !showEmojiPanel">
<i class="material-icons">face</i> <i class="material-icons">tag_faces</i>
</button> </button>
<button <button
class="send-button" class="send-button"
@ -146,6 +145,7 @@ export default {
methods: { methods: {
messageColorChange(e) { messageColorChange(e) {
const hexColor = e.target.value; const hexColor = e.target.value;
e.target.value = ""
this.customColor = hexColor; this.customColor = hexColor;
}, },
addFormat(type, customEnding, customPos) { addFormat(type, customEnding, customPos) {
@ -734,26 +734,25 @@ export default {
.chat-input-area { .chat-input-area {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 10px; padding-bottom: 10px;
position: relative; position: relative;
background: #014757;
} }
.attachment-button { .attachment-button {
width: 50px; width: 50px;
background: rgba(255, 255, 255, 0.07);
margin-right: 2px; margin-right: 2px;
margin-left: 10px;
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
color: #a5bec4;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
transition: 0.3s; transition: 0.3s;
&:hover { &:hover {
background: rgba(255, 255, 255, 0.13); color: white;
} }
.material-icons { .material-icons {
color: white;
margin: auto; margin: auto;
} }
} }
@ -784,7 +783,7 @@ export default {
.chat-input { .chat-input {
font-family: "Roboto", sans-serif; font-family: "Roboto", sans-serif;
background: rgba(255, 255, 255, 0.07); background: transparent;
color: white; color: white;
width: 100%; width: 100%;
min-height: 20px; min-height: 20px;
@ -799,23 +798,17 @@ export default {
overflow: hidden; overflow: hidden;
max-height: 30vh; max-height: 30vh;
overflow-y: auto; overflow-y: auto;
&:hover { &::placeholder{
background: rgba(255, 255, 255, 0.1); color: #597981;
}
&:focus {
background: rgba(255, 255, 255, 0.13);
} }
} }
.send-button { .send-button {
font-size: 20px; font-size: 20px;
color: white; color: #a5bec4;
background: rgba(255, 255, 255, 0.07); background: transparent;
border: none; border: none;
outline: none; outline: none;
margin-left: 2px;
margin-right: 10px;
min-height: 40px; min-height: 40px;
width: 50px; width: 50px;
transition: 0.3s; transition: 0.3s;
@ -830,7 +823,7 @@ export default {
margin: auto; margin: auto;
} }
&:hover { &:hover {
background: rgba(255, 255, 255, 0.13); color: white;
} }
} }
@ -843,8 +836,8 @@ export default {
.emojis-button { .emojis-button {
font-size: 20px; font-size: 20px;
color: white; color: #a5bec4;
background: rgba(255, 255, 255, 0.07); background: transparent;
border: none; border: none;
outline: none; outline: none;
margin-left: 2px; margin-left: 2px;
@ -859,17 +852,17 @@ export default {
margin: auto; margin: auto;
} }
&:hover { &:hover {
background: rgba(255, 255, 255, 0.13); color: white;
} }
} }
.back-to-bottom-button { .back-to-bottom-button {
&:hover { &:hover {
background: #748b8e; background: rgba(0, 0, 0, 0.90);
box-shadow: 0px 0px 15px 0px #0000008a;
} }
transition: 0.2s; transition: 0.2s;
background: #516e72; background: rgba(0, 0, 0, 0.80);
border-radius: 100px;
color: white; color: white;
position: absolute; position: absolute;
bottom: 15px; bottom: 15px;
@ -879,7 +872,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-shrink: 0; flex-shrink: 0;
box-shadow: 0px 0px 7px 0px #0000008a; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
align-content: center; align-content: center;
align-items: center; align-items: center;
padding-left: 10px; padding-left: 10px;
@ -905,9 +898,12 @@ export default {
height: 35px; height: 35px;
align-items: center; align-items: center;
align-content: center; align-content: center;
margin-left: 10px; margin-left: 2px;
margin-bottom: 10px;
flex-shrink: 0; flex-shrink: 0;
background: #024B5C;
.markdown-icon { .markdown-icon {
font-size: 21px;
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
align-content: center; align-content: center;
@ -916,10 +912,10 @@ export default {
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
height: 100%; height: 100%;
width: 35px; width: 30px;
margin-left: 2px; margin-left: 0px;
transition: 0.2s; transition: 0.2s;
color: #d5dcdd; color: #a5bec4;
&:hover { &:hover {
color: white; color: white;
} }
@ -940,16 +936,17 @@ export default {
background: rgb(231, 231, 231); background: rgb(231, 231, 231);
flex-shrink: 0; flex-shrink: 0;
cursor: pointer; cursor: pointer;
border-radius: 3px;
} }
.reset-button { .reset-button {
color: #a5bec4;
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
margin-left: 5px; margin-left: 5px;
transition: 0.2s; transition: 0.2s;
opacity: 0.6;
flex-shrink: 0; flex-shrink: 0;
&:hover { &:hover {
opacity: 1; color: white;
} }
} }
} }

View file

@ -61,7 +61,7 @@ export default {
<style scoped> <style scoped>
.heading { .heading {
background: #112c30; background: #073240;
margin-bottom: 0; margin-bottom: 0;
height: 50px; height: 50px;
display: flex; display: flex;

View file

@ -28,7 +28,7 @@
</div> </div>
<div class="information"> <div class="information">
<div class="info">{{ getFile.fileName }}</div> <div class="info">{{ getFile.fileName }}</div>
<a :href="getFile.url" target="_blank"> <a :href="getFile.url" download target="_blank">
<div class="download-button">Download</div> <div class="download-button">Download</div>
</a> </a>
</div> </div>
@ -272,6 +272,10 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
$self-message-color: #053746;
$message-color: #03222b;
.container { .container {
position: relative; position: relative;
z-index: 1; z-index: 1;
@ -299,8 +303,7 @@ export default {
display: table; display: table;
color: white; color: white;
overflow: hidden; overflow: hidden;
border-radius: 5px; background: $message-color;
background: #0a1a1c;
} }
.presence-message .text { .presence-message .text {
@ -329,7 +332,7 @@ export default {
} }
.ownMessageLeft .triangle-inner { .ownMessageLeft .triangle-inner {
border-left: 8px solid #3a585c; border-left: 8px solid $self-message-color;
border-right: none !important; border-right: none !important;
} }
@ -349,19 +352,19 @@ export default {
} }
.ownMessage .triangle-inner { .ownMessage .triangle-inner {
border-right: 8px solid #3a585c; border-right: 8px solid $self-message-color;
} }
.ownMessage .content { .ownMessage .content {
background: #3a585c; background: $self-message-color;
} }
.ownMessage .date { .ownMessage .date {
color: rgb(209, 209, 209); color: #d5e3e6;
} }
.file-content { .file-content {
display: flex; display: flex;
background: #5b7377; background: #ffffff21;
padding: 10px; padding: 10px;
margin-top: 5px; margin-top: 5px;
&.music { &.music {
@ -419,11 +422,11 @@ export default {
height: 0; height: 0;
border-top: 9px solid transparent; border-top: 9px solid transparent;
border-bottom: 0px solid transparent; border-bottom: 0px solid transparent;
border-right: 8px solid #0a1a1c; border-right: 8px solid $message-color;
} }
.content { .content {
background: #0a1a1c; background: $message-color;
padding: 10px; padding: 10px;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -440,7 +443,7 @@ export default {
.image-content { .image-content {
margin-top: 10px; margin-top: 10px;
padding: 5px; padding: 5px;
background: #1d2c2e; background: #ffffff21;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -457,7 +460,7 @@ export default {
display: flex; display: flex;
} }
.username { .username {
color: rgb(219, 219, 219); color: rgb(255, 255, 255);
font-size: 14px; font-size: 14px;
margin: auto 0; margin: auto 0;
transition: 0.1s; transition: 0.1s;
@ -465,11 +468,11 @@ export default {
} }
.username:hover { .username:hover {
color: rgb(199, 199, 199); color: rgb(255, 255, 255);
text-decoration: underline; text-decoration: underline;
} }
.date { .date {
color: rgb(177, 177, 177); color: #d5e3e6;
font-size: 10px; font-size: 10px;
margin: auto auto auto 5px; margin: auto auto auto 5px;
font-weight: normal; font-weight: normal;

View file

@ -4,7 +4,7 @@
class="avatar" class="avatar"
:url="`${avatar}${hover ? '' : '?type=png'}`" :url="`${avatar}${hover ? '' : '?type=png'}`"
:admin="user.admin" :admin="user.admin"
size="40px" size="35px"
:hover="true" :hover="true"
@click.native="openUserInformation" @click.native="openUserInformation"
/> />
@ -96,8 +96,9 @@ export default {
position: relative; position: relative;
flex-shrink: 0; flex-shrink: 0;
align-items: center; align-items: center;
height: 60px; height: 50px;
transition: 0.3s; transition: 0.3s;
background-color: #083A4A
} }
.avatar { .avatar {

View file

@ -8,41 +8,8 @@
>{{toolTipLocalName || servers[toolTipServerID].name}}</div> >{{toolTipLocalName || servers[toolTipServerID].name}}</div>
<div class="container" @mouseleave="mouseLeaveEvent"> <div class="container" @mouseleave="mouseLeaveEvent">
<div class="scrollable"> <div class="scrollable">
<div class="navigation-items">
<div
class="item material-icons"
:class="{selected: currentTab == 0}"
@click="switchTab(0)"
@mouseenter="localToolTipEvent('Explore', $event)"
>explore</div>
<div
class="item material-icons"
:class="{selected: currentTab == 1, notifyAnimation: DMNotification || friendRequestExists}"
@click="switchTab(1)"
@mouseenter="localToolTipEvent('Direct Message', $event)"
>chat</div>
<div
class="item material-icons"
:class="{selected: currentTab == 2, notifyAnimation: serverNotification}"
@click="switchTab(2)"
@mouseenter="localToolTipEvent('Servers', $event)"
>forum</div>
<div
class="item material-icons"
:class="{selected: currentTab == 3}"
@click="switchTab(3)"
@mouseenter="localToolTipEvent('Changelog', $event)"
>list_alt</div>
<div
v-if="!user.survey_completed"
class="item material-icons"
@click="openSurvey"
@mouseenter="localToolTipEvent('Click Me', $event)"
>error</div>
</div>
<div class="seperater" />
<div class="server-items" v-if="currentTab === 2"> <div class="server-items">
<draggable v-model="serversArr" :animation="200" :delay="mobile ? 400 : 0" ghost-class="ghost" @end="onEnd" @start="onStart"> <draggable v-model="serversArr" :animation="200" :delay="mobile ? 400 : 0" ghost-class="ghost" @end="onEnd" @start="onStart">
<transition-group type="transition" :name="!drag ? 'flip-list' : null"> <transition-group type="transition" :name="!drag ? 'flip-list' : null">
<server-template <server-template
@ -58,24 +25,16 @@
</div> </div>
</div> </div>
<div class="seperater" />
<div <div
class="item material-icons" class="item material-icons"
v-if="currentTab === 1"
@click="addFriend" @click="addFriend"
@mouseenter="localToolTipEvent('Add Friend', $event)" @mouseenter="localToolTipEvent('Add Friend', $event)"
>person_add</div> >person_add</div>
<div <div
class="item material-icons" class="item material-icons"
v-if="currentTab === 2"
@click="addServer" @click="addServer"
@mouseenter="localToolTipEvent('Add Server', $event)" @mouseenter="localToolTipEvent('Add Server', $event)"
>add</div> >add</div>
<div
class="item material-icons"
@click="openSettings"
@mouseenter="localToolTipEvent('Settings', $event)"
>settings</div>
</div> </div>
</div> </div>
</template> </template>
@ -122,6 +81,7 @@ export default {
} }
}, },
openServer(serverID) { openServer(serverID) {
this.switchTab(2);
const server = this.servers[serverID]; const server = this.servers[serverID];
const lastSelectedChannel = JSON.parse( const lastSelectedChannel = JSON.parse(
localStorage.getItem("selectedChannels") || "{}" localStorage.getItem("selectedChannels") || "{}"
@ -185,7 +145,7 @@ export default {
if (this.drag) return; if (this.drag) return;
this.toolTipLocalName = null; this.toolTipLocalName = null;
this.toolTipServerID = serverID; this.toolTipServerID = serverID;
this.toolTipTopPosition = top - this.getTopHeight() + 16; this.toolTipTopPosition = top - this.getTopHeight() + 20;
this.toolTipShown = true; this.toolTipShown = true;
}, },
mouseLeaveEvent() { mouseLeaveEvent() {
@ -323,8 +283,7 @@ export default {
flex-direction: column; flex-direction: column;
flex-shrink: 0; flex-shrink: 0;
height: 100%; height: 100%;
width: 60px; width: 70px;
background-color: #085053;
} }
.container { .container {
@ -332,7 +291,7 @@ export default {
flex-direction: column; flex-direction: column;
flex-shrink: 0; flex-shrink: 0;
height: 100%; height: 100%;
width: 60px; width: 70px;
} }
.navigation-items { .navigation-items {
display: flex; display: flex;
@ -364,8 +323,8 @@ export default {
color: white; color: white;
font-size: 30px; font-size: 30px;
align-self: center; align-self: center;
width: 60px; width: 70px;
height: 60px; height: 70px;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
opacity: 0.8; opacity: 0.8;
@ -438,10 +397,16 @@ export default {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
left: 60px; left: 70px;
z-index: 99999; z-index: 99999;
user-select: none; user-select: none;
cursor: default; cursor: default;
transition: 0.2s; transition: 0.2s;
} }
@media (max-width: 600px) {
.navigation{
background: linear-gradient(#136A8A, #00B4DB);
}
}
</style> </style>

View file

@ -98,15 +98,14 @@ export default {
position: relative; position: relative;
margin: auto; margin: auto;
overflow: hidden; overflow: hidden;
background-image: url("../../../../assets/leftPanelBackground.jpg"); box-shadow: 0px 0px 20px 5px #151515bd;
background-repeat: no-repeat; background: linear-gradient(#0B4155, #01677E);
background-position: center; border-radius: 4px;
background-size: cover;
} }
.header { .header {
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
background-color: #085053; background-color: #05222d;
color: white; color: white;
height: 50px; height: 50px;
align-content: center; align-content: center;
@ -142,10 +141,10 @@ export default {
align-self: center; align-self: center;
color: white; color: white;
width: initial; width: initial;
background: #05353b; background: #024554;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background: #0f292c; background: #02303c;
} }
} }

View file

@ -217,16 +217,15 @@ export default {
flex-direction: column; flex-direction: column;
color: white; color: white;
overflow: hidden; overflow: hidden;
background-image: url("../../../../assets/leftPanelBackground.jpg"); box-shadow: 0px 0px 20px 5px #151515bd;
background-repeat: no-repeat; background: linear-gradient(#0B4155, #01677E);
background-position: center; border-radius: 4px;
background-size: cover;
} }
.tabs { .tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
padding-top: 15px; padding-top: 15px;
background: #144a59; background: #05222d;
flex-shrink: 0; flex-shrink: 0;
} }
.tab { .tab {
@ -284,7 +283,7 @@ export default {
align-self: center; align-self: center;
margin-top: 15px; margin-top: 15px;
margin-bottom: 10px; margin-bottom: 10px;
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
} }
@ -301,7 +300,7 @@ export default {
.button { .button {
padding: 5px; padding: 5px;
background: #05353b; background: #024554;
user-select: none; user-select: none;
border: none; border: none;
color: white; color: white;
@ -313,7 +312,7 @@ export default {
cursor: pointer; cursor: pointer;
} }
.button:hover { .button:hover {
background: #0f292c; background: #02303c;
} }
.button-clicked { .button-clicked {

View file

@ -28,10 +28,10 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
user-select: none; user-select: none;
background-image: url("../../../../assets/leftPanelBackground.jpg"); overflow: hidden;
background-repeat: no-repeat; box-shadow: 0px 0px 20px 5px #151515bd;
background-position: center; background-color: #044050;
background-size: cover; border-radius: 4px;
} }
.material-icons{ .material-icons{
font-size: 80px; font-size: 80px;

View file

@ -94,11 +94,10 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
color: white; color: white;
border-radius: 3px; overflow: hidden;
background-image: url("../../../../assets/leftPanelBackground.jpg"); box-shadow: 0px 0px 20px 5px #151515bd;
background-repeat: no-repeat; background: linear-gradient(#0B4155, #01677E);
background-position: center; border-radius: 4px;
background-size: cover;
} }
.text { .text {
color: white; color: white;

View file

@ -110,10 +110,9 @@ export default {
flex-direction: column; flex-direction: column;
color: white; color: white;
overflow: hidden; overflow: hidden;
background-image: url("../../../../assets/leftPanelBackground.jpg"); box-shadow: 0px 0px 20px 5px #151515bd;
background-repeat: no-repeat; background: linear-gradient(#0B4155, #01677E);
background-position: center; border-radius: 4px;
background-size: cover;
} }
.top { .top {
display: flex; display: flex;
@ -125,14 +124,14 @@ export default {
.button { .button {
padding: 10px; padding: 10px;
background: #05353b; background: #062c3a;
margin: auto; margin: auto;
transition: 0.3s; transition: 0.3s;
user-select: none; user-select: none;
cursor:pointer; cursor:pointer;
} }
.button:hover { .button:hover {
background: #0f292c; background: #041e27;
} }
.bottom { .bottom {

View file

@ -86,7 +86,7 @@ export default {
<style scoped> <style scoped>
.drop-down { .drop-down {
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
user-select: none; user-select: none;
cursor: default; cursor: default;
@ -97,14 +97,14 @@ export default {
margin-bottom: 2px; margin-bottom: 2px;
} }
.current-select-box { .current-select-box {
background: #05353b; background: #032d38;
padding: 5px; padding: 5px;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
transition: 0.3s; transition: 0.3s;
} }
.current-select-box:hover { .current-select-box:hover {
background: #0f292c; background: #02232b;
} }
.current-select-box div { .current-select-box div {
align-self: center; align-self: center;
@ -123,7 +123,7 @@ export default {
.drop { .drop {
position: absolute; position: absolute;
background-color: #06454d; background-color: #044050;
left: 0; left: 0;
right: 0; right: 0;
z-index: 11111; z-index: 11111;
@ -145,6 +145,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
display: flex; display: flex;
cursor: pointer;
} }
.item div { .item div {
align-self: center; align-self: center;
@ -154,10 +155,10 @@ export default {
} }
.item:hover { .item:hover {
background: #0f292c; background: #033442;
} }
.item.selected { .item.selected {
background: #021c1f; background: #021c23;
} }
.material-icons { .material-icons {
flex-shrink: 0; flex-shrink: 0;

View file

@ -220,7 +220,7 @@ export default {
align-self: center; align-self: center;
margin-top: 10px; margin-top: 10px;
justify-content: center; justify-content: center;
background-color: #06454d; background-color: #044050;
flex-shrink: 0; flex-shrink: 0;
.avatar { .avatar {
@ -233,7 +233,7 @@ export default {
margin-top: 35px; margin-top: 35px;
} }
.button { .button {
margin-bottom: 10px; margin-bottom: 16px;
} }
} }
.banner { .banner {
@ -247,11 +247,13 @@ export default {
margin-left: 2px; margin-left: 2px;
.banner-image { .banner-image {
position: relative; position: relative;
width: 240px; width: 250px;
height: 150px; height: 130px;
background: rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.4);
background-position: center; background-position: center;
background-size: cover; background-size: cover;
border-radius: 4px;
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.13);
.banner-text { .banner-text {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -259,7 +261,6 @@ export default {
right: 0; right: 0;
width: 100%; width: 100%;
height: 35px; height: 35px;
backdrop-filter: blur(15px);
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
} }
} }
@ -287,7 +288,7 @@ export default {
.input { .input {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #06454d; background-color: #044050;;
padding: 10px; padding: 10px;
align-self: center; align-self: center;
margin: 10px; margin: 10px;
@ -297,10 +298,10 @@ export default {
margin-top: 2px; margin-top: 2px;
margin-bottom: 0; margin-bottom: 0;
width: 190px; width: 190px;
background: #05353b;
} }
.button { .button {
background: #05353b; background: #033442;
padding: 10px; padding: 10px;
align-self: center; align-self: center;
margin: 5px; margin: 5px;
@ -309,7 +310,7 @@ export default {
transition: 0.3s; transition: 0.3s;
} }
.button:hover { .button:hover {
background: #0f292c; background: #022831;
} }
.save-button { .save-button {
margin-top: 10px; margin-top: 10px;

View file

@ -84,7 +84,7 @@ export default {
overflow: auto; overflow: auto;
.member { .member {
display: flex; display: flex;
background: #06454d; background: #052935;
height: 30px; height: 30px;
margin: 5px; margin: 5px;
padding: 5px; padding: 5px;

View file

@ -182,7 +182,7 @@ export default {
position: relative; position: relative;
} }
.channels-list { .channels-list {
background: #082326; background: #00000050;
height: 100%; height: 100%;
width: 165px; width: 165px;
flex-shrink: 0; flex-shrink: 0;
@ -207,10 +207,10 @@ export default {
align-self: center; align-self: center;
} }
.channel:hover { .channel:hover {
background: #06454d; background: #04232d;
} }
.channel.selected { .channel.selected {
background: #064c55; background: #03191f;
} }
.add-channel-button { .add-channel-button {
background: rgba(17, 148, 255, 0.692); background: rgba(17, 148, 255, 0.692);
@ -226,7 +226,7 @@ export default {
overflow: hidden; overflow: hidden;
} }
.button { .button {
background: #05353b; background: #024554;
padding: 10px; padding: 10px;
align-self: center; align-self: center;
margin: 5px; margin: 5px;
@ -235,7 +235,7 @@ export default {
transition: 0.3s; transition: 0.3s;
} }
.button:hover { .button:hover {
background: #0f292c; background: #02303c;
} }
.button.warn { .button.warn {
background: rgba(255, 17, 17, 0.692); background: rgba(255, 17, 17, 0.692);
@ -266,7 +266,7 @@ export default {
.input { .input {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
} }

View file

@ -107,10 +107,10 @@ export default {
color: white; color: white;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
background-image: url("../../../../../assets/leftPanelBackground.jpg"); overflow: hidden;
background-repeat: no-repeat; box-shadow: 0px 0px 20px 5px #151515bd;
background-position: center; background: linear-gradient(#0B4155, #01677E);
background-size: cover; border-radius: 4px;
} }
.content { .content {
@ -123,7 +123,7 @@ export default {
.tabs { .tabs {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: #144a59; background: #00000033;
height: 100%; height: 100%;
width: 180px; width: 180px;
flex-shrink: 0; flex-shrink: 0;
@ -149,16 +149,16 @@ export default {
align-self: center; align-self: center;
} }
.tab:hover { .tab:hover {
background: #103a45; background: #072935;
} }
.critical { .critical {
color: red; color: red;
} }
.tab.selected { .tab.selected {
background: #0c2c35; background: #051f28;
} }
.header { .header {
background: #063e45; background: #05222d;
display: flex; display: flex;
height: 50px; height: 50px;
flex-shrink: 0; flex-shrink: 0;

View file

@ -189,7 +189,7 @@ export default {
} }
.toggle { .toggle {
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
margin-left: 10px; margin-left: 10px;
display: flex; display: flex;
@ -216,7 +216,7 @@ export default {
} }
.input { .input {
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
align-self: flex-start; align-self: flex-start;
@ -228,7 +228,7 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
textarea { textarea {
background: #05353b; background: #032d38;
resize: none; resize: none;
outline: none; outline: none;
margin-top: 2px; margin-top: 2px;
@ -245,7 +245,7 @@ export default {
.button { .button {
padding: 10px; padding: 10px;
background: #05353b; background: #024554;
-webkit-transition: background 0.3s; -webkit-transition: background 0.3s;
transition: 0.3s; transition: 0.3s;
-webkit-user-select: none; -webkit-user-select: none;
@ -259,7 +259,7 @@ export default {
} }
.button:hover { .button:hover {
background: #0f292c; background: #02303c;
} }
.button.disabled { .button.disabled {
background: grey; background: grey;

View file

@ -127,10 +127,9 @@ export default {
display: flex; display: flex;
margin: auto; margin: auto;
overflow: hidden; overflow: hidden;
background-image: url("../../../../assets/leftPanelBackground.jpg"); box-shadow: 0px 0px 20px 5px #151515bd;
background-repeat: no-repeat; background: linear-gradient(#0B4155, #01677E);
background-position: center; border-radius: 4px;
background-size: cover;
} }
.tabs { .tabs {
height: 100%; height: 100%;
@ -140,7 +139,7 @@ export default {
overflow-x: hidden; overflow-x: hidden;
flex-shrink: 0; flex-shrink: 0;
position: relative; position: relative;
background: #02292c; background: #00000033;
} }
.panel { .panel {
display: flex; display: flex;
@ -161,11 +160,11 @@ export default {
} }
.tab:hover { .tab:hover {
background: #08616b; background: #072935;
} }
.tab.selected { .tab.selected {
background: #064c55; background: #051f28;
} }
@ -182,7 +181,7 @@ export default {
display: flex; display: flex;
padding: 10px; padding: 10px;
font-size: 25px; font-size: 25px;
background: #02292c; background: #05222d;
} }
.title .material-icons { .title .material-icons {
font-size: 40px; font-size: 40px;
@ -204,7 +203,7 @@ export default {
transition: 0.3s; transition: 0.3s;
} }
.close-button:hover { .close-button:hover {
background: #064f56; background: #03181f;
} }
.close-button .material-icons { .close-button .material-icons {
margin: auto; margin: auto;

View file

@ -198,7 +198,7 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped lang="scss">
.edit-profile { .edit-profile {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -221,11 +221,17 @@ export default {
.change-avatar-container { .change-avatar-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #06454d; background-color: #044050;
width: 150px; width: 150px;
align-self: center; align-self: center;
padding: 20px; padding: 20px;
margin-top: 10px; margin-top: 10px;
.button {
background: #033442;
&:hover {
background: #032b36;
}
}
} }
.avatar { .avatar {
margin-bottom: 10px; margin-bottom: 10px;
@ -235,7 +241,7 @@ export default {
display: none; display: none;
} }
.button { .button {
background: #05353b; background: #024554;
padding: 10px; padding: 10px;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
@ -244,7 +250,7 @@ export default {
transition: 0.3s; transition: 0.3s;
} }
.button:hover { .button:hover {
background: #0f292c; background: #02303c;
} }
.button.disabled { .button.disabled {
background: grey; background: grey;
@ -259,7 +265,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
margin-left: 30px; margin-left: 30px;

View file

@ -249,7 +249,7 @@ input:focus {
.emojis-list { .emojis-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #06454d; background-color: #00000024;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
height: 100%; height: 100%;
@ -269,7 +269,7 @@ input:focus {
flex-shrink: 0; flex-shrink: 0;
} }
.emoji:hover { .emoji:hover {
background: #0a3f46; background: #052e3b;
} }
.emoji-name { .emoji-name {
margin: auto; margin: auto;
@ -280,14 +280,15 @@ input:focus {
display: inline-block; display: inline-block;
width: inherit; width: inherit;
padding: 10px; padding: 10px;
background: #05353b; background: #063443;
margin-bottom: 10px; margin-bottom: 10px;
margin-left: 20px; margin-left: 20px;
user-select: none; user-select: none;
transition: 0.3s; transition: 0.3s;
cursor: pointer;
} }
.button:hover { .button:hover {
background: #0f292c; background: #052631;
} }
.button .material-icons { .button .material-icons {
vertical-align: -6px; vertical-align: -6px;

View file

@ -125,7 +125,7 @@ export default {
.message-example{ .message-example{
padding: 10px; padding: 10px;
background: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.title{ .title{
font-size: 20px; font-size: 20px;
@ -145,7 +145,7 @@ export default {
} }
.options { .options {
background-color: #06454d; background-color: #023643;
padding-top: 5px; padding-top: 5px;
} }

View file

@ -119,7 +119,7 @@ export default {
.tabs{ .tabs{
z-index: 999999; z-index: 999999;
display: flex; display: flex;
background: #04383d; background: #073444;
justify-content: center; justify-content: center;
} }
.tabs .tab { .tabs .tab {

View file

@ -144,6 +144,5 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
flex-direction: column; flex-direction: column;
background:#09464f;
} }
</style> </style>

View file

@ -111,7 +111,6 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
flex-direction: column; flex-direction: column;
background:#09464f;
} }
</style> </style>

View file

@ -226,7 +226,7 @@ export default {
} }
.survey .button { .survey .button {
color: white; color: white;
background: #05353b; background: #024554;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
width: 100%; width: 100%;
@ -236,7 +236,7 @@ export default {
cursor: pointer; cursor: pointer;
} }
.survey .button:hover { .survey .button:hover {
background: #0f292c; background: #02303c;
} }
.title { .title {
@ -256,7 +256,7 @@ export default {
.input { .input {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #06454d; background-color: #044050;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
margin-left: 30px; margin-left: 30px;
@ -266,15 +266,14 @@ export default {
.input input { .input input {
width: initial; width: initial;
margin-top: 2px; margin-top: 2px;
background: #05353b; background: #032d38;
} }
textarea { textarea {
padding: 10px; padding: 10px;
resize: none; resize: none;
background: #05353b; background: #032d38;
border: none; border: none;
outline: none; outline: none;
border-radius: 5px;
color: white; color: white;
height: 100px; height: 100px;
margin-bottom: 10px; margin-bottom: 10px;

View file

@ -74,10 +74,10 @@ export default {
margin: auto; margin: auto;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.507); box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.507);
padding: 10px; padding: 10px;
background-image: url("../../../../assets/leftPanelBackground.jpg"); overflow: hidden;
background-repeat: no-repeat; box-shadow: 0px 0px 20px 5px #151515bd;
background-position: center; background: linear-gradient(#0B4155, #01677E);
background-size: cover; border-radius: 4px;
} }
.survay-icon .material-icons{ .survay-icon .material-icons{
color: white; color: white;
@ -99,16 +99,16 @@ export default {
.button { .button {
padding: 10px; padding: 10px;
margin: 3px; margin: 3px;
background: #05353b; background: #014656;
transition: 0.3s; transition: 0.3s;
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
} }
.valid { .valid {
background: #05353b; background: #014656;
} }
.valid:hover{ .valid:hover{
background: #0f292c; background: #02303c;
} }
.warning { .warning {
background: rgba(255, 27, 27, 0.589) background: rgba(255, 27, 27, 0.589)

View file

@ -198,7 +198,7 @@ export default {
<style scoped> <style scoped>
.dark-background { .dark-background {
background: rgba(0, 0, 0, 0.877); background: rgba(0, 0, 0, 0.4);
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
@ -213,10 +213,10 @@ export default {
width: 500px; width: 500px;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
background-image: url("../../../../assets/leftPanelBackground.jpg"); overflow: hidden;
background-repeat: no-repeat; box-shadow: 0px 0px 20px 5px #151515bd;
background-position: center; background-color: #01677E;
background-size: cover; border-radius: 4px;
} }
.info { .info {
display: flex; display: flex;
@ -273,14 +273,14 @@ export default {
display: flex; display: flex;
align-content: center; align-content: center;
align-items: center; align-items: center;
background: #05353b; background: #024554;
padding: 5px; padding: 5px;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
transition: 0.3s; transition: 0.3s;
} }
.button:hover { .button:hover {
background: #0f292c; background: #02303c;
} }
.button .text { .button .text {
margin-left: 5px; margin-left: 5px;
@ -300,7 +300,7 @@ export default {
} }
.chat-input { .chat-input {
font-family: "Roboto", sans-serif; font-family: "Roboto", sans-serif;
background: #45939e; background: #014655;
color: white; color: white;
width: 100%; width: 100%;
height: 20px; height: 20px;

View file

@ -231,11 +231,10 @@ export default {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
position: relative; position: relative;
box-shadow: 0px 0px 20px 11px #151515c4; box-shadow: 0px 0px 20px 5px #151515bd;
background-image: url("../../../../assets/leftPanelBackground.jpg"); background: linear-gradient(#0B4155, #01677E);
background-repeat: no-repeat; border-radius: 4px;
background-position: center; overflow: hidden;
background-size: cover;
} }
.spinner { .spinner {
@ -269,7 +268,7 @@ export default {
align-content: center; align-content: center;
padding-bottom: 10px; padding-bottom: 10px;
flex-shrink: 0; flex-shrink: 0;
background: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.5);
padding-top: 30px; padding-top: 30px;
} }

View file

@ -2,6 +2,7 @@
<div class="left-panel"> <div class="left-panel">
<navigation /> <navigation />
<div class="right"> <div class="right">
<MyMiniInformation />
<div <div
class="server-banner" class="server-banner"
@mouseenter="bannerHover = true" @mouseenter="bannerHover = true"
@ -26,8 +27,6 @@
<div class="channels-list"> <div class="channels-list">
<channels-list v-if="selectedServerID" :server-i-d="selectedServerID" /> <channels-list v-if="selectedServerID" :server-i-d="selectedServerID" />
</div> </div>
<div class="seperater" />
<MyMiniInformation />
</div> </div>
</div> </div>
</template> </template>
@ -121,15 +120,12 @@ export default {
<style scoped lang="scss" > <style scoped lang="scss" >
.left-panel { .left-panel {
height: 100%; height: 100%;
width: 300px; width: 340px;
max-width: calc(100% - 60px);
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
z-index: 1; z-index: 1;
background-image: url("../../assets/leftPanelBackground.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
} }
.seperater { .seperater {
@ -152,6 +148,8 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
background: rgba(0, 0, 0, 0.14);
border-top-left-radius: 10px;
} }
.server-banner { .server-banner {
@ -161,9 +159,12 @@ export default {
flex-direction: row; flex-direction: row;
background-color: rgba(32, 32, 32, 0.4); background-color: rgba(32, 32, 32, 0.4);
height: 35px; height: 35px;
border-radius: 4px;
margin: 10px;
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.13);
} }
.extendBanner { .extendBanner {
height: 150px; height: 130px;
background-color: rgb(32, 32, 32); background-color: rgb(32, 32, 32);
} }
.banner-image { .banner-image {
@ -186,7 +187,6 @@ export default {
align-items: center; align-items: center;
padding-left: 10px; padding-left: 10px;
position: relative; position: relative;
backdrop-filter: blur(15px);
z-index: 2; z-index: 2;
user-select: none; user-select: none;
overflow: hidden; overflow: hidden;
@ -214,4 +214,11 @@ export default {
background: rgba(0, 0, 0, 0.322); background: rgba(0, 0, 0, 0.322);
} }
} }
@media (max-width: 600px) {
.right{
border-radius: 0;
}
}
</style> </style>

View file

@ -70,12 +70,14 @@ export default {
overflow: hidden; overflow: hidden;
padding-right: 10px; padding-right: 10px;
padding-left: 10px; padding-left: 10px;
margin: 5px;
border-radius: 4px;
} }
.channel:hover { .channel:hover {
background: #08616b; background: #053c4c;
} }
.channel.selected { .channel.selected {
background: #064c55; background: #053240;
} }
.channel-name { .channel-name {

View file

@ -9,6 +9,7 @@
> >
<profile-picture <profile-picture
size="45px" size="45px"
class="avatar"
:url="`${avatarDomain}/${serverData.avatar}${hover ? '' : '?type=png'}`" :url="`${avatarDomain}/${serverData.avatar}${hover ? '' : '?type=png'}`"
/> />
</div> </div>
@ -85,8 +86,8 @@ export default {
z-index: 1; z-index: 1;
display: flex; display: flex;
align-self: center; align-self: center;
width: 60px; width: 70px;
height: 60px; height: 70px;
flex-shrink: 0; flex-shrink: 0;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
@ -94,14 +95,25 @@ export default {
user-select: none; user-select: none;
transition: background 0.2s; transition: background 0.2s;
cursor: pointer; cursor: pointer;
&:hover { &:hover::before {
background: #074447; content: "";
position: absolute;
top: 15px;
bottom: 15px;
left: 0;
width: 3px;
background: #ffffff5e;
} }
&.selected { &.selected::before {
background: #042a2b; content: "";
position: absolute;
top: 10px;
bottom: 10px;
left: 0;
width: 3px;
background: #ffffffc5;
} }
} }
.notifyAnimation:before { .notifyAnimation:before {
content: "!"; content: "!";
color: white; color: white;

View file

@ -26,7 +26,7 @@
} }
.codeblock { .codeblock {
background-color: #233538; background-color: #ffffff1a;
padding: 5px; padding: 5px;
word-wrap: break-word; word-wrap: break-word;
word-break: break-word; word-break: break-word;

View file

@ -1,5 +1,5 @@
<template> <template>
<div class="direct-message-tab"> <div class="direct-message-tab" :class="{darken: showLeftPanel}">
<transition name="slidein"> <transition name="slidein">
<friends-list <friends-list
v-show="$mq === 'mobile' && showLeftPanel || ($mq !== 'mobile')" v-show="$mq === 'mobile' && showLeftPanel || ($mq !== 'mobile')"
@ -24,7 +24,7 @@ export default {
}, },
data() { data() {
return { return {
showLeftPanel: false showLeftPanel: true
}; };
}, },
mounted() { mounted() {
@ -62,14 +62,24 @@ export default {
} }
.slidein-enter, .slidein-leave-to /* .fade-leave-active below version 2.1.8 */ { .slidein-enter, .slidein-leave-to /* .fade-leave-active below version 2.1.8 */ {
/* margin-left: -300px; */ /* margin-left: -300px; */
transform: translateX(-300px); transform: translateX(-340px);
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.left-panel { .left-panel {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
height: calc(100% - 50px);
z-index: 2; z-index: 2;
background: rgba(19, 107, 139, 0.9);
}
.darken::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
background: rgba(0, 0, 0, 0.4);
} }
} }
</style> </style>

View file

@ -1,5 +1,5 @@
<template> <template>
<div class="explore-tab"> <div class="explore-tab" :class="{darken: showLeftPanel}">
<transition name="slidein"> <transition name="slidein">
<div <div
class="left-panel" class="left-panel"
@ -8,6 +8,7 @@
> >
<navigation /> <navigation />
<div class="content"> <div class="content">
<MyMiniInformation />
<div class="header"> <div class="header">
<div class="icon"> <div class="icon">
<i class="material-icons">explore</i> <i class="material-icons">explore</i>
@ -73,8 +74,9 @@ import { bus } from "@/main";
import Servers from "./Explore/servers"; import Servers from "./Explore/servers";
import ServerService from "@/services/ServerService"; import ServerService from "@/services/ServerService";
import Navigation from "@/components/app/Navigation"; import Navigation from "@/components/app/Navigation";
import MyMiniInformation from "@/components/app/MyMiniInformation.vue";
export default { export default {
components: { Servers, Navigation }, components: { Servers, Navigation, MyMiniInformation },
data() { data() {
return { return {
showLeftPanel: false, showLeftPanel: false,
@ -142,17 +144,18 @@ export default {
.left-panel { .left-panel {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
width: 300px; width: 340px;
max-width: calc(100% - 60px);
flex-shrink: 0; flex-shrink: 0;
z-index: 2; z-index: 2;
background-image: url("../../../assets/leftPanelBackground.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
background: rgba(0, 0, 0, 0.14);
border-top-left-radius: 10px;
overflow: hidden;
} }
.items { .items {
user-select: none; user-select: none;
@ -169,20 +172,22 @@ export default {
align-content: center; align-content: center;
align-items: center; align-items: center;
padding: 10px; padding: 10px;
margin: 5px;
border-radius: 4px;
cursor: pointer; cursor: pointer;
transition: 0.3s; transition: 0.3s;
&:hover { &:hover {
background: #08616b; background: #053c4c;
} }
&.selected { &.selected {
background: #064c55; background: #053240;
} }
} }
} }
.header { .header {
display: flex; display: flex;
height: 100px; height: 100px;
background: #086974; background: rgba(0, 0, 0, 0.3);
user-select: none; user-select: none;
flex-shrink: 0; flex-shrink: 0;
.icon { .icon {
@ -296,8 +301,9 @@ export default {
.right-panel { .right-panel {
.header { .header {
background: rgba(0, 0, 0, 0.448); background: #063443;
padding: 10px; padding-left: 10px;
height: 54px;
display: flex; display: flex;
align-items: center; align-items: center;
align-content: center; align-content: center;
@ -327,7 +333,7 @@ export default {
} }
.slidein-enter, .slidein-leave-to /* .fade-leave-active below version 2.1.8 */ { .slidein-enter, .slidein-leave-to /* .fade-leave-active below version 2.1.8 */ {
/* margin-left: -300px; */ /* margin-left: -300px; */
transform: translateX(-300px); transform: translateX(-340px);
} }
@media (max-width: 600px) { @media (max-width: 600px) {
@ -337,8 +343,19 @@ export default {
.left-panel { .left-panel {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
height: calc(100% - 44px);
z-index: 2; z-index: 2;
background: rgba(19, 107, 139, 0.9);
height: 100%;
}
.darken::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
background: rgba(0, 0, 0, 0.4);
} }
} }
</style> </style>

View file

@ -2,7 +2,7 @@
<div class="search-header"> <div class="search-header">
<div class="filter-area"> <div class="filter-area">
<div class="filter"> <div class="filter">
<div class="title">Filter:</div> <div class="title">Filter</div>
<div class="filter-item"> <div class="filter-item">
<div <div
class="item" class="item"
@ -14,7 +14,7 @@
</div> </div>
</div> </div>
<div class="filter"> <div class="filter">
<div class="title">Sort By:</div> <div class="title">Sort By</div>
<div class="filter-item"> <div class="filter-item">
<div <div
class="item" class="item"
@ -79,9 +79,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.search-header { .search-header {
display: flex; display: flex;
background: #0a1d20; background: #073847;
width: 100%; width: 100%;
height: 70px; height: 100px;
flex-shrink: 0; flex-shrink: 0;
} }
.search-area { .search-area {
@ -113,11 +113,12 @@ input {
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
height: 57px; height: 57px;
margin-top: 5px;
} }
.title { .title {
font-size: 17px; font-size: 19px;
color: white; color: white;
border-bottom: solid 1px rgba(255, 255, 255, 0.575); margin-top: 10px;
padding-left: 2px; padding-left: 2px;
padding-right: 5px; padding-right: 5px;
padding-bottom: 2px; padding-bottom: 2px;
@ -127,6 +128,7 @@ input {
color: white; color: white;
opacity: 0.5; opacity: 0.5;
cursor: pointer; cursor: pointer;
font-size: 15px;
margin: 2px; margin: 2px;
transition: 0.3s; transition: 0.3s;
&.selected { &.selected {

View file

@ -83,9 +83,10 @@ export default {
position: relative; position: relative;
width: 250px; width: 250px;
height: 300px; height: 300px;
background: rgba(0, 0, 0, 0.479); background: #024253;
opacity: 0.9; opacity: 0.9;
margin: 5px; margin: 5px;
border-radius: 4px;
flex-shrink: 0; flex-shrink: 0;
transition: 0.3s; transition: 0.3s;
display: flex; display: flex;
@ -157,7 +158,7 @@ export default {
.bottom { .bottom {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: rgba(0, 0, 0, 0.541); background: #04333F;
flex: 1; flex: 1;
height: 100%; height: 100%;
flex-shrink: 0; flex-shrink: 0;
@ -178,39 +179,37 @@ export default {
display: flex; display: flex;
width: 100%; width: 100%;
flex-direction: row; flex-direction: row;
margin-bottom: 10px;
} }
.member-count { .member-count {
display: flex; display: flex;
align-items: center; align-items: center;
align-content: center; align-content: center;
padding-left: 5px;
padding-right: 5px;
margin-left: 10px; margin-left: 10px;
margin-top: 0px; margin-top: 0px;
width: 100%; border-radius: 4px;
margin-right: 10px;
flex: 1;
background: #022730;
.material-icons { .material-icons {
margin-right: 5px; margin-right: 5px;
} }
} }
.button { .button {
display: flex; display: flex;
align-content: center;
align-items: center; align-items: center;
flex-direction: column;
justify-content: center; justify-content: center;
flex-shrink: 0; width: 100%;
background: rgba(40, 140, 255, 0.8); height: 40px;
align-self: flex-end; border-radius: 4px;
flex-shrink: 0; background: rgba(0, 179, 219, 0.8);
margin: auto; transition: 0.2s;
margin-right: 10px; margin-right: 10px;
margin-left: 0;
margin-bottom: 10px;
padding: 7px;
transition: 0.3s;
width: 80px;
height: 20px;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background: rgb(40, 140, 255); background: #00B4DB;
} }
&.selected { &.selected {
background: grey; background: grey;

View file

@ -97,7 +97,7 @@ export default {
} }
.heading { .heading {
padding: 10px; padding: 10px;
background: #15282a; background: #042f3a;
margin-bottom: 10px; margin-bottom: 10px;
} }
.information { .information {
@ -108,7 +108,7 @@ export default {
background: rgba(38, 139, 255, 0.87); background: rgba(38, 139, 255, 0.87);
} }
.change-log { .change-log {
background: #294c51; background: #054151;
overflow-y: auto; overflow-y: auto;
max-width: 700px; max-width: 700px;
width: 100%; width: 100%;

View file

@ -1,5 +1,5 @@
<template> <template>
<div class="direct-message-tab"> <div class="direct-message-tab" :class="{darken: (showLeftPanel || showMembersPanel) }">
<transition name="slide-left"> <transition name="slide-left">
<server-list <server-list
v-if="$mq === 'mobile' && showLeftPanel || ($mq !== 'mobile')" v-if="$mq === 'mobile' && showLeftPanel || ($mq !== 'mobile')"
@ -85,7 +85,7 @@ export default {
transition: 0.5s; transition: 0.5s;
} }
.slide-left-enter, .slide-left-leave-to /* .fade-leave-active below version 2.1.8 */ { .slide-left-enter, .slide-left-leave-to /* .fade-leave-active below version 2.1.8 */ {
transform: translateX(-300px); transform: translateX(-340px);
} }
.slide-right-enter-active, .slide-right-enter-active,
@ -101,8 +101,8 @@ export default {
position: absolute; position: absolute;
right: 0; right: 0;
bottom: 0; bottom: 0;
height: calc(100% - 50px); z-index: 2;
z-index: 1; background: rgba(19, 107, 139, 0.9);
} }
} }
@ -110,8 +110,18 @@ export default {
.left-panel { .left-panel {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
height: calc(100% - 50px);
z-index: 2; z-index: 2;
background: rgba(19, 107, 139, 0.9);
}
.darken::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
background: rgba(0, 0, 0, 0.4);
} }
} }
</style> </style>

View file

@ -105,7 +105,7 @@ export default {
<style scoped> <style scoped>
.embed { .embed {
background: #1d2b2d; background: #ffffff21;
padding: 5px; padding: 5px;
display: flex; display: flex;
max-width: 500px; max-width: 500px;

View file

@ -130,6 +130,8 @@ export default {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
margin: 5px;
border-radius: 4px;
} }
.tree { .tree {
padding-left: 22px; padding-left: 22px;
@ -156,10 +158,10 @@ export default {
} }
.friend:hover { .friend:hover {
background: #08616b; background: #053c4c;
} }
.friend.selected { .friend.selected {
background: #064c55; background: #053240;
} }
.profile-picture { .profile-picture {
height: 30px; height: 30px;

View file

@ -67,9 +67,11 @@ export default {
} }
.tab { .tab {
transition: 0.3s; transition: 0.3s;
margin: 4px;
border-radius: 4px;
} }
.tab:hover { .tab:hover {
background: #08616b; background: #053240;
} }
</style> </style>

View file

@ -83,9 +83,11 @@ export default {
} }
.tab { .tab {
transition: 0.3s; transition: 0.3s;
margin: 4px;
border-radius: 4px;
} }
.tab:hover { .tab:hover {
background: #08616b; background: #053240;
} }
</style> </style>

View file

@ -58,14 +58,14 @@ export default {
.show-status-list-enter, .show-status-list-enter,
.show-status-list-leave-to { .show-status-list-leave-to {
opacity: 0; opacity: 0;
transform: translateY(20px); transform: translateY(-20px);
} }
.status-popout { .status-popout {
position: absolute; position: absolute;
bottom: 66px; top: 60px;
right: 5px; right: 5px;
background: rgba(0, 0, 0, 0.4); background: rgba(3, 32, 41, 0.9);
backdrop-filter: blur(5px); backdrop-filter: blur(5px);
width: 180px; width: 180px;
z-index: 4; z-index: 4;
@ -81,7 +81,7 @@ export default {
} }
.status-list:hover { .status-list:hover {
background: #042f33; background: #081619;
} }
.status-icon { .status-icon {

View file

@ -39,12 +39,19 @@ export default {
} }
.upload { .upload {
color: white; color: white;
background: #3a585c; background: #26778a;
margin: 10px; margin: 10px;
margin-left: 10px; margin-left: 10px;
display: flex; display: flex;
padding: 10px; padding: 10px;
} }
.icon {
display: flex;
justify-content: center;
align-items: center;
margin-right: 5px;
flex-shrink: 0;
}
.icon .material-icons { .icon .material-icons {
font-size: 40px; font-size: 40px;
} }
@ -61,7 +68,7 @@ export default {
} }
.size { .size {
font-size: 15px; font-size: 15px;
color: rgb(207, 207, 207); color: #d5e3e6;
} }
.progress { .progress {
display: flex; display: flex;

View file

@ -64,7 +64,7 @@ export default {
margin: auto; margin: auto;
background: rgb(39, 39, 39); background: rgb(39, 39, 39);
flex-direction: column; flex-direction: column;
border-radius: 10px; border-radius: 4px;
overflow: hidden; overflow: hidden;
} }

View file

@ -9,12 +9,24 @@ const prototype = {
}; };
const config = [ const config = [
{
version: 8.6,
title: "New redesign!",
shortTitle: "",
date: "23/11/2019",
headColor: "#007792",
new: [
"A new and better designed Nertivia! Thanks to skull."
],
fix: [
"Some bugs have been fixed"
]
},
{ {
version: 8.5, version: 8.5,
title: "Format buttons and color text!", title: "Format buttons and color text!",
shortTitle: "", shortTitle: "",
date: "18/11/2019", date: "18/11/2019",
headColor: "#0c7b7f",
new: [ new: [
"Enter will now create new lines on mobile.", "Enter will now create new lines on mobile.",
"You can now easily format your messages using the format buttons above.", "You can now easily format your messages using the format buttons above.",

View file

@ -65,7 +65,7 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
color: white; color: white;
background: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.app-content { .app-content {
display: flex; display: flex;
@ -94,9 +94,7 @@ body {
align-items: center; align-items: center;
z-index: 9999; z-index: 9999;
padding-bottom: 20px; padding-bottom: 20px;
background-image: url("../assets/leftPanelBackground.jpg"); background: #044050;
background-position: center;
background-size: cover;
} }
.box .title { .box .title {
text-align: center; text-align: center;

View file

@ -10,6 +10,7 @@
<electron-frame-buttons /> <electron-frame-buttons />
</div> </div>
</div> </div>
<main-nav/>
<div class="panel-layout"> <div class="panel-layout">
<news v-if="currentTab == 3" /> <news v-if="currentTab == 3" />
<direct-message v-if="currentTab == 1" /> <direct-message v-if="currentTab == 1" />
@ -29,6 +30,7 @@ import windowProperties from "@/utils/windowProperties";
import changelog from "@/utils/changelog.js"; import changelog from "@/utils/changelog.js";
import ConnectingScreen from "./../components/app/ConnectingScreen.vue"; import ConnectingScreen from "./../components/app/ConnectingScreen.vue";
import Spinner from "./../components/Spinner.vue"; import Spinner from "./../components/Spinner.vue";
import MainNav from "./../components/app/MainNav.vue";
const ElectronFrameButtons = () => const ElectronFrameButtons = () =>
import("@/components/ElectronJS/FrameButtons.vue"); import("@/components/ElectronJS/FrameButtons.vue");
@ -63,7 +65,8 @@ export default {
Popouts, Popouts,
News, News,
ElectronFrameButtons, ElectronFrameButtons,
Explore Explore,
MainNav
}, },
data() { data() {
return { return {
@ -355,7 +358,7 @@ textarea {
z-index: -1; z-index: -1;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.panel-layout { .panel-layout {

View file

@ -90,7 +90,8 @@ body {
flex-direction: column; flex-direction: column;
color: white; color: white;
height: 100%; height: 100%;
background: #173d42; overflow: hidden;
background: linear-gradient(#0B4155, #01677E);
} }
.app-content { .app-content {
display: flex; display: flex;
@ -129,9 +130,7 @@ body {
justify-content: center; justify-content: center;
z-index: 9999; z-index: 9999;
padding: 20px; padding: 20px;
background-image: url("../assets/leftPanelBackground.jpg"); background: #044050;
background-position: center;
background-size: cover;
} }
.loading { .loading {

View file

@ -221,10 +221,7 @@ body {
flex-shrink: 0; flex-shrink: 0;
border: 10px; border: 10px;
position: relative; position: relative;
background-image: url("../assets/leftPanelBackground.jpg"); background: #072834;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
} }
.logo { .logo {
background-image: url("../assets/logo.png"); background-image: url("../assets/logo.png");
@ -250,7 +247,7 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
transition: 0.5s; transition: 0.5s;
background-color: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.content { .content {
position: fixed; position: fixed;
@ -324,7 +321,7 @@ body {
justify-content: center; justify-content: center;
} }
.feature { .feature {
background: #102a2e; background: #024352;
color: white; color: white;
margin: 10px; margin: 10px;
padding: 2px; padding: 2px;
@ -353,7 +350,7 @@ body {
} }
.link { .link {
padding: 10px; padding: 10px;
background: rgba(0, 0, 0, 0.219); background: #25424d;
user-select: none; user-select: none;
margin-left: 5px; margin-left: 5px;
transition: 0.3s; transition: 0.3s;

View file

@ -131,7 +131,7 @@ body {
flex-direction: column; flex-direction: column;
color: white; color: white;
height: 100%; height: 100%;
background: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.app-content { .app-content {
display: flex; display: flex;
@ -160,9 +160,7 @@ body {
justify-content: center; justify-content: center;
z-index: 9999; z-index: 9999;
padding-bottom: 20px; padding-bottom: 20px;
background-image: url("../assets/leftPanelBackground.jpg"); background: #044050;
background-position: center;
background-size: cover;
} }
.server { .server {
display: flex; display: flex;

View file

@ -197,7 +197,7 @@ body {
flex-direction: column; flex-direction: column;
color: white; color: white;
height: 100%; height: 100%;
background: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.app-content { .app-content {
display: flex; display: flex;
@ -224,9 +224,7 @@ body {
align-items: center; align-items: center;
z-index: 9999; z-index: 9999;
padding-bottom: 20px; padding-bottom: 20px;
background-image: url("../assets/leftPanelBackground.jpg"); background: #043b4a;
background-position: center;
background-size: cover;
} }
.box .title { .box .title {
text-align: center; text-align: center;
@ -258,7 +256,7 @@ form {
margin: 10px; margin: 10px;
width: 80%; width: 80%;
align-self: center; align-self: center;
background: #074d57; background: #032b35;
padding: 10px; padding: 10px;
} }
.input-text { .input-text {
@ -269,7 +267,7 @@ input {
outline: none; outline: none;
padding: 10px; padding: 10px;
border: none; border: none;
background: #03262b; background: #021b21;
color: white; color: white;
} }
.buttons { .buttons {

View file

@ -201,7 +201,7 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
color: white; color: white;
background: #173d42; background: linear-gradient(#0B4155, #01677E);
} }
.app-content { .app-content {
display: flex; display: flex;
@ -228,9 +228,8 @@ body {
align-items: center; align-items: center;
z-index: 9999; z-index: 9999;
padding-bottom: 20px; padding-bottom: 20px;
background-image: url("../assets/leftPanelBackground.jpg"); background: #043b4a;
background-position: center;
background-size: cover;
} }
.box .title { .box .title {
text-align: center; text-align: center;
@ -262,7 +261,7 @@ form {
margin: 10px; margin: 10px;
width: 80%; width: 80%;
align-self: center; align-self: center;
background: #074d57; background: #032b35;
padding: 10px; padding: 10px;
} }
.input-text { .input-text {
@ -274,7 +273,7 @@ input {
padding: 10px; padding: 10px;
border: none; border: none;
background: none; background: none;
background: #03262b; background: #021b21;
color: white; color: white;
} }
.buttons { .buttons {