* docs(toh-6/dart): first edition of prose and example code NOTE: this PR depends on #1686. Dart prose and example match TS except that: - No child-to-parent event emission occurs. - Support for Add Hero is added as an unconditional feature of the Heroes view. - http `_post` takes only a name - http `delete` takes only a hero id. - The Dart in-memory-data-service has been dropped in favor of an implementation based on the "standard" `http.testing.MockClient` class. * post-review changes
62 lines
919 B
CSS
62 lines
919 B
CSS
/* #docregion */
|
|
[class*='col-'] {
|
|
float: left;
|
|
}
|
|
*, *:after, *:before {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
h3 {
|
|
text-align: center; margin-bottom: 0;
|
|
}
|
|
[class*='col-'] {
|
|
padding-right: 20px;
|
|
padding-bottom: 20px;
|
|
}
|
|
[class*='col-']:last-of-type {
|
|
padding-right: 0;
|
|
}
|
|
.grid {
|
|
margin: 0;
|
|
}
|
|
.col-1-4 {
|
|
width: 25%;
|
|
}
|
|
.module {
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: #eee;
|
|
max-height: 120px;
|
|
min-width: 120px;
|
|
background-color: #607D8B;
|
|
border-radius: 2px;
|
|
}
|
|
h4 {
|
|
position: relative;
|
|
}
|
|
.module:hover {
|
|
background-color: #EEE;
|
|
cursor: pointer;
|
|
color: #607d8b;
|
|
}
|
|
.grid-pad {
|
|
padding: 10px 0;
|
|
}
|
|
.grid-pad > [class*='col-']:last-of-type {
|
|
padding-right: 20px;
|
|
}
|
|
@media (max-width: 600px) {
|
|
.module {
|
|
font-size: 10px;
|
|
max-height: 75px; }
|
|
}
|
|
@media (max-width: 1024px) {
|
|
.grid {
|
|
margin: 0;
|
|
}
|
|
.module {
|
|
min-width: 60px;
|
|
}
|
|
}
|