Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 27, 2020
1 parent afb1404 commit f5508bb
Show file tree
Hide file tree
Showing 12 changed files with 2,099 additions and 2,983 deletions.
20 changes: 10 additions & 10 deletions css/browser.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--selected-conversation-background: linear-gradient(hsla(209, 110%, 45%, 0.9), hsla(209, 110%, 42%, 0.9));
--selected-conversation-background: linear-gradient(hsla(209deg 110% 45% / 90%), hsla(209deg 110% 42% / 90%));
--selected-conversation-background-inactive: #d2d2d2;
--black: #000;
}
Expand Down Expand Up @@ -80,7 +80,7 @@ html.hide-dropdowns .uiContextualLayerPositioner {

/* Right column */
._1q5- {
border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
border-left: 1px solid rgb(0 0 0 / 10%) !important;
}

/* ***************************** */
Expand Down Expand Up @@ -142,7 +142,7 @@ html.sidebar-force-narrow ._1ht1 ._1qt3._6-5k {
margin-right: 0;
}
html.sidebar-force-narrow ._1ht3._1ht1._6zk9 {
background-color: rgba(0, 132, 255, 0.2);
background-color: rgb(0 132 255 / 20%);
transition: background-color 0.5s;
}
html.sidebar-force-narrow ._1ht1._6zk9._1ht2 {
Expand Down Expand Up @@ -317,7 +317,7 @@ a,

/* Contact list: latest message, under contact name */
._1ht1 ._1htf {
color: rgba(0, 0, 0, 0.7);
color: rgb(0 0 0 / 70%);
}

/* Allow scrolling of "Edit Nicknames" dialog */
Expand Down Expand Up @@ -354,7 +354,7 @@ a,
/* Fix border width and color on links */
.__6j._43kk {
border-width: 1px !important;
border-color: rgba(0, 0, 0, 0.1) !important;
border-color: rgb(0 0 0 / 10%) !important;
}

/* Contact list: person (selected) */
Expand All @@ -367,7 +367,7 @@ a,
}

._1ht1._1ht2 * {
color: rgba(255, 255, 255, 0.8);
color: rgb(255 255 255 / 80%);
}

/* Contact list: person (selected) window inactive */
Expand All @@ -376,7 +376,7 @@ html.is-window-inactive ._1ht1._1ht2 {
color: var(--black) !important;
}
html.is-window-inactive ._1ht1._1ht2 * {
color: rgba(0, 0, 0, 0.8);
color: rgb(0 0 0 / 80%);
}

/* Remove top Facebook cookie banner */
Expand All @@ -387,7 +387,7 @@ html.is-window-inactive ._1ht1._1ht2 * {
/* Message composer buttons */
a._4rv6, /* "Choose a sticker" */
a._4ce_ /* "Play a game" */ {
opacity: 1 !important;
opacity: 100% !important;
filter: invert(0.66);
}

Expand Down Expand Up @@ -429,10 +429,10 @@ body.show-message-buttons ._4_j4 ._7mkk {
/* Workaround for emoji selector issue #831 */
@keyframes nodeInserted {
from {
opacity: 0.99;
opacity: 99%;
}
to {
opacity: 1;
opacity: 100%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion css/code-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
._wu0 {
--code-block-base: #1d1f21;
--code-block-background: transparent;
--code-block-border: rgba(0, 0, 0, 0.1);
--code-block-border: rgb(0 0 0 / 10%);
--code-block-primary: #de935f;
--code-block-meta: #969896;
--code-block-tag: #a3685a;
Expand Down
32 changes: 16 additions & 16 deletions css/dark-mode.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
:root {
--base: #000;
--base-ninety: rgba(255, 255, 255, 0.9);
--base-seventy-five: rgba(255, 255, 255, 0.75);
--base-seventy: rgba(255, 255, 255, 0.7);
--base-fifty: rgba(255, 255, 255, 0.5);
--base-fourty: rgba(255, 255, 255, 0.4);
--base-thirty: rgba(255, 255, 255, 0.3);
--base-twenty: rgba(255, 255, 255, 0.2);
--base-ten: rgba(255, 255, 255, 0.1);
--base-nine: rgba(255, 255, 255, 0.09);
--base-five: rgba(255, 255, 255, 0.05);
--base-ninety: rgb(255 255 255 / 90%);
--base-seventy-five: rgb(255 255 255 / 75%);
--base-seventy: rgb(255 255 255 / 70%);
--base-fifty: rgb(255 255 255 / 50%);
--base-fourty: rgb(255 255 255 / 40%);
--base-thirty: rgb(255 255 255 / 30%);
--base-twenty: rgb(255 255 255 / 20%);
--base-ten: rgb(255 255 255 / 10%);
--base-nine: rgb(255 255 255 / 9%);
--base-five: rgb(255 255 255 / 5%);
--container-color: #323232;
--container-dark-color: #1e1e1e;
--list-header-color: #222;
Expand Down Expand Up @@ -318,7 +318,7 @@ html.dark-mode ._1ht2 ._1ht7 {
}
/* Contact list: timestamp (unread) */
html.dark-mode ._1ht3 ._1ht7 {
color: rgba(0, 132, 255, 0.7);
color: rgb(0 132 255 / 70%);
}

/* Contact list: search results */
Expand Down Expand Up @@ -392,7 +392,7 @@ html.dark-mode ._2i-c ._54nf ._54nh {

/* Right sidebar: menus selected text color */
html.dark-mode ._2i-c ._54nf .selected ._54nh {
color: rgb(255, 255, 255);
color: rgb(255 255 255);
}

/* Right sidebar: headings */
Expand Down Expand Up @@ -664,7 +664,7 @@ html.dark-mode ._53io {

/* Gif and sticker dialog: style the bottom of the list */
html.dark-mode .uiScrollableArea.contentAfter::after {
background: linear-gradient(rgba(25, 38, 51, 0.05), var(--container-color));
background: linear-gradient(rgb(25 38 51 / 5%), var(--container-color));
}

/* Sticker dialog: selected header */
Expand Down Expand Up @@ -723,11 +723,11 @@ html.dark-mode ._3-mr ._3-mv /* Verification "Continue" button */ {
html.dark-mode a._4rv6, /* "Choose a sticker" */
html.dark-mode a._4ce_ { /* "Play a game" */
filter: invert(1) !important;
opacity: 0.6 !important;
opacity: 60% !important;
}
html.dark-mode ._4rv3 ._4rv4 ._5vn8, /* "Add files" */
html.dark-mode a._39bk { /* Other icons */
opacity: 0.6;
opacity: 60%;
filter: brightness(1.6);
}

Expand Down Expand Up @@ -906,7 +906,7 @@ html.dark-mode ._80co {
}

html.dark-mode ._7101:hover ._7q1j {
opacity: 0.5;
opacity: 50%;
}

html.dark-mode ._80co form div a {
Expand Down
8 changes: 4 additions & 4 deletions css/vibrancy.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ html.sidebar-vibrancy.dark-mode ._36ic {

/* Contact list: search input */
html.sidebar-vibrancy ._5iwm ._58al {
background-color: rgba(246, 247, 249, 0.5) !important;
background-color: rgb(246 247 249 / 50%) !important;
}
html.sidebar-vibrancy.dark-mode ._5iwm ._58al {
background: var(--base-five) !important;
Expand Down Expand Up @@ -111,7 +111,7 @@ html.full-vibrancy ._2xh0 ._2xh4 {

/* Contact list: search input */
html.full-vibrancy ._5iwm ._58al {
background-color: rgba(246, 247, 249, 0.5) !important;
background-color: rgb(246 247 249 / 50%) !important;
}
html.full-vibrancy.dark-mode ._5iwm ._58al {
background: var(--base-five) !important;
Expand All @@ -131,7 +131,7 @@ html.full-vibrancy .__6l {

/* Contact list: person container */
html.full-vibrancy ._1qt4 {
border-top: solid 1px rgba(0, 0, 0, 0.06);
border-top: solid 1px rgb(0 0 0 / 6%);
}

/* Main content */
Expand Down Expand Up @@ -212,7 +212,7 @@ html.full-vibrancy.dark-mode .fbNubFlyoutAttachments {
}
html.full-vibrancy .chatAttachmentShelf,
html.full-vibrancy.dark-mode .chatAttachmentShelf {
border-top-color: rgba(0, 0, 0, 0.1);
border-top-color: rgb(0 0 0 / 10%);
}

/* Message text bar */
Expand Down
Loading

0 comments on commit f5508bb

Please sign in to comment.