aboutsummaryrefslogtreecommitdiff
path: root/ustayml/static/style.css
diff options
context:
space:
mode:
authorMitsuo Tokumori <rtokumori@pucp.edu.pe>2023-11-13 21:13:06 -0500
committerMitsuo Tokumori <rtokumori@pucp.edu.pe>2023-11-13 21:13:06 -0500
commit91533974922ec3dfb1d84f60ddd6e145301ba800 (patch)
treeaf992b77adde0cd79de6a0181074e088b10ed64d /ustayml/static/style.css
parent5e4487a99f357c08662ed5dabd0c7f21664c15eb (diff)
Add graphicsHEADmaster
Diffstat (limited to 'ustayml/static/style.css')
-rw-r--r--ustayml/static/style.css33
1 files changed, 32 insertions, 1 deletions
diff --git a/ustayml/static/style.css b/ustayml/static/style.css
index 3d52059..44da42a 100644
--- a/ustayml/static/style.css
+++ b/ustayml/static/style.css
@@ -130,7 +130,7 @@ header .action {
.tooltip .tooltiptext {
visibility: hidden;
- width:max-content;
+ width: max-content;
min-width: 10rem;
max-width: 60rem;
/* white-space: nowrap; */
@@ -237,6 +237,19 @@ header .action {
/* student.details */
+.chart {
+ /* width: 100%; */
+ flex-shrink: 1;
+ overflow: auto;
+ /* width:min-content; */
+}
+
+.chart img {
+ max-width: 100%;
+ max-height: 100%;
+ display: block;
+}
+
.student-details-body {
display: flex;
justify-content: space-between;
@@ -290,6 +303,24 @@ ul.data-validation-list li {
width: 40%;
}
+/* dashboard */
+
+.dashboard-graphics {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+}
+
+.dashboard-graphics .flex-item {
+ flex-basis: calc(50% - 10px); /* Each item takes up 50% width minus the gap */
+ margin-bottom: 10px; /* Gap between flex items */
+ border: 1px solid #ccc;
+ padding: 20px;
+ text-align: center;
+ box-sizing: border-box; /* Include padding and border in item width */
+ max-width: 420px;
+}
+
/* post */
.post > header {