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