Skip to content

Commit

Permalink
Merge pull request #4 from litespeedtech/master
Browse files Browse the repository at this point in the history
Merge recent changes into my fork
  • Loading branch information
lslisa committed Sep 25, 2024
2 parents 41df677 + e97afc7 commit 77551dd
Show file tree
Hide file tree
Showing 97 changed files with 3,098 additions and 1,945 deletions.
229 changes: 216 additions & 13 deletions assets/css/litespeed.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ input[type='checkbox'].litespeed-tiny-toggle:checked:after {

.litespeed-width-3-10 {
width: 100%;
padding: 0;
}
}

Expand Down Expand Up @@ -464,9 +465,20 @@ button.litespeed-form-action:hover {
margin: 10px 20px 0 2px;
}

.litespeed-wrap .nav-tab-wrapper {
display: flex;
flex-wrap: wrap-reverse;
@media screen and (max-width: 600px) {
.litespeed-wrap h2 .nav-tab {
border-bottom: 1px solid #c3c4c7;
margin: 10px 10px 0 0;
}

.litespeed-wrap .nav-tab-wrapper {
margin-bottom: 15px;
}

.litespeed-desc a,
.litespeed-body p > a:not(.button) {
word-break: break-word;
}
}

.litespeed-wrap .nav-tab {
Expand Down Expand Up @@ -494,8 +506,10 @@ button.litespeed-form-action:hover {
padding: 1px 20px 20px 20px;
}

.litespeed-header + .litespeed-body {
border-top: none;
@media screen and (min-width: 681px) {
.litespeed-header + .litespeed-body {
border-top: none;
}
}

.litespeed-body table {
Expand Down Expand Up @@ -542,14 +556,30 @@ td > .litespeed-desc:first-child {
margin: 2px 0;
}

.litespeed-div {
display: inline-block;
min-width: 100px;
.litespeed-div .submit {
margin-top: 0;
}

.litespeed-div .submit {
margin: 5px;
padding: 5px;
@media screen and (min-width: 681px) {
.litespeed-div {
display: inline-block;
min-width: 100px;
}

.litespeed-div .submit {
margin: 5px;
padding: 5px;
}
}

@media screen and (max-width: 680px) {
.litespeed-desc + .litespeed-desc.litespeed-left20 {
margin-left: 0 !important;
}

.litespeed-desc .litespeed-callout.notice-warning.inline {
word-break: break-word;
}
}

.litespeed-h1 {
Expand Down Expand Up @@ -768,6 +798,16 @@ h3 .litespeed-learn-more {
margin-bottom: 0;
}

@media screen and (max-width: 600px) {
.litespeed-block {
flex-direction: column;
}

.litespeed-block .litespeed-col {
padding-right: 0;
}
}

/* =======================================
CARDS LINKS
======================================= */
Expand Down Expand Up @@ -1756,6 +1796,12 @@ ul.litespeed-shell-body {
line-height: 1.4;
}

@media screen and (max-width: 782px) {
.litespeed-radio-row {
padding-left: 2rem;
}
}

/* =======================================
FORM - layout
======================================= */
Expand Down Expand Up @@ -1803,6 +1849,16 @@ ul.litespeed-shell-body {
width: 45px;
}

@media screen and (max-width: 680px) {
.litespeed-input-short2 {
width: 160px;
}

.litespeed-input-short {
width: 50px;
}
}

/* =======================================
FORM - elements
======================================= */
Expand Down Expand Up @@ -1889,6 +1945,16 @@ input.litespeed-input-warning {
padding: 18px 0 5px 12px;
}

.litespeed-body .litespeed-table td {
display: block;
max-width: 100%;
}

.litespeed-body .litespeed-table textarea,
.litespeed-body .litespeed-table input.litespeed-regular-text {
width: 100% !important;
}

.litespeed-wrap .litespeed-float-submit {
display: none;
}
Expand All @@ -1897,7 +1963,7 @@ input.litespeed-input-warning {
padding: 1px 10px 20px 15px;
}

.litespeed-body .regular-text {
.litespeed-body .regular-text:not(.litespeed-input-short) {
width: 100%;
}

Expand All @@ -1908,6 +1974,26 @@ input.litespeed-input-warning {
.litespeed-textarea-recommended > div:first-child {
margin-bottom: 1.7em;
margin-top: 0;
margin-right: 0;
}

.litespeed-switch {
max-width: 100%;
flex-wrap: wrap;
}

.litespeed-switch + .litespeed-warning {
display: block;
margin-top: 10px;
}

input.litespeed-input[type='file'] {
max-width: calc(100% - 24px);
min-width: 0;
}

.litespeed-body .litespeed-table .litespeed-row-flex {
flex-direction: column;
}
}

Expand Down Expand Up @@ -2330,6 +2416,12 @@ g.litespeed-pie_info .litespeed-pie-done {
top: -6px;
}

@media screen and (max-width: 600px) {
.litespeed-cdn-mapping-col1 {
max-width: 100%;
}
}

/* =======================================
VIEW - crawler
======================================= */
Expand All @@ -2344,6 +2436,43 @@ g.litespeed-pie_info .litespeed-pie-done {
margin-top: 5px;
}

.litespeed-crawler-sitemap-nav {
display: flex;
justify-content: space-between;
}

.litespeed-crawler-sitemap-nav > div {
margin-top: 10px;
}

@media screen and (max-width: 680px) {
.litespeed-crawler-sitemap-nav {
display: block;
}

.litespeed-table-responsive {
clear: both;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

.litespeed-table-responsive table {
width: 100%;
}

.litespeed-table-responsive th {
text-wrap: nowrap;
}

.litespeed-table-responsive [data-crawler-list].wp-list-table td:nth-child(2) {
min-width: 115px;
}

.litespeed-wrap input[name='kw'] {
width: 100% !important;
}
}

/* =======================================
PROGRESS BAR
======================================= */
Expand Down Expand Up @@ -2530,6 +2659,7 @@ g.litespeed-pie_info .litespeed-pie-done {
margin-top: 1.65em;
display: flex;
align-items: flex-end;
flex-wrap: wrap;
}

.litespeed-img-optim-actions .button-primary {
Expand All @@ -2554,6 +2684,13 @@ g.litespeed-pie_info .litespeed-pie-done {
}
}

@media screen and (max-width: 680px) {
.litespeed-img-optim-actions .button + .button.button-secondary {
margin-left: 0;
margin-top: 10px;
}
}

/* =======================================
VIEW - image optm media row
======================================= */
Expand Down Expand Up @@ -3014,6 +3151,11 @@ a.litespeed-redetect {
width: 100%;
}

.litespeed-postbox-double-content .litespeed-postbox-double-col:nth-child(2) {
padding-left: 0;
margin-top: 7px;
}

.litespeed-postbox-double-content {
flex-wrap: wrap;
}
Expand Down Expand Up @@ -3267,6 +3409,17 @@ a.litespeed-redetect {
.litespeed-body tbody > tr > th.litespeed-padding-left {
padding-left: 3em;
}
@media screen and (max-width: 680px) {
.litespeed-body tbody > tr > th.litespeed-padding-left {
padding-left: 10px;
}

.litespeed-body tbody > tr > th.litespeed-padding-left:before {
content: '\2014\2014';
color: #ccc;
margin-right: 5px;
}
}

.litespeed-txt-small {
font-size: 12px;
Expand Down Expand Up @@ -3335,7 +3488,7 @@ a.litespeed-media-href svg:hover {
flex-wrap: wrap;
}

.litespeed-banner-desciption-content {
.litespeed-banner-description-content {
margin: 0px;
line-height: 1.25em;
}
Expand Down Expand Up @@ -3876,3 +4029,53 @@ a.litespeed-media-href svg:hover {
white-space: normal;
width: 100%;
}

/* =======================================
Misc Mobile TWEAKS
======================================= */

@media screen and (max-width: 680px) {
.litespeed-wrap .litespeed-body .field-col {
margin-left: 0;
}

.litespeed-width-auto.litespeed-table-compact td {
font-size: 12px;
word-break: break-word;
}

input#input_api_key + .button {
margin-top: 10px;
margin-left: 0;
}

input#input_api_key + .button + .litespeed-desc {
display: block;
}

input#input_api_key + .button + .litespeed-desc + .button {
margin-left: 0;
}

.litespeed-body .litespeed-table td .litespeed-right {
float: none !important;
}

.litespeed-title a.litespeed-learn-more,
.litespeed-title-short a.litespeed-learn-more {
display: block;
margin-left: 0;
margin-top: 5px;
}
}

.litespeed-wrap .litespeed-redetect[aria-label][data-balloon-pos][data-balloon-pos='up']:after {
left: auto;
right: 0;
transform: translate(0%, var(--balloon-move));
}

.litespeed-wrap .litespeed-redetect[aria-label][data-balloon-pos][data-balloon-pos='up']:hover:after,
.litespeed-wrap .litespeed-redetect[aria-label][data-balloon-pos][data-balloon-pos='up'][data-balloon-visible]:after {
transform: translate(0, 0);
}
2 changes: 1 addition & 1 deletion assets/js/instant_click.min.js

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

Loading

0 comments on commit 77551dd

Please sign in to comment.