-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.scss
More file actions
136 lines (123 loc) · 2.6 KB
/
styles.scss
File metadata and controls
136 lines (123 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*-- scss:defaults --*/
$backgroundColor: #F0F8FF;
$mainFont: 'Jost', sans-serif;
$mainFontSize: 30px;
$headingColor: #002147;
$mainColor: #002147;
/*-- scss:rules --*/
/* Boxes with the development stages */
.stage-box {
/* Box design */
padding: 1.5rem 2rem;
margin: 0.75rem 0;
border: 2px solid #d1d5db;
text-align: left;
width: 80%;
box-sizing: border-box;
border-radius: 12px; /* Rounded corners */
box-shadow: 2px solid #d1d5db; /* Subtle shadow effect */
display: flex; /* Enables text to be alongside icons */
gap: 1.5rem; /* Creates gap between text and icons */
/* Icons on left side of the box */
&::before {
content: '';
width: 3.5rem;
height: 3.5rem;
border-radius: 50%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
font-weight: bold;
color: white;
}
/* Custom box colours and icons */
&.evidence {
background-color: #e8f5e8;
border-left: 4px solid #10b981;
&::before {
content: '🔍';
background-color: #10b981;
}
}
&.example {
background-color: #fef3e8;
border-left: 4px solid #f59e0b;
&::before {
content: '✓';
background-color: #f59e0b;
}
}
&.stroke {
background-color: #f0ebf8;
border-left: 4px solid #8b5cf6;
&::before {
content: '🧠';
background-color: #8b5cf6;
}
}
&.book {
background-color: #fdeaea;
border-left: 4px solid #ef4444;
&::before {
content: '📖';
background-color: #ef4444;
}
}
}
/* Page indicator icons */
.page-indicator {
width: 3rem;
height: 3rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
transition: all 0.3s ease;
opacity: 0.3;
transform: scale(0.8);
color: white;
&.active {
opacity: 1;
transform: scale(1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
&.green {
background-color: #10b981;
&::before { content: '🔍'; }
}
&.orange {
background-color: #f59e0b;
&::before { content: '✓'; }
}
&.purple {
background-color: #8b5cf6;
&::before { content: '🧠'; }
}
&.red {
background-color: #ef4444;
&::before { content: '📖'; }
}
}
/* Positioning of the page indicator icons */
.page-indicators {
position: fixed;
top: 2rem;
left: 2rem;
display: flex;
gap: 1rem;
z-index: 100;
}
/* Fixed title position to right of indicators with smaller font */
.adj-title {
position: fixed;
top: 2.3rem;
left: 19rem;
z-index: 99;
h2 {
font-size: 30px;
}
}