2015-12-19 02:35:50 -08:00
|
|
|
.selected {
|
|
|
|
background-color: #CFD8DC !important;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.heroes {
|
|
|
|
margin: 0 0 2em 0;
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
2016-03-24 13:31:27 +01:00
|
|
|
width: 15em;
|
2015-12-19 02:35:50 -08:00
|
|
|
}
|
|
|
|
.heroes li {
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
left: 0;
|
|
|
|
background-color: #EEE;
|
|
|
|
margin: .5em;
|
2016-02-27 13:48:24 -08:00
|
|
|
padding: .3em 0;
|
2015-12-19 02:35:50 -08:00
|
|
|
height: 1.6em;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.heroes li:hover {
|
|
|
|
color: #607D8B;
|
2016-02-27 13:48:24 -08:00
|
|
|
background-color: #DDD;
|
2015-12-19 02:35:50 -08:00
|
|
|
left: .1em;
|
|
|
|
}
|
|
|
|
.heroes li.selected:hover {
|
2016-02-27 13:48:24 -08:00
|
|
|
background-color: #BBD8DC !important;
|
2015-12-19 02:35:50 -08:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.heroes .text {
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
}
|
docs(tutorial): combines all 4 sections + revisions/updates to a.53, hides 3&4
closes #488
ToH History (oldest-to-latest):
----------------------------
created code example/snippets files for use with +makeExample, replace usage of "pre.prettyprint.lang-bash" with this: code-example(format="." language="bash").
fixed spelling errors in examples file path used by +makeExample
changed usage of "code-example" to "+makeExample"
adding code example/snippets files used in toh 1
fixed example file paths, replaced "pre.prettyprint.lang-bash" with "code-example. "
(docs) toh-pt3 initial state
created code examples for display in jade, starting conversion of Google doc and trying +makeExample rendering
all text copied from doc to jade, still some styling and formatting to perform
completed conversion and styling, moved toh3 example files to "tutorial" folder under _examples
created specific code example files for chapter toh 3 and re-pathed references in +makeExample
minor edit
docs) toh combined - initial combined commit
updated ToH for a.52
tons of changes, including de-kebab-ing, removed src folder, updated tsconfig too
fixing snippets using incorrect ending input tag
using inline html and css for the app.component.
ToH Part 1 Code: updated the imports, removed obsolete directive delcarations
ToH Code Part 1: updated to use imports, interface. will hit others soon
toh part 1: ngModel fix
toh part1: removed obsolete story that referred to how we used to have to import and declare all directives we used. yay!
ToH Part 1: updated to use `boot.ts` and `app.component.ts`. this affected the partials, snippets, and the story.
toh part 1: using `npm run go`
toh parts 1 -4: modified all places to use `npm run go`
toh part 1: refactor for jade
toh part 1: fixing the code samples
toh part 2: seeping through the story
toh part 2: fixing snippets.
toh part 2: replaced ngClass with class.selected
toh part 2: removed whitespace
toh part 2: added final state to the code
toh: fixing paths
toh part 4: fixing src/app path to app
toh part 3: fixing folder path
toh part 2: fixed typo
toh part 2: typo on ngModel
toh part 2: added ngif
toh part 2: removed old hero property. moved the details lower, where we need it
toh index: updated hero list image to show consistent styling as the other images here
QS spelling error (targes -> targets)
tweeks: space and ngIF
2015-11-15 18:04:43 -08:00
|
|
|
.heroes .badge {
|
2015-12-19 02:35:50 -08:00
|
|
|
display: inline-block;
|
|
|
|
font-size: small;
|
|
|
|
color: white;
|
2016-02-27 13:48:24 -08:00
|
|
|
padding: 0.8em 0.7em 0 0.7em;
|
2015-12-19 02:35:50 -08:00
|
|
|
background-color: #607D8B;
|
|
|
|
line-height: 1em;
|
|
|
|
position: relative;
|
|
|
|
left: -1px;
|
|
|
|
top: -4px;
|
|
|
|
height: 1.8em;
|
|
|
|
margin-right: .8em;
|
2016-02-27 13:48:24 -08:00
|
|
|
border-radius: 4px 0 0 4px;
|
2015-12-19 02:35:50 -08:00
|
|
|
}
|
|
|
|
button {
|
|
|
|
font-family: Arial;
|
|
|
|
background-color: #eee;
|
|
|
|
border: none;
|
|
|
|
padding: 5px 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: hand;
|
|
|
|
}
|
|
|
|
button:hover {
|
|
|
|
background-color: #cfd8dc;
|
2016-02-27 13:48:24 -08:00
|
|
|
}
|