Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Cleanup CSS3 rules #554

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions r2/r2/public/static/css/reddit.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ label.disabled { color: gray; }
border-radius: 7px; border-radius: 7px;
-webkit-background-clip: padding-box; -webkit-background-clip: padding-box;
-moz-background-clip: padding-box; -moz-background-clip: padding-box;
background-clip: padding-box;
color: #2E6399; color: #2E6399;
text-shadow: 0px 1px 0px hsla(0, 0%, 100%, .7); text-shadow: 0px 1px 0px hsla(0, 0%, 100%, .7);
-webkit-box-shadow: inset 0px 1px 0px hsla(0, 0%, 100%, .8); -webkit-box-shadow: inset 0px 1px 0px hsla(0, 0%, 100%, .8);
-moz-box-shadow: inset 0px 1px 0px hsla(0,0%, 100%, .8);
box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8); box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8);
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
Expand All @@ -121,7 +121,6 @@ label.disabled { color: gray; }
background: -moz-linear-gradient(top, hsl(210, 54%, 79%), hsl(210, 54%, 89%)); background: -moz-linear-gradient(top, hsl(210, 54%, 79%), hsl(210, 54%, 89%));
background-color: #D4E3F2; background-color: #D4E3F2;
-webkit-box-shadow: inset 0px -1px 0px hsla(0,0%,100%,.7); -webkit-box-shadow: inset 0px -1px 0px hsla(0,0%,100%,.7);
-moz-box-shadow: inset 0px -1px 0px hsla(0,0%,100%, .7);
box-shadow: inset 0px -1px 0px hsla(0,0%, 100%, .7); box-shadow: inset 0px -1px 0px hsla(0,0%, 100%, .7);
} }


Expand Down Expand Up @@ -745,6 +744,7 @@ a.author { margin-right: 0.5em; }
.flairrow:hover .flairdeletebtn { opacity: 1.0; } .flairrow:hover .flairdeletebtn { opacity: 1.0; }


.flairselector { .flairselector {
-webkit-box-shadow: 4px 4px 4px #ccc;
box-shadow: 4px 4px 4px #ccc; box-shadow: 4px 4px 4px #ccc;
font-size: x-small; font-size: x-small;
position: absolute; position: absolute;
Expand Down Expand Up @@ -899,6 +899,7 @@ a.author { margin-right: 0.5em; }
color: #333; color: #333;
border: 1px solid gray; border: 1px solid gray;
padding: 3px; padding: 3px;
-webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
box-shadow: 0 2px 10px rgba(0,0,0,.25); box-shadow: 0 2px 10px rgba(0,0,0,.25);
} }


Expand Down Expand Up @@ -932,7 +933,6 @@ a.author { margin-right: 0.5em; }
border: 1px solid #369; border: 1px solid #369;
background-color: #EFF7FF; background-color: #EFF7FF;
-webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6); -webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
-moz-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6); box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
} }


Expand Down Expand Up @@ -998,11 +998,10 @@ a.author { margin-right: 0.5em; }
} }


.wiki-page .revision { .wiki-page .revision {
transition: opacity 500ms;
-o-transition: opacity 500ms;
-ms-transition: opacity 500ms;
-moz-transition: opacity 500ms;
-webkit-transition: opacity 500ms; -webkit-transition: opacity 500ms;
-moz-transition: opacity 500ms;
-o-transition: opacity 500ms;
transition: opacity 500ms;
} }


.wiki-page .revision.hidden { .wiki-page .revision.hidden {
Expand Down Expand Up @@ -2031,6 +2030,7 @@ label + #moresearchinfo {
border: 1px solid gray; border: 1px solid gray;
padding: 10px; padding: 10px;
margin-top: -6px; margin-top: -6px;
-webkit-box-shadow: 0 4px 6px -1px #ccc inset;
box-shadow: 0 4px 6px -1px #ccc inset; box-shadow: 0 4px 6px -1px #ccc inset;
background: #fefefe; background: #fefefe;
} }
Expand Down Expand Up @@ -2173,6 +2173,7 @@ li.searchfacet {
text-align: left; text-align: left;
z-index: 1001; z-index: 1001;
padding: 10px; padding: 10px;
-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
box-shadow: 0 5px 15px rgba(0,0,0,.5); box-shadow: 0 5px 15px rgba(0,0,0,.5);
border-radius: 10px; border-radius: 10px;
} }
Expand Down Expand Up @@ -3108,7 +3109,6 @@ form input[type=radio] {margin: 2px .5em 0 0; }
padding: 2px; padding: 2px;


-webkit-box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6); -webkit-box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6);
-moz-box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6);
box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6); box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6);
} }


Expand Down Expand Up @@ -3958,7 +3958,6 @@ ul.tabmenu.formtab {
background-color: #EFF7FF; background-color: #EFF7FF;
padding: 5px; padding: 5px;
-webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6); -webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
-moz-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6); box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
} }


