Upload
This commit is contained in:
172
css/feedback.css
Normal file
172
css/feedback.css
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
/* Kártyák reszponzív elrendezése */
|
||||||
|
.home {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.create-post-card {
|
||||||
|
background-color: var(--color-white);
|
||||||
|
border-radius: 15px;
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 20px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 600px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-section {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-img {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#postInput {
|
||||||
|
flex: 1;
|
||||||
|
border: none;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 25px;
|
||||||
|
color: var(--color-black);
|
||||||
|
background-color: var(--color-bg);
|
||||||
|
font-size: 1em;
|
||||||
|
outline: none;
|
||||||
|
margin-right: 10px; /* Távolság az input mező és a gomb között */
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center; /* Egy sorba állítja az input mezőt és a gombot */
|
||||||
|
gap: 10px; /* Távolság az input mező és a küldés gomb között */
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-buttons {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Új gomb stílus */
|
||||||
|
button {
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: 16px; /* Csökkentett betűméret */
|
||||||
|
background: royalblue;
|
||||||
|
color: white;
|
||||||
|
padding: 0.5em 0.8em; /* Csökkentett padding */
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
border: none;
|
||||||
|
border-radius: 16px;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: all 0.2s;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
button span {
|
||||||
|
display: block;
|
||||||
|
margin-left: 0.3em;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
button svg {
|
||||||
|
display: block;
|
||||||
|
transform-origin: center center;
|
||||||
|
transition: transform 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover .svg-wrapper {
|
||||||
|
animation: fly-1 0.6s ease-in-out infinite alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover svg {
|
||||||
|
transform: translateX(1.2em) rotate(45deg) scale(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover span {
|
||||||
|
transform: translateX(5em);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
transform: scale(0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fly-1 {
|
||||||
|
from {
|
||||||
|
transform: translateY(0.1em);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: translateY(-0.1em);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kártyák stílusai */
|
||||||
|
.card-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background-color: var(--color-white);
|
||||||
|
border-radius: 15px;
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 20px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-profile-img {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-user-info h2 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-user-info p {
|
||||||
|
margin: 0;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-actions {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.like-btn,
|
||||||
|
.comment-btn {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 1.1em;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
|
color: var(--color-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
.like-btn.active i {
|
||||||
|
color: #007BFF;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
color:var(--color-black);
|
||||||
|
}
|
185
css/friends.css
Normal file
185
css/friends.css
Normal file
@ -0,0 +1,185 @@
|
|||||||
|
/* Base styles */
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background-color: #121212;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Usercontainer styling */
|
||||||
|
.usercontainer {
|
||||||
|
width: 70%;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin-top: 20px; /* Space from the top for the filter */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Filter container styles */
|
||||||
|
.filter {
|
||||||
|
width: 100%; /* Full width of the usercontainer */
|
||||||
|
background: #1e1e1e;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||||
|
padding: 10px;
|
||||||
|
position: sticky; /* Keeps it fixed at the top */
|
||||||
|
top: 0; /* Stick to the top */
|
||||||
|
margin-bottom: 20px; /* Space below the filter */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tabs container styles */
|
||||||
|
.tabs {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
|
gap: 10px; /* Space between tabs */
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Radio button input styles */
|
||||||
|
.input {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
opacity: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0, 0, 0, 0);
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Radio button label styles */
|
||||||
|
.label {
|
||||||
|
padding: 10px 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
background: #333;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #fff;
|
||||||
|
transition: background 0.3s, color 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input:checked + .label {
|
||||||
|
background: #aa00ff;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input:not(:checked) + .label:hover {
|
||||||
|
background: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Search input styles */
|
||||||
|
.search-input {
|
||||||
|
width: 100%; /* Full width of the filter */
|
||||||
|
background-color: #1a1a1a;
|
||||||
|
border: none;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
outline: none;
|
||||||
|
color: white;
|
||||||
|
margin-top: 10px; /* Space between the tabs and search input */
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Usercards container */
|
||||||
|
.usercards {
|
||||||
|
padding: 1rem;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
||||||
|
gap: 10px; /* Spacing between items */
|
||||||
|
width: 100%; /* Full width of the usercontainer */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Usercard styling */
|
||||||
|
.usercard {
|
||||||
|
max-width: 360px;
|
||||||
|
border-radius: 1rem;
|
||||||
|
background-color: rgba(20, 20, 20, 1);
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.biocard {
|
||||||
|
max-width: 460px;
|
||||||
|
border-radius: 1rem;
|
||||||
|
background-color: rgb(118, 36, 194);
|
||||||
|
padding: 4rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.infos {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image {
|
||||||
|
height: 7rem;
|
||||||
|
width: 7rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
background-color: rgb(118, 36, 194);
|
||||||
|
background: linear-gradient(to bottom right, rgb(118, 36, 194), rgb(185, 128, 240));
|
||||||
|
}
|
||||||
|
|
||||||
|
.info {
|
||||||
|
height: 7rem;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.name {
|
||||||
|
font-weight: 500;
|
||||||
|
color: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.userid {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: rgba(156, 163, 175, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.stats {
|
||||||
|
width: 100%;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
line-height: 1rem;
|
||||||
|
color: rgba(0, 0, 0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.state-value {
|
||||||
|
font-weight: 700;
|
||||||
|
color: rgb(118, 36, 194);
|
||||||
|
}
|
||||||
|
|
||||||
|
.request {
|
||||||
|
margin-top: 1rem;
|
||||||
|
width: 100%;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.5rem;
|
||||||
|
transition: all .3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.request:hover {
|
||||||
|
background-color: rgb(118, 36, 194);
|
||||||
|
color: #fff;
|
||||||
|
}
|
293
css/navbar.css
Normal file
293
css/navbar.css
Normal file
@ -0,0 +1,293 @@
|
|||||||
|
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-family: "Poppins", sans-serif;
|
||||||
|
--color-hover: rgba(32, 59, 232);
|
||||||
|
--transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color-white: #fff;
|
||||||
|
--color-black: #000;
|
||||||
|
--color-bg: #e2e2e2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark-mode {
|
||||||
|
--color-white: #000;
|
||||||
|
--color-black: #fff;
|
||||||
|
--color-bg: #1d1b31;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: var(--color-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 100;
|
||||||
|
width: 78px;
|
||||||
|
height: 100%;
|
||||||
|
background: var(--color-white);
|
||||||
|
padding: 8px 16px;
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand {
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.sidebar.expand {
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.sidebar.expand {
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-header {
|
||||||
|
height: 60px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-header .logo {
|
||||||
|
color: var(--color-black);
|
||||||
|
font-size: 23px;
|
||||||
|
font-weight: 600;
|
||||||
|
opacity: 0;
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .nav-header .logo {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-header .btn-menu {
|
||||||
|
position: absolute;
|
||||||
|
color: var(--color-black);
|
||||||
|
top: 50%;
|
||||||
|
right: 0;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
font-size: 23px;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .nav-header .btn-menu {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links {
|
||||||
|
margin-top: 20px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li {
|
||||||
|
position: relative;
|
||||||
|
margin: 8px 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links i {
|
||||||
|
color: var(--color-black);
|
||||||
|
height: 50px;
|
||||||
|
min-width: 50px;
|
||||||
|
font-size: 23px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links input {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: var(--color-black);
|
||||||
|
outline: none;
|
||||||
|
height: 40px;
|
||||||
|
width: 50%;
|
||||||
|
border: none;
|
||||||
|
border-radius: 12px;
|
||||||
|
background: var(--color-bg);
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .nav-links input {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 20px 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li a {
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
border-radius: 12px;
|
||||||
|
align-items: center;
|
||||||
|
text-decoration: none;
|
||||||
|
background: var(--color-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li:hover a {
|
||||||
|
background: var(--color-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li:hover i {
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li a .title {
|
||||||
|
color: var(--color-black);
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 400;
|
||||||
|
white-space: nowrap;
|
||||||
|
display: none;
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .nav-links li a .title {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li:hover a .title {
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li .tooltip {
|
||||||
|
position: absolute;
|
||||||
|
top: -20px;
|
||||||
|
left: calc(100% + 15px);
|
||||||
|
z-index: 3;
|
||||||
|
background: var(--color-white);
|
||||||
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
|
||||||
|
padding: 6px 14px;
|
||||||
|
color: var(--color-black);
|
||||||
|
font-size: 15px;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-radius: 3px;
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
transition: 0s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar li:hover .tooltip {
|
||||||
|
opacity: 1;
|
||||||
|
pointer-events: auto;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .tooltip {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links .search-btn {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 0;
|
||||||
|
transform: translateY(-25px);
|
||||||
|
font-size: 23px;
|
||||||
|
color: var(--color-black);
|
||||||
|
border-radius: 12px;
|
||||||
|
background: var(--color-white);
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .nav-links .search-btn {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .nav-links li:hover .search-btn {
|
||||||
|
color: var(--color-black);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links .search-btn:hover {
|
||||||
|
background: var(--color-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-wrapper {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 60px;
|
||||||
|
width: 250px;
|
||||||
|
left: 0;
|
||||||
|
padding: 8px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-wrapper .theme-icon {
|
||||||
|
font-size: 20px;
|
||||||
|
color: var(--color-black);
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .theme-wrapper .theme-icon {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-wrapper p {
|
||||||
|
font-size: 16px;
|
||||||
|
color: var(--color-black);
|
||||||
|
font-weight: 400;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand .theme-wrapper p {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-wrapper .theme-btn {
|
||||||
|
width: 40px;
|
||||||
|
height: 20px;
|
||||||
|
background: var(--color-bg);
|
||||||
|
border-radius: 30px;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-wrapper .theme-btn .theme-ball {
|
||||||
|
position: absolute;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background: var(--color-black);
|
||||||
|
border-radius: 50%;
|
||||||
|
top: 2px;
|
||||||
|
left: 3px;
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-wrapper .theme-btn .theme-ball.dark {
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home {
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
|
left: 78px;
|
||||||
|
width: calc(100% - 78px);
|
||||||
|
min-height: 100vh;
|
||||||
|
background: var(--color-bg);
|
||||||
|
z-index: 6;
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.expand ~ .home {
|
||||||
|
left: 250px;
|
||||||
|
width: calc(100% - 250px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.home p {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-black);
|
||||||
|
display: inline-block;
|
||||||
|
margin: 20px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
153
css/settings.css
Normal file
153
css/settings.css
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/* Konténer, ami összefogja a beállításokat */
|
||||||
|
.settings-container {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 10px; /* Belépő margó hozzáadása */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Kártyák stílusa */
|
||||||
|
.settings-card {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 300px;
|
||||||
|
max-width: 48%;
|
||||||
|
margin: 10px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: var(--color-white);
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Telefonos nézet */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.settings-card {
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-card h2 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color:var(--color-black);
|
||||||
|
}
|
||||||
|
#video-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.settings-card input[type="text"] {
|
||||||
|
width: 100%;
|
||||||
|
color:black;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#video-container {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loop-switch {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loop-switch input[type="checkbox"] {
|
||||||
|
margin-right: 10px;
|
||||||
|
width: 30px;
|
||||||
|
height: 16px;
|
||||||
|
appearance: none;
|
||||||
|
background-color: #ddd;
|
||||||
|
border-radius: 20px;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loop-switch input[type="checkbox"]:checked {
|
||||||
|
background-color: #4CAF50;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loop-switch input[type="checkbox"]::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 2px;
|
||||||
|
left: 2px;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: #fff;
|
||||||
|
transition: 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loop-switch input[type="checkbox"]:checked::before {
|
||||||
|
transform: translateX(14px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px; /* A gombok közötti távolság */
|
||||||
|
margin-top: 15px;
|
||||||
|
flex-wrap: wrap; /* Törés kisebb képernyőn */
|
||||||
|
}
|
||||||
|
|
||||||
|
#save-music, #reset-music {
|
||||||
|
padding: 10px 20px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 10px;
|
||||||
|
color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
|
||||||
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Alapárnyék */
|
||||||
|
width: auto; /* Automatikus szélesség a tartalom alapján */
|
||||||
|
max-width: 200px; /* Maximális szélesség */
|
||||||
|
flex: 1; /* Fele-fele arányban oszlik meg a gomb szélessége */
|
||||||
|
}
|
||||||
|
|
||||||
|
#save-music:hover, #reset-music:hover {
|
||||||
|
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Hover esetén erősebb árnyék */
|
||||||
|
transform: translateY(-4px); /* Enyhe felemelkedés */
|
||||||
|
}
|
||||||
|
|
||||||
|
#save-music:active, #reset-music:active {
|
||||||
|
transform: translateY(0); /* Vissza az eredeti helyzetbe */
|
||||||
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Alapállapot */
|
||||||
|
}
|
||||||
|
|
||||||
|
#save-music {
|
||||||
|
background-color: #007bff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#reset-music {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#save-music:hover {
|
||||||
|
background-color: #0056b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#reset-music:hover {
|
||||||
|
background-color: rgb(171, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Reszponzív beállítások kisebb képernyőkre */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
#save-music, #reset-music {
|
||||||
|
max-width: 100%; /* Mobilnézetben a gombok teljes szélességet elfoglalnak */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mini-label{
|
||||||
|
color:var(--color-black);
|
||||||
|
}
|
||||||
|
.button-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px; /* A gombok közötti távolság */
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
12
js/bgmusic.js
Normal file
12
js/bgmusic.js
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const youtubePlayer = document.getElementById('youtubePlayer');
|
||||||
|
|
||||||
|
// Beállítjuk a mentett YouTube ID-t, ha létezik
|
||||||
|
const savedYoutubeId = localStorage.getItem('youtubeId');
|
||||||
|
if (savedYoutubeId) {
|
||||||
|
// Beállítjuk az új YouTube ID-t
|
||||||
|
youtubePlayer.src = `https://www.youtube.com/embed/${savedYoutubeId}?autoplay=1`;
|
||||||
|
youtubePlayer.width = '560'; // Esetleg állítsd vissza a méretet
|
||||||
|
youtubePlayer.height = '315'; // Esetleg állítsd vissza a méretet
|
||||||
|
}
|
||||||
|
});
|
3
js/feedback.js
Normal file
3
js/feedback.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
function toggleLike(button) {
|
||||||
|
button.classList.toggle('active');
|
||||||
|
}
|
42
js/navbar.js
Normal file
42
js/navbar.js
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const navbarContainer = document.createElement('div');
|
||||||
|
navbarContainer.id = 'navbar-container';
|
||||||
|
document.body.insertBefore(navbarContainer, document.body.firstChild);
|
||||||
|
|
||||||
|
fetch('../src/navbar.html')
|
||||||
|
.then(response => response.text())
|
||||||
|
.then(data => {
|
||||||
|
navbarContainer.innerHTML = data;
|
||||||
|
|
||||||
|
const themeBtn = document.querySelector('.theme-btn');
|
||||||
|
const themeBall = document.querySelector('.theme-ball');
|
||||||
|
const btnMenu = document.querySelector('.btn-menu');
|
||||||
|
const sidebar = document.querySelector('.sidebar');
|
||||||
|
|
||||||
|
if (btnMenu && sidebar) {
|
||||||
|
btnMenu.addEventListener('click', () => {
|
||||||
|
sidebar.classList.toggle('expand');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (themeBtn && themeBall) {
|
||||||
|
const localData = localStorage.getItem('theme');
|
||||||
|
if (localData === 'dark') {
|
||||||
|
document.body.classList.add('dark-mode');
|
||||||
|
themeBall.classList.add('dark');
|
||||||
|
}
|
||||||
|
|
||||||
|
themeBtn.addEventListener('click', () => {
|
||||||
|
document.body.classList.toggle('dark-mode');
|
||||||
|
themeBall.classList.toggle('dark');
|
||||||
|
if (document.body.classList.contains('dark-mode')) {
|
||||||
|
localStorage.setItem('theme', 'dark');
|
||||||
|
} else {
|
||||||
|
localStorage.setItem('theme', 'light');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(error => console.error('Error loading the navbar:', error));
|
||||||
|
});
|
||||||
|
|
54
js/settings.js
Normal file
54
js/settings.js
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const youtubeIdInput = document.getElementById('youtube-id');
|
||||||
|
const youtubePlayer = document.getElementById('youtubePlayer');
|
||||||
|
const loopToggle = document.getElementById('loop-toggle');
|
||||||
|
|
||||||
|
// Betöltjük a mentett beállításokat
|
||||||
|
const savedYoutubeId = localStorage.getItem('youtubeId');
|
||||||
|
const savedLoop = localStorage.getItem('loop');
|
||||||
|
|
||||||
|
if (savedYoutubeId) {
|
||||||
|
youtubeIdInput.value = savedYoutubeId;
|
||||||
|
let url = `https://www.youtube.com/embed/${savedYoutubeId}?autoplay=1`;
|
||||||
|
if (savedLoop === 'true') {
|
||||||
|
url += '&loop=1';
|
||||||
|
loopToggle.checked = true;
|
||||||
|
} else {
|
||||||
|
loopToggle.checked = false;
|
||||||
|
}
|
||||||
|
youtubePlayer.src = url;
|
||||||
|
}
|
||||||
|
document.getElementById('reset-music').addEventListener('click', () => {
|
||||||
|
localStorage.setItem('youtubeId', '');
|
||||||
|
youtubePlayer.src = '';
|
||||||
|
youtubeIdInput.value = '';
|
||||||
|
//alert('YouTube ID törölve!');
|
||||||
|
});
|
||||||
|
document.getElementById('save-music').addEventListener('click', () => {
|
||||||
|
const youtubeId = youtubeIdInput.value.trim();
|
||||||
|
if (youtubeId) {
|
||||||
|
let url = `https://www.youtube.com/embed/${youtubeId}?autoplay=1`;
|
||||||
|
if (loopToggle.checked) {
|
||||||
|
url += '&loop=1';
|
||||||
|
}
|
||||||
|
youtubePlayer.src = url;
|
||||||
|
localStorage.setItem('youtubeId', youtubeId);
|
||||||
|
localStorage.setItem('loop', loopToggle.checked);
|
||||||
|
//alert('YouTube ID elmentve!');
|
||||||
|
} else {
|
||||||
|
//alert('Kérlek, add meg a YouTube ID-t!');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
loopToggle.addEventListener('change', () => {
|
||||||
|
const youtubeId = youtubeIdInput.value.trim();
|
||||||
|
if (youtubeId) {
|
||||||
|
let url = `https://www.youtube.com/embed/${youtubeId}?autoplay=1`;
|
||||||
|
if (loopToggle.checked) {
|
||||||
|
url += '&loop=1';
|
||||||
|
}
|
||||||
|
youtubePlayer.src = url;
|
||||||
|
localStorage.setItem('loop', loopToggle.checked);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
26
login/login.html
Normal file
26
login/login.html
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="hu">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>ConnectHub - Bejelentkezés</title>
|
||||||
|
<link rel="stylesheet" href="styles.css">
|
||||||
|
<link rel="icon" href="logo.png" type="image/png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<div class="login-box">
|
||||||
|
<img src="logo.png" alt="ConnectHub Logo" class="logo">
|
||||||
|
<h1 class="title">Üdvözlünk a ConnectHub-on</h1>
|
||||||
|
<p class="subtitle">Jelentkezz be Discord fiókoddal a folytatáshoz</p>
|
||||||
|
<button id="discord-login-btn" class="discord-btn">
|
||||||
|
<svg class="discord-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36">
|
||||||
|
<path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/>
|
||||||
|
</svg>
|
||||||
|
<span>Bejelentkezés Discord-dal</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="script.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
login/logo.png
Normal file
BIN
login/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
13
login/script.js
Normal file
13
login/script.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const discordLoginBtn = document.getElementById('discord-login-btn');
|
||||||
|
|
||||||
|
discordLoginBtn.addEventListener('click', () => {
|
||||||
|
// Discord OAuth2 konfiguráció
|
||||||
|
const CLIENT_ID = 'YOUR_DISCORD_CLIENT_ID';
|
||||||
|
const REDIRECT_URI = encodeURIComponent('YOUR_REDIRECT_URI');
|
||||||
|
const DISCORD_AUTH_URL = `https://discord.com/api/oauth2/authorize?client_id=${CLIENT_ID}&redirect_uri=${REDIRECT_URI}&response_type=code&scope=identify%20email`;
|
||||||
|
|
||||||
|
// Átirányítás a Discord engedélyezési oldalára
|
||||||
|
window.location.href = DISCORD_AUTH_URL;
|
||||||
|
});
|
||||||
|
});
|
135
login/styles.css
Normal file
135
login/styles.css
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
body, html {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #111;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-box {
|
||||||
|
background-color: #111;
|
||||||
|
border: 2px solid #5865F2;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 40px;
|
||||||
|
box-shadow: 4px 4px #5865F2;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
max-width: 400px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
width: 150px;
|
||||||
|
height: auto;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 900;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
color: #b9bbbe;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-btn {
|
||||||
|
background-color: #5865F2;
|
||||||
|
border: 2px solid #5865F2;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 12px 20px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 300px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-btn:hover {
|
||||||
|
background-color: #4752C4;
|
||||||
|
border-color: #4752C4;
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-btn:active {
|
||||||
|
transform: translateY(0);
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-btn::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 5px;
|
||||||
|
height: 5px;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
opacity: 0;
|
||||||
|
border-radius: 100%;
|
||||||
|
transform: scale(1, 1) translate(-50%);
|
||||||
|
transform-origin: 50% 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes ripple {
|
||||||
|
0% {
|
||||||
|
transform: scale(0, 0);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
20% {
|
||||||
|
transform: scale(25, 25);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(40, 40);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-btn:focus:not(:active)::after {
|
||||||
|
animation: ripple 1s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-icon {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
margin-right: 8px;
|
||||||
|
fill: currentColor;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 400px) {
|
||||||
|
.discord-btn {
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 10px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-icon {
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
}
|
72
pages/feedback.html
Normal file
72
pages/feedback.html
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="hu">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>ConnectHub - Bejegyzés</title>
|
||||||
|
<link rel="stylesheet" href="../css/feedback.css" />
|
||||||
|
<link rel="stylesheet" href="../css/navbar.css" />
|
||||||
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="navbar-container"></div>
|
||||||
|
<section class="home">
|
||||||
|
<!-- Bejegyzés létrehozás kártya -->
|
||||||
|
<div class="create-post-card">
|
||||||
|
<div class="profile-section">
|
||||||
|
<img src="../images/profile.jpg" alt="Profile" class="profile-img" />
|
||||||
|
<input type="text" placeholder="Mit szeretnél megosztani?" id="postInput" />
|
||||||
|
</div>
|
||||||
|
<div class="input-container">
|
||||||
|
<!-- Új küldés gomb -->
|
||||||
|
<button id="submitPostBtn">
|
||||||
|
<div class="svg-wrapper-1">
|
||||||
|
<div class="svg-wrapper">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
>
|
||||||
|
<path fill="none" d="M0 0h24v24H0z"></path>
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z"
|
||||||
|
></path>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<span>Küldés</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Példa bejegyzés kártya -->
|
||||||
|
<div class="card-container">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<img src="../images/profile.jpg" alt="Profile" class="card-profile-img" />
|
||||||
|
<div class="card-user-info">
|
||||||
|
<h2>Áron</h2>
|
||||||
|
<p>2 órája</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p>Ez egy példa szöveg a kártyán belül.</p>
|
||||||
|
<div class="post-actions">
|
||||||
|
<button class="like-btn" onclick="toggleLike(this)">
|
||||||
|
<i class="bx bx-like"></i> Like
|
||||||
|
</button>
|
||||||
|
<button class="comment-btn">
|
||||||
|
<i class="bx bx-comment"></i> Komment
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script src="../js/navbar.js"></script>
|
||||||
|
<script src="../js/feedback.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
146
pages/friends.html
Normal file
146
pages/friends.html
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="hu">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Styled Radio Buttons and Search Input</title>
|
||||||
|
<link rel="stylesheet" href="../css/friends.css">
|
||||||
|
<link rel="stylesheet" href="../css/navbar.css">
|
||||||
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="styles.css"> <!-- Link to the new styles -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="navbar-container"></div>
|
||||||
|
|
||||||
|
<!-- Usercontainer wrapping both filter and usercards -->
|
||||||
|
<div class="usercontainer">
|
||||||
|
<!-- Filter container with radio buttons and search input -->
|
||||||
|
<div class="filter">
|
||||||
|
<div class="tabs">
|
||||||
|
<input
|
||||||
|
checked=""
|
||||||
|
value="HTML"
|
||||||
|
name="fav_language"
|
||||||
|
id="html"
|
||||||
|
type="radio"
|
||||||
|
class="input"
|
||||||
|
/>
|
||||||
|
<label for="html" class="label">Követő</label>
|
||||||
|
<input
|
||||||
|
value="CSS"
|
||||||
|
name="fav_language"
|
||||||
|
id="css"
|
||||||
|
type="radio"
|
||||||
|
class="input"
|
||||||
|
/>
|
||||||
|
<label for="css" class="label">Követés</label>
|
||||||
|
<input
|
||||||
|
value="JavaScript"
|
||||||
|
name="fav_language"
|
||||||
|
id="javascript"
|
||||||
|
type="radio"
|
||||||
|
class="input"
|
||||||
|
/>
|
||||||
|
<label for="javascript" class="label">Jelölés</label>
|
||||||
|
</div>
|
||||||
|
<input placeholder="type it" class="search-input" name="text" type="text" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Usercards container -->
|
||||||
|
<div class="usercards">
|
||||||
|
<!-- Example usercard items, add more as needed -->
|
||||||
|
<div class="usercard">
|
||||||
|
<div class="infos">
|
||||||
|
<div class="image"></div>
|
||||||
|
<div class="info">
|
||||||
|
<div>
|
||||||
|
<p class="name">DisplayName</p>
|
||||||
|
<p class="userid">@userIDname</p>
|
||||||
|
</div>
|
||||||
|
<div class="stats">
|
||||||
|
<p class="flex flex-col">Posztok
|
||||||
|
<span class="state-value">69</span>
|
||||||
|
</p>
|
||||||
|
<p class="flex">Barátok
|
||||||
|
<span class="state-value">420</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="biocard"></div>
|
||||||
|
<button class="request" type="button">Barát bejelölése</button>
|
||||||
|
</div>
|
||||||
|
<div class="usercard">
|
||||||
|
<div class="infos">
|
||||||
|
<div class="image"></div>
|
||||||
|
<div class="info">
|
||||||
|
<div>
|
||||||
|
<p class="name">DisplayName</p>
|
||||||
|
<p class="userid">@userIDname</p>
|
||||||
|
</div>
|
||||||
|
<div class="stats">
|
||||||
|
<p class="flex flex-col">Posztok
|
||||||
|
<span class="state-value">69</span>
|
||||||
|
</p>
|
||||||
|
<p class="flex">Barátok
|
||||||
|
<span class="state-value">420</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="biocard"></div>
|
||||||
|
<button class="request" type="button">Barát bejelölése</button>
|
||||||
|
</div>
|
||||||
|
<div class="usercard">
|
||||||
|
<div class="infos">
|
||||||
|
<div class="image"></div>
|
||||||
|
<div class="info">
|
||||||
|
<div>
|
||||||
|
<p class="name">DisplayName</p>
|
||||||
|
<p class="userid">@userIDname</p>
|
||||||
|
</div>
|
||||||
|
<div class="stats">
|
||||||
|
<p class="flex flex-col">Posztok
|
||||||
|
<span class="state-value">69</span>
|
||||||
|
</p>
|
||||||
|
<p class="flex">Barátok
|
||||||
|
<span class="state-value">420</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="biocard"></div>
|
||||||
|
<button class="request" type="button">Barát bejelölése</button>
|
||||||
|
</div>
|
||||||
|
<div class="usercard">
|
||||||
|
<div class="infos">
|
||||||
|
<div class="image"></div>
|
||||||
|
<div class="info">
|
||||||
|
<div>
|
||||||
|
<p class="name">DisplayName</p>
|
||||||
|
<p class="userid">@userIDname</p>
|
||||||
|
</div>
|
||||||
|
<div class="stats">
|
||||||
|
<p class="flex flex-col">Posztok
|
||||||
|
<span class="state-value">69</span>
|
||||||
|
</p>
|
||||||
|
<p class="flex">Barátok
|
||||||
|
<span class="state-value">420</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="biocard"></div>
|
||||||
|
<button class="request" type="button">Barát bejelölése</button>
|
||||||
|
</div>
|
||||||
|
<!-- Repeat usercard divs here -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="../js/navbar.js"></script>
|
||||||
|
<script src="../js/profil.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
49
pages/settings.html
Normal file
49
pages/settings.html
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="hu">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Papp Áron</title>
|
||||||
|
<link rel="stylesheet" href="../css/navbar.css" />
|
||||||
|
<link rel="stylesheet" href="../css/settings.css" />
|
||||||
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet"/>
|
||||||
|
<script src="../js/navbar.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="navbar-container"></div>
|
||||||
|
<section class="home">
|
||||||
|
<!-- Zene beállítások kártya -->
|
||||||
|
<div class="settings-container">
|
||||||
|
<!-- Zene beállítások kártya -->
|
||||||
|
<section class="settings-card">
|
||||||
|
<h2>Zene Beállítások</h2>
|
||||||
|
<label class="mini-label" for="youtube-id">YouTube Videó ID:</label>
|
||||||
|
<input type="text" id="youtube-id" placeholder="Illessz be egy YouTube Videó ID-t..." />
|
||||||
|
<div id="video-container">
|
||||||
|
<iframe id="youtubePlayer" width="280" height="157" frameborder="0"
|
||||||
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||||
|
allowfullscreen></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="loop-switch">
|
||||||
|
<input type="checkbox" id="loop-toggle" />
|
||||||
|
<label class="mini-label" for="loop-toggle">Ismétlés </label>
|
||||||
|
</div>
|
||||||
|
<div class="button-container">
|
||||||
|
<button class="settings-button" id="reset-music">Törlés</button>
|
||||||
|
<button class="settings-button" id="save-music">Mentés</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<!-- Profil beállítások kártya -->
|
||||||
|
<section class="settings-card">
|
||||||
|
<h2>Profil Beállítások</h2>
|
||||||
|
</section>
|
||||||
|
<section class="settings-card">
|
||||||
|
<h2>Beállítások</h2>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<script src="../js/settings.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
62
src/navbar.html
Normal file
62
src/navbar.html
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<section class="sidebar">
|
||||||
|
<div class="nav-header">
|
||||||
|
<p class="logo">Menü</p>
|
||||||
|
<i class="bx bx-menu btn-menu"></i>
|
||||||
|
</div>
|
||||||
|
<ul class="nav-links">
|
||||||
|
<li>
|
||||||
|
<i class="bx bx-search search-btn"></i>
|
||||||
|
<input type="text" placeholder="Keresés..." />
|
||||||
|
<span class="tooltip">Keresés</span>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="feedback.html">
|
||||||
|
<i class="bx bx-home-alt-2"></i>
|
||||||
|
<span class="title">Kezdőlap</span>
|
||||||
|
</a>
|
||||||
|
<span class="tooltip">Kezdőlap</span>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<i class="bx bx-group"></i>
|
||||||
|
<span class="title">Csoportok</span>
|
||||||
|
</a>
|
||||||
|
<span class="tooltip">Csoportok</span>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<i class="bx bx-message"></i>
|
||||||
|
<span class="title">Üzenetek</span>
|
||||||
|
</a>
|
||||||
|
<span class="tooltip">Üzenetek</span>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="friends.html">
|
||||||
|
<i class="bx bx-user-plus"></i>
|
||||||
|
<span class="title">Ismerősök</span>
|
||||||
|
</a>
|
||||||
|
<span class="tooltip">Ismerősök</span>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#">
|
||||||
|
<i class="bx bx-user-pin"></i>
|
||||||
|
<span class="title">Profil</span>
|
||||||
|
</a>
|
||||||
|
<span class="tooltip">Profil</span>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="settings.html">
|
||||||
|
<i class="bx bx-cog"></i>
|
||||||
|
<span class="title">Beállítások</span>
|
||||||
|
</a>
|
||||||
|
<span class="tooltip">Beállítások</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="theme-wrapper">
|
||||||
|
<i class="bx bxs-moon theme-icon"></i>
|
||||||
|
<p>Sötét mód</p>
|
||||||
|
<div class="theme-btn">
|
||||||
|
<span class="theme-ball"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
Reference in New Issue
Block a user