Skip to content

Commit

Permalink
Remove old vendor prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeredwolf committed May 17, 2022
1 parent 58a2328 commit d386abd
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 88 deletions.
2 changes: 0 additions & 2 deletions build/donors.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ a[data-user-name="ModernDeck"] .fullname:after,
content:"\f003";
font-size:20px;
font-style:normal;
-webkit-font-smoothing:antialiased;
text-rendering:optimizeLegibility;
-moz-osx-font-smoothing:grayscale;
vertical-align:middle;
padding-left:3px;
font-family:MD!important
Expand Down
14 changes: 7 additions & 7 deletions common/assets/css/components/coredefinitions.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ fieldset
select
{
-webkit-appearance:menulist;
-moz-appearance:menulist
appearance:menulist
}

input:before,textarea:before,select:before
{
-webkit-appearance:initial;
-moz-appearance:initial;
appearance:initial;
color:#ddd
}

Expand All @@ -118,19 +118,19 @@ dir
{
margin:0;
padding-left:0;
-webkit-padding-start:0;
padding-left:0;
-webkit-appearance:none;
-moz-appearance:none
appearance:none
}

ol ul,
ul ol,
ul ul,
ol ol
{
-webkit-margin-before:0;
-webkit-margin-after:0;
-webkit-padding-start:40px
margin-top:0;
margin-bottom:0;
padding-left:40px
}

body,
Expand Down
2 changes: 0 additions & 2 deletions common/assets/css/components/icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ i {
{
content:" ";
font-style:normal;
-webkit-font-smoothing:antialiased;
text-rendering:optimizeLegibility;
-moz-osx-font-smoothing:grayscale;
letter-spacing:normal;
word-wrap:normal;
direction:ltr;
Expand Down
3 changes: 1 addition & 2 deletions common/assets/css/components/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@
.mtd-textarea {
height:240px!important;
font-family:RobotoMono!important;
tab-size:43px;
-moz-tab-size:43px /* Firefox 90 and below*/
tab-size:43px
}

.settings-modal .mtd-settings:after {
Expand Down
20 changes: 6 additions & 14 deletions common/assets/css/components/superclasses.css
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,7 @@ button,
a.btn,
.column-header
{
-webkit-user-select:none;
-moz-user-select:none
user-select:none
}

.antiscroll-scrollbar-shown,
Expand Down Expand Up @@ -588,16 +587,9 @@ a.btn,
position:fixed
}

.js-submittable-input.js-compose-text::-webkit-input-placeholder,
.facet-type .control-group select::-webkit-input-placeholder,
.facet-type .control-group input::-webkit-input-placeholder
{
color:var(--rootWhiteColor)
}

.js-submittable-input.js-compose-text::-moz-placeholder,
.facet-type .control-group select::-moz-placeholder,
.facet-type .control-group input::-moz-placeholder
.js-submittable-input.js-compose-text::placeholder,
.facet-type .control-group select::placeholder,
.facet-type .control-group input::placeholder
{
color:var(--rootWhiteColor)
}
Expand Down Expand Up @@ -725,8 +717,8 @@ a.btn,
.s-following .follow-btn:hover .following-text,
.s-following .follow-btn:not(:hover) .unfollow-text,
.accordion .is-active .facet-subtitle,
.js-modal[style="display:none;"],
.typeahead[style="display:none;"],
.js-modal[style="display: none;"],
.typeahead[style="display: none;"],
.contributor-row[data-state="initial"],
.spinner-button-is-active,
.text-hidden.btn-positive,
Expand Down
14 changes: 0 additions & 14 deletions common/assets/css/extensions/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,6 @@ input[type="checkbox"][disabled]:before
opacity:1
}

input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {
color:var(--placeholderTextColor)
}

input::-moz-placeholder,textarea::-moz-placeholder {
color:var(--placeholderTextColor)
}

input::placeholder,textarea::placeholder {
color:var(--placeholderTextColor)
}
Expand Down Expand Up @@ -338,12 +330,6 @@ button.is-disabled:active,
transition:.2s all
}

::-moz-selection
{
background:var(--secondaryColorAlt);
color:var(--bodyTextColor)
}

