1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Rebuild assets

And add `postcss-scss` and fixing some issues.
This commit is contained in:
Jeremy Benoist 2022-01-05 20:43:36 +01:00
parent 553e69273f
commit 9d1716c0e5
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
27 changed files with 93 additions and 137 deletions

View file

@ -5,9 +5,9 @@
.material-icons.md-48 { font-size: 48px; }
/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
.material-icons.md-dark { color: rgb(0 0 0 / 54%); }
.material-icons.md-dark.md-inactive { color: rgb(0 0 0 / 26%); }
/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
.material-icons.md-light { color: rgb(255 255 255 / 100%); }
.material-icons.md-light.md-inactive { color: rgb(255 255 255 / 30%); }

View file

@ -112,7 +112,7 @@ blockquote::before,
blockquote::after,
q::before,
q::after {
content: '';
content: "";
content: none;
}
@ -300,8 +300,6 @@ dl dt {
overflow: hidden;
clear: left;
text-align: right;
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
@ -314,8 +312,6 @@ dl dd {
}
pre {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 4em 0;
border: 0.0625em solid #efefef;
@ -378,7 +374,7 @@ thead tr {
}
tbody tr:nth-child(2n+1) {
background: rgba(0, 0, 0, 0.1);
background: rgb(0 0 0 / 10%);
}
tbody {

View file

@ -1,4 +1,3 @@
#article {
width: 70%;
margin-bottom: 3em;
@ -159,7 +158,7 @@ pre code {
text-transform: uppercase;
text-decoration: none;
font-weight: 400;
font-family: PT Sans, sans-serif;
font-family: "PT Sans", sans-serif;
transition: all 0.5s ease;
}
}

View file

@ -1,4 +1,3 @@
::selection {
color: #fff;
background-color: #000;
@ -60,9 +59,9 @@ form input[type="email"] {
color: #666;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@media screen {
select {
-webkit-appearance: none;
appearance: none;
border-radius: 0;
background: #fff url("../../_global/img/bg-select.png") no-repeat right center;
}
@ -109,10 +108,6 @@ input[type="submit"]:hover,
input[type="submit"]:focus {
background-color: #fff;
color: #000;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
@ -148,7 +143,7 @@ h2::after {
background-color: #333;
padding-top: 9.5em;
height: 100%;
box-shadow: inset -4px 0 20px rgba(0, 0, 0, 0.6);
box-shadow: inset -4px 0 20px rgb(0 0 0 / 60%);
z-index: 15;
> li > a {

View file

@ -1,13 +1,13 @@
/* Style */
@import 'guide';
@import 'layout';
@import 'article';
@import 'pictos';
@import 'login';
@import 'save';
@import 'messages';
@import "guide";
@import "layout";
@import "article";
@import "pictos";
@import "login";
@import "save";
@import "messages";
/* Tools */
@import 'media_queries';
@import 'print';
@import 'ratatouille';
@import "media_queries";
@import "print";
@import "ratatouille";

View file

@ -40,7 +40,7 @@ footer {
display: inline-block;
margin: 0 5px;
padding: 5px 12px;
background-color: rgba(0, 0, 0, 0.6);
background-color: rgb(0 0 0 / 60%);
border-radius: 3px;
max-height: 2em;
overflow: hidden;
@ -78,7 +78,7 @@ footer {
.entry {
background-color: #fff;
letter-spacing: normal;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
box-shadow: 0 3px 7px rgb(0 0 0 / 30%);
display: inline-block;
width: 32%;
margin-bottom: 1.5em;
@ -120,7 +120,7 @@ footer {
}
&:hover {
box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
box-shadow: 0 3px 10px rgb(0 0 0 / 100%);
&::after {
height: 40px;
@ -219,7 +219,7 @@ footer {
li {
margin: 10px 10px 10px auto;
padding: 5px 12px 5px 25px;
background-color: rgba(0, 0, 0, 0.6);
background-color: rgb(0 0 0 / 60%);
border-radius: 0 3px 3px 0;
color: #fff;
cursor: default;

View file

@ -9,7 +9,7 @@
form {
background-color: #fff;
padding: 1.5em;
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
box-shadow: 0 1px 8px rgb(0 0 0 / 90%);
width: 20em;
position: absolute;
top: 8em;

View file

@ -30,7 +30,7 @@ body {
.login form {
background-color: #fff;
padding: 1.5em;
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
box-shadow: 0 1px 8px rgb(0 0 0 / 90%);
width: 20em;
position: absolute;
top: 8em;
@ -110,9 +110,9 @@ form input[type="email"] {
color: #666;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@media screen and (min-device-pixel-ratio: 0) {
select {
-webkit-appearance: none;
appearance: none;
border-radius: 0;
background: #fff url("../../_global/img/bg-select.png") no-repeat right center;
}
@ -157,10 +157,6 @@ input[type="submit"]:hover,
input[type="submit"]:focus {
background-color: #fff;
color: #000;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
@ -196,7 +192,7 @@ h2::after {
background-color: #333;
padding-top: 9.5em;
height: 100%;
box-shadow: inset -4px 0 20px rgba(0, 0, 0, 0.6);
box-shadow: inset -4px 0 20px rgb(0 0 0 / 60%);
z-index: 15;
}
@ -217,10 +213,6 @@ h2::after {
text-decoration: none;
font-weight: normal;
font-family: "PT Sans", sans-serif;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
@ -365,7 +357,7 @@ footer a {
.card-entry-labels li {
margin: 10px 10px 10px auto;
padding: 5px 12px 5px 25px;
background-color: rgba(0, 0, 0, 0.6);
background-color: rgb(0 0 0 / 60%);
border-radius: 0 3px 3px 0;
color: #fff;
cursor: default;
@ -387,7 +379,7 @@ footer a {
display: inline-block;
margin: 0 5px;
padding: 5px 12px;
background-color: rgba(0, 0, 0, 0.6);
background-color: rgb(0 0 0 / 60%);
border-radius: 3px;
max-height: 2em;
overflow: hidden;
@ -425,7 +417,7 @@ footer a {
.entry {
background-color: #fff;
letter-spacing: normal;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
box-shadow: 0 3px 7px rgb(0 0 0 / 30%);
display: inline-block;
width: 32%;
margin-bottom: 1.5em;
@ -448,10 +440,6 @@ footer a {
bottom: 0.3em;
z-index: 10;
right: 1.5em;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
@ -463,15 +451,11 @@ footer a {
bottom: 0;
left: 0;
background-color: #000;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.entry:hover {
box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
box-shadow: 0 3px 10px rgb(0 0 0 / 100%);
}
.entry:hover::after {
@ -501,10 +485,6 @@ footer a {
text-decoration: none;
color: #000;
word-wrap: break-word;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
@ -537,10 +517,6 @@ img.preview {
z-index: 10;
padding-right: 0.5em;
text-align: right;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
@ -626,7 +602,7 @@ div.pagination ul .current {
========================================================================== */
.popup-form {
background: rgba(0, 0, 0, 0.5);
background: rgb(0 0 0 / 50%);
position: absolute;
top: 0;
left: 10em;
@ -752,7 +728,7 @@ a.add-to-wallabag-link-after::after {
}
@font-face {
font-family: 'Material Icons';
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: url(../fonts/MaterialIcons-Regular.eot);
@ -762,7 +738,7 @@ a.add-to-wallabag-link-after::after {
}
.material-icons {
font-family: 'Material Icons';
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1em; /* Preferred icon size */
@ -786,7 +762,7 @@ a.add-to-wallabag-link-after::after {
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
font-feature-settings: "liga";
}
.material-icons.md-18 { font-size: 18px; }
@ -812,11 +788,6 @@ a.add-to-wallabag-link-after::after {
/* Enable Ligatures ================ */
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
-o-font-feature-settings: "liga";
font-feature-settings: "liga";
/* Better Font Rendering =========== */

View file

@ -1,4 +1,3 @@
@media screen and (max-width: 1050px) {
.entry {
width: 49%;

View file

@ -4,13 +4,13 @@
@font-face {
font-family: icomoon;
src: url('~icomoon-free-npm/Font/IcoMoon-Free.ttf');
src: url("~icomoon-free-npm/Font/IcoMoon-Free.ttf");
font-weight: normal;
font-style: normal;
}
.material-icons {
font-family: 'Material Icons';
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1em; /* Preferred icon size */
@ -34,7 +34,7 @@
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
font-feature-settings: "liga";
.md-18 { font-size: 18px; }
.md-24 { font-size: 24px; }
@ -64,11 +64,6 @@
/* Enable Ligatures ================ */
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
-o-font-feature-settings: "liga";
font-feature-settings: "liga";
/* Better Font Rendering =========== */

View file

@ -5,15 +5,12 @@
*/
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
text-size-adjust: 100%; /* 2 */
}
body {
@ -100,7 +97,7 @@ textarea {
}
input[type="search"] {
-webkit-appearance: textfield;
appearance: textfield;
}
/* ==========================================================================
@ -218,9 +215,9 @@ video {
display: inline-block;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
@media screen {
select {
-webkit-appearance: none;
appearance: none;
border-radius: 0;
}
}

View file

@ -3,7 +3,7 @@
========================================================================== */
.popup-form {
background: rgba(0, 0, 0, 0.5);
background: rgb(0 0 0 / 50%);
position: absolute;
top: 0;
left: 10em;

View file

@ -27,7 +27,7 @@
}
.card-stacked {
input[type=checkbox] {
input[type="checkbox"] {
position: relative;
opacity: initial;
left: 0;

View file

@ -8,7 +8,7 @@
*
*/
.material-icons {
font-family: 'Material Icons';
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
@ -32,7 +32,7 @@
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
font-feature-settings: "liga";
.md-18 {
font-size: 18px;
@ -51,18 +51,18 @@
}
.md-dark {
color: rgba(0, 0, 0, 0.54);
color: rgb(0 0 0 / 54%);
.md-inactive {
color: rgba(0, 0, 0, 0.26);
color: rgb(0 0 0 / 26%);
}
}
.md-light {
color: rgba(255, 255, 255, 1);
color: rgb(255 255 255 / 100%);
.md-inactive {
color: rgba(255, 255, 255, 0.3);
color: rgb(255 255 255 / 30%);
}
}
}
@ -185,5 +185,5 @@ footer [class*=" icon-"] {
footer [class^="icon-"]:hover,
footer [class*=" icon-"]:hover {
text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
text-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

View file

@ -1,18 +1,18 @@
@import 'variables';
@import "variables";
/* Style */
@import 'article';
@import 'cards';
@import 'entries';
@import 'filters';
@import 'layout';
@import 'nav';
@import 'sidenav';
@import 'various';
@import 'dark_theme';
@import "article";
@import "cards";
@import "entries";
@import "filters";
@import "layout";
@import "nav";
@import "sidenav";
@import "various";
@import "dark_theme";
/* Tools */
@import 'fonts';
@import 'icons';
@import 'print';
@import 'media_queries';
@import "fonts";
@import "icons";
@import "print";
@import "media_queries";

View file

@ -103,7 +103,7 @@
@media only screen and (min-width: 1200px) and (max-width: 1650px) {
.row .col.l3 {
width: 33.33333%;
width: 33.3333%;
margin-left: 0;
}
}
@ -116,12 +116,12 @@
}
.col.l2 {
width: 33.33333%;
width: 33.3333%;
margin-left: 0;
}
.col.l3 {
width: 41.66667%;
width: 41.6667%;
margin-left: 0;
}
@ -131,12 +131,12 @@
}
.col.l5 {
width: 58.33333%;
width: 58.333%;
margin-left: 0;
}
.col.l6 {
width: 66.66667%;
width: 66.6667%;
margin-left: 0;
}
@ -146,12 +146,12 @@
}
.col.l8 {
width: 83.33333%;
width: 83.3333%;
margin-left: 0;
}
.col.l9 {
width: 91.66667%;
width: 91.6667%;
margin-left: 0;
}

View file

@ -1,4 +1,3 @@
/* ==========================================================================
Nav
========================================================================== */

View file

@ -23,7 +23,7 @@ module.exports = {
'window.jQuery': 'jquery',
}),
new StyleLintPlugin({
configFile: '.stylelintrc',
configFile: 'stylelint.config.js',
failOnError: false,
quiet: false,
context: 'app/Resources/static/themes',