Expand Down Expand Up @@ -4328,7 +4327,6 @@ table.lined-table {
display: none; display: none;
border-radius: 6px; border-radius: 6px;
-webkit-box-shadow: 0px 4px 6px 3px hsla(0, 0%, 0%, .2), inset 0px 1px 0px 0px hsla(0, 0%, 100%, .9); -webkit-box-shadow: 0px 4px 6px 3px hsla(0, 0%, 0%, .2), inset 0px 1px 0px 0px hsla(0, 0%, 100%, .9);
-moz-box-shadow: 0px 4px 6px 3px hsla(0, 0%, 0%, .2), inset 0px 1px 0px 0px hsla(0, 0%, 100%, .9);
box-shadow: 0px 4px 6px 3px hsla(0, 0%, 0%, .2), inset 0px 1px 0px 0px hsla(0, 0%, 100%, .9); box-shadow: 0px 4px 6px 3px hsla(0, 0%, 0%, .2), inset 0px 1px 0px 0px hsla(0, 0%, 100%, .9);
text-shadow: 0px 1px 0px hsla(0,0%,100%,.8); text-shadow: 0px 1px 0px hsla(0,0%,100%,.8);
} }
Expand Down Expand Up @@ -4376,7 +4374,6 @@ table.lined-table {
font-size: 1.3em; font-size: 1.3em;
text-shadow: 0px 1px 0px hsla(0,0%,100%,.7); text-shadow: 0px 1px 0px hsla(0,0%,100%,.7);
-webkit-box-shadow: inset 0px 1px 0px hsla(0,100%,100%,.8); -webkit-box-shadow: inset 0px 1px 0px hsla(0,100%,100%,.8);
-moz-box-shadow: inset 0px 1px 0px hsla(0,100%,100%,.8);
box-shadow: inset 0px 1px 0px hsla(0,100%,100%,.8); box-shadow: inset 0px 1px 0px hsla(0,100%,100%,.8);
} }
.ui-datepicker-inline .ui-datepicker-prev {float: left; } .ui-datepicker-inline .ui-datepicker-prev {float: left; }
Expand Down Expand Up @@ -4423,9 +4420,9 @@ table.lined-table {
padding: 0px; padding: 0px;
border: 1px solid #5E96CF; border: 1px solid #5E96CF;
-webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7); -webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7);
-moz-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7);
box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7); box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7);
} }

.ui-datepicker-calendar th { .ui-datepicker-calendar th {
font-size: 1.1em; font-size: 1.1em;
} }
Expand All @@ -4446,7 +4443,6 @@ table.lined-table {
font-size: 1.5em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
-webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7); -webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7);
-moz-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7);
box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7); box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.7);
} }


Expand All @@ -4464,7 +4460,6 @@ table.lined-table {
background: -moz-linear-gradient(top, hsl(210, 54%, 65%), hsl(210, 54%, 45%)); background: -moz-linear-gradient(top, hsl(210, 54%, 65%), hsl(210, 54%, 45%));
background-color: #4F8AC9; background-color: #4F8AC9;
-webkit-box-shadow: inset 0px 2px 3px hsla(0,0%,0%,.6); -webkit-box-shadow: inset 0px 2px 3px hsla(0,0%,0%,.6);
-moz-box-shadow: inset 0px 2px 3px hsla(0,0%,0%,.6);
box-shadow: inset 0px 2px 3px hsla(0,0%,0%,.6); box-shadow: inset 0px 2px 3px hsla(0,0%,0%,.6);
text-shadow: 0px -1px 0px hsla(0,0%,0%,.8); text-shadow: 0px -1px 0px hsla(0,0%,0%,.8);
} }
Expand Down Expand Up @@ -4673,8 +4668,8 @@ dd { margin-left: 20px; }


.calendar .blob.link:hover { .calendar .blob.link:hover {
border: 1px solid red; border: 1px solid red;
-webkit-box-shadow: 2px 2px 2px #000;
box-shadow: 2px 2px 2px #000; box-shadow: 2px 2px 2px #000;
-moz-box-shadow: 2px 2px 2px #000;
z-index: 100; z-index: 100;
} }


Expand Down Expand Up @@ -5452,7 +5447,6 @@ tr.gold-accent + tr > td {
padding: 2px; padding: 2px;


-webkit-box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6); -webkit-box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6);
-moz-box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6);
box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6); box-shadow: inset 0px 1px 1px hsla(0,0%,0%,.3), 0px 1px 0px hsla(0,0%,100%,.6);
} }


Expand Down Expand Up @@ -5578,6 +5572,7 @@ tr.gold-accent + tr > td {
color: white; color: white;
background: #ff4500; background: #ff4500;
border-color: #541700; border-color: #541700;
-webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .25);
box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .25); box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .25);
text-shadow: 0px 1px 0px rgba(0, 0, 0, .7); text-shadow: 0px 1px 0px rgba(0, 0, 0, .7);
} }
Expand All @@ -5588,13 +5583,15 @@ tr.gold-accent + tr > td {


.oauth2-authorize .fancybutton.allow:active { .oauth2-authorize .fancybutton.allow:active {
background: #eb3f00; background: #eb3f00;
-webkit-box-shadow: inset 0px -1px 0px rgba(255, 255, 255, .25);
box-shadow: inset 0px -1px 0px rgba(255, 255, 255, .25); box-shadow: inset 0px -1px 0px rgba(255, 255, 255, .25);
} }


.oauth2-authorize .fancybutton.decline { .oauth2-authorize .fancybutton.decline {
color: black; color: black;
background: #eee; background: #eee;
border-color: #555; border-color: #555;
-webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .5);
box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .5); box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .5);
text-shadow: 0px 1px 0px rgba(255, 255, 255, .7); text-shadow: 0px 1px 0px rgba(255, 255, 255, .7);
} }
Expand All @@ -5605,6 +5602,7 @@ tr.gold-accent + tr > td {


.oauth2-authorize .fancybutton.decline:active { .oauth2-authorize .fancybutton.decline:active {
background: #e4e4e4; background: #e4e4e4;
-webkit-box-shadow: inset 0px -1px 0px white;
box-shadow: inset 0px -1px 0px white; box-shadow: inset 0px -1px 0px white;
} }


Expand Down