@silexlabs/silex 3.6.6 → 3.7.0-canary.1

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.
@@ -4038,7 +4038,7 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
4038
4038
  --gjs-primary-darker: #111111;
4039
4039
  --gjs-primary-lighter: #1D1D1D;
4040
4040
  --gjs-main-color: #1A1A1A;
4041
- --gjs-main-dark-color: rgba(0, 0, 0, 0.3);
4041
+ --gjs-main-dark-color: #141414;
4042
4042
  --gjs-secondary-dark-color: rgba(0, 0, 0, 0.15);
4043
4043
  --gjs-main-light-color: rgba(255, 255, 255, 0.08);
4044
4044
  --gjs-secondary-light-color: rgba(255, 255, 255, 0.5);
@@ -4087,6 +4087,10 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
4087
4087
  --gjs-dark-text-shadow: rgba(0, 0, 0, 0.4);
4088
4088
  }
4089
4089
 
4090
+ body {
4091
+ overflow: hidden;
4092
+ }
4093
+
4090
4094
  .gjs-editor-cont ::-webkit-scrollbar {
4091
4095
  width: 10px;
4092
4096
  height: 10px;
@@ -4191,6 +4195,220 @@ textarea:focus {
4191
4195
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
4192
4196
  }
4193
4197
 
4198
+ .gjs-sm-sector-title {
4199
+ background-color: var(--silex-active-bg);
4200
+ border-bottom: 1px solid var(--silex-border-color-strong);
4201
+ transition: background-color var(--silex-transition-fast) ease;
4202
+ }
4203
+ .gjs-sm-sector-title:hover {
4204
+ background-color: var(--silex-hover-bg);
4205
+ }
4206
+
4207
+ .gjs-sm-properties {
4208
+ background-color: var(--silex-bg-surface);
4209
+ }
4210
+
4211
+ .gjs-field {
4212
+ border: 1px solid var(--silex-border-color-strong);
4213
+ border-radius: 4px;
4214
+ transition: border-color var(--silex-transition-fast) ease;
4215
+ }
4216
+ .gjs-field:hover {
4217
+ border-color: var(--gjs-secondary-light-color);
4218
+ }
4219
+ .gjs-field:focus-within {
4220
+ border-color: var(--silex-accent-primary);
4221
+ }
4222
+
4223
+ .gjs-field-range {
4224
+ border: none;
4225
+ background-color: transparent;
4226
+ border-radius: 0;
4227
+ }
4228
+
4229
+ .gjs-editor-cont input[id$=filter-styles].gjs-field {
4230
+ border-radius: 9999px;
4231
+ background-color: var(--gjs-primary-darker);
4232
+ border: 1px solid var(--silex-border-color-strong);
4233
+ padding: 5px 12px;
4234
+ font-size: 11px;
4235
+ }
4236
+
4237
+ .gjs-clm-tags {
4238
+ background-color: var(--silex-badge-bg);
4239
+ padding: 4px 5px;
4240
+ }
4241
+
4242
+ .gjs-clm-sels-info {
4243
+ padding: 2px 0;
4244
+ margin: 0;
4245
+ }
4246
+
4247
+ .gjs-clm-tags .gjs-clm-header-status {
4248
+ font-size: 11px;
4249
+ opacity: 0.6;
4250
+ padding: 2px 0;
4251
+ }
4252
+
4253
+ .gjs-pn-panel .gjs-pn-buttons {
4254
+ padding: 2px 0;
4255
+ }
4256
+
4257
+ .gjs-sm-property.gjs-sm-composite {
4258
+ background-color: rgba(136, 115, 254, 0.04);
4259
+ border: 1px solid rgba(136, 115, 254, 0.08);
4260
+ border-radius: 6px;
4261
+ padding: 8px;
4262
+ margin-top: 4px;
4263
+ }
4264
+ .gjs-sm-property.gjs-sm-composite > .gjs-sm-label {
4265
+ color: var(--silex-accent-primary);
4266
+ text-transform: uppercase;
4267
+ font-size: 9px;
4268
+ font-weight: 700;
4269
+ letter-spacing: 0.05em;
4270
+ margin-bottom: 6px;
4271
+ }
4272
+ .gjs-sm-property.gjs-sm-composite .gjs-sm-properties {
4273
+ background-color: transparent;
4274
+ }
4275
+ .gjs-sm-property.gjs-sm-composite .gjs-field {
4276
+ border-color: rgba(136, 115, 254, 0.12);
4277
+ }
4278
+
4279
+ .gjs-field-range input[type=range] {
4280
+ accent-color: var(--silex-accent-primary);
4281
+ }
4282
+ .gjs-field-range input[type=range]::-webkit-slider-thumb {
4283
+ background-color: var(--silex-accent-primary);
4284
+ }
4285
+ .gjs-field-range input[type=range]::-webkit-slider-runnable-track {
4286
+ background-color: var(--silex-accent-primary);
4287
+ opacity: 0.4;
4288
+ }
4289
+ .gjs-field-range input[type=range]::-moz-range-thumb {
4290
+ background-color: var(--silex-accent-primary);
4291
+ }
4292
+ .gjs-field-range input[type=range]::-moz-range-track {
4293
+ background-color: var(--silex-accent-primary);
4294
+ opacity: 0.4;
4295
+ }
4296
+ .gjs-field-range input[type=range]::-moz-range-progress {
4297
+ background-color: var(--silex-accent-primary);
4298
+ }
4299
+
4300
+ .gjs-sm-sector .gjs-sm-label {
4301
+ font-size: 10px;
4302
+ color: var(--silex-text-secondary);
4303
+ }
4304
+
4305
+ .gjs-sm-property {
4306
+ margin-bottom: 2px;
4307
+ }
4308
+
4309
+ .gjs-pn-btn.fa-paint-brush {
4310
+ font-size: 0;
4311
+ position: relative;
4312
+ width: 20px;
4313
+ height: 20px;
4314
+ }
4315
+ .gjs-pn-btn.fa-paint-brush::before {
4316
+ content: "";
4317
+ display: block;
4318
+ width: 12px;
4319
+ height: 12px;
4320
+ border-radius: 50%;
4321
+ background-color: var(--gjs-secondary-color);
4322
+ position: absolute;
4323
+ top: 50%;
4324
+ left: 50%;
4325
+ transform: translate(-50%, -50%);
4326
+ }
4327
+ .gjs-pn-btn.fa-paint-brush.gjs-pn-active::before {
4328
+ background-color: var(--silex-accent-primary);
4329
+ }
4330
+
4331
+ .gjs-pn-btn {
4332
+ opacity: 0.6;
4333
+ transition: opacity 0.15s;
4334
+ }
4335
+ .gjs-pn-btn.gjs-pn-active, .gjs-pn-btn:hover {
4336
+ opacity: 1;
4337
+ }
4338
+
4339
+ .gjs-pn-views {
4340
+ padding: 4px;
4341
+ border-bottom: 1px solid var(--silex-border-color-strong);
4342
+ }
4343
+
4344
+ .gjs-traits-label {
4345
+ text-transform: uppercase;
4346
+ font-size: 0.65rem;
4347
+ font-weight: 600;
4348
+ letter-spacing: 0.05em;
4349
+ color: var(--silex-text-secondary);
4350
+ padding: 8px 10px;
4351
+ border-bottom: 1px solid var(--silex-border-color-strong);
4352
+ }
4353
+
4354
+ .gjs-sm-sector-title[data-sector-title] {
4355
+ text-transform: uppercase;
4356
+ font-size: 0.65rem;
4357
+ font-weight: 600;
4358
+ letter-spacing: 0.05em;
4359
+ }
4360
+
4361
+ .gjs-trt-trait {
4362
+ padding: 3px 10px;
4363
+ }
4364
+
4365
+ .gjs-trait-category .gjs-title {
4366
+ background-color: var(--silex-active-bg);
4367
+ border-bottom: 1px solid var(--silex-border-color-strong);
4368
+ text-transform: uppercase;
4369
+ font-size: 0.65rem;
4370
+ font-weight: 600;
4371
+ letter-spacing: 0.05em;
4372
+ padding: 8px 10px;
4373
+ transition: background-color var(--silex-transition-fast) ease;
4374
+ }
4375
+ .gjs-trait-category .gjs-title:hover {
4376
+ background-color: var(--silex-hover-bg);
4377
+ }
4378
+
4379
+ .gjs-pn-panel .ds-state__actions button,
4380
+ .ds-state__actions button {
4381
+ background: transparent;
4382
+ border: 1px solid var(--silex-border-color-strong);
4383
+ border-radius: 4px;
4384
+ color: var(--silex-text-secondary);
4385
+ opacity: 0.5;
4386
+ padding: 4px 8px;
4387
+ font-size: 11px;
4388
+ transition: opacity var(--silex-transition-fast) ease;
4389
+ }
4390
+ .gjs-pn-panel .ds-state__actions button:hover,
4391
+ .ds-state__actions button:hover {
4392
+ opacity: 1;
4393
+ border-color: var(--gjs-secondary-light-color);
4394
+ }
4395
+
4396
+ .ds-state-editor__options {
4397
+ --ds-button-color: var(--silex-text-primary);
4398
+ --ds-button-bg: var(--silex-input-bg);
4399
+ --ds-button-border: var(--silex-border-color-strong);
4400
+ }
4401
+
4402
+ .ds-section .buttons button,
4403
+ .ds-section .buttons input {
4404
+ opacity: 0.5;
4405
+ transition: opacity var(--silex-transition-fast) ease;
4406
+ }
4407
+ .ds-section .buttons button:hover,
4408
+ .ds-section .buttons input:hover {
4409
+ opacity: 1;
4410
+ }
4411
+
4194
4412
  /* Silex styles imports */
4195
4413
  .silex-link-action {
4196
4414
  margin-left: 0.5em;
@@ -5032,10 +5250,6 @@ details.silex-more label,
5032
5250
  content: "→";
5033
5251
  }
5034
5252
 
5035
- .gjs-block {
5036
- width: 84px;
5037
- }
5038
-
5039
5253
  .gjs-pn-project-bar-container {
5040
5254
  top: 40px;
5041
5255
  width: 13%;
@@ -5431,6 +5645,7 @@ details.silex-more label,
5431
5645
  }
5432
5646
  #publish-dialog main details .logs {
5433
5647
  font-family: monospace;
5648
+ white-space: pre-line;
5434
5649
  }
