diff --git a/tools/system-analyzer/index.css b/tools/system-analyzer/index.css index 88ed1dbd89..0e2e4a31b5 100644 --- a/tools/system-analyzer/index.css +++ b/tools/system-analyzer/index.css @@ -1,62 +1,60 @@ - :root { --background-color: #000000; --surface-color: #121212; - --primary-color: #BB86FC; - --secondary-color: #03DAC6; + --primary-color: #bb86fc; + --secondary-color: #03dac6; --on-surface-color: #ffffff; --on-background-color: #f5f0f0; --on-primary-color: #000000; --on-secondary-color: #000000; - --default-color: #9B6EDC; - --error-color: #CF6679; + --default-color: #9b6edc; + --error-color: #cf6679; --map-background-color: #5e5454; --timeline-background-color: #1f1f1f; --red: #dc6eae; --green: #aedc6e; - --yellow: #EEFF41; + --yellow: #eeff41; --blue: #6e77dc; --orange: #dc9b6e; --violet: #d26edc; } - [data-theme="light"] { - --background-color: #FFFFFF; - --surface-color: #FFFFFF; - --primary-color: #6200EE; - --secondary-color: #03DAC5; + --background-color: #ffffff; + --surface-color: #ffffff; + --primary-color: #6200ee; + --secondary-color: #03dac5; --on-surface-color: #000000; --on-background-color: #000000; - --on-primary-color: #FFFFFF; + --on-primary-color: #ffffff; --on-secondary-color: #000000; - --default-color: #3700B3; - --error-color: #B00020; + --default-color: #3700b3; + --error-color: #b00020; --map-background-color: #5e5454; - --timeline-background-color: #EEEEEE; - --red: #B71C1C; + --timeline-background-color: #fdfcfc; + --red: #b71c1c; --green: #7db300; - --yellow: #FFFF00; + --yellow: #ffff00; --blue: #0024b3; - --orange: #EF6C00; + --orange: #ef6c00; --violet: #8f00b3; } body { - font-family: 'Roboto', sans-serif; + font-family: "Roboto", sans-serif; font-size: 14px; color: var(--on-background-color); - margin-left: 5%; - margin-right: 5%; + margin-left: 2.5%; + margin-right: 2.5%; background-color: var(--background-color); letter-spacing: 0.5px; } -h2, h4 { - background-color: var(--primary-color); - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); +h2, +h4 { + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); transition: 0.3s; - color: var(--on-primary-color); - padding: 15px 25px; + color: var(--on-surface-color); + padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; @@ -74,14 +72,13 @@ dd { margin: 0; } .panel { - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); transition: 0.3s; background-color: var(--surface-color); color: var(--on-surface-color); - padding: 30px 30px 30px 30px ; + padding: 10px 10px 10px 10px; margin: auto; overflow-x: scroll; - box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); } .colorbox { width: 10px; @@ -89,7 +86,7 @@ dd { border: 1px var(--background-color) solid; } -.primary{ +.primary { background-color: var(--default-color); } @@ -111,7 +108,7 @@ dd { } .orange { - background-color:var(--orange); + background-color: var(--orange); } .violet { @@ -130,4 +127,4 @@ a:link { color: var(--secondary-color); background-color: transparent; text-decoration: none; -} \ No newline at end of file +} diff --git a/tools/system-analyzer/timeline/timeline-track-template.html b/tools/system-analyzer/timeline/timeline-track-template.html index 9dc60704c2..900d1550ae 100644 --- a/tools/system-analyzer/timeline/timeline-track-template.html +++ b/tools/system-analyzer/timeline/timeline-track-template.html @@ -6,63 +6,75 @@ found in the LICENSE file. -->