::selection
{
background:var(--secondaryColorAlt);
Expand Down
26 changes: 0 additions & 26 deletions common/assets/css/extensions/highcontrast.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,6 @@ input, textarea, select, .uneditable-input {
border-radius:5px;
background:#fff
}

.mdl.s-profile::-moz-scrollbar-thumb,
.mtd-nav-drawer::-moz-scrollbar-thumb,
.lst-launcher::-moz-scrollbar-thumb,
.scroll-styled-v::-moz-scrollbar-thumb,
.scroll-v::-moz-scrollbar-thumb,
.scroll-styled-h::-moz-scrollbar-thumb,
.s-tall-fixed::-moz-scrollbar-thumb,
#lists-modal .mdl-content::-moz-scrollbar-thumb
{
border-radius:5px;
background:#fff
}

.mdl.s-profile::-webkit-scrollbar-thumb:hover,
.mtd-nav-drawer::-webkit-scrollbar-thumb:hover,
.lst-launcher::-webkit-scrollbar-thumb:hover,
Expand All @@ -83,18 +69,6 @@ input, textarea, select, .uneditable-input {
background:#fff
}

.mdl.s-profile::-moz-scrollbar-thumb:hover,
.mtd-nav-drawer::-moz-scrollbar-thumb:hover,
.lst-launcher::-moz-scrollbar-thumb:hover,
.scroll-styled-v::-moz-scrollbar-thumb:hover,
.scroll-v::-moz-scrollbar-thumb:hover,
.scroll-styled-h::-moz-scrollbar-thumb:hover,
#lists-modal .mdl-content::-moz-scrollbar-thumb:hover
{
background:#fff
}


.mtd-notification-button,.btn-primary,.txt-mute a:not(:focus):not(.tweet-action):not([data-action]) {
color:#fff!important;
text-decoration:underline
Expand Down
6 changes: 0 additions & 6 deletions common/assets/css/extensions/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -876,12 +876,6 @@ textarea::placeholder
color:var(--selectionTextColor)
}

::-moz-selection
{
background:var(--selectionBackgroundColor);
color:var(--selectionTextColor)
}

.tooltip-inner,
.Tooltip-inner
{
Expand Down
2 changes: 0 additions & 2 deletions common/assets/css/extensions/micro.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@
{
content:" ";
font-style:normal;
-webkit-font-smoothing:antialiased;
text-rendering:optimizeLegibility;
-moz-osx-font-smoothing:grayscale;
letter-spacing:normal;
word-wrap:normal;
direction:ltr;
Expand Down
17 changes: 4 additions & 13 deletions common/assets/css/moderndeck.css
Original file line number Diff line number Diff line change
Expand Up @@ -908,11 +908,6 @@ html:not(.os-osx) .antiscroll-inner::-webkit-scrollbar {
height: 0
}

html:not(.os-osx) .antiscroll-inner::-moz-scrollbar {
width: 0;
height: 0
}

.antiscroll-inner {
overflow-y: scroll;
overflow-x: hidden
Expand Down Expand Up @@ -3535,8 +3530,6 @@ html:not(.mtd-classic-nav) .attach-compose-buttons .tweet-button {
pointer-events: all;
cursor: pointer;
background: transparent;
-webkit-filter: grayscale(100%) brightness(100%);
-moz-filter: grayscale(100%) brightness(100%);
filter: grayscale(100%) brightness(100%);
opacity: 0.5;
border-radius: 57px
Expand All @@ -3549,8 +3542,6 @@ html:not(.mtd-classic-nav) .attach-compose-buttons .tweet-button {
}

.accs .acc-selected {
-webkit-filter: grayscale(0%);
-moz-filter: grayscale(0%);
filter: grayscale(0%);
opacity: 1
}
Expand Down Expand Up @@ -4286,7 +4277,7 @@ textarea,
input[type="checkbox"],
input[type="radio"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-size: 24px;
padding: 0;
margin-right: 11px;
Expand Down Expand Up @@ -6718,7 +6709,7 @@ body>.message-banner[style="color:rgb(85, 85, 85); background-color:rgb(178, 213

.js-compose-stay-open {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
color: var(--rootWhiteColor) !important;
position: absolute;
font-size: 24px;
Expand Down Expand Up @@ -6751,7 +6742,7 @@ label[for="account-safeguard-checkbox"] {

#account-safeguard-checkbox {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
color: var(--rootWhiteColor);
position: absolute;
font-size: 24px;
Expand Down Expand Up @@ -7675,7 +7666,7 @@ div[data-testid="trend"]>.txt-bold {
.ProgressBar {
position: relative;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
appearance: none;
border: none;
overflow: hidden;
Expand Down

0 comments on commit d386abd

Please sign in to comment.