5435
5650
  #publish-dialog main details .logs * {
5436
5651
  margin: 0;
@@ -5623,11 +5838,11 @@ details.silex-more label,
5623
5838
 
5624
5839
  .top-style-section {
5625
5840
  position: sticky;
5626
- top: -1px; /* Fixes a visual gap on the top */
5841
+ top: 0;
5627
5842
  border-bottom: solid var(--silex-border-color-strong) 1px;
5628
5843
  background-color: var(--silex-bg-main);
5629
- box-shadow: var(--silex-shadow-lg);
5630
- z-index: 999;
5844
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
5845
+ z-index: 10;
5631
5846
  }
5632
5847
 
5633
5848
  .gjs-clm-label-sel {
@@ -5673,6 +5888,11 @@ details.silex-more label,
5673
5888
  background: var(--gjs-main-dark-color);
5674
5889
  }
5675
5890
 
5891
+ .gjs-field.gjs-field-plugin-unwrap {
5892
+ width: fit-content;
5893
+ border: 1px solid rgba(136, 115, 254, 0.3);
5894
+ }
5895
+
5676
5896
  /*
5677
5897
  */
5678
5898
  .gjs-editor-cont .fa {
@@ -5765,7 +5985,12 @@ details.silex-more label,
5765
5985
  }
