platzky 1.2.1__py3-none-any.whl → 1.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
platzky/static/styles.css CHANGED
@@ -1,6 +1,17 @@
1
- html,
1
+ html {
2
+ height: 100%;
3
+ overflow: hidden;
4
+ }
5
+
2
6
  body {
3
7
  height: 100%;
8
+ overflow: hidden;
9
+ }
10
+
11
+ /* Prevent page-level scrollbar */
12
+ .container-fluid {
13
+ overflow: hidden;
14
+ max-height: 100vh;
4
15
  }
5
16
 
6
17
  .logo {
@@ -12,15 +23,131 @@ body {
12
23
  position: relative;
13
24
  flex-grow: 1;
14
25
  z-index: 0;
26
+ overflow: hidden;
27
+ }
28
+
29
+ /* Main content area scrolling */
30
+ main {
31
+ overflow-y: auto;
32
+ min-height: 0;
33
+ }
34
+
35
+ /* Constrain left panel column to main-row height */
36
+ .col-auto.left-panel {
37
+ max-height: 100%;
38
+ overflow: hidden;
15
39
  }
16
40
 
17
41
  .left-panel-contents {
18
- padding: 16px;
42
+ padding: 0 16px 16px 16px;
43
+ }
44
+
45
+ /* Panel body scrolling */
46
+ #left-panel .offcanvas-body {
47
+ padding-top: 0;
48
+ overflow-y: auto;
49
+ flex: 1;
50
+ min-height: 0;
51
+ scrollbar-width: thin;
52
+ scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
53
+ }
54
+
55
+ /* Panel header with close button - consistent spacing */
56
+ #left-panel .offcanvas-header {
57
+ padding: 8px 16px;
58
+ min-height: auto;
59
+ flex-shrink: 0;
60
+ }
61
+
62
+ /* Modern close button */
63
+ #left-panel .btn-close {
64
+ width: 32px;
65
+ height: 32px;
66
+ padding: 0;
67
+ background-color: rgba(255, 255, 255, 0.15);
68
+ border-radius: 50%;
69
+ opacity: 1;
70
+ transition: background-color 0.2s ease, transform 0.2s ease;
71
+ }
72
+
73
+ #left-panel .btn-close:hover {
74
+ background-color: rgba(255, 255, 255, 0.25);
75
+ transform: scale(1.05);
76
+ }
77
+
78
+ #left-panel .btn-close:focus {
79
+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
80
+ }
81
+
82
+ /* Custom scrollbar for panel body (webkit) */
83
+ #left-panel .offcanvas-body::-webkit-scrollbar {
84
+ width: 6px;
85
+ }
86
+
87
+ #left-panel .offcanvas-body::-webkit-scrollbar-track {
88
+ background: transparent;
19
89
  }
20
90
 
21
- @media only screen and (min-width: 768px) {
91
+ #left-panel .offcanvas-body::-webkit-scrollbar-thumb {
92
+ background-color: rgba(255, 255, 255, 0.3);
93
+ border-radius: 3px;
94
+ }
95
+
96
+ #left-panel .offcanvas-body::-webkit-scrollbar-thumb:hover {
97
+ background-color: rgba(255, 255, 255, 0.5);
98
+ }
99
+
100
+ /* Filter category groups */
101
+ #filter-form form > div {
102
+ margin-bottom: 20px;
103
+ padding-bottom: 0;
104
+ }
105
+
106
+ /* Filter category header container */
107
+ #filter-form form > div > div:first-child {
108
+ margin-bottom: 10px;
109
+ padding-bottom: 6px;
110
+ border-bottom: 1px solid rgba(255, 255, 255, 0.15);
111
+ }
112
+
113
+ /* Filter category title */
114
+ #filter-form form > div > div:first-child > span {
115
+ font-size: 0.75rem;
116
+ font-weight: 600;
117
+ text-transform: uppercase;
118
+ letter-spacing: 0.5px;
119
+ opacity: 0.85;
120
+ }
121
+
122
+ /* Filter checkbox labels */
123
+ #filter-form form > div > label {
124
+ display: flex;
125
+ align-items: center;
126
+ padding: 6px 8px;
127
+ margin: 0 -8px;
128
+ cursor: pointer;
129
+ transition: background-color 0.15s ease;
130
+ border-radius: 4px;
131
+ }
132
+
133
+ #filter-form form > div > label:hover {
134
+ background-color: rgba(255, 255, 255, 0.1);
135
+ }
136
+
137
+ @media only screen and (min-width: 992px) {
22
138
  #left-panel {
23
- inline-size: calc(100vw * 0.1666666667);
139
+ position: relative;
140
+ inline-size: 220px;
141
+ max-width: 220px;
142
+ width: 220px;
143
+ display: flex;
144
+ flex-direction: column;
145
+ max-height: 100%;
146
+ }
147
+
148
+ /* Add some top padding on desktop to match mobile visual balance */
149
+ #left-panel .offcanvas-body {
150
+ padding-top: 8px;
24
151
  }
25
152
  }
26
153
 
@@ -34,15 +161,6 @@ body {
34
161
  width: auto;
35
162
  }
36
163
 
37
- #filter-form form > div {
38
- padding-bottom: 1rem;
39
- }
40
-
41
- #filter-form form div > span {
42
- font-weight: bold;
43
- padding-bottom: 0.5rem;
44
- }
45
-
46
164
  .dropdown-menu {
47
165
  z-index: 1;
48
166
  }
@@ -51,10 +169,6 @@ body {
51
169
  padding: 0;
52
170
  }
53
171
 
