@wizishop/img-manager 0.2.51 → 0.2.52

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.
@@ -1784,212 +1784,139 @@ $button-disabled-border-color: $primary-button-hover !default;
1784
1784
  $tag-radius: rem(20px)!default;
1785
1785
  image-cropper {
1786
1786
  max-height: 60vh;
1787
- }.wz-img-manager .images-view {
1788
- text-align: left;
1789
-
1790
- &.fullSize {
1791
- & + .images-view__scroll {
1792
- max-height: 1160px;
1793
- }
1794
- }
1795
-
1796
- &__scroll {
1797
- position: relative;
1798
- height: 100%;
1799
- z-index: 1;
1800
-
1801
- &--full {
1802
- max-height: calc(100vh - 160px)!important;
1803
- min-height: calc(100vh - 160px) !important;
1804
- }
1787
+ }//.wz-img-manager useful to keep the css priority
1788
+ .wz-img-manager .img-tabs {
1789
+ background-color: white;
1790
+ padding-left: 0;
1791
+ padding-right: 0;
1792
+ padding-top: 0;
1805
1793
 
1806
- &--smallDisplay {
1807
- max-height: 275px!important;
1808
- }
1794
+ .tabs {
1795
+ margin: 0;
1796
+ display: flex;
1797
+ align-items: center;
1798
+ overflow: visible!important;
1809
1799
 
1810
- &--smallUploadDisplay {
1811
- max-height: 230px!important;
1812
- }
1800
+ &--notWindow {
1801
+ padding: rem(20) rem(30) rem(20);
1802
+ margin-left: -1.075rem;
1803
+ margin-right: -0.575rem;
1804
+ margin-bottom: 0;
1805
+ }
1813
1806
 
1814
- &--window {
1815
- max-height: unset!important;
1807
+ ul {
1808
+ width: auto;
1809
+ border: none;
1810
+ li {
1811
+ a {
1812
+ padding: 0 0 rem(10);
1813
+ margin: 0 rem(30) 0 0;
1814
+ position: relative;
1815
+ line-height: rem(16);
1816
+ border: none;
1817
+ color: $secondary-color;
1818
+ transition: color .3s ease;
1819
+ font-size: rem(14);
1820
+ font-weight: 400;
1816
1821
  }
1817
-
1818
- &--hide {
1819
- &--mosaic {
1820
- min-height: 100px !important;
1821
- &--small {
1822
- min-height: unset !important;
1823
- }
1824
- }
1825
- &--table {
1826
- min-height: 170px !important;
1822
+ &.is-active {
1823
+ a {
1824
+ color: $main-text;
1825
+ &:after {
1826
+ content: '';
1827
+ display: block;
1828
+ position: absolute;
1829
+ width: 100%;
1830
+ height: 2px;
1831
+ background-color: $img-main-color;
1832
+ bottom: 0;
1833
+ left: 0;
1827
1834
  }
1828
-
1829
- }
1830
-
1831
- .ng-scroll-content {
1832
- min-width: calc(100% - 1rem) !important;
1833
- width: calc(100% - 1rem) !important;
1834
- }
1835
- }
1836
-
1837
- &__container {
1838
- display: flex;
1839
- justify-content: space-between;
1840
- margin: 0 0 rem(20);
1841
-
1842
- > div {
1843
- display: flex;
1844
- align-items: center;
1845
- .mainColor {
1846
- margin: 0;
1835
+ }
1847
1836
  }
1848
1837
  }
1838
+ }
1839
+ }
1849
1840
 
1850
- &--window {
1851
- margin: rem(30) 0 rem(20);
1852
- }
1853
-
1854
- &--uploadTab {
1855
- margin: 0 0 rem(20);
1856
- }
1857
-
1858
- &__boxAction {
1859
- width: 525px;
1860
- overflow: visible;
1861
- display: flex;
1862
- position: relative;
1863
- justify-content: flex-end;
1864
- margin-right: 13px;
1865
- height: 40px;
1866
- align-items: center;
1867
- transform: translate(-41px,-3px);
1868
-
1869
- &__confirmSup {
1870
- display: flex;
1871
- justify-content: space-between;
1872
- align-items: center;
1873
- border-left: solid 1px #d8d8d8;
1874
- color: $img-grey-color;
1875
- padding-left: 1rem;
1876
- width: 0;
1877
- position: absolute;
1878
- opacity: 0;
1879
- transition: 0s;
1880
- visibility: hidden;
1881
- z-index: 2;
1882
-
1883
- &--visible {
1884
- max-width: unset;
1885
- width: auto;
1886
- opacity: 1;
1887
- transition: 0s;
1888
- visibility: visible;
1889
-
1890
- p {
1891
- transition: left .3s ease-in-out;
1892
- right: 100%;
1893
- left: auto;
1894
- white-space: nowrap;
1895
- margin-right: 30px;
1896
- }
1897
- }
1898
-
1899
- &__cancel {
1900
- margin-right: 14px;
1901
- background-color: white;
1902
- border-color: #dbdbdb;
1903
- color: $img-main-text;
1904
- }
1905
-
1906
- &__text {
1907
- font-size: 14px;
1908
- position: absolute;
1909
- left: -126%;
1910
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1911
- }
1912
- }
1841
+ &__canva {
1842
+ margin: 0 0 0 rem(30);
1843
+ }
1913
1844
 
1914
- &__delBtn {
1915
- i {
1916
- margin-right: 13px!important;
1917
- }
1918
- }
1845
+ &__tabsEdit {
1846
+ > .column {
1847
+ padding: 0!important;
1848
+ }
1849
+ }
1919
1850
 
1920
- &__import {
1921
- margin-right: 13px;
1922
- i {
1923
- margin-right: 13px!important;
1924
- }
1925
- }
1926
- }
1851
+ &__tabsFirst {
1852
+ height: 100vh;
1927
1853
 
1928
- &__buttonBox {
1929
- margin: 0;
1930
- width: rem(40);
1931
- height: rem(40);
1932
- border: solid $img-light-white-color;
1933
- border-width: 1px 0 1px 1px;
1854
+ &--window {
1855
+ height: auto;
1856
+ display: flex;
1857
+ justify-content: flex-start;
1858
+ }
1934
1859
 
1935
- border-radius: 3px 0 0 3px;
1936
- outline: none!important;
1860
+ &__upload {
1861
+ margin: rem(28) 0 0 0;
1862
+ padding: 0;
1863
+ max-width: 33.3%;
1864
+ }
1937
1865
 
1938
- p {
1939
- margin-top: 0;
1940
- margin-bottom: 0;
1941
- height: 40px;
1942
- &:nth-child(2) {
1943
- border: solid $img-light-white-color;
1944
- border-width: 1px 1px 1px 0;
1945
- transform: translateY(-1px);
1946
- border-radius: 0 3px 3px 0;
1947
- }
1948
- button {
1949
- height: 38px;
1950
- }
1951
- }
1866
+ &__list {
1867
+ padding: 0;
1868
+ margin: rem(28) 0 0 rem(60);
1869
+ &--upload {
1870
+ margin: rem(28) 0 0 rem(48);
1871
+ }
1872
+ //height: calc(100vh - 70px);
1873
+ //height: 100vh;
1874
+ }
1875
+ }
1952
1876
 
1953
- .actifDisplayed {
1954
- color:$img-main-color;
1955
- }
1877
+ @media screen and (max-width: 768px) {
1878
+ .img-tabs__tabsFirst__upload {
1879
+ margin-right: 0;
1880
+ margin-bottom: 0;
1881
+ margin-top: 20px!important;
1882
+ }
1883
+ }
1956
1884
 
1957
- i {
1958
- margin: 0;
1959
- }
1960
- }
1885
+ &__tabsSecond {
1886
+ min-height: 100vh !important;
1887
+ margin-left: 0px;
1888
+ margin-right: 0px;
1889
+ margin-bottom: 0px;
1961
1890
 
1962
- &__cards {
1963
- display: flex;
1964
- justify-content: space-between;
1965
- flex-wrap: wrap;
1966
- align-items: center;
1967
- padding-top: 30px;
1968
- margin-right: calc(0.8rem - 20px);
1969
- margin-left: 0.3rem;
1970
- margin-bottom: 30px;
1971
- }
1891
+ .column {
1892
+ padding: 0.75rem 0 0.75rem 0;
1972
1893
  }
1894
+ }
1973
1895
 
1974
- &--pexels {
1975
- margin-top: -30px;
1976
- }
1896
+ &__tabsThird {
1897
+ min-height: 100vh !important;
1898
+ margin-left: 0px;
1899
+ margin-right: 0px;
1900
+ margin-bottom: 0px;
1977
1901
 
1978
- .subHeaderActions .button i {
1979
- margin-right: 0;
1902
+ .column {
1903
+ padding: 0.75rem 0 0.75rem 0;
1980
1904
  }
1905
+ }
1981
1906
  }
1982
1907
 
1983
1908
  @media screen and (max-width: 768px) {
1984
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1985
- max-height: none!important;
1909
+ .img-tabs__tabsFirst {
1910
+ margin-top: 0;
1911
+ }
1986
1912
 
1987
- .ng-scroll-content {
1988
- margin: 0 !important;
1989
- min-width: 100%!important;
1990
- width: 100%!important;
1991
- }
1992
- }
1913
+ .img-tabs__tabsFirst--small {
1914
+ height: 270px;
1915
+ }
1916
+ }
1917
+
1918
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1919
+ margin: 0;
1993
1920
  }
1994
1921
  .img-editor__infoSection__propertySEO__tooltips {
1995
1922
  i {
@@ -2044,6 +1971,35 @@ image-cropper {
2044
1971
  height: fit-content;
2045
1972
  }
2046
1973
 
1974
+ .cdk-drag.img_box {
1975
+ position: relative;
1976
+ padding: 0;
1977
+ margin: 0 20px 0 0;
1978
+ width: 150px;
1979
+ max-width: 150px;
1980
+ &:before {
1981
+ content: '';
1982
+ display: block;
1983
+ padding-top: 100%;
1984
+ }
1985
+ &:first-child {
1986
+ width: 250px;
1987
+ max-width: 250px;
1988
+ }
1989
+ img {
1990
+ position: absolute;
1991
+ top: 50%;
1992
+ left: 50%;
1993
+ transform: translate(-50%, -50%);
1994
+ max-width: 100%!important;
1995
+ max-height: 100%;
1996
+ object-fit: contain;
1997
+ width: auto!important;
1998
+ height: auto;
1999
+ }
2000
+ }
2001
+
2002
+
2047
2003
  .cdk-drag-preview {
2048
2004
  box-sizing: border-box;
2049
2005
  border-radius: 4px;
@@ -3095,363 +3051,268 @@ $green-color: #2ecc71;
3095
3051
  }
3096
3052
 
3097
3053
  > * {
3098
- -webkit-touch-callout: none; /* iOS Safari */
3099
- -webkit-user-select: none; /* Safari */
3100
- -khtml-user-select: none; /* Konqueror HTML */
3101
- -moz-user-select: none; /* Old versions of Firefox */
3102
- -ms-user-select: none; /* Internet Explorer/Edge */
3103
- user-select: none; /* Non-prefixed version, currently
3104
- supported by Chrome, Edge, Opera and Firefox */
3105
- }
3106
-
3107
- &:hover {
3108
- background-color: #F5F8FA;
3109
- p, i {
3110
- color: $img-main-color;
3111
- }
3112
- }
3113
- }
3114
-
3115
- .dropdown-content {
3116
- &:before {
3117
- content: '';
3118
- display: block;
3119
- position: absolute;
3120
- bottom: 100%;
3121
- left: 90%;
3122
- transform: translateX(-50%) translateY(5px);
3123
- width: 0;
3124
- height: 0;
3125
- border-style: solid;
3126
- border-width: 0 6px 8px 6px;
3127
- border-color: transparent transparent #fff transparent;
3128
- z-index: 2;
3129
- }
3130
- &:after {
3131
- content: '';
3132
- display: block;
3133
- position: absolute;
3134
- bottom: 100%;
3135
- left: 90%;
3136
- transform: translateX(-50%) translateY(4px);
3137
- width: 0;
3138
- height: 0;
3139
- border-style: solid;
3140
- border-width: 0 6px 8px 6px;
3141
- border-color: transparent transparent #dddddd transparent;
3142
- opacity: 0.5;
3143
- z-index: 1;
3144
- }
3145
- }
3146
-
3147
- .dropdown-menu {
3148
- top: 80%;
3149
- }
3150
- }
3151
-
3152
- .dropdownWizi:not(.is-hoverable) {
3153
- cursor: not-allowed;
3154
- }.wz-img-manager .img-editor {
3155
- &__scroll {
3156
- position: relative;
3157
- height: 100%;
3158
-
3159
- &--full {
3160
- max-height: calc(100vh - 90px)!important;
3161
- min-height: calc(100vh - 90px) !important;
3162
- }
3163
-
3164
- &--smallDisplay {
3165
- max-height: 275px!important;
3166
- }
3167
-
3168
- &--window {
3169
- max-height: none;
3170
- }
3171
-
3172
- .ng-scroll-content {
3173
- margin-left: 0 !important;
3174
- margin-right: 0 !important;
3175
- min-width: calc(100% - 1rem) !important;
3176
- width: calc(100% - 1rem) !important;
3177
- }
3178
- }
3179
-
3180
- .columns {
3181
- margin-right: 0.8rem;
3182
- margin-left: rem(12);
3183
- margin-top: 12px;
3184
- margin-bottom: 0;
3185
- width: calc(100% + 11px);
3186
-
3187
- .column {
3188
- padding-top: 0;
3189
- padding-bottom: 0px;
3190
- }
3191
- }
3192
-
3193
- &__head-container {
3194
- display: flex;
3195
- justify-content: flex-end;
3196
- align-items: center;
3197
- margin: 30px 30px 20px 0;
3198
-
3199
- &__btnGroup {
3200
- margin-right: 13px;
3201
- opacity: 0;
3202
- visibility: hidden;
3203
- transition: opacity .3s ease-in-out;
3204
-
3205
- &__visible {
3206
- opacity: 1;
3207
- visibility: visible;
3208
- }
3209
-
3210
- &__removeBtn {
3211
- margin-right: 13px;
3212
- }
3213
- }
3214
-
3215
- &__close {
3216
- cursor: pointer;
3217
- font-size: 14px;
3218
- color: $img-grey-color;
3219
- line-height: 40px;
3220
- }
3221
- }
3222
-
3223
- &__container {
3224
- padding: 0.75rem!important;
3225
- display:flex;
3226
- justify-content: center;
3227
- align-items: center;
3228
- background-color: $img-gray-background;
3229
- margin: 0;
3230
- transform: translateY(-16px);
3231
-
3232
- &__toolsContainer {
3233
- display: flex;
3234
- justify-content: center;
3235
- align-items: center;
3236
- margin-bottom: 50px;
3237
-
3238
- &__tool {
3239
- color: $img-second-color;
3240
- margin-right: 30px;
3241
- text-align: center;
3242
- cursor: pointer;
3243
-
3244
- p {
3245
- margin: 0!important;
3246
- color: $img-main-text;
3247
- font-size: rem(12);
3248
- line-height: rem(14);
3249
- }
3250
-
3251
- i {
3252
- font-size: rem(18);
3253
- margin: 0 0 10px;
3254
- }
3255
-
3256
- &--button {
3257
- background-color: $img-green-color;
3258
- color: $img-white!important;
3259
- padding: 10px;
3260
- border-radius: 3px;
3261
- transition: .3s ease;
3262
- white-space: nowrap;
3263
- display: flex;
3264
- justify-content: center;
3265
- align-items: center;
3266
- position: absolute;
3267
- top: 80px;
3268
- left: 50%;
3269
- transform: translateX(-50%);
3270
- height: 35px;
3271
- margin: 0;
3272
- &:hover, &:focus {
3273
- background-color: darken($img-green-color, 15%);
3274
- color: $img-white!important;
3275
- }
3276
- p {
3277
- color: $white!important;
3278
- }
3279
- i {
3280
- margin: 0 5px 0 0;
3281
- }
3282
- }
3283
- &:hover {
3284
- color: $img-main-color;
3285
- }
3286
-
3287
- > * {
3288
- -webkit-touch-callout: none; /* iOS Safari */
3289
- -webkit-user-select: none; /* Safari */
3290
- -khtml-user-select: none; /* Konqueror HTML */
3291
- -moz-user-select: none; /* Old versions of Firefox */
3292
- -ms-user-select: none; /* Internet Explorer/Edge */
3293
- user-select: none; /* Non-prefixed version, currently
3294
- supported by Chrome, Edge, Opera and Firefox */
3295
- }
3296
- }
3054
+ -webkit-touch-callout: none; /* iOS Safari */
3055
+ -webkit-user-select: none; /* Safari */
3056
+ -khtml-user-select: none; /* Konqueror HTML */
3057
+ -moz-user-select: none; /* Old versions of Firefox */
3058
+ -ms-user-select: none; /* Internet Explorer/Edge */
3059
+ user-select: none; /* Non-prefixed version, currently
3060
+ supported by Chrome, Edge, Opera and Firefox */
3061
+ }
3297
3062
 
3298
- &__RotationDropdown {
3299
- min-width: 16rem;
3063
+ &:hover {
3064
+ background-color: #F5F8FA;
3065
+ p, i {
3066
+ color: $img-main-color;
3300
3067
  }
3301
3068
  }
3069
+ }
3302
3070
 
3303
- &__name {
3304
- font-size: 16px;
3305
- max-width: 50%;
3306
- color: $img-grey-color;
3307
- text-align: center;
3308
- white-space: nowrap;
3309
- overflow: hidden;
3310
- text-overflow: ellipsis;
3071
+ .dropdown-content {
3072
+ &:before {
3073
+ content: '';
3074
+ display: block;
3075
+ position: absolute;
3076
+ bottom: 100%;
3077
+ left: 90%;
3078
+ transform: translateX(-50%) translateY(5px);
3079
+ width: 0;
3080
+ height: 0;
3081
+ border-style: solid;
3082
+ border-width: 0 6px 8px 6px;
3083
+ border-color: transparent transparent #fff transparent;
3084
+ z-index: 2;
3311
3085
  }
3312
-
3313
- .button {
3314
- min-height: 35px;
3315
- background-color: $img-primary-button;
3316
- border-color: $img-primary-button-hover;
3317
- color: #ffffff;
3086
+ &:after {
3087
+ content: '';
3088
+ display: block;
3089
+ position: absolute;
3090
+ bottom: 100%;
3091
+ left: 90%;
3092
+ transform: translateX(-50%) translateY(4px);
3093
+ width: 0;
3094
+ height: 0;
3095
+ border-style: solid;
3096
+ border-width: 0 6px 8px 6px;
3097
+ border-color: transparent transparent #dddddd transparent;
3098
+ opacity: 0.5;
3099
+ z-index: 1;
3318
3100
  }
3319
3101
  }
3320
3102
 
3321
- &__image-cropper {
3322
- --cropper-overlay-color: #f5f8fa;
3323
- //--cropper-outline-color: #a5a5a573;
3324
- padding-bottom: 30px;
3103
+ .dropdown-menu {
3104
+ top: 80%;
3325
3105
  }
3106
+ }
3326
3107
 
3327
- &__infoSection {
3328
- font-size: 14px;
3329
- max-width: 360px;
3330
- padding: 0;
3331
- margin: 0 rem(30) 0 0;
3108
+ .dropdownWizi:not(.is-hoverable) {
3109
+ cursor: not-allowed;
3110
+ }.wz-img-manager .images-view {
3111
+ text-align: left;
3332
3112
 
3333
- &__propertyEditable {
3334
- margin-bottom: 31px;
3335
- p {
3336
- margin-bottom: 12px;
3337
- font-size: 14px;
3338
- }
3339
- input, button {
3340
- width: 100%;
3341
- height: 40px;
3342
- border: 1px solid #DEE2ED;
3343
- border-radius: 3px;
3344
- color: $img-main-text;
3345
- padding-left: 20px;
3346
- padding-right: 20px;
3347
- display: flex;
3348
- justify-content: space-between;
3349
- font-size: 14px;
3113
+ &.fullSize {
3114
+ & + .images-view__scroll {
3115
+ max-height: 1160px;
3116
+ }
3117
+ }
3350
3118
 
3351
- &:hover {
3352
- color: $img-main-color;
3353
- border-color: $img-main-color;
3354
- }
3355
- }
3119
+ &__scroll {
3120
+ position: relative;
3121
+ height: 100%;
3122
+ z-index: 1;
3356
3123
 
3357
- button {
3358
- align-items: center;
3359
- background-color: transparent;
3360
- cursor: pointer;
3361
- }
3124
+ &--full {
3125
+ max-height: calc(100vh - 160px)!important;
3126
+ min-height: calc(100vh - 160px) !important;
3127
+ }
3362
3128
 
3363
- &__span, &__input {
3364
- text-overflow: ellipsis;
3365
- overflow: hidden;
3366
- white-space: nowrap;
3367
- }
3129
+ &--smallDisplay {
3130
+ max-height: 275px!important;
3131
+ }
3368
3132
 
3369
- &__span {
3370
- color: $img-bleu-color;
3371
- & + i {
3372
- color: $img-bleu-color;
3373
- font-weight: 600;
3374
- }
3375
- }
3133
+ &--smallUploadDisplay {
3134
+ max-height: 230px!important;
3376
3135
  }
3377
3136
 
3378
- &__property {
3379
- &:nth-child(3), &:nth-child(4) {
3380
- margin: 0;
3137
+ &--window {
3138
+ max-height: unset!important;
3139
+ }
3140
+
3141
+ &--hide {
3142
+ &--mosaic {
3143
+ min-height: 100px !important;
3144
+ &--small {
3145
+ min-height: unset !important;
3146
+ }
3381
3147
  }
3382
- p {
3383
- font-size: 14px;
3384
- display: inline-block;
3148
+ &--table {
3149
+ min-height: 170px !important;
3385
3150
  }
3386
3151
 
3387
- .mainColor {
3388
- margin: 0!important;
3389
- }
3152
+ }
3390
3153
 
3391
- p:last-child {
3392
- margin: 0 0 0 10px;
3393
- color: #526384;
3394
- }
3154
+ .ng-scroll-content {
3155
+ min-width: calc(100% - 1rem) !important;
3156
+ width: calc(100% - 1rem) !important;
3395
3157
  }
3158
+ }
3396
3159
 
3397
- &__titleSEO {
3398
- margin: 0 0 20px;
3160
+ &__container {
3161
+ display: flex;
3162
+ justify-content: space-between;
3163
+ margin: 0 0 rem(20);
3399
3164
 
3400
- .mainColor {
3401
- font-size: rem(18);
3402
- font-weight: 500;
3403
- }
3165
+ > div {
3166
+ display: flex;
3167
+ align-items: center;
3168
+ .mainColor {
3169
+ margin: 0;
3404
3170
  }
3171
+ }
3405
3172
 
3406
- &__propertySEO {
3407
- margin-bottom: 12px;
3408
- p {
3409
- font-size: 14px;
3410
- display: inline-block;
3411
- margin: 0;
3173
+ &--window {
3174
+ margin: rem(30) 0 rem(20);
3175
+ }
3176
+
3177
+ &--uploadTab {
3178
+ margin: 0 0 rem(20);
3179
+ }
3180
+
3181
+ &__boxAction {
3182
+ width: 525px;
3183
+ overflow: visible;
3184
+ display: flex;
3185
+ position: relative;
3186
+ justify-content: flex-end;
3187
+ margin-right: 13px;
3188
+ height: 40px;
3189
+ align-items: center;
3190
+ transform: translate(-41px,-3px);
3191
+
3192
+ &__confirmSup {
3193
+ display: flex;
3194
+ justify-content: space-between;
3195
+ align-items: center;
3196
+ border-left: solid 1px #d8d8d8;
3197
+ color: $img-grey-color;
3198
+ padding-left: 1rem;
3199
+ width: 0;
3200
+ position: absolute;
3201
+ opacity: 0;
3202
+ transition: 0s;
3203
+ visibility: hidden;
3204
+ z-index: 2;
3205
+
3206
+ &--visible {
3207
+ max-width: unset;
3208
+ width: auto;
3209
+ opacity: 1;
3210
+ transition: 0s;
3211
+ visibility: visible;
3212
+
3213
+ p {
3214
+ transition: left .3s ease-in-out;
3215
+ right: 100%;
3216
+ left: auto;
3217
+ white-space: nowrap;
3218
+ margin-right: 30px;
3219
+ }
3220
+ }
3221
+
3222
+ &__cancel {
3223
+ margin-right: 14px;
3224
+ background-color: white;
3225
+ border-color: #dbdbdb;
3226
+ color: $img-main-text;
3227
+ }
3228
+
3229
+ &__text {
3230
+ font-size: 14px;
3231
+ position: absolute;
3232
+ left: -126%;
3233
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
3234
+ }
3412
3235
  }
3413
3236
 
3414
- .mainColor {
3415
- & ~ p {
3416
- margin-left: 10px;
3417
- color: $img-green-color;
3237
+ &__delBtn {
3238
+ i {
3239
+ margin-right: 13px!important;
3240
+ }
3241
+ }
3242
+
3243
+ &__import {
3244
+ margin-right: 13px;
3245
+ i {
3246
+ margin-right: 13px!important;
3247
+ }
3418
3248
  }
3419
- }
3420
3249
  }
3421
3250
 
3422
- &__divider {
3423
- display: block;
3424
- width: 100%;
3425
- border-bottom: 2px dashed #EFF1F6;
3426
- margin: 30px 0;
3427
- }
3251
+ &__buttonBox {
3252
+ margin: 0;
3253
+ width: rem(40);
3254
+ height: rem(40);
3255
+ border: solid $img-light-white-color;
3256
+ border-width: 1px 0 1px 1px;
3428
3257
 
3429
- &__actions {
3430
- height: 35px;
3258
+ border-radius: 3px 0 0 3px;
3259
+ outline: none!important;
3431
3260
 
3432
- &__cancel {
3433
- margin-right: 19px;
3434
- background-color: white;
3435
- border-color: #dbdbdb;
3436
- color: $img-main-text;
3261
+ p {
3262
+ margin-top: 0;
3263
+ margin-bottom: 0;
3264
+ height: 40px;
3265
+ &:nth-child(2) {
3266
+ border: solid $img-light-white-color;
3267
+ border-width: 1px 1px 1px 0;
3268
+ transform: translateY(-1px);
3269
+ border-radius: 0 3px 3px 0;
3270
+ }
3271
+ button {
3272
+ height: 38px;
3273
+ }
3437
3274
  }
3438
3275
 
3439
- &__save {
3440
- padding: 8px 18px;
3441
- &--disable {
3442
- cursor: not-allowed;
3443
- }
3276
+ .actifDisplayed {
3277
+ color:$img-main-color;
3278
+ }
3279
+
3280
+ i {
3281
+ margin: 0;
3444
3282
  }
3445
3283
  }
3284
+
3285
+ &__cards {
3286
+ display: flex;
3287
+ justify-content: space-between;
3288
+ flex-wrap: wrap;
3289
+ align-items: center;
3290
+ padding-top: 30px;
3291
+ margin-right: calc(0.8rem - 20px);
3292
+ margin-left: 0.3rem;
3293
+ margin-bottom: 30px;
3294
+ }
3446
3295
  }
3447
3296
 
3448
- .dropdown-menu {
3449
- left: -50%;
3297
+ &--pexels {
3298
+ margin-top: -30px;
3299
+ }
3300
+
3301
+ .subHeaderActions .button i {
3302
+ margin-right: 0;
3450
3303
  }
3451
3304
  }
3452
3305
 
3453
- .wz-img-manager .marginBottom {
3454
- margin-bottom: 20px;
3306
+ @media screen and (max-width: 768px) {
3307
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
3308
+ max-height: none!important;
3309
+
3310
+ .ng-scroll-content {
3311
+ margin: 0 !important;
3312
+ min-width: 100%!important;
3313
+ width: 100%!important;
3314
+ }
3315
+ }
3455
3316
  }
3456
3317
  //.wz-img-manager useful to keep the css priority
3457
3318
  .wz-img-manager .upload-list {
@@ -3654,161 +3515,329 @@ $green-color: #2ecc71;
3654
3515
  div {
3655
3516
  height: 100%;
3656
3517
  }
3657
- }
3518
+ }
3519
+
3520
+ /* loader 1 */
3521
+ .loader1,
3522
+ .loader1 div {
3523
+ @include loaderDivMixin;
3524
+ border-top-color: $img-color-loader;
3525
+ border-bottom-color: $img-color-loader2;
3526
+ }
3527
+
3528
+ div:hover {
3529
+ animation-play-state: paused;
3530
+ }
3531
+
3532
+ .loader,
3533
+ .loader * {
3534
+ will-change: transform;
3535
+ }
3536
+
3537
+ p {
3538
+ margin-top: -50px;
3539
+ font-weight: 500;
3540
+ }
3541
+ }
3542
+ .wz-img-manager .img-editor {
3543
+ &__scroll {
3544
+ position: relative;
3545
+ height: 100%;
3546
+
3547
+ &--full {
3548
+ max-height: calc(100vh - 90px)!important;
3549
+ min-height: calc(100vh - 90px) !important;
3550
+ }
3551
+
3552
+ &--smallDisplay {
3553
+ max-height: 275px!important;
3554
+ }
3555
+
3556
+ &--window {
3557
+ max-height: none;
3558
+ }
3559
+
3560
+ .ng-scroll-content {
3561
+ margin-left: 0 !important;
3562
+ margin-right: 0 !important;
3563
+ min-width: calc(100% - 1rem) !important;
3564
+ width: calc(100% - 1rem) !important;
3565
+ }
3566
+ }
3567
+
3568
+ .columns {
3569
+ margin-right: 0.8rem;
3570
+ margin-left: rem(12);
3571
+ margin-top: 12px;
3572
+ margin-bottom: 0;
3573
+ width: calc(100% + 11px);
3574
+
3575
+ .column {
3576
+ padding-top: 0;
3577
+ padding-bottom: 0px;
3578
+ }
3579
+ }
3580
+
3581
+ &__head-container {
3582
+ display: flex;
3583
+ justify-content: flex-end;
3584
+ align-items: center;
3585
+ margin: 30px 30px 20px 0;
3586
+
3587
+ &__btnGroup {
3588
+ margin-right: 13px;
3589
+ opacity: 0;
3590
+ visibility: hidden;
3591
+ transition: opacity .3s ease-in-out;
3592
+
3593
+ &__visible {
3594
+ opacity: 1;
3595
+ visibility: visible;
3596
+ }
3597
+
3598
+ &__removeBtn {
3599
+ margin-right: 13px;
3600
+ }
3601
+ }
3602
+
3603
+ &__close {
3604
+ cursor: pointer;
3605
+ font-size: 14px;
3606
+ color: $img-grey-color;
3607
+ line-height: 40px;
3608
+ }
3609
+ }
3610
+
3611
+ &__container {
3612
+ padding: 0.75rem!important;
3613
+ display:flex;
3614
+ justify-content: center;
3615
+ align-items: center;
3616
+ background-color: $img-gray-background;
3617
+ margin: 0;
3618
+ transform: translateY(-16px);
3619
+
3620
+ &__toolsContainer {
3621
+ display: flex;
3622
+ justify-content: center;
3623
+ align-items: center;
3624
+ margin-bottom: 50px;
3625
+
3626
+ &__tool {
3627
+ color: $img-second-color;
3628
+ margin-right: 30px;
3629
+ text-align: center;
3630
+ cursor: pointer;
3631
+
3632
+ p {
3633
+ margin: 0!important;
3634
+ color: $img-main-text;
3635
+ font-size: rem(12);
3636
+ line-height: rem(14);
3637
+ }
3638
+
3639
+ i {
3640
+ font-size: rem(18);
3641
+ margin: 0 0 10px;
3642
+ }
3643
+
3644
+ &--button {
3645
+ background-color: $img-green-color;
3646
+ color: $img-white!important;
3647
+ padding: 10px;
3648
+ border-radius: 3px;
3649
+ transition: .3s ease;
3650
+ white-space: nowrap;
3651
+ display: flex;
3652
+ justify-content: center;
3653
+ align-items: center;
3654
+ position: absolute;
3655
+ top: 80px;
3656
+ left: 50%;
3657
+ transform: translateX(-50%);
3658
+ height: 35px;
3659
+ margin: 0;
3660
+ &:hover, &:focus {
3661
+ background-color: darken($img-green-color, 15%);
3662
+ color: $img-white!important;
3663
+ }
3664
+ p {
3665
+ color: $white!important;
3666
+ }
3667
+ i {
3668
+ margin: 0 5px 0 0;
3669
+ }
3670
+ }
3671
+ &:hover {
3672
+ color: $img-main-color;
3673
+ }
3674
+
3675
+ > * {
3676
+ -webkit-touch-callout: none; /* iOS Safari */
3677
+ -webkit-user-select: none; /* Safari */
3678
+ -khtml-user-select: none; /* Konqueror HTML */
3679
+ -moz-user-select: none; /* Old versions of Firefox */
3680
+ -ms-user-select: none; /* Internet Explorer/Edge */
3681
+ user-select: none; /* Non-prefixed version, currently
3682
+ supported by Chrome, Edge, Opera and Firefox */
3683
+ }
3684
+ }
3685
+
3686
+ &__RotationDropdown {
3687
+ min-width: 16rem;
3688
+ }
3689
+ }
3690
+
3691
+ &__name {
3692
+ font-size: 16px;
3693
+ max-width: 50%;
3694
+ color: $img-grey-color;
3695
+ text-align: center;
3696
+ white-space: nowrap;
3697
+ overflow: hidden;
3698
+ text-overflow: ellipsis;
3699
+ }
3700
+
3701
+ .button {
3702
+ min-height: 35px;
3703
+ background-color: $img-primary-button;
3704
+ border-color: $img-primary-button-hover;
3705
+ color: #ffffff;
3706
+ }
3707
+ }
3658
3708
 
3659
- /* loader 1 */
3660
- .loader1,
3661
- .loader1 div {
3662
- @include loaderDivMixin;
3663
- border-top-color: $img-color-loader;
3664
- border-bottom-color: $img-color-loader2;
3665
- }
3709
+ &__image-cropper {
3710
+ --cropper-overlay-color: #f5f8fa;
3711
+ //--cropper-outline-color: #a5a5a573;
3712
+ padding-bottom: 30px;
3713
+ }
3666
3714
 
3667
- div:hover {
3668
- animation-play-state: paused;
3669
- }
3715
+ &__infoSection {
3716
+ font-size: 14px;
3717
+ max-width: 360px;
3718
+ padding: 0;
3719
+ margin: 0 rem(30) 0 0;
3670
3720
 
3671
- .loader,
3672
- .loader * {
3673
- will-change: transform;
3674
- }
3721
+ &__propertyEditable {
3722
+ margin-bottom: 31px;
3723
+ p {
3724
+ margin-bottom: 12px;
3725
+ font-size: 14px;
3726
+ }
3727
+ input, button {
3728
+ width: 100%;
3729
+ height: 40px;
3730
+ border: 1px solid #DEE2ED;
3731
+ border-radius: 3px;
3732
+ color: $img-main-text;
3733
+ padding-left: 20px;
3734
+ padding-right: 20px;
3735
+ display: flex;
3736
+ justify-content: space-between;
3737
+ font-size: 14px;
3675
3738
 
3676
- p {
3677
- margin-top: -50px;
3678
- font-weight: 500;
3679
- }
3680
- }
3681
- //.wz-img-manager useful to keep the css priority
3682
- .wz-img-manager .img-tabs {
3683
- background-color: white;
3684
- padding-left: 0;
3685
- padding-right: 0;
3686
- padding-top: 0;
3739
+ &:hover {
3740
+ color: $img-main-color;
3741
+ border-color: $img-main-color;
3742
+ }
3743
+ }
3687
3744
 
3688
- .tabs {
3689
- margin: 0;
3690
- display: flex;
3691
- align-items: center;
3692
- overflow: visible!important;
3745
+ button {
3746
+ align-items: center;
3747
+ background-color: transparent;
3748
+ cursor: pointer;
3749
+ }
3693
3750
 
3694
- &--notWindow {
3695
- padding: rem(20) rem(30) rem(20);
3696
- margin-left: -1.075rem;
3697
- margin-right: -0.575rem;
3698
- margin-bottom: 0;
3699
- }
3751
+ &__span, &__input {
3752
+ text-overflow: ellipsis;
3753
+ overflow: hidden;
3754
+ white-space: nowrap;
3755
+ }
3700
3756
 
3701
- ul {
3702
- width: auto;
3703
- border: none;
3704
- li {
3705
- a {
3706
- padding: 0 0 rem(10);
3707
- margin: 0 rem(30) 0 0;
3708
- position: relative;
3709
- line-height: rem(16);
3710
- border: none;
3711
- color: $secondary-color;
3712
- transition: color .3s ease;
3713
- font-size: rem(14);
3714
- font-weight: 400;
3715
- }
3716
- &.is-active {
3717
- a {
3718
- color: $main-text;
3719
- &:after {
3720
- content: '';
3721
- display: block;
3722
- position: absolute;
3723
- width: 100%;
3724
- height: 2px;
3725
- background-color: $img-main-color;
3726
- bottom: 0;
3727
- left: 0;
3757
+ &__span {
3758
+ color: $img-bleu-color;
3759
+ & + i {
3760
+ color: $img-bleu-color;
3761
+ font-weight: 600;
3762
+ }
3728
3763
  }
3729
- }
3730
3764
  }
3731
- }
3732
- }
3733
- }
3734
3765
 
3735
- &__canva {
3736
- margin: 0 0 0 rem(30);
3737
- }
3766
+ &__property {
3767
+ &:nth-child(3), &:nth-child(4) {
3768
+ margin: 0;
3769
+ }
3770
+ p {
3771
+ font-size: 14px;
3772
+ display: inline-block;
3773
+ }
3738
3774
 
3739
- &__tabsEdit {
3740
- > .column {
3741
- padding: 0!important;
3742
- }
3743
- }
3775
+ .mainColor {
3776
+ margin: 0!important;
3777
+ }
3744
3778
 
3745
- &__tabsFirst {
3746
- height: 100vh;
3779
+ p:last-child {
3780
+ margin: 0 0 0 10px;
3781
+ color: #526384;
3782
+ }
3783
+ }
3747
3784
 
3748
- &--window {
3749
- height: auto;
3750
- display: flex;
3751
- justify-content: flex-start;
3752
- }
3785
+ &__titleSEO {
3786
+ margin: 0 0 20px;
3753
3787
 
3754
- &__upload {
3755
- margin: rem(28) 0 0 0;
3756
- padding: 0;
3757
- max-width: 33.3%;
3758
- }
3788
+ .mainColor {
3789
+ font-size: rem(18);
3790
+ font-weight: 500;
3791
+ }
3792
+ }
3759
3793
 
3760
- &__list {
3761
- padding: 0;
3762
- margin: rem(28) 0 0 rem(60);
3763
- &--upload {
3764
- margin: rem(28) 0 0 rem(48);
3765
- }
3766
- //height: calc(100vh - 70px);
3767
- //height: 100vh;
3768
- }
3769
- }
3794
+ &__propertySEO {
3795
+ margin-bottom: 12px;
3796
+ p {
3797
+ font-size: 14px;
3798
+ display: inline-block;
3799
+ margin: 0;
3800
+ }
3770
3801
 
3771
- @media screen and (max-width: 768px) {
3772
- .img-tabs__tabsFirst__upload {
3773
- margin-right: 0;
3774
- margin-bottom: 0;
3775
- margin-top: 20px!important;
3776
- }
3777
- }
3802
+ .mainColor {
3803
+ & ~ p {
3804
+ margin-left: 10px;
3805
+ color: $img-green-color;
3806
+ }
3807
+ }
3808
+ }
3778
3809
 
3779
- &__tabsSecond {
3780
- min-height: 100vh !important;
3781
- margin-left: 0px;
3782
- margin-right: 0px;
3783
- margin-bottom: 0px;
3810
+ &__divider {
3811
+ display: block;
3812
+ width: 100%;
3813
+ border-bottom: 2px dashed #EFF1F6;
3814
+ margin: 30px 0;
3815
+ }
3784
3816
 
3785
- .column {
3786
- padding: 0.75rem 0 0.75rem 0;
3787
- }
3788
- }
3817
+ &__actions {
3818
+ height: 35px;
3789
3819
 
3790
- &__tabsThird {
3791
- min-height: 100vh !important;
3792
- margin-left: 0px;
3793
- margin-right: 0px;
3794
- margin-bottom: 0px;
3820
+ &__cancel {
3821
+ margin-right: 19px;
3822
+ background-color: white;
3823
+ border-color: #dbdbdb;
3824
+ color: $img-main-text;
3825
+ }
3795
3826
 
3796
- .column {
3797
- padding: 0.75rem 0 0.75rem 0;
3827
+ &__save {
3828
+ padding: 8px 18px;
3829
+ &--disable {
3830
+ cursor: not-allowed;
3831
+ }
3832
+ }
3833
+ }
3798
3834
  }
3799
- }
3800
- }
3801
-
3802
- @media screen and (max-width: 768px) {
3803
- .img-tabs__tabsFirst {
3804
- margin-top: 0;
3805
- }
3806
3835
 
3807
- .img-tabs__tabsFirst--small {
3808
- height: 270px;
3809
- }
3836
+ .dropdown-menu {
3837
+ left: -50%;
3838
+ }
3810
3839
  }
3811
3840
 
3812
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3813
- margin: 0;
3841
+ .wz-img-manager .marginBottom {
3842
+ margin-bottom: 20px;
3814
3843
  }