From 8a9a5ecdd758fe7c9ab1359daacc8826fd04235f Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 8 Jun 2017 08:29:24 +0100 Subject: [PATCH] docs(aio): move example specific styles into router example app.css file --- aio/content/examples/router/src/app.css | 47 ++++++++++++++++++++++ aio/content/examples/router/src/index.html | 1 + 2 files changed, 48 insertions(+) create mode 100644 aio/content/examples/router/src/app.css diff --git a/aio/content/examples/router/src/app.css b/aio/content/examples/router/src/app.css new file mode 100644 index 0000000000..26e161dd30 --- /dev/null +++ b/aio/content/examples/router/src/app.css @@ -0,0 +1,47 @@ +/* items class */ +.items { + margin: 0 0 2em 0; + list-style-type: none; + padding: 0; + width: 24em; +} +.items li { + cursor: pointer; + position: relative; + left: 0; + background-color: #EEE; + margin: .5em; + padding: .3em 0; + height: 1.6em; + border-radius: 4px; +} +.items li:hover { + color: #607D8B; + background-color: #DDD; + left: .1em; +} +.items li.selected { + background-color: #CFD8DC; + color: white; +} +.items li.selected:hover { + background-color: #BBD8DC; +} +.items .text { + position: relative; + top: -3px; +} +.items .badge { + display: inline-block; + font-size: small; + color: white; + padding: 0.8em 0.7em 0 0.7em; + background-color: #607D8B; + line-height: 1em; + position: relative; + left: -1px; + top: -4px; + height: 1.8em; + margin-right: .8em; + border-radius: 4px 0 0 4px; +} diff --git a/aio/content/examples/router/src/index.html b/aio/content/examples/router/src/index.html index 0fa6453c36..e1bdab0d53 100644 --- a/aio/content/examples/router/src/index.html +++ b/aio/content/examples/router/src/index.html @@ -10,6 +10,7 @@ +