diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-02-19 22:20:46 -0800 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-02-19 22:20:46 -0800 |
commit | 4877ec98e668b1741d7a2a4d3e4a177ec495db39 (patch) | |
tree | 39bc5d0bb4065ee2d96aa53501d51b1f3729c794 /app.css | |
parent | 9baec9aec294656fb632123906b4ac6a712267ba (diff) | |
download | homer-4877ec98e668b1741d7a2a4d3e4a177ec495db39.tar.gz homer-4877ec98e668b1741d7a2a4d3e4a177ec495db39.tar.zst homer-4877ec98e668b1741d7a2a4d3e4a177ec495db39.zip |
Vertical layout support
Diffstat (limited to 'app.css')
-rw-r--r-- | app.css | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -11,7 +11,7 @@ body { | |||
11 | font-size: 2rem; } | 11 | font-size: 2rem; } |
12 | body h2 { | 12 | body h2 { |
13 | font-size: 1.7rem; | 13 | font-size: 1.7rem; |
14 | margin-top: 3rem; | 14 | margin-top: 2rem; |
15 | margin-bottom: 1rem; } | 15 | margin-bottom: 1rem; } |
16 | body h2 .fas, body h2 .fab, body h2 .far { | 16 | body h2 .fas, body h2 .fab, body h2 .far { |
17 | margin-right: 10px; } | 17 | margin-right: 10px; } |
@@ -92,6 +92,8 @@ body { | |||
92 | border: none; | 92 | border: none; |
93 | box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); | 93 | box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); |
94 | transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } | 94 | transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } |
95 | body .card a { | ||
96 | outline: none; } | ||
95 | body .card:hover { | 97 | body .card:hover { |
96 | background-color: #FFFFFF; | 98 | background-color: #FFFFFF; |
97 | transform: translate(0, -3px); } | 99 | transform: translate(0, -3px); } |
@@ -102,17 +104,26 @@ body { | |||
102 | body .card-content { | 104 | body .card-content { |
103 | height: 85px; | 105 | height: 85px; |
104 | padding: 1.3rem; } | 106 | padding: 1.3rem; } |
107 | body .layout-vertical .card { | ||
108 | border-radius: 0; } | ||
109 | body .layout-vertical .column div:first-of-type .card { | ||
110 | border-radius: 5px 5px 0 0; } | ||
111 | body .layout-vertical .column div:last-child .card { | ||
112 | border-radius: 0 0 5px 5px; } | ||
105 | body .footer { | 113 | body .footer { |
106 | position: fixed; | 114 | position: fixed; |
107 | left: 0; | 115 | left: 0; |
108 | right: 0; | 116 | right: 0; |
109 | bottom: 0; | 117 | bottom: 0; |
110 | padding: 1rem 0.5rem; | 118 | padding: 0.5rem; |
111 | text-align: left; | 119 | text-align: left; |
112 | background-color: #fafafa; | 120 | background-color: #fafafa; |
113 | border-top: 1px solid #F5F5F5; } | 121 | border-top: 1px solid #F5F5F5; |
122 | color: #676767; | ||
123 | font-size: 0.85rem; } | ||
114 | body .search-bar { | 124 | body .search-bar { |
115 | position: relative; } | 125 | position: relative; |
126 | display: inline-block; } | ||
116 | body .search-bar #search { | 127 | body .search-bar #search { |
117 | border: none; | 128 | border: none; |
118 | background-color: #5f98f6; | 129 | background-color: #5f98f6; |
@@ -137,6 +148,8 @@ body { | |||
137 | height: 20px; } | 148 | height: 20px; } |
138 | body .search-bar:focus-within .search-label::before { | 149 | body .search-bar:focus-within .search-label::before { |
139 | color: #4a4a4a; } | 150 | color: #4a4a4a; } |
151 | body .icon-button { | ||
152 | display: inline-block; } | ||
140 | body .offline-message { | 153 | body .offline-message { |
141 | text-align: center; | 154 | text-align: center; |
142 | margin: 35px 0; } | 155 | margin: 35px 0; } |