From 836a072b8a9404be59187f66f46c64998670a534 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 27 Jun 2011 18:18:58 +0200 Subject: Implement about:memory Gives an estimate of how much memory the browser process is using, extracted from /proc/$PID/smaps. Only works in GNU/Linux systems. --- data/pages/about.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'data/pages') diff --git a/data/pages/about.css b/data/pages/about.css index 37f1cc066..af498283d 100644 --- a/data/pages/about.css +++ b/data/pages/about.css @@ -45,3 +45,36 @@ font-size: 1.5em; text-align: right; } + +/* about:memory */ + +.memory-table caption +{ + margin-bottom: 0.5em; +} + +.memory-table +{ + margin: 14px; + width: 75%; + border-collapse: collapse; +} + +.memory-table th +{ + padding: 2px; + background:#b9c9ff; + border-top: 4px solid #aabcff; + border-bottom: 1px solid #fff; + color: #039; +} + +.memory-table td +{ + padding: 2px; + background: #e8edff; + border-bottom: 1px solid #fff; + color: #669; + border-top: 1px solidtransparent; +} + -- cgit v1.2.3