aboutsummaryrefslogtreecommitdiff
path: root/static/css/journals/edit_entry.css
blob: f827af7d14fbab55ebb4e152c0c89d0b2e9a48bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* Edit Entry Tab Bar */
.edit-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid rgba(150, 181, 255, 0.2);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.edit-tab {
    padding: 10px 16px;
    color: #96b5ff !important;
    text-decoration: none !important;
    background: none;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.edit-tab:hover {
    background: rgba(150, 181, 255, 0.1);
    color: #ffffff !important;
    text-decoration: none !important;
}

.edit-tab.active {
    background: rgba(150, 181, 255, 0.2);
    color: #8d8dff !important;
    border-bottom: 2px solid #8d8dff;
}

.tab-close {
    font-size: 14px;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    padding: 2px;
}

.tab-close:hover {
    opacity: 1;
    color: #ff6b6b;
}

/* Add Language Button & Dropdown */
.add-lang-wrapper {
    position: relative;
    display: inline-block;
}

.add-lang-btn {
    font-size: 18px;
    padding: 8px 14px;
    color: #96b5ff;
}

.add-lang-btn:hover {
    color: #ffffff;
}

.edit-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(150, 181, 255, 0.2);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 100;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-top: 4px;
    padding: 4px 0;
}

.edit-lang-dropdown.show {
    display: block;
}

.edit-lang-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    transition: all 0.2s ease;
}

.edit-lang-dropdown-item:hover {
    background: rgba(150, 181, 255, 0.1);
}

/* Tab Content Panels */
.edit-tab-content {
    display: none;
    padding: 24px 0;
}

.edit-tab-content.active {
    display: block;
}

.edit-tab-content .form-group {
    margin-bottom: 20px;
}

/* Settings tab - slug input */
.slug-input-group {
    display: flex;
    border: 1px solid rgba(141, 141, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.slug-input-group:focus-within {
    border-color: #8d8dff;
}

.slug-prefix {
    padding: 10px 12px;
    background: rgba(141, 141, 255, 0.1);
    color: #8d8dff;
    border-right: 1px solid rgba(141, 141, 255, 0.3);
    white-space: nowrap;
}

.slug-input {
    border: none;
    background: transparent;
    flex: 1;
}

/* Delete entry button - matches journal settings delete style */
#delete-entry-btn {
    background: rgba(255, 107, 107, 0.1) !important;
    border-color: rgba(255, 107, 107, 0.3) !important;
    color: #ff6b6b !important;
}

#delete-entry-btn:hover {
    background: rgba(255, 107, 107, 0.2) !important;
    border-color: rgba(255, 107, 107, 0.4) !important;
    color: #ffffff !important;
}