5766
5986
 
5767
5987
  .gjs-sm-sector .gjs-sm-sector-label {
5988
+ margin: 0;
5768
5989
  margin-right: 0.3em;
5990
+ text-transform: uppercase;
5991
+ font-size: 0.65rem;
5992
+ letter-spacing: 0.05em;
5993
+ font-weight: 600;
5769
5994
  }
5770
5995
 
5771
5996
  .fa-grip-vertical:before {
@@ -5778,7 +6003,19 @@ details.silex-more label,
5778
6003
  content: "o";
5779
6004
  display: none;
5780
6005
  margin-left: 0.4em;
5781
- order: 5;
6006
+ }
6007
+
6008
+ .gjs-sm-sector .gjs-sm-sector-label {
6009
+ order: 1;
6010
+ }
6011
+
6012
+ .gjs-sm-sector .gjs-sm-sector-title::before, .gjs-sm-sector .gjs-sm-sector-title::after {
6013
+ order: 2;
6014
+ }
6015
+
6016
+ .gjs-sm-sector .gjs-sm-sector-caret {
6017
+ order: 3;
6018
+ margin-left: auto;
5782
6019
  }
5783
6020
 
5784
6021
  .gjs-sm-sector:has(.gjs-sm-label.gjs-four-color) .gjs-sm-sector-title::before {
@@ -5795,6 +6032,11 @@ details.silex-more label,
5795
6032
  z-index: 999;
5796
6033
  }
