blob: 61e082b7f26b3d8f7b6f20b99a805e2c07e48ef8 [file] [log] [blame]
Michael Davis19475752017-02-23 18:30:23 -06001// Content layout styles
Michael Davis71ec7452017-04-24 16:28:57 -05002$nav__toplvlWidth: 120px;
3$nav__seclvlWidth: 240px;
Michael Davis19475752017-02-23 18:30:23 -06004
Michael Davis272297b2017-04-24 12:11:53 -05005// Page header
6.page-header {
Gunnar Mills84e114a2018-11-14 13:44:41 -06007 width: 100%;
Michael Davis272297b2017-04-24 12:11:53 -05008 position: relative;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -05009 border-bottom: 1px solid $border-color-02;
Derick Montague1a606be2019-05-23 21:32:28 -050010 margin: 0.5em 0 2.2em;
Michael Davis51946552017-05-01 10:30:38 -050011 padding-left: 0;
Michael Davis272297b2017-04-24 12:11:53 -050012}
13
Derick Montague1a606be2019-05-23 21:32:28 -050014// Main element class
Michael Davis19475752017-02-23 18:30:23 -060015.content__container {
Michael Davis19475752017-02-23 18:30:23 -060016 margin-left: $nav__toplvlWidth;
Derick Montague1a606be2019-05-23 21:32:28 -050017 padding: 1em 0.1em;
18
19 @include mediaQuery(x-small) {
Michael Davis0f03ad12017-02-27 16:54:18 -060020 padding: 1rem 2rem;
Michael Davis19475752017-02-23 18:30:23 -060021 }
Derick Montague1a606be2019-05-23 21:32:28 -050022
Michael Davis706b75b2017-08-18 16:40:03 -050023 section.row,
Derick Montague1a606be2019-05-23 21:32:28 -050024 .column.row.row,
25 .row.row.columns {
Michael Davis706b75b2017-08-18 16:40:03 -050026 margin-left: 0;
27 }
Derick Montague1a606be2019-05-23 21:32:28 -050028
29 // Must be applied to the <main> element in the app
30 // Required to create an elegant page transition
31 @include page-transition;
32 &.ng-leave-active,
33 &.ng-enter {
34 @include page-transition-visibility;
35 }
Michael Davis19475752017-02-23 18:30:23 -060036}
Michael Davis6af13462017-04-04 14:07:02 -050037
Michael Davis272297b2017-04-24 12:11:53 -050038.content-header {
39 font-weight: 700;
40 margin-bottom: 0;
41 margin-top: 2em;
42}
43
Derick Montague1a606be2019-05-23 21:32:28 -050044.content-label,
45label {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050046 color: $text-02;
Michael Davis272297b2017-04-24 12:11:53 -050047 text-transform: uppercase;
48 font-weight: 700;
Derick Montague1a606be2019-05-23 21:32:28 -050049 font-size: 0.75em;
Michael Davis272297b2017-04-24 12:11:53 -050050 margin-bottom: 0;
51}
Iftekharul Islam8947e702017-07-27 10:28:07 -050052
53.subhead {
Gunnar Mills97195442018-11-26 16:51:57 -060054 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050055 border-bottom: 1px solid $border-color-01;
Derick Montague1a606be2019-05-23 21:32:28 -050056 padding-bottom: 0.5em;
Gunnar Mills84e114a2018-11-14 13:44:41 -060057}