Logo ShareMyCode.io ShareMyCode.io
Partagez un extrait de code en quelques secondes.
Voici votre URL de partage
Cliquer pour copier dans le presse-papiers. Copié
Nom du fichier : Sans nom
:root {
    --primary-color: #77928b;
    --primary-dark: #5f7570;
    --primary-light: #9fb0ab;
    --accent-color: #4a90e2;

    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    --bg-main: #f5f7fa;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #eef1f0;

    --text-dark: #333333;
    --text-muted: #6c757d;

    --border-color: #e9ecef;

    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --transition: all 0.3s ease;
}

/* ================================
   BASE
================================ */
* {
    box-sizing: border-box;
    transition: var(--transition);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    min-height: 100vh;
}

/* ================================
   HEADER
================================ */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

/* ================================
   LAYOUT
================================ */
.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

@media (min-width: 768px) {
    .app {
        flex-direction: row;
    }
}

/* ================================
   SIDEBAR – TACHE & TACHE REPORT
================================ */

#taskList .task-item {
    background: rgba(255, 255, 255, 0.1);
    /* semi-transparent pour voir le dégradé */
    color: white;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

#taskList .task-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

#taskList .task-item.selected {
    background: white;
    color: var(--primary-color);
}

.sidebar {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

/* Header INBOX */
.sidebar .mb-4 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Search */
.search-container {
    position: relative;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 25px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-light);
    color: var(--text-dark);
}

.search-container::before {
    content: "🔍";
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Task items */
.sidebar .task-item {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.sidebar .task-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

/* Task sélectionnée */
.sidebar .task-item.selected {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
}

.sidebar .task-item.selected h6,
.sidebar .task-item.selected p,
.sidebar .task-item.selected small {
    color: var(--primary-color) !important;
}

/* ================================
   MAIN CONTENT
================================ */
.main-content {
    flex: 1;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header message */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
}

/* ================================
   MESSAGES
================================ */
#message-container {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-secondary);
    overflow-y: auto;
}

.message {
    max-width: 70%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    animation: fadeIn 0.3s ease;
    transition: var(--transition);
}

.message.sent {
    margin-left: auto;
    background: linear-gradient(135deg, var(--success-color), #218838);
    color: white;
}

.message.received {
    background: white;
    border: 1px solid var(--border-color);
}

/* ================================
   INPUT MESSAGE
================================ */
.new-message {
    background: white;
    border-top: 3px solid var(--primary-color);
    padding: 1.5rem;
}

.textarea-content textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.textarea-content textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(119, 146, 139, 0.2);
}

/* ================================
   BOUTONS
================================ */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ================================
   MODAL
================================ */
.modal-content {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
Informations
Cet extrait a été créé le
10 Feb 2026 à 15:40:39
Cet extrait expire le
12 Mar 2026 à 15:40:39
Langage :
php
Lien
Demander la suppression