Skip to content

Commit

Permalink
xczc
Browse files Browse the repository at this point in the history
  • Loading branch information
lahirulhr committed May 5, 2022
1 parent d530a7e commit 6ae9234
Show file tree
Hide file tree
Showing 4 changed files with 28,382 additions and 5 deletions.
48 changes: 47 additions & 1 deletion dist/css/field.css
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
.tox-tinymce{border-color:#bacad6!important;border-radius:.5rem!important}.img-text{-webkit-transform:scale(0);transform:scale(0);position:absolute;top:0;bottom:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#00000080;color:#fff;border-radius:.5rem;padding:8px;text-align:center}.nml-icon-image{position:relative}.nml-icon-image:active .img-text,.nml-icon-image:focus .img-text,.nml-icon-image:hover .img-text{-webkit-transform:scale(1);transform:scale(1)}button.pagination-active{background-color:#fff;border-radius:50%}
.tox-tinymce {
border-color: #bacad6 !important;
border-radius: .5rem !important;
}

.img-text {
-webkit-transform: scale(0);
transform: scale(0);
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: #00000080;
color: #ffffff;
border-radius: 0.5rem;
padding: 8px;
text-align: center;
}

.img-container {
position: relative;
height: 150px;
width: 150px;
}

.img-container:hover .img-text,
.img-container:active .img-text,
.img-container:focus .img-text {
-webkit-transform: scale(1);
transform: scale(1);
}

button.pagination-active {
background-color: white;
border-radius: 50%;
}

28,330 changes: 28,329 additions & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions resources/js/components/addons/media/ImagePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
<!-- gallary -->
<loading-view :loading="imagesIsLoading">
<div class="p-4">
<div class="flex flex-wrap nml-display-gallery">
<div class="flex flex-wrap">

<image-block-mt @choose="selectImage(image)" v-for="(image,k) in images" :key="k" :image="image"/>
<p class="p-5" v-empty="images">Nothing here !</p>

<p class="p-5" v-if="images == []">Nothing here !</p>

</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion resources/sass/field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
text-align: center;
}

.nml-icon-image{
.img-container{
position: relative;
height: 150px;
width: 150px;
&:hover, &:active,&:focus{
.img-text{
transform: scale(1);
Expand Down

0 comments on commit 6ae9234

Please sign in to comment.