aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-06-28 00:18:58 +0800
committerXan Lopez <xlopez@igalia.com>2011-06-28 01:34:52 +0800
commit836a072b8a9404be59187f66f46c64998670a534 (patch)
tree09e8769a144518730455cf40e62679c2e473a7fe /data
parentfe909aa62629a5994dd643450b0de45e0e3f508d (diff)
downloadgsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.tar
gsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.tar.gz
gsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.tar.bz2
gsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.tar.lz
gsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.tar.xz
gsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.tar.zst
gsoc2013-epiphany-836a072b8a9404be59187f66f46c64998670a534.zip
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.
Diffstat (limited to 'data')
-rw-r--r--data/pages/about.css33
1 files changed, 33 insertions, 0 deletions
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;
+}
+