This repository was archived by the owner on Jun 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +28
-5
lines changed
Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 3030$ colors = htmlentities ($ this ->configuration ->getValue ('theme.color-scheme ' , 'indigo-purple ' ));
3131?>
3232<link rel="stylesheet" href="/module.php/material/material.<?= $ colors ?> .1.2.1.min.css">
33- <link rel="stylesheet" href="/module.php/material/styles.2.1 .0.css">
33+ <link rel="stylesheet" href="/module.php/material/styles.2.2 .0.css">
3434
3535<script async src="/module.php/material/material.1.2.1.min.js"></script>
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function onRecaptchaLoad() {
4646 ?>
4747 <input type="hidden" name="csrf-token" value="<?= $ csrfToken ?> " />
4848
49- <div class="mdl-card mdl-shadow--8dp">
49+ <div class="mdl-card mdl-shadow--8dp fill-phone-viewport ">
5050 <?php
5151 $ idpName = htmlentities ($ this ->configuration ->getValue ('idp_name ' , '— ' ));
5252 ?>
Original file line number Diff line number Diff line change @@ -74,27 +74,50 @@ form p.error > i {
7474 min-width : calc (50% - 2em );
7575 max-width : calc (50% - 2em );
7676 }
77+
78+ .mdl-card .fill-phone-viewport {
79+ height : 100vh ;
80+ width : 100vw ;
81+ }
7782}
78- /* phones, small tablets, landscape (3 cards / row) */
83+ /* phones, small tablets, landscape */
7984@media only screen and (min-width : 600px ) {
85+ /* (3 cards / row) */
8086 .mdl-card .row-aware {
8187 min-width : calc (33% - 2em );
8288 max-width : calc (33% - 2em );
8389 }
90+
91+ .mdl-card .fill-phone-viewport {
92+ height : auto;
93+ width : auto;
94+ }
8495}
85- /* tablets, small desktops (4 cards / row) */
96+ /* tablets, small desktops */
8697@media only screen and (min-width : 850px ) {
98+ /* (4 cards / row) */
8799 .mdl-card .row-aware {
88100 min-width : calc (25% - 2em );
89101 max-width : calc (25% - 2em );
90102 }
103+
104+ .mdl-card .fill-phone-viewport {
105+ height : auto;
106+ width : auto;
107+ }
91108}
92- /* desktops (5 cards / row) */
109+ /* desktops */
93110@media only screen and (min-width : 1024px ) {
111+ /* (5 cards / row) */
94112 .mdl-card .row-aware {
95113 min-width : calc (20% - 2em );
96114 max-width : calc (20% - 2em );
97115 }
116+
117+ .mdl-card .fill-phone-viewport {
118+ height : auto;
119+ width : auto;
120+ }
98121}
99122
100123.mdl-card .disabled {
You can’t perform that action at this time.
0 commit comments