Varia: Revise #wpstats styles to appear on frontend only, update CSS hiding method
This commit is contained in:
parent
40e33fdd01
commit
dd88a55d92
6 changed files with 35 additions and 40 deletions
|
@ -15,3 +15,5 @@
|
|||
@import "comments/comments";
|
||||
|
||||
@import "widgets/widgets";
|
||||
|
||||
@import "utilities/utilities";
|
||||
|
|
11
varia/sass/components/utilities/_utilities.scss
Executable file
11
varia/sass/components/utilities/_utilities.scss
Executable file
|
@ -0,0 +1,11 @@
|
|||
/* WP Stats */
|
||||
|
||||
img#wpstats {
|
||||
position: absolute !important;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
|
@ -26,16 +26,6 @@ figcaption {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
/* WP Stats */
|
||||
img#wpstats {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: 100%;
|
||||
top: 100%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
|
|
|
@ -233,16 +233,6 @@ figcaption {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
/* WP Stats */
|
||||
img#wpstats {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: 100%;
|
||||
top: 100%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
|
|
|
@ -992,16 +992,6 @@ figcaption {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
/* WP Stats */
|
||||
img#wpstats {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
right: 100%;
|
||||
top: 100%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
|
@ -2826,6 +2816,17 @@ table th,
|
|||
flex: 0 0 100%;
|
||||
}
|
||||
|
||||
/* WP Stats */
|
||||
img#wpstats {
|
||||
position: absolute !important;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/**
|
||||
* Site Pages
|
||||
* - Page specific styles
|
||||
|
|
|
@ -992,16 +992,6 @@ figcaption {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
/* WP Stats */
|
||||
img#wpstats {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: 100%;
|
||||
top: 100%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
|
@ -2831,6 +2821,17 @@ table th,
|
|||
flex: 0 0 100%;
|
||||
}
|
||||
|
||||
/* WP Stats */
|
||||
img#wpstats {
|
||||
position: absolute !important;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/**
|
||||
* Site Pages
|
||||
* - Page specific styles
|
||||
|
|
Loading…
Reference in a new issue