54
- .btn-close {
55
- opacity: 1;
56
- }
57
-
58
172
  i.fi {
59
173
  margin: 0 0.5em;
60
174
  }
@@ -71,22 +71,21 @@
71
71
 
72
72
  <div class="row g-0" id="main-row">
73
73
  {% if self.left_panel() %}
74
- <div class="col-lg-2 left-panel" >
74
+ <div class="col-auto left-panel" >
75
75
  <div id="left-panel" class="left-panel offcanvas-lg offcanvas-start" aria-modal="true" role="dialog">
76
- <div class="offcanvas-body d-flex">
76
+ <div class="offcanvas-header d-lg-none justify-content-end">
77
+ <button type="button" class="btn-close btn-close-white" data-bs-dismiss="offcanvas" data-bs-target="#left-panel" aria-label="{{ _('Close left panel') }}"></button>
78
+ </div>
79
+ <div class="offcanvas-body">
77
80
  <div class="left-panel-contents">
78
81
  {% block left_panel %}{% endblock %}
79
82
  </div>
80
- <div class="offcanvas-header justify-content-between align-items-start">
81
- <button type="button" class="btn-close btn-close-white" data-bs-dismiss="offcanvas" data-bs-target="#left-panel" ></button>
82
- </div>
83
-
84
83
  </div>
85
84
  </div>
86
85
 
87
86
  </div>
88
87
  {% endif %}
89
- <div class="h-100 {% if self.left_panel() %} col-lg-10 {% else %} col-lg-12 {% endif %}">
88
+ <div class="h-100 {% if self.left_panel() %} col {% else %} col-lg-12 {% endif %}">
90
89
  <main class="h-100">
91
90
  {% block content %}{% endblock %}
92
91
  </main>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: platzky
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Not only blog engine
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -27,10 +27,10 @@ platzky/plugin/plugin.py,sha256=KZb6VEph__lx9xrv5Ay4h4XkFFYbodV5OimaG6B9IDc,2812
27
27
  platzky/plugin/plugin_loader.py,sha256=eKG6zodUCkiRLxJ2ZX9zdN4-ZrZ9EwssoY1SDtThaFo,6707
28
28
  platzky/seo/seo.py,sha256=cguipDKHYBd0J4M8q8t5QNk3bmUIavXp9V3Ugv0UouU,3854
29
29
  platzky/static/blog.css,sha256=TrppzgQbj4UtuTufDCdblyNTVAqgIbhD66Cziyv_xnY,7893
30
- platzky/static/styles.css,sha256=U5ddGIK-VcGRJZ3BdOpMp0pR__k6rNEMsuQXkP4tFQ0,686
30
+ platzky/static/styles.css,sha256=wLUug7kd3S3aXylkq6eDKiGEeHD7CfP0RsDBZnahlhc,3184
31
31
  platzky/telemetry.py,sha256=iXYvEt0Uw5Hx8lAxyr45dpQ_SiE2NxmJkoSx-JSRJyM,5011
32
32
  platzky/templates/404.html,sha256=EheoLSWylOscLH8FmcMA4c6Jw14i5HkSvE_GXzGIrUo,78
33
- platzky/templates/base.html,sha256=clvWlVOxNLqSQxBpPao3qnKKzkU2q48Apf1WbHJgYfE,4003
33
+ platzky/templates/base.html,sha256=pFvce3WQ3aDuuz7lfcYI9khzH-WjsIUj8KNpwwebVcE,4011
34
34
  platzky/templates/blog.html,sha256=aPl-DzLX85bHv7tN8UjlABR086PUJ9IGlGbIBioFHGA,1281
35
35
  platzky/templates/body_meta.html,sha256=bRHG_BF-jloBLXASrpJVO6hDfpzq3MqMpJTXt9fLHJk,323
36
36
  platzky/templates/dynamic_css.html,sha256=a1AeodEVwM_JAw1ySQkYN1xnKLydTXm2YzQwmjqlSyg,629
@@ -41,7 +41,7 @@ platzky/templates/post.html,sha256=GSgjIZsOQKtNx3cEbquSjZ5L4whPnG6MzRyoq9k4B8Q,1
41
41
  platzky/templates/robots.txt,sha256=2_j2tiYtYJnzZUrANiX9pvBxyw5Dp27fR_co18BPEJ0,116
42
42
  platzky/templates/sitemap.xml,sha256=iIJZ91_B5ZuNLCHsRtsGKZlBAXojOTP8kffqKLacgvs,578
43
43
  platzky/www_handler.py,sha256=pF6Rmvem1sdVqHD7z3RLrDuG-CwAqfGCti50_NPsB2w,725
44
- platzky-1.2.1.dist-info/METADATA,sha256=0LIO-7G1YnqVwinorr24GPlOBBE0RPIR_Q99FfuvrkA,2556
45
- platzky-1.2.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
46
- platzky-1.2.1.dist-info/licenses/LICENSE,sha256=wCdfk-qEosi6BDwiBulMfKMi0hxp1UXV0DdjLrRm788,1077
47
- platzky-1.2.1.dist-info/RECORD,,
44
+ platzky-1.2.2.dist-info/METADATA,sha256=X-0JrkrtD11LPZthFnzRinn3fjUXiWYRXnnkEzjgMcg,2556
45
+ platzky-1.2.2.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
46
+ platzky-1.2.2.dist-info/licenses/LICENSE,sha256=wCdfk-qEosi6BDwiBulMfKMi0hxp1UXV0DdjLrRm788,1077
47
+ platzky-1.2.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.2.1
2
+ Generator: poetry-core 2.3.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any