Skip to content

Commit

Permalink
Fix style : bouton plus facilement repérable
Browse files Browse the repository at this point in the history
  • Loading branch information
RmbxCh authored Feb 23, 2024
1 parent 0a2f9f3 commit 8b24c26
Show file tree
Hide file tree
Showing 13 changed files with 85 additions and 32 deletions.
8 changes: 7 additions & 1 deletion ophirofox/content_scripts/demorgen.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
.ophirofox-europresse {
display: block;
margin-top: 1rem;
width: 12vw;
margin: 1rem auto;
padding: 0.25rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000 !important;
text-align: center;
text-decoration: none;
}
1 change: 1 addition & 0 deletions ophirofox/content_scripts/demorgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async function onLoad() {
const newClassState = mutation.target.classList.contains('js-tm-backdrop-active');
if(classState !== newClassState){
addEuropresseButton();
observer.disconnect();
}
}
}
Expand Down
17 changes: 13 additions & 4 deletions ophirofox/content_scripts/destandaard.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
.ophirofox-europresse {
display: block;
padding: 0.5rem;
background-color: #d90000 !important;
color: #fff !important;
display: inline-block;
margin-top: 1rem;
padding: 0.25rem 1rem;
border-radius: 0.3rem;
background-color: #ffc700 !important;
color: #000 !important;
text-align: center;
text-decoration: none !important;
}

.ophirofox-modal-link {
display: block;
margin-top: 0;
padding: 0.5rem;
border-radius: 0;
}
7 changes: 4 additions & 3 deletions ophirofox/content_scripts/financialtimes.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.ophirofox-europresse {
display: inline-block;
margin-bottom: 1rem;
padding: 0.25rem 1rem;
border: 1px solid #fff;
color: #fff;
padding: 0.5rem 1.5rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000;
text-decoration: none;
}
15 changes: 13 additions & 2 deletions ophirofox/content_scripts/gazetvanantwerpen.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
.ophirofox-europresse {
display: inline-block;
margin-top: 1rem;
padding: 0.25rem 1rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000 !important;
text-align: center;
text-decoration: none;
}

.ophirofox-modal-link {
display: block;
margin-top: 0;
padding: 0.5rem;
border: 1px solid #d21d10;
text-align: center;
border-radius: 0;
}
8 changes: 7 additions & 1 deletion ophirofox/content_scripts/hetlaatstenieuws.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
.ophirofox-europresse {
display: block;
margin-top: 1rem;
width: 12vw;
margin: 1rem auto;
padding: 0.25rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000 !important;
text-align: center;
text-decoration: none !important;
}
1 change: 1 addition & 0 deletions ophirofox/content_scripts/hetlaatstenieuws.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async function onLoad() {
const newClassState = mutation.target.classList.contains('js-tm-backdrop-active');
if(classState !== newClassState){
addEuropresseButton();
observer.disconnect();
}
}
}
Expand Down
15 changes: 13 additions & 2 deletions ophirofox/content_scripts/hetnieuwsblad.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
.ophirofox-europresse {
display: inline-block;
margin-top: 1rem;
padding: 0.25rem 1rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000 !important;
text-align: center;
text-decoration: none;
}

.ophirofox-modal-link {
display: block;
margin-top: 0;
padding: 0.5rem;
border: 1px solid #0071c7;
text-align: center;
border-radius: 0;
}
10 changes: 6 additions & 4 deletions ophirofox/content_scripts/knack.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.ophirofox-europresse {
display: inline-block;
margin-top: 1rem;
padding: 0.5rem 1rem;
border: 1px solid #ee1c24;
color: #ee1c24;
padding: 0.5rem 1.5rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000;
font-family: "Aeonik","Publica Slab","Helvetica","Arial",sans-serif;
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
}
10 changes: 6 additions & 4 deletions ophirofox/content_scripts/levif.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.ophirofox-europresse {
display: inline-block;
margin-top: 1rem;
padding: 0.5rem 1rem;
border: 1px solid #ee1c24;
color: #ee1c24;
padding: 0.5rem 1.5rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000;
font-family: "Aeonik","Publica Slab","Helvetica","Arial",sans-serif;
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
}
9 changes: 4 additions & 5 deletions ophirofox/content_scripts/theeconomist.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
.ophirofox-europresse{
display: inline-block;
margin-top: 1rem;
color: #e3120b;
padding: 0.25rem 1rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000;
text-decoration: none;
}

.ophirofox-europresse:hover{
text-decoration: underline;
}
9 changes: 5 additions & 4 deletions ophirofox/content_scripts/trendstendances.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
.ophirofox-europresse {
display: inline-block;
margin-top: 1rem;
padding: 0.5rem 1rem;
border: 1px solid #5cb4ab;
color: #5cb4ab;
padding: 0.5rem 1.5rem;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000;
font-family: "Aeonik","Publica Slab","Helvetica","Arial",sans-serif;
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
}
7 changes: 5 additions & 2 deletions ophirofox/content_scripts/washingtonpost.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
justify-content: center;
margin: 1rem auto;
padding: 0.25rem 1rem;
width: 40%;
border: 1px solid #1955a5;
width: 12vw;
border-radius: 0.3rem;
background-color: #ffc700;
color: #000;
text-decoration: none;
}

0 comments on commit 8b24c26

Please sign in to comment.