@silexlabs/silex 3.0.0-alpha.126 → 3.0.0-alpha.127
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/dist/client/css/admin.css +96 -8
- package/dist/client/js/main.js +137 -100
- package/dist/plugins/client/client/grapesjs/PublicationUi.js +3 -4
- package/dist/plugins/client/client/grapesjs/PublicationUi.js.map +1 -1
- package/dist/plugins/client/client/grapesjs/page-panel.js +24 -0
- package/dist/plugins/client/client/grapesjs/page-panel.js.map +1 -1
- package/dist/plugins/client/client/grapesjs/settings.js +133 -67
- package/dist/plugins/client/client/grapesjs/settings.js.map +1 -1
- package/package.json +1 -1
- package/src/css/_variables.scss +2 -2
- package/src/css/dialog.scss +22 -1
- package/src/css/fonts.scss +31 -0
- package/src/css/grapesjs.scss +11 -0
- package/src/css/index.scss +1 -0
- package/src/css/silex.scss +33 -5
- package/src/ts/client/grapesjs/PublicationUi.ts +3 -4
- package/src/ts/client/grapesjs/page-panel.ts +25 -0
- package/src/ts/client/grapesjs/settings.ts +134 -67
|
@@ -3863,10 +3863,14 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
|
3863
3863
|
width: 100%;
|
|
3864
3864
|
}
|
|
3865
3865
|
|
|
3866
|
+
.silex-hidden {
|
|
3867
|
+
display: none;
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3866
3870
|
.settings-dialog > div {
|
|
3867
3871
|
max-width: none;
|
|
3868
3872
|
width: 100%;
|
|
3869
|
-
|
|
3873
|
+
height: 100vh;
|
|
3870
3874
|
overflow: auto;
|
|
3871
3875
|
}
|
|
3872
3876
|
.settings-dialog > div form.silex-form {
|
|
@@ -3952,25 +3956,29 @@ input.silex-button[type=submit] {
|
|
|
3952
3956
|
display: block;
|
|
3953
3957
|
}
|
|
3954
3958
|
|
|
3959
|
+
.silex-sidebar-dialog,
|
|
3955
3960
|
.silex-bar {
|
|
3956
3961
|
display: flex;
|
|
3957
3962
|
}
|
|
3963
|
+
.silex-sidebar-dialog > *,
|
|
3958
3964
|
.silex-bar > * {
|
|
3959
3965
|
margin: 5px;
|
|
3960
3966
|
}
|
|
3967
|
+
.silex-sidebar-dialog main,
|
|
3968
|
+
.silex-bar main {
|
|
3969
|
+
width: 100%;
|
|
3970
|
+
}
|
|
3961
3971
|
|
|
3962
3972
|
ol.silex-list,
|
|
3963
3973
|
ul.silex-list {
|
|
3964
3974
|
list-style: none;
|
|
3965
3975
|
margin: 0;
|
|
3966
3976
|
padding: 0;
|
|
3967
|
-
background-color: #575757;
|
|
3968
3977
|
}
|
|
3969
3978
|
ol.silex-list > li,
|
|
3970
3979
|
ul.silex-list > li {
|
|
3971
3980
|
padding: 5px;
|
|
3972
3981
|
border-bottom: 1px solid #575757;
|
|
3973
|
-
background-color: #444;
|
|
3974
3982
|
margin: 5px;
|
|
3975
3983
|
}
|
|
3976
3984
|
ol.silex-list fieldset,
|
|
@@ -4003,6 +4011,26 @@ ul.silex-list .silex-list__item__footer button {
|
|
|
4003
4011
|
padding-top: 8px;
|
|
4004
4012
|
}
|
|
4005
4013
|
|
|
4014
|
+
ol.silex-list--menu > li,
|
|
4015
|
+
ul.silex-list--menu > li {
|
|
4016
|
+
padding: 15px;
|
|
4017
|
+
margin: 0;
|
|
4018
|
+
border: 1px solid transparent;
|
|
4019
|
+
border-bottom-color: #575757;
|
|
4020
|
+
text-align: center;
|
|
4021
|
+
cursor: pointer;
|
|
4022
|
+
}
|
|
4023
|
+
ol.silex-list--menu > li:first-child,
|
|
4024
|
+
ul.silex-list--menu > li:first-child {
|
|
4025
|
+
border-top-color: #575757;
|
|
4026
|
+
}
|
|
4027
|
+
ol.silex-list--menu .active, ol.silex-list--menu > li:hover,
|
|
4028
|
+
ul.silex-list--menu .active,
|
|
4029
|
+
ul.silex-list--menu > li:hover {
|
|
4030
|
+
color: #8873FE;
|
|
4031
|
+
background-color: #292929;
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4006
4034
|
form.silex-form {
|
|
4007
4035
|
display: flex;
|
|
4008
4036
|
flex-direction: column;
|
|
@@ -4059,17 +4087,17 @@ form.silex-form .silex-form__group.col2 {
|
|
|
4059
4087
|
}
|
|
4060
4088
|
|
|
4061
4089
|
.silex-main {
|
|
4062
|
-
transition: opacity 0.
|
|
4090
|
+
transition: opacity 0.15s 0.5s ease;
|
|
4063
4091
|
}
|
|
4064
4092
|
|
|
4065
4093
|
.silex-dialog {
|
|
4066
|
-
transition: opacity 0.
|
|
4094
|
+
transition: opacity 0.15s ease;
|
|
4067
4095
|
}
|
|
4068
4096
|
|
|
4069
4097
|
.silex-dialog-hide {
|
|
4070
4098
|
opacity: 0;
|
|
4071
4099
|
visibility: hidden;
|
|
4072
|
-
transition: opacity 0.
|
|
4100
|
+
transition: opacity 0.15s ease, visibility 0.3s 1s ease;
|
|
4073
4101
|
}
|
|
4074
4102
|
|
|
4075
4103
|
.silex-dialog-inline {
|
|
@@ -4077,20 +4105,25 @@ form.silex-form .silex-form__group.col2 {
|
|
|
4077
4105
|
background-color: #333333;
|
|
4078
4106
|
z-index: 10;
|
|
4079
4107
|
border-radius: 3px;
|
|
4080
|
-
border: 2px solid
|
|
4108
|
+
border: 2px solid #575757;
|
|
4109
|
+
box-shadow: 0 0 10px 0 #575757;
|
|
4081
4110
|
display: flex;
|
|
4082
4111
|
flex-direction: column;
|
|
4083
4112
|
}
|
|
4084
4113
|
.silex-dialog-inline header {
|
|
4085
4114
|
padding: 10px;
|
|
4115
|
+
border-bottom: 1px solid #575757;
|
|
4086
4116
|
}
|
|
4087
4117
|
.silex-dialog-inline main {
|
|
4088
4118
|
flex-grow: 1;
|
|
4089
4119
|
padding: 10px;
|
|
4120
|
+
max-height: 50vh;
|
|
4121
|
+
overflow-y: auto;
|
|
4090
4122
|
}
|
|
4091
4123
|
.silex-dialog-inline footer {
|
|
4092
4124
|
padding: 10px;
|
|
4093
4125
|
text-align: right;
|
|
4126
|
+
border-top: 1px solid #575757;
|
|
4094
4127
|
}
|
|
4095
4128
|
.silex-dialog-inline a {
|
|
4096
4129
|
color: #A291FF;
|
|
@@ -4099,8 +4132,53 @@ form.silex-form .silex-form__group.col2 {
|
|
|
4099
4132
|
margin: 0;
|
|
4100
4133
|
}
|
|
4101
4134
|
|
|
4135
|
+
.silex-help {
|
|
4136
|
+
margin: 10px 0;
|
|
4137
|
+
padding: 10px;
|
|
4138
|
+
border: 1px solid #575757;
|
|
4139
|
+
border-radius: 3px;
|
|
4140
|
+
background-color: #575757;
|
|
4141
|
+
color: #ddd;
|
|
4142
|
+
font-size: small;
|
|
4143
|
+
}
|
|
4144
|
+
.silex-help p {
|
|
4145
|
+
margin: 0;
|
|
4146
|
+
}
|
|
4147
|
+
.silex-help a {
|
|
4148
|
+
color: #A291FF;
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
.fonts-dialog .gjs-mdl-dialog {
|
|
4152
|
+
width: 100%;
|
|
4153
|
+
max-width: unset;
|
|
4154
|
+
min-height: 100%;
|
|
4155
|
+
display: flex;
|
|
4156
|
+
flex-direction: column;
|
|
4157
|
+
}
|
|
4158
|
+
.fonts-dialog .gjs-mdl-content {
|
|
4159
|
+
flex: 1 1 auto;
|
|
4160
|
+
}
|
|
4161
|
+
.fonts-dialog .silex-form__element {
|
|
4162
|
+
margin-bottom: 80px;
|
|
4163
|
+
}
|
|
4164
|
+
.fonts-dialog .silex-list li {
|
|
4165
|
+
border-bottom: none;
|
|
4166
|
+
}
|
|
4167
|
+
.fonts-dialog h2 {
|
|
4168
|
+
border-radius: 0;
|
|
4169
|
+
background-color: transparent;
|
|
4170
|
+
}
|
|
4171
|
+
.fonts-dialog footer {
|
|
4172
|
+
position: fixed;
|
|
4173
|
+
bottom: 0;
|
|
4174
|
+
left: 0;
|
|
4175
|
+
right: 0;
|
|
4176
|
+
padding: 20px !important;
|
|
4177
|
+
background-color: #333333;
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4102
4180
|
iframe.enable-squeeze.gjs-frame {
|
|
4103
|
-
transition: width 0.
|
|
4181
|
+
transition: width 0.15s, height 0.15s, left 0.15s;
|
|
4104
4182
|
}
|
|
4105
4183
|
|
|
4106
4184
|
iframe.enable-squeeze.silex-squeeze-left {
|
|
@@ -4469,6 +4547,16 @@ iframe.enable-squeeze.silex-squeeze-left {
|
|
|
4469
4547
|
font-size: 0.75rem;
|
|
4470
4548
|
}
|
|
4471
4549
|
|
|
4550
|
+
.gjs-mdl-header {
|
|
4551
|
+
background-color: #333333;
|
|
4552
|
+
color: #ddd;
|
|
4553
|
+
padding: 20px;
|
|
4554
|
+
border-bottom: 1px solid #575757;
|
|
4555
|
+
}
|
|
4556
|
+
.gjs-mdl-header .gjs-mdl-btn-close {
|
|
4557
|
+
top: 15px;
|
|
4558
|
+
}
|
|
4559
|
+
|
|
4472
4560
|
.gjs-toolbar {
|
|
4473
4561
|
background-color: #8873FE;
|
|
4474
4562
|
}
|