@silexlabs/silex 3.0.0-alpha.151 → 3.0.0-alpha.152

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.
@@ -1,4 +1,6 @@
1
1
  import { Editor } from 'grapesjs';
2
+ export declare const PROJECT_BAR_PANEL_ID = "project-bar-panel";
3
+ export declare const containerPanelId = "project-bar-container";
2
4
  export interface PanelObject {
3
5
  command: string | ((editor: Editor) => void);
4
6
  text: string;
@@ -12,6 +14,7 @@ export interface PanelObject {
12
14
  text: string;
13
15
  className: string;
14
16
  }[];
17
+ onClick?: (editor: Editor) => void;
15
18
  }
16
19
  export declare const projectBarPlugin: (editor: any, opts: any) => void;
17
20
  export declare function addButton(editor: Editor, panel: PanelObject): void;
@@ -4286,6 +4286,10 @@ form.silex-form .silex-form__group.col2 {
4286
4286
  width: 35px;
4287
4287
  box-shadow: none;
4288
4288
  }
4289
+ .gjs-pn-project-bar-panel .gjs-pn-buttons .gjs-pn-btn.project-bar__dirty {
4290
+ background-color: #A291FF;
4291
+ color: white;
4292
+ }
4289
4293
  .gjs-pn-project-bar-panel .logo {
4290
4294
  background-image: url("../assets/logo-silex-small.png");
4291
4295
  background-repeat: no-repeat;
@@ -4338,14 +4342,8 @@ form.silex-form .silex-form__group.col2 {
4338
4342
  }
4339
4343
  .gjs-pn-project-bar-container .project-bar__panel-header .project-bar__panel-header-button {
4340
4344
  cursor: pointer;
4341
- font-size: large;
4342
- font-weight: 400;
4343
4345
  }
4344
4346
  .gjs-pn-project-bar-container .project-bar__panel-header .project-bar__panel-header-button span {
4345
- position: relative;
4346
- left: -2px;
4347
- top: -11px;
4348
- font-weight: bolder;
4349
4347
  background-color: #444;
4350
4348
  border-radius: 100%;
4351
4349
  display: inline-block;
@@ -4551,6 +4549,40 @@ form.silex-form .silex-form__group.col2 {
4551
4549
  border-right-color: #ddd;
4552
4550
  }
4553
4551
 
4552
+ .gjs-editor .gjs-notification {
4553
+ max-height: initial;
4554
+ text-align: left;
4555
+ }
4556
+
4557
+ .gjs-editor .gjs-notification,
4558
+ .gjs-editor .gjs-notification .gjs-sm-header,
4559
+ .gjs-editor .gjs-notification .gjs-notification__item,
4560
+ .gjs-editor .gjs-notification .gjs-notification__group > details,
4561
+ .gjs-editor .gjs-notification .gjs-notification__group > details > ul,
4562
+ .gjs-editor .gjs-notification .gjs-notification__group > details > summary,
4563
+ .gjs-editor .gjs-notification .gjs-notification__group {
4564
+ padding: 0;
4565
+ margin: 0;
4566
+ }
4567
+
4568
+ .gjs-editor .gjs-notification .gjs-notification__group,
4569
+ .gjs-editor .gjs-notification .gjs-notification__item {
4570
+ margin: 10px 0;
4571
+ padding: 10px 0;
4572
+ }
4573
+
4574
+ .gjs-editor .gjs-notification .gjs-notification__group .gjs-notification__item {
4575
+ margin-left: 10px;
4576
+ }
4577
+
4578
+ .gjs-suggest {
4579
+ max-height: 30vh;
4580
+ overflow-y: scroll;
4581
+ overflow-x: hidden;
4582
+ padding-top: 7px;
4583
+ border-bottom: solid #333333 7px;
4584
+ }
4585
+
4554
4586
  #gjs {
4555
4587
  flex: 1 1 auto;
4556
4588
  }
@@ -4659,6 +4691,42 @@ form.silex-form .silex-form__group.col2 {
4659
4691
  right: var(--viewsPanelWidth);
4660
4692
  }
4661
4693
 
4694
+ .top-style-section {
4695
+ position: sticky;
4696
+ top: -1px; /* Fixes a visual gap on the top */
4697
+ border-bottom: solid #575757 1px;
4698
+ background-color: #333333;
4699
+ box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3764705882);
4700
+ z-index: 999;
4701
+ }
4702
+
4703
+ .gjs-clm-label-sel {
4704
+ opacity: 0.5;
4705
+ }
4706
+
4707
+ .gjs-clm-sels-info {
4708
+ padding: 7px 0;
4709
+ margin: 0;
4710
+ overflow-x: scroll;
4711
+ }
4712
+
4713
+ .gjs-clm-sel-rule {
4714
+ word-break: break-all;
4715
+ }
4716
+
4717
+ #gjs-clm-tags-field.gjs-field {
4718
+ margin: 0;
4719
+ }
4720
+
4721
+ .gjs-clm-tags {
4722
+ padding-top: 7px;
4723
+ padding-bottom: 0;
4724
+ }
4725
+
4726
+ #gjs-clm-up {
4727
+ margin-top: 0;
4728
+ }
4729
+
4662
4730
  /*
4663
4731
  */
4664
4732
  .gjs-editor-cont .fa {