Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/subscriptions.tmpl

Issue 29337807: Issue 3097 - Refactored subscriptions list table on adblockplus.org/en/subscriptions (Closed)
Patch Set: Refactored markup & styles, added rtl styles, and fixed typo. Created July 19, 2016, 10:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pages/subscriptions.tmpl
===================================================================
--- a/pages/subscriptions.tmpl
+++ b/pages/subscriptions.tmpl
@@ -13,39 +13,102 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
#}
<style type="text/css">
-.subscriptions
+.screen-reader-text
{
- border-collapse: collapse;
- width: 100%;
+ clip: rect(1px, 1px, 1px, 1px);
Thomas Greiner 2016/07/27 09:42:10 According to https://developer.mozilla.org/en-US/d
juliandoucette 2016/07/27 12:11:01 I agree. I vote: Leave the text and remove the c
Thomas Greiner 2016/07/27 13:25:48 Yep, sounds good. :)
juliandoucette 2016/07/28 21:34:01 Done.
+ position: absolute;
}
-.subscriptions td
+.subscriptions-list,
+.supplemented-subscriptions-list
{
+ margin: 0px;
+ list-style: none;
+}
+
+.subscriptions-list
+{
+ padding: 0px;
+}
+
+.supplemented-subscriptions-list
+{
+ padding: 0px 0px 0px 30px;
Thomas Greiner 2016/07/27 09:42:10 Note that since you're using `[dir="rtl"]` below f
juliandoucette 2016/07/27 12:11:01 I switched it to short hand to avoid defining a pa
+}
+
+[dir="rtl"] .supplemented-subscriptions-list
+{
+ padding: 0px 30px 0px 0px;
+}
+
+.subscription
+{
+ position: relative;
+ overflow: auto;
+ /* Using outline and margin instead of border to prevent overlapping
+ and missing connections in hierarchy */
+ outline: 1px dashed #000;
+ margin-left: -1px;
+ margin-top: 1px;
+}
+
+#content .subscription h1
+{
+ margin: 0px;
+ font-size: 16px;
+}
+
+.subscription p
+{
+ margin: 0px;
+}
+
+.subscription-summary,
+.subscription-authors,
+.subscription-links
+{
+ padding: 5px;
+}
+
+.subscription-content,
+.subscription-details
+{
+ float: left;
width: 50%;
}
-.subscriptions td, .subscriptions th
+[dir="rtl"] .subscription-content,
+[dir="rtl"] .subscription-details
{
- vertical-align: top;
- border: 1px dashed black;
- padding: 5px;
+ float: right;
}
-.subscriptions .dummy
+.subscription-authors,
+.subscription-links
{
- border-style: none;
- width: 20px;
- min-width: 20px;
+ border-left: 1px dashed #000;
+}
+
+[dir="rtl"] .subscription-authors,
+[dir="rtl"] .subscription-links
+{
+ border-left: none;
+ border-right: 1px dashed #000;
+}
+
+.subscription-links
+{
+ border-top: 1px dashed #000;
}
.subscriptions .deprecated
{
opacity: 0.5;
}
</style>
« no previous file with comments | « includes/subscriptionList.tmpl ('k') | static/css/main.css » ('j') | templates/default.tmpl » ('J')

Powered by Google App Engine
This is Rietveld