Skip to content

Commit

Permalink
Merge branch 'aaronjbap/npf-tag' of github.com-aaronjbaptiste:Automat…
Browse files Browse the repository at this point in the history
…tic/tumblr-theme-translator into aaronjbap/npf-tag
  • Loading branch information
aaronjbaptiste committed Dec 10, 2024
2 parents 59ec83f + 7b19429 commit 84e69e4
Show file tree
Hide file tree
Showing 29 changed files with 1,239 additions and 272 deletions.
77 changes: 53 additions & 24 deletions assets/css/build/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/build/admin.css.map

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion assets/css/build/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/build/index.css.map

Large diffs are not rendered by default.

130 changes: 83 additions & 47 deletions assets/css/src/admin/_theme_garden.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
$buttonWidth: 70px;

@mixin rainbow-button {
display: inline-block;
line-height: 24px;
padding: 0 20px;
font-size: 1em;
text-decoration: none;
border-radius: 4px;
color: var(--t3-button-text);
border: 1px solid var(--t3-primary);
background: var(--t3-primary);
}

@mixin rainbow-button-hover {
background: repeating-linear-gradient(
90deg,
var(--t3-red) 0%,
var(--t3-orange),
var(--t3-yellow),
var(--t3-green),
var(--t3-violet),
var(--t3-red) 50%
);
background-size: 90px 100%;
animation: play 1.5s linear infinite;
color: #000;
}

body {
--t3-primary: #49a2c4;
--t3-secondary: #8eb2c0;
Expand Down Expand Up @@ -153,13 +180,57 @@ body.admin-color-sunrise {
4px 0 0 0 var(--t3-text);
}

.tumblr-theme-thumbnail {
.tumblr-theme-details {
width: calc(100% - 4px);
height: auto;
aspect-ratio: 100/67;
object-fit: contain;
border: 2px solid var(--t3-secondary);
border-radius: 4px;
display: block;
position: relative;
overflow: hidden;
padding: 0;

label {
display: none;
z-index: 2;
position: absolute;
}

img {
width: 100%;
height: auto;
aspect-ratio: 100/67;
object-fit: contain;
margin-bottom: -6px;
z-index: 1;
}

&:hover {
label {
top: 0;
left: 0;
width: 100%;
height: auto;
aspect-ratio: 100/67;
object-fit: contain;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
background: radial-gradient(
closest-side,
#0000 calc(100% - 1px),
var(--t3-background)
) 0/ 3px 3px space;
}

.tumblr-theme-detail-button {
@include rainbow-button;
@include rainbow-button-hover;
font-size: 16px;
font-weight: 600;
padding: 5px 20px;
}
}
}

.tumblr-theme-title {
Expand Down Expand Up @@ -201,57 +272,22 @@ body.admin-color-sunrise {
20px 16px 0 var(--t3-text);
}

.tumblr-theme-buttons {
display: flex;
justify-content: flex-end;
align-items: center;
.tumblr-theme-footer {
position: relative;
text-align: right;
margin: 10px 0 0;
padding: 0;
width: 100%;
}

.tumblr-theme-buttons li {
flex: none;
display: block;
overflow: hidden;
position: relative;
margin-left: 10px;
border-radius: 4px;
}

a {
@include rainbow-button;

.tumblr-theme-buttons li a {
display: inline-block;
overflow: hidden;
width: 90px;
line-height: 24px;
font-size: 1em;
white-space: nowrap;
text-align: center;
text-decoration: none;
border-radius: inherit;
color: var(--t3-button-text);
border: 1px solid var(--t3-primary);
background: var(--t3-primary);
}

.tumblr-theme-buttons li a:hover {
background: repeating-linear-gradient(
90deg,
var(--t3-red) 0%,
var(--t3-orange),
var(--t3-yellow),
var(--t3-green),
var(--t3-violet),
var(--t3-red) 50%
);
background-size: 90px 100%;
animation: play 1.5s linear infinite;
color: #000;
&:hover {
@include rainbow-button-hover;
}
}
}


#t3-categories {
margin: 10px;
}
Expand Down
16 changes: 15 additions & 1 deletion assets/css/src/frontend/_global.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
body {
> .iframe-container {
>.iframe-container {
display: none;
}

iframe[src*="https://www.tumblr.com/dashboard/iframe"] {
display: none;
}

div.jetpack-likes-widget-wrapper.t3-likes {
min-height: 0px;
position: static;

.likes-widget-placeholder.post-likes-widget-placeholder {
display: none;
}

iframe {
width: 20px !important;
height: 20px !important;
}
}
}
1 change: 1 addition & 0 deletions assets/js/build/customizer-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/js/build/customizer.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '50d298de0e00f7abc982');
1 change: 1 addition & 0 deletions assets/js/build/customizer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/js/build/customizer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/build/theme-garden.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'fd810d3ceda54951e88a');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '9727829e65ee1958b005');
Loading

0 comments on commit 84e69e4

Please sign in to comment.