5797
6034
 
6035
+ .silex-sm-background-image-btn {
6036
+ width: 100%;
6037
+ margin-top: 4px;
6038
+ }
6039
+
5798
6040
  /**
5799
6041
  * PANELS.SCSS
5800
6042
  * Unified styling for all left-side panels (Blocks, Pages, Symbols, Layers)
@@ -5828,56 +6070,6 @@ details.silex-more label,
5828
6070
  padding: 8px;
5829
6071
  }
5830
6072
 
5831
- .gjs-blocks-c .gjs-block-category {
5832
- margin-bottom: 8px;
5833
- }
5834
- .gjs-blocks-c .gjs-block-category .gjs-title {
5835
- padding: 8px 12px;
5836
- background-color: var(--silex-bg-lighter);
5837
- border: 1px solid var(--silex-border-color);
5838
- border-radius: 6px;
5839
- font-size: 12px;
5840
- font-weight: 600;
5841
- text-transform: uppercase;
5842
- letter-spacing: 0.05em;
5843
- color: var(--silex-text-secondary);
5844
- cursor: pointer;
5845
- transition: all var(--silex-transition-fast);
5846
- }
5847
- .gjs-blocks-c .gjs-block-category .gjs-title:hover {
5848
- background-color: var(--silex-hover-bg);
5849
- color: var(--silex-text-primary);
5850
- border-color: var(--silex-accent-primary);
5851
- }
5852
- .gjs-blocks-c .gjs-block-category .gjs-blocks-c {
5853
- padding: 8px 0;
5854
- }
5855
- .gjs-blocks-c .gjs-block {
5856
- margin: 6px;
5857
- padding: 12px;
5858
- background-color: var(--silex-bg-lighter);
5859
- border: 1px solid var(--silex-border-color);
5860
- border-radius: 6px;
5861
- transition: all var(--silex-transition-fast);
5862
- }
5863
- .gjs-blocks-c .gjs-block:hover {
5864
- background-color: var(--silex-hover-bg);
5865
- border-color: var(--silex-accent-primary);
5866
- transform: translateY(-2px);
5867
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
5868
- }
5869
- .gjs-blocks-c .gjs-block .gjs-block-label {
5870
- font-size: 11px;
5871
- color: var(--silex-text-secondary);
5872
- margin-top: 8px;
5873
- }
5874
- .gjs-blocks-c .gjs-block {
5875
- /* symbols */
5876
- }
5877
- .gjs-blocks-c .gjs-block.symbols__symbol-selected {
5878
- border-color: var(--silex-accent-primary);
5879
- }
5880
-
5881
6073
  .page-panel-container .pages .pages__main {
5882
6074
  padding: 4px;
5883
6075
  }
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?898030"><style>body {
1
+ <!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?310261"><style>body {
2
2
  background-color: #444444;
3
3
  font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
4
4
  }
@@ -7,5 +7,5 @@
7
7
  transition: opacity 0.25s 0.25s ease-in-out;
8
8
  }
9
9
  </style></head><body class="silex-loading"><div class="silex-loader silex-dialog" role="status" aria-live="polite" aria-busy="true">Loading
10
- </div><link rel="stylesheet" type="text/css" href="css/admin.css?810253"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?810253"></script><script>silex.start()
10
+ </div><link rel="stylesheet" type="text/css" href="css/admin.css?594904"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?594904"></script><script>silex.start()
11
11
  // From here silex.config is available and Silex is getting started</script></body></html>