annotate sat_templates/templates/bulma/static/styles.css @ 252:a0e889d73bad

bulma (photo): slideshow CSS + template for slideshow and the comments panel used inside.
author Goffi <goffi@goffi.org>
date Thu, 16 Jul 2020 09:08:34 +0200
parents a841837afe78
children 7397d81dd633
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 :root {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 --photo-height: 280px;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 --photo-height--poster: 500px;
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
4 --col-primary: #82baff;
248
a841837afe78 css (bulma): use a variable for grey light
Goffi <goffi@goffi.org>
parents: 242
diff changeset
5 --grey-light: hsl(0, 0%, 71%);
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7
235
f5f428a50c10 chat, ticket: use `pre-wrap` instead of `pre` for whitespaces
Goffi <goffi@goffi.org>
parents: 230
diff changeset
8 .has-whitespace-pre-wrap {
f5f428a50c10 chat, ticket: use `pre-wrap` instead of `pre` for whitespaces
Goffi <goffi@goffi.org>
parents: 230
diff changeset
9 white-space: pre-wrap;
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 .is-avatar {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 height: 64px;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 width: 64px;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 border-radius: 50%;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 border: 1px solid #bbb;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 background-color: #eee;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 overflow: hidden;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 .is-photo-thumbnail {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 max-height: var(--photo-height);
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 max-width: 100%;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 .is-photo-thumbnail-container {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 height: var(--photo-height);
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 .has-items-centered {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 align-items: center;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 justify-content: center;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 .is-poster {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 height: var(--photo-height--poster) !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
38
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
39 .is-poster>.is-photo-thumbnail {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 max-height: var(--photo-height--poster) !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
41 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
42
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
43 .has-items-vcentered {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
44 align-items: center;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
45 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
46
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
47
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
48 .x-is-hoverable:hover {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
49 background-color: #eee !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
51
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
52 .x-is-hoverable-primary:hover {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
53 background-color: var(--col-primary) !important;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
54 border-radius: 50%;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
55 box-shadow: 0px 0px 0 0.25rem var(--col-primary);
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
56 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
57
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
58 .is-chat-message {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 margin: 0.5rem 0 0 !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
60 padding: 0 !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
61 border: 0 !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
63
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 a.is-wrapping {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
65 line-height: 0;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
66 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
67
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
68 .has-no-background {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
69 box-shadow: none !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 background-color: initial !important;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
71 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
72
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
73 .pagination-disabled {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
74 background-color: white;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
75 border-color: #dbdbdb;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 color: #b5b5b5;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
77 cursor: auto;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
78 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
79
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 .pagination-disabled:hover {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
81 background-color: white;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
82 border-color: #dbdbdb;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
83 color: #b5b5b5;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
84 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
85
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 .has-text-shortenable {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
87 overflow: hidden;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
88 text-overflow: ellipsis;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
90
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
91 .has-border-dashed {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
92 border-style: dashed;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
93 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
94
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
95 .has-border-grey-light {
248
a841837afe78 css (bulma): use a variable for grey light
Goffi <goffi@goffi.org>
parents: 242
diff changeset
96 border-color: var(--grey-light);
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
97 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
98
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
99 .has-justify-start {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
100 justify-content: start;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
101 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
102
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
103 /**************
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
104 * selections *
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
105 **************/
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
106
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
107 .selected_for_deletion {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
108 outline: solid red 0.25rem;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
109 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
110
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
111 /***************
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
112 * misc states *
248
a841837afe78 css (bulma): use a variable for grey light
Goffi <goffi@goffi.org>
parents: 242
diff changeset
113 ***************/
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
114
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
115 .state_deleted {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
116 opacity: 0;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
117 transform: scale(0);
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
118 transition: opacity 0.5s ease-out, transform 0.5s ease-out;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
119 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
120
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
121
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
122 /***********
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
123 * dialogs *
248
a841837afe78 css (bulma): use a variable for grey light
Goffi <goffi@goffi.org>
parents: 242
diff changeset
124 ***********/
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
125
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
126 .modal-content {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
127 transform: scaleY(0);
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
128 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
129
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
130 div.state_appended .modal-content {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
131 transform: scaleY(1);
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
132 transition: transform 0.15s ease-in;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
133 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
134
252
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
135 .click_to_close {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
136 cursor: pointer;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
137 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
138
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
139 /**********
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
140 * panels *
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
141 **********/
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
142
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
143 .panel_wrapper {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
144 position: absolute;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
145 top: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
146 right: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
147 height: 100vh;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
148 width: 100vw;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
149 z-index: 150;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
150 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
151
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
152 .comments_side_panel {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
153 position: absolute;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
154 top: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
155 right: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
156 height: 100vh;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
157 width: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
158 max-width: 80%;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
159 z-index: 200;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
160 background: white;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
161 transition: width 0.3s ease-out;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
162 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
163
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
164 .comments_side_panel.open {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
165 width: 55rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
166 transition: width 0.3s ease-out;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
167 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
168
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
169 /*************
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
170 * slideshow *
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
171 *************/
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
172
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
173 .slideshow {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
174 position: absolute;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
175 top: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
176 left: 0;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
177 width: 100vw;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
178 height: 100vh;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
179 background-color: black;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
180 color: white;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
181 z-index: 100;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
182 /* color: white; */
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
183 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
184
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
185 div.slideshow>button.delete {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
186 z-index: 100;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
187 background-color: var(--grey-light);
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
188 position: absolute;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
189 top: 1rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
190 right: 2rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
191 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
192
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
193 div.slideshow>div.click_to_comment {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
194 z-index: 100;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
195 position: absolute;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
196 right: 1.7rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
197 bottom: 2rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
198 cursor: pointer;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
199 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
200
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
201 div.slideshow>div.comments__count {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
202 z-index: 100;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
203 position: absolute;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
204 right: 1.7rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
205 bottom: 0.5rem;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
206 font-weight: bold;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
207 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
208
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
209 .swiper-slide {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
210 display: flex;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
211 align-items: center;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
212 justify-content: center;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
213 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
214
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
215 .swiper-container {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
216 height: 100%;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
217 width: 100%;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
218 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
219
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
220 .swiper-button-prev {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
221 left: 2.1rem !important;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
222 color: #f1f1f1 !important;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
223 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
224
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
225 .swiper-button-next {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
226 right: 2.1rem !important;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
227 color: #f1f1f1 !important;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
228 }
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
229
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
230 .slide_img {
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
231 max-height: 100%;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
232 max-width: 100%;
a0e889d73bad bulma (photo): slideshow
Goffi <goffi@goffi.org>
parents: 248
diff changeset
233 }
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
234
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
235 /***************
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
236 * progression *
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
237 ***************/
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
238
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
239 .progress_started img {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
240 filter: grayscale(100%);
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
241 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
243 .progress_finished img {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
244 filter: grayscale(0%);
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
245 transition: filter 1.5s ease-out;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
246 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
247
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
248 .progress_finished progress {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
249 height: 0;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
250 opacity: 0;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
251 transition: all 1.5s ease-out;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
252 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
253
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
254 .progress {
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
255 transition: width 5s ease;
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
256 }
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
257
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
258
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
259 /**********
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
260 * drawer *
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
261 **********/
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
262
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
263
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
264 .panel-drawer {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
265 /* A panel which is hidden by default but can be
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
266 opened when it's clicked */
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
267 max-height: 0;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
268 opacity: 0;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
269 overflow: hidden;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
270 transition: max-height 0.5s, opacity 0.5s;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
271 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
272
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
273 .panel-drawer.state_clicked {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
274 opacity: 1;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
275 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
276
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
277 /********
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
278 * code *
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
279 ********/
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
280
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
281 .highlight {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
282 overflow: auto;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
283 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
284
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
285 /**********
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
286 * blocks *
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
287 **********/
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
288
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
289 .block_separator {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
290 font-size: 1.4em;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
291 display: flex;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
292 margin: 1rem 0;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
293 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
294
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
295 .block_separator__label {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
296 display: inline-block;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
297 margin: 0 0.2em;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
298 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
299
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
300 .block_separator__line {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
301 height: 1px;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
302 background: #ccc;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
303 flex: 1;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
304 margin-top: 0.7em;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
305 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
306
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
307 /********
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
308 * tabs *
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
309 *******/
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
310
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
311 #tab_guests {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
312 overflow: auto;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
313 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
314
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
315 .tab__page {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
316 display: None;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
317 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
318
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
319 .tab__page.state_clicked {
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
320 display: block;
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
321 }