hrenpack-theme-style 1.0.0

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Маг Ильяс DOMA
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "hrenpack-theme-style",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/MagIlyasDOMA/hrenpack-theme-style.git"
8
+ },
9
+ "keywords": [
10
+ "hrenpack",
11
+ "frontend",
12
+ "css",
13
+ "bootstrap",
14
+ "dark-theme"
15
+ ],
16
+ "author": "MagIlyasDOMA",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/MagIlyasDOMA/hrenpack-theme-style/issues"
20
+ },
21
+ "homepage": "https://github.com/MagIlyasDOMA/hrenpack-theme-style#readme",
22
+ "description": "",
23
+ "dependencies": {
24
+ "hrenpack_js": "^1.0.1"
25
+ },
26
+ "devDependencies": {
27
+ "typescript": "^5.9.3"
28
+ }
29
+ }
package/style.css ADDED
@@ -0,0 +1,254 @@
1
+ @charset "UTF-8";
2
+ @import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
3
+
4
+
5
+ :root {
6
+ --hrenpack-background: #ededed;
7
+ --hrenpack-foreground: #121212;
8
+ --hrenpack-bg-ahren: #aaa;
9
+ --hrenpack-color-ahren: #222;
10
+ --hrenpack-background-er: #aaa;
11
+ --hrenpack-foreground-er: #222;
12
+ --hrenpack-a-hover-color: #c000c0;
13
+ --hrenpack-a-pressed-color: #f0f;
14
+ --hrenpack-button-hover-color: var(--hrenpack-a-hover-color);
15
+ --hrenpack-button-pressed-color: var(--hrenpack-a-pressed-color);
16
+ --hrenpack-fcu-border-radius: 0.375rem;
17
+ --hrenpack-fcu-border-width: 1px;
18
+ --hrenpack-fcu-border-style: solid;
19
+ --hrenpack-fcu-border-color: var(--hrenpack-a-hover-color);
20
+ --hrenpack-fcu-color: #212529;
21
+ --hrenpack-fcu-bg: #fff;
22
+ --hrenpack-fcu-grad: #fab;
23
+ --hrenpack-step-bar-circle-bg: var(--hrenpack-foreground);
24
+ --hrenpack-step-bar-circle-active-bg: var(--hrenpack-a-hover-color);
25
+ --hrenpack-step-bar-circle-completed-bg: var(--hrenpack-foreground);
26
+ --hrenpack-step-bar-circle-active-color: var(--hrenpack-background);
27
+ --hrenpack-step-bar-circle-completed-color: var(--hrenpack-background);
28
+ --hrenpack-step-bar-circle-border-color: var(--hrenpack-foreground);
29
+ --hrenpack-step-bar-circle-border-active-color: var(--hrenpack-a-hover-color);
30
+ --hrenpack-step-bar-circle-border-completed-color: var(--hrenpack-a-hover-color);
31
+ --hrenpack-step-bar-label-color: var(--hrenpack-foreground);
32
+ --hrenpack-step-bar-completed-label-color: var(--hrenpack-color-ahren);
33
+ --hrenpack-strip-color: #ddd;
34
+ --hrenpack-strip-color-dark: #333;
35
+ --hrenpack-purple-gradient-color: #ff88ff;
36
+ --hrenpack-purple-gradient: linear-gradient(135deg, var(--hrenpack-background) 0%, var(--hrenpack-purple-gradient-color) 100%);
37
+ --hrenpack-lighter-color: #456;
38
+ --hrenpack-e8-color: #e8e8e8;
39
+ }
40
+
41
+ * {
42
+ margin: 0;
43
+ padding: 0;
44
+ box-sizing: border-box;
45
+ }
46
+
47
+ body {
48
+ font-family: "PT Sans", serif;
49
+ font-weight: 400;
50
+ min-height: 100vh;
51
+ background: var(--hrenpack-background);
52
+ color: var(--hrenpack-foreground);
53
+ margin: 0;
54
+ }
55
+
56
+
57
+ h1, h2, h3, h4, h5, h6 {
58
+ text-align: center;
59
+ }
60
+
61
+ a, click-to-copy {
62
+ text-decoration: none;
63
+ color: var(--hrenpack-a-hover-color);
64
+ }
65
+
66
+ hr {
67
+ color: var(--hrenpack-a-hover-color);
68
+ position: relative;
69
+ top: 16px;
70
+ }
71
+
72
+ footer {
73
+ width: 100%;
74
+ background: #121212;
75
+ color: #ededed;
76
+ position: relative;
77
+ padding: 20px;
78
+ }
79
+
80
+ .btn-hren {
81
+ background: var(--hrenpack-foreground);
82
+ color: var(--hrenpack-background);
83
+ }
84
+
85
+ .btn-hren:hover {
86
+ background: var(--hrenpack-button-hover-color);
87
+ color: var(--hrenpack-foreground);
88
+ }
89
+
90
+ .btn-hren:active {
91
+ background-color: var(--hrenpack-button-hover-color);
92
+ color: var(--hrenpack-foreground);
93
+ }
94
+
95
+ .h-non-center {
96
+ text-align: left;
97
+ }
98
+
99
+ .h-non-block {
100
+ display: inline;
101
+ margin: 0;
102
+ padding: 0;
103
+ }
104
+
105
+ .form-control-unline, .form-control-hrenpack {
106
+ display: block;
107
+ width: 100%;
108
+ padding: .375rem .75rem;
109
+ font-size: 1rem;
110
+ font-weight: 400;
111
+ line-height: 1.5;
112
+ -webkit-appearance: none;
113
+ -moz-appearance: none;
114
+ appearance: none;
115
+ background-clip: padding-box;
116
+ border: var(--hrenpack-fcu-border-width) solid var(--hrenpack-fcu-border-color);
117
+ border-radius: var(--hrenpack-fcu-border-radius);
118
+ transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
119
+ outline: none;
120
+ }
121
+
122
+ table {
123
+ border: var(--hrenpack-foreground) solid 3px;
124
+
125
+ thead {
126
+ text-align: center;
127
+ font-weight: 600;
128
+ }
129
+
130
+ td {
131
+ border: var(--hrenpack-foreground) solid 1px;
132
+ }
133
+ }
134
+
135
+ .link-non-format {
136
+ color: inherit;
137
+ }
138
+
139
+ .form {
140
+ width: 30%;
141
+ margin-left: 35%;
142
+ padding: 10px;
143
+ background: linear-gradient(45deg, var(--hrenpack-fcu-grad), var(--hrenpack-background), var(--hrenpack-fcu-grad));
144
+ color: var(--hrenpack-foreground);
145
+ border: #AA22FF solid 2px;
146
+ border-radius: 10px;
147
+
148
+ input, select, textarea {
149
+ border: var(--hrenpack-a-hover-color) solid 1px;
150
+ outline: none !important;
151
+ }
152
+
153
+ label {
154
+ width: 100%;
155
+ text-align: center;
156
+ }
157
+
158
+ button, input[type="submit"] {
159
+ text-align: center;
160
+ width: 50%;
161
+ margin-left: 25%;
162
+ }
163
+ }
164
+
165
+ .vertical-line {
166
+ display: inline;
167
+ margin-inline-start: auto; /* Автоматический отступ слева */
168
+ margin-inline-end: auto; /* Автоматический отступ справа */
169
+ overflow: hidden; /* Скрывает выходящее за границы содержимое */
170
+ border-style: inset; /* Граница с эффектом "вдавленности" */
171
+ border-width: 1px; /* Толщина границы */
172
+ height: 100%;
173
+ background: var(--hrenpack-a-hover-color);
174
+ }
175
+
176
+ .undisabled {
177
+ pointer-events: auto !important;
178
+ cursor: default !important;
179
+ opacity: 1 !important;
180
+ border: inherit;
181
+ }
182
+
183
+ step-bar {
184
+ display: flex;
185
+ justify-content: space-between;
186
+ max-width: 80%;
187
+ margin-left: 10%;
188
+ }
189
+
190
+ #hrenpack-change-theme-div {
191
+ display: flex;
192
+ }
193
+
194
+ #hrenpack-change-theme-div #hrenpack-toggle-theme {
195
+ margin: 10px 10px 10px auto;
196
+ min-width: 10%;
197
+ max-width: 20%;
198
+ white-space: nowrap;
199
+ overflow: hidden;
200
+ text-overflow: ellipsis;
201
+ }
202
+
203
+ .grid-div {
204
+ display: grid;
205
+ grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
206
+ gap: 25px;
207
+ margin-bottom: 30px;
208
+ }
209
+
210
+ .grid-panel {
211
+ background: var(--hrenpack-background);
212
+ border-radius: 15px;
213
+ padding: 25px;
214
+ box-shadow: 0 8px 16px var(--hrenpack-a-pressed-color);
215
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
216
+ border-left: 5px solid var(--hrenpack-a-pressed-color);
217
+ }
218
+
219
+ .grid-panel:hover {
220
+ transform: translateY(-5px);
221
+ box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
222
+ }
223
+
224
+ .first-line-indent {
225
+ text-indent: 5%;
226
+ }
227
+
228
+ .singular-panel, .panel {
229
+ border-radius: 15px;
230
+ padding: 30px;
231
+ margin-bottom: 30px;
232
+ box-shadow: 0 10px 30px var(--hrenpack-a-pressed-color);
233
+ text-align: center;
234
+ }
235
+
236
+ .singular-panel__header, .panel__header {
237
+ display: flex;
238
+ justify-content: space-between;
239
+ align-items: center;
240
+ }
241
+
242
+ .singular-panel__header h1 {
243
+ font-size: 2.5em;
244
+ margin-bottom: 10px;
245
+ }
246
+
247
+ .code-block {
248
+ margin: 10px;
249
+ padding: 10px;
250
+ background: var(--hrenpack-bg-ahren);
251
+ color: var(--hrenpack-color-ahren);
252
+ border-radius: 10px;
253
+ font-weight: bold;
254
+ }
package/style_dark.css ADDED
@@ -0,0 +1,17 @@
1
+ @charset "UTF-8";
2
+ @import url('style.css');
3
+
4
+ :root {
5
+ --hrenpack-background: #121212;
6
+ --hrenpack-foreground: #ededed;
7
+ --hrenpack-fcu-grad: #612;
8
+ --hrenpack-background-er: #222;
9
+ --hrenpack-foreground-er: #aaa;
10
+ --hrenpack-bg-ahren: #222;
11
+ --hrenpack-color-ahren: #aaa;
12
+ --hrenpack-strip-color: #333;
13
+ --hrenpack-strip-color-dark: #ddd;
14
+ --hrenpack-purple-gradient-color: var(--hrenpack-a-hover-color);
15
+ --hrenpack-lighter-color: #cba;
16
+ --hrenpack-e8-color: #1f1f1f;
17
+ }
@@ -0,0 +1,2 @@
1
+ @charset "UTF-8";
2
+ @import url('style.css');