Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- background-color: #1c1c1c;
- background-size: cover;
- background-position: center center;
- background-attachment: fixed;
- background-repeat: no-repeat;
- margin: 0;
- padding: 0;
- font-family: 'Georgia', serif;
- color: #e0dccc;
- transition: background-image 0.5s ease-in-out;
- }
- .container {
- max-width: 800px;
- margin: 20px auto;
- background-color: rgba(20, 20, 20, 0.85);
- padding: 25px; /* Lekko zmniejszony padding */
- border: 4px solid #bfa76f;
- border-radius: 12px;
- box-shadow: 0 0 20px #000;
- }
- .container:first-of-type {
- margin-top: 70px; /* Większy margines dla pierwszego kontenera, aby nie nachodził na przyciski */
- }
- h1, h2, h3 {
- text-align: center;
- color: #e9d8a6;
- text-shadow: 1px 1px 3px #000;
- }
- h2 { margin-top: 30px; margin-bottom: 15px;}
- h3 { margin-top: 20px; margin-bottom: 10px;}
- .form-group {
- margin-bottom: 15px; /* Zmniejszony margines */
- }
- label {
- display: block;
- margin-bottom: 5px;
- font-weight: bold;
- color: #d2c8b3;
- }
- select,
- input[type="text"],
- input[type="email"],
- input[type="password"] {
- width: 100%;
- padding: 10px;
- border: 2px solid #5c4a1c;
- border-radius: 6px;
- background-color: #2e2e2e;
- color: #e0dccc;
- box-sizing: border-box;
- }
- input[type="checkbox"] {
- margin-right: 5px;
- vertical-align: middle;
- }
- select option[disabled] {
- font-weight: bold;
- color: #a99886;
- background-color: #1a1a1a;
- }
- .form-tip {
- font-size: 13px;
- color: #d2c8b3;
- text-align: center;
- margin-top: -5px;
- margin-bottom: 15px;
- background-color: rgba(0, 0, 0, 0.2);
- padding: 8px;
- border-radius: 6px;
- }
- .group-item-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- margin-bottom: 15px;
- }
- .group-invite-info {
- position: relative; /* Kluczowe dla działania tooltipa */
- display: inline-flex;
- align-items: center;
- cursor: help;
- margin-left: 15px;
- }
- .group-invite-info .tooltip-text {
- visibility: hidden;
- width: 160px;
- background-color: #1c1c1c;
- color: #e9d8a6;
- text-align: center;
- border-radius: 6px;
- padding: 5px 0;
- border: 1px solid #bfa76f;
- /* Pozycjonowanie tooltipa */
- position: absolute;
- z-index: 1;
- bottom: 125%; /* U góry ikony */
- left: 50%;
- margin-left: -80px; /* Wyśrodkowanie */
- /* Efekt pojawiania */
- opacity: 0;
- transition: opacity 0.3s;
- }
- .group-name-display {
- font-size: 1.2em; /* Lekko powiększamy nazwę grupy */
- font-weight: bold;
- color: #e9d8a6;
- }
- .group-members-section {
- width: 100%;
- margin-bottom: 20px; /* Odstęp między listą członków a przyciskami */
- }
- .group-members-list {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- .group-members-list li {
- padding: 4px 0;
- border-bottom: 1px solid #3a3a3a;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .group-members-list li:last-child {
- border-bottom: none;
- }
- .group-actions {
- width: 100%;
- justify-content: flex-end; /* Przyciski będą po prawej stronie */
- }
- .remove-member-btn {
- background-color: #8a3a3a;
- color: #f0e6d2;
- border: none;
- border-radius: 4px;
- padding: 3px 8px;
- font-size: 12px;
- margin-left: 10px;
- cursor: pointer;
- }
- .remove-member-btn:hover {
- background-color: #a54e4e;
- }
- .group-invite-info:hover .tooltip-text {
- visibility: visible;
- opacity: 1;
- }
- button {
- padding: 10px 20px; /* Lekko zmniejszony padding */
- background-color: #bfa76f;
- border: none;
- border-radius: 6px;
- cursor: pointer;
- color: #1c1c1c;
- font-weight: bold;
- font-size: 14px;
- box-shadow: 0 2px 4px #000;
- transition: background-color 0.2s;
- display: inline-flex;
- align-items: center;
- gap: 8px;
- }
- button:hover {
- background-color: #e9d8a6;
- }
- button img { /* Dla ikon w przyciskach */
- filter: brightness(0.8);
- }
- .button-center {
- display: flex;
- justify-content: center;
- align-items: center; /* Wyśrodkowanie w pionie */
- margin-top: 20px;
- gap: 10px;
- }
- /* TIMERY */
- .timer-item {
- background: linear-gradient(145deg, #2d2a25, #1a1a1a);
- border: 1px solid #8a714e;
- border-radius: 10px;
- color: #f0e6d2;
- text-shadow: 0 1px 2px #000;
- margin: 10px 0;
- padding: 12px;
- font-size: 16px;
- box-shadow: inset 0 0 6px #000;
- position: relative;
- transition: background-color 0.3s, border-color 0.3s;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .timer-item.with-icon {
- padding-left: 65px;
- }
- .timer-item-content { /* Kontener na tekst timera */
- flex-grow: 1; /* Aby zajął dostępną przestrzeń */
- }
- .timer-item.window-open {
- background: linear-gradient(145deg, #263a2a, #0f1d12);
- border-color: #6aae71;
- }
- .timer-icon {
- position: absolute;
- top: 50%;
- left: 12px;
- transform: translateY(-50%);
- width: 40px;
- height: 40px;
- object-fit: cover;
- border-radius: 4px;
- background-color: rgba(0, 0, 0, 0.3);
- }
- .timer-item button.delete-btn { /* Specyficzny styl dla przycisku usuwania timera */
- padding: 6px 10px;
- font-size: 12px;
- margin-left: 10px;
- flex-shrink: 0;
- background-color: #8a3a3a; /* Ciemnoczerwony */
- color: #f0e6d2;
- }
- .timer-item button.delete-btn:hover {
- background-color: #a54e4e;
- }
- /* PRZYCISKI USTAWIEŃ W ROGACH */
- .settings-buttons-left, .settings-buttons-right {
- position: fixed;
- z-index: 999;
- top: 15px; /* Lekko wyżej */
- display: flex;
- gap: 10px;
- }
- .settings-buttons-left { left: 15px; }
- .settings-buttons-right { right: 15px; }
- /* MENU ROZWIJANE UŻYTKOWNIKA */
- #userMenuContainer {
- position: relative;
- }
- .dropdown-content {
- display: none;
- position: absolute;
- top: calc(100% + 5px); /* Lekki odstęp od przycisku */
- right: 0;
- background-color: #2a2a2a; /* Ciemniejsze tło dropdownu */
- min-width: 220px;
- box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
- z-index: 1001;
- border: 2px solid #bfa76f; /* Grubsza ramka */
- border-radius: 8px; /* Większe zaokrąglenie */
- padding: 10px;
- }
- .dropdown-content button {
- width: 100%;
- margin-bottom: 8px;
- background-color: #5c4a1c; /* Ciemniejszy przycisk w dropdownie */
- color: #e9d8a6;
- font-weight: bold;
- text-align: left;
- padding: 10px 15px;
- border-radius: 4px;
- border: 1px solid #bfa76f;
- }
- .dropdown-content button:last-child { margin-bottom: 0; }
- .dropdown-content button:hover {
- background-color: #bfa76f;
- color: #1c1c1c;
- }
- /* --- STYLE DLA ZWIJANYCH PANELI GRUP --- */
- .collapsible .collapsible-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- cursor: pointer;
- width: 100%;
- padding: 10px 0;
- }
- .collapsible .header-controls {
- display: flex;
- align-items: center;
- gap: 15px; /* Odstęp między ikoną 'i' a strzałką */
- }
- .collapsible .toggle-collapse-btn {
- background: none;
- border: none;
- color: #bfa76f;
- font-size: 20px;
- cursor: pointer;
- padding: 0 5px;
- transition: transform 0.3s ease; /* Płynna animacja obrotu strzałki */
- }
- .collapsible .collapsible-content {
- max-height: 0;
- overflow: hidden;
- transition: max-height 0.4s ease-out;
- border-top: 1px solid #5c4a1c; /* Linia oddzielająca nagłówek od treści */
- margin: 0 -20px -20px -20px; /* Dopasowanie do paddingu .group-item */
- padding: 0 20px;
- }
- /* Stan po rozwinięciu */
- .collapsible.expanded .collapsible-content {
- max-height: 1000px;
- transition: max-height 0.5s ease-in;
- padding: 15px 20px; /* Przywracamy padding po rozwinięciu */
- }
- .collapsible.expanded .toggle-collapse-btn {
- transform: rotate(180deg); /* Obracamy strzałkę */
- }
- /* MODALE */
- .modal {
- display: none;
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- background: rgba(30, 30, 30, 0.97); /* Bardziej nieprzezroczyste tło modala */
- color: #eee;
- padding: 25px;
- border: 4px solid #bfa76f; /* Grubsza ramka modala */
- border-radius: 12px;
- z-index: 1000;
- box-shadow: 0 8px 30px rgba(0,0,0,0.5); /* Mocniejszy cień */
- width: 90%;
- max-width: 500px;
- }
- .modal-buttons {
- margin-top: 25px; /* Większy margines */
- text-align: right;
- display: flex;
- justify-content: flex-end;
- gap: 10px;
- }
- /* TŁA */
- #background-options-container {
- display: flex;
- flex-wrap: wrap;
- gap: 15px;
- justify-content: center;
- margin: 20px 0;
- max-height: 40vh;
- overflow-y: auto;
- padding: 10px;
- background: rgba(0,0,0,0.2);
- border-radius: 8px;
- border: 1px solid #5c4a1c;
- }
- .background-thumbnail {
- width: 150px;
- height: 85px;
- background-size: cover;
- background-position: center;
- border: 3px solid #5c4a1c;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.3s;
- }
- .background-thumbnail:hover { transform: scale(1.05); border-color: #e9d8a6; }
- .background-thumbnail.selected { border-color: #6aae71; box-shadow: 0 0 15px #6aae71; transform: scale(1.05); }
- /* ZAKŁADKI ZARZĄDZANIA GRUPAMI */
- .tab-content {
- padding: 20px;
- border: 2px dashed #5c4a1c; /* Zmieniona ramka zakładek */
- border-radius: 8px;
- margin-top: 20px;
- background-color: rgba(0,0,0,0.1); /* Lekkie tło dla zakładek */
- }
- .invite-code-display {
- margin-top: 15px;
- padding: 10px;
- background-color: rgba(0,0,0,0.3);
- border-radius: 6px;
- text-align: center;
- font-size: 1.1em;
- border: 1px solid #8a714e;
- }
- .invite-code-display code {
- margin-left: 5%;
- background-color: #333;
- padding: 3px 6px;
- border-radius: 4px;
- font-family: 'Courier New', Courier, monospace;
- font-weight: bold;
- }
- /* LISTA GRUP */
- #groupListContainer .group-item {
- flex-direction: column;
- align-items: stretch;
- padding: 10px 20px;
- }
- .collapsible .collapsible-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- cursor: pointer;
- width: 100%;
- }
- .collapsible .header-controls {
- display: flex;
- align-items: center;
- gap: 15px;
- }
- .collapsible .toggle-collapse-btn {
- background: none;
- border: none;
- color: #bfa76f;
- font-size: 20px;
- cursor: pointer;
- padding: 0 5px;
- transition: transform 0.3s ease;
- }
- .collapsible .collapsible-content {
- max-height: 0;
- overflow: hidden;
- transition: max-height 0.4s ease-out;
- border-top: 1px solid #5c4a1c;
- margin-top: 10px;
- padding-top: 0;
- }
- .collapsible.expanded .collapsible-content {
- max-height: 1000px;
- transition: max-height 0.5s ease-in;
- padding-top: 15px;
- }
- .collapsible.expanded .toggle-collapse-btn {
- transform: rotate(180deg);
- }
- .group-members-list {
- list-style: none;
- padding: 0;
- }
- .remove-member-btn {
- background-color: transparent;
- padding: 2px 6px;
- font-size: 14px;
- box-shadow: none;
- color: #e74c3c;
- }
- /* Stopka */
- .footer {
- text-align: center;
- margin-top: 40px;
- font-size: 14px;
- color: #aaa;
- padding-bottom: 20px;
- }
- /* Kontekst timera */
- #currentTimerContext {
- font-style: italic;
- color: #bfa76f;
- }
- /* --- NOWE STYLE DLA ZAKŁADEK GRUP --- */
- .group-tabs-container {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 5px;
- margin-bottom: -2px; /* Lekkie nasunięcie na kontener treści */
- flex-wrap: wrap; /* Pozwala zakładkom zawijać się na mniejszych ekranach */
- }
- .group-tab-scarf {
- background: linear-gradient(160deg, #5c4a1c, #4a3a0c);
- color: #e0dccc;
- font-family: 'Georgia', serif;
- font-size: 16px;
- font-weight: bold;
- padding: 10px 30px 25px 30px;
- cursor: pointer;
- border: 2px solid #bfa76f;
- border-bottom: none;
- clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
- transition: all 0.2s ease-in-out;
- position: relative;
- top: 0;
- }
- .group-tab-scarf:hover {
- background: linear-gradient(160deg, #7a6a3c, #6a5a2c);
- top: -3px; /* Lekkie uniesienie przy najechaniu */
- }
- .group-tab-scarf.active {
- background: linear-gradient(160deg, #bfa76f, #8a714e);
- color: #1c1c1c;
- border-color: #e9d8a6;
- top: -5px; /* Aktywna zakładka jest bardziej wysunięta */
- }
- .tab-content-container {
- border: 4px solid #bfa76f;
- border-radius: 12px;
- padding: 25px;
- background-color: rgba(20, 20, 20, 0.7); /* Lekko inne tło dla odróżnienia */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement