Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
120d4bcb
Commit
120d4bcb
authored
Jul 08, 2023
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some aesthetic changes
parent
35083a0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
11 deletions
+94
-11
sexhackme_gallery.css
css/sexhackme_gallery.css
+57
-10
sexhackme_header.css
css/sexhackme_header.css
+31
-1
class-storefront.php
includes/class-storefront.php
+6
-0
No files found.
css/sexhackme_gallery.css
View file @
120d4bcb
...
@@ -20,6 +20,13 @@
...
@@ -20,6 +20,13 @@
.sexhack_gallery_title
{
.sexhack_gallery_title
{
top
:
-30px
;
top
:
-30px
;
overflow
:
hidden
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
/* number of lines to show */
line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
text-align
:
left
;
margin-bottom
:
0.1em
!important
;
}
}
.sexhack_gallery_thumbnail
{
.sexhack_gallery_thumbnail
{
...
@@ -27,9 +34,9 @@
...
@@ -27,9 +34,9 @@
}
}
ul
.products
li
.sexhack_thumbli
{
ul
.products
li
.sexhack_thumbli
{
border
:
2px
solid
#253e50
;
//
border
:
2px
solid
#253e50
;
border-radius
:
15px
;
border-radius
:
15px
;
margin-bottom
:
1
.6
em
;
margin-bottom
:
1em
;
}
}
...
@@ -37,11 +44,10 @@ ul.products li.sexhack_thumbli {
...
@@ -37,11 +44,10 @@ ul.products li.sexhack_thumbli {
position
:
relative
;
position
:
relative
;
float
:
left
;
float
:
left
;
border-radius
:
20px
;
border-radius
:
20px
;
padding
:
0
10px
0
10px
;
text-align
:
center
;
text-align
:
center
;
font-size
:
9px
;
font-size
:
9px
;
color
:
white
;
color
:
white
;
top
:
-
3
0px
;
top
:
-
1
0px
;
}
}
.sexhack_vtag
:hover
{
.sexhack_vtag
:hover
{
...
@@ -50,7 +56,7 @@ ul.products li.sexhack_thumbli {
...
@@ -50,7 +56,7 @@ ul.products li.sexhack_thumbli {
.sexhack_download
{
.sexhack_download
{
position
:
absolute
;
position
:
absolute
;
top
:
1px
;
top
:
1px
;
left
:
-1
5
px
;
left
:
-1px
;
z-index
:
100
;
z-index
:
100
;
border-bottom
:
-20px
;
border-bottom
:
-20px
;
background-color
:
#4a235a
;
background-color
:
#4a235a
;
...
@@ -59,7 +65,7 @@ ul.products li.sexhack_thumbli {
...
@@ -59,7 +65,7 @@ ul.products li.sexhack_thumbli {
.sexhack_VR
{
.sexhack_VR
{
position
:
absolute
;
position
:
absolute
;
top
:
1px
;
top
:
1px
;
right
:
-
1
5px
;
right
:
-5px
;
z-index
:
100
;
z-index
:
100
;
font-size
:
14px
;
font-size
:
14px
;
border-bottom
:
-20px
;
border-bottom
:
-20px
;
...
@@ -122,6 +128,10 @@ ul.products li.sexhack_thumbli {
...
@@ -122,6 +128,10 @@ ul.products li.sexhack_thumbli {
}
}
@media
screen
and
(
max-width
:
767px
)
{
@media
screen
and
(
max-width
:
767px
)
{
.videogallery-home
{
width
:
100%
;
margin-left
:
0%
;
}
.sexhack_gallery_thumbnail
{
.sexhack_gallery_thumbnail
{
width
:
90%
;
width
:
90%
;
display
:
block
;
display
:
block
;
...
@@ -131,6 +141,10 @@ ul.products li.sexhack_thumbli {
...
@@ -131,6 +141,10 @@ ul.products li.sexhack_thumbli {
min-height
:
100px
;
min-height
:
100px
;
}
}
.sexhack_vtag
{
padding
:
0
10px
0
10px
;
}
.sexhack_gallery_row
{
.sexhack_gallery_row
{
display
:
block
;
display
:
block
;
}
}
...
@@ -147,21 +161,37 @@ ul.products li.sexhack_thumbli {
...
@@ -147,21 +161,37 @@ ul.products li.sexhack_thumbli {
@media
screen
and
(
min-width
:
768px
)
{
@media
screen
and
(
min-width
:
768px
)
{
.videogallery-home
{
width
:
75%
;
margin-left
:
12.5%
;
}
.site-main
ul
.products.columns-4
li
.sexhack_thumbli
{
.site-main
ul
.products.columns-4
li
.sexhack_thumbli
{
width
:
20%
!important
;
width
:
24%
!important
;
margin-right
:
1%
!important
;
/* This to solve the different title lenght, combine with right trim and popup full title maybe,
/* This to solve the different title lenght, combine with right trim and popup full title maybe,
and maybe not here but adding another container.
and maybe not here but adding another container.
I should also re-check the sexhack class naming...
I should also re-check the sexhack class naming...
*/
*/
//
height
:
210px
;
height
:
fit-content
;
height
:
fit-content
;
//
overflow
:
hidden
;
}
.sexhack_gallery_title
{
font-size
:
0.95rem
!important
;
font-weight
:
350
!important
;
line-height
:
1
;
}
}
.sexhack-video-container
{
.sexhack-video-container
{
min-height
:
200px
;
min-height
:
200px
;
}
}
.sexhack_vtag
{
padding
:
0
4px
0
4px
;
}
.sexhack_gallery_row
{
.sexhack_gallery_row
{
display
:
table-row
;
display
:
table-row
;
}
}
...
@@ -170,7 +200,6 @@ ul.products li.sexhack_thumbli {
...
@@ -170,7 +200,6 @@ ul.products li.sexhack_thumbli {
align
:
left
;
align
:
left
;
align-content
:
top
;
align-content
:
top
;
align-items
:
top
;
align-items
:
top
;
//
border
:
2px
solid
red
;
display
:
table
;
display
:
table
;
}
}
...
@@ -180,6 +209,21 @@ ul.products li.sexhack_thumbli {
...
@@ -180,6 +209,21 @@ ul.products li.sexhack_thumbli {
}
}
@media
screen
and
(
min-width
:
1000px
)
{
.sexhack_vtag
{
padding
:
0
10px
0
10px
;
}
}
@media
screen
and
(
min-width
:
870px
)
{
.sexhack_vtag
{
padding
:
0
7px
0
7px
;
}
}
.sexhack_thumb_cont
{
.sexhack_thumb_cont
{
position
:
relative
;
position
:
relative
;
max-width
:
100%
;
max-width
:
100%
;
...
@@ -187,6 +231,9 @@ ul.products li.sexhack_thumbli {
...
@@ -187,6 +231,9 @@ ul.products li.sexhack_thumbli {
//
border
:
2px
solid
red
;
//
border
:
2px
solid
red
;
//
border-radius
:
6px
;
//
border-radius
:
6px
;
}
}
.sexhack_thumb_cont
img
{
margin
:
-1px
auto
0
!important
;
}
.sexhack_thumb_cont
.sexhack_thumb_hover
{
.sexhack_thumb_cont
.sexhack_thumb_hover
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
...
...
css/sexhackme_header.css
View file @
120d4bcb
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
margin-bottom
:
0em
;
margin-bottom
:
0em
;
}
}
@media
screen
and
(
min-width
:
768px
)
{
@media
screen
and
(
min-width
:
768px
)
{
.site-header-cart
.cart-contents
{
.site-header-cart
.cart-contents
{
...
@@ -42,6 +41,14 @@
...
@@ -42,6 +41,14 @@
padding-top
:
10px
;
padding-top
:
10px
;
}
}
.page
h1
.entry-title
{
display
:
none
;
}
.woocommerce-products-header__title
{
display
:
none
;
}
.col-full
{
.col-full
{
max-width
:
85em
;
max-width
:
85em
;
}
}
...
@@ -55,9 +62,26 @@
...
@@ -55,9 +62,26 @@
margin-bottom
:
0em
;
margin-bottom
:
0em
;
}
}
.secondary-navigation
a
{
padding
:
1em
0.2em
!important
;
}
.secondary-navigation
.menu
{
float
:
left
!important
;
}
.main-navigation
ul
.menu
>
li
>
a
,
.main-navigation
ul
.nav-menu
>
li
>
a
{
.main-navigation
ul
.menu
>
li
>
a
,
.main-navigation
ul
.nav-menu
>
li
>
a
{
padding
:
0.4em
0.5em
;
padding
:
0.4em
0.5em
;
}
}
.main-navigation
ul
li
a
:hover
,
.main-navigation
ul
li
:hover
>
a
,
.site-title
a
:hover
,
.site-header
ul
.menu
li
.current-menu-item
>
a
{
color
:
#f3856b
;
}
.storefront-primary-navigation
{
display
:
none
!important
;
}
.site-header
{
.site-header
{
padding-top
:
0.2em
;
padding-top
:
0.2em
;
}
}
...
@@ -84,6 +108,12 @@
...
@@ -84,6 +108,12 @@
} */
} */
}
}
@media
screen
and
(
min-width
:
1024px
)
{
.secondary-navigation
.menu
{
font-size
:
1.2em
!important
;
}
}
@media
screen
and
(
max-width
:
767px
)
{
@media
screen
and
(
max-width
:
767px
)
{
.advbottom
{
.advbottom
{
display
:
none
;
display
:
none
;
...
...
includes/class-storefront.php
View file @
120d4bcb
...
@@ -33,6 +33,12 @@ if(!class_exists('SH_StoreFront')) {
...
@@ -33,6 +33,12 @@ if(!class_exists('SH_StoreFront')) {
// Remove the cart and the product search
// Remove the cart and the product search
remove_action
(
'storefront_header'
,
'storefront_header_cart'
,
60
);
remove_action
(
'storefront_header'
,
'storefront_header_cart'
,
60
);
remove_action
(
'storefront_header'
,
'storefront_product_search'
,
40
);
remove_action
(
'storefront_header'
,
'storefront_product_search'
,
40
);
// Remove primary navigation
//remove_action( 'storefront_header', 'storefront_primary_navigation', 50 );
// readd primary navigation
//add_action( 'storefront_header', 'storefront_primary_navigation', 21 );
// Remove StoreFront credits
// Remove StoreFront credits
add_filter
(
'storefront_credit_link'
,
'wp_SexHackMe\SH_StoreFront::credits'
);
add_filter
(
'storefront_credit_link'
,
'wp_SexHackMe\SH_StoreFront::credits'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment