Skip to content

Commit 90cfe87

Browse files
committed
fix: remove green line from custom algorithm's checkboxes
1 parent aa532d5 commit 90cfe87

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

templates/simulations/setup.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
padding-left: 10px;
4444
margin-bottom: 10px;
4545
}
46-
.custom-algorithm-item {
47-
border-left: 3px solid #198754;
48-
}
4946
.info-tip {
5047
background-color: #f8f9fa;
5148
border: 1px solid #dee2e6;
@@ -99,7 +96,6 @@
9996
display: flex;
10097
gap: 0.5rem;
10198
}
102-
/* Unified button styles: outline style for both auth and profile/logout */
10399
.btn-outline-primary {
104100
color: #0d6efd;
105101
border-color: #0d6efd;
@@ -122,12 +118,6 @@
122118
color: #fff;
123119
border-color: #dc3545;
124120
}
125-
/* Removing old green/blue specific button classes, keeping for consistency but not used in new design.
126-
However, we'll keep the structure but override with outline style. To match exactly,
127-
we apply .btn-outline-primary and .btn-outline-danger for all action buttons. */
128-
.btn-green, .btn-blue {
129-
/* These are replaced by outline classes, but keep for backward if any; we'll not use them */
130-
}
131121
.user-info {
132122
display: flex;
133123
align-items: center;
@@ -145,13 +135,11 @@
145135
display: flex;
146136
gap: 0.5rem;
147137
}
148-
/* Ensure consistent sizing for all buttons in the auth section */
149138
.btn-sm {
150139
font-size: 0.875rem;
151140
padding: 0.375rem 0.75rem;
152141
border-radius: 0.375rem;
153142
}
154-
/* Additional style for consistency: any custom button must look similar */
155143
.btn-outline-primary, .btn-outline-danger {
156144
font-weight: 500;
157145
}
@@ -174,7 +162,6 @@ <h1 class="card-title mb-0">Multi-Agent Tracking Simulation Setup</h1>
174162
</div>
175163
{% else %}
176164
<div class="auth-buttons">
177-
<!-- Unify design: using same outline style as Profile and Logout buttons -->
178165
<a href="{% url 'accounts:login' %}" class="btn btn-sm btn-outline-primary">Sign in</a>
179166
<a href="{% url 'accounts:register' %}" class="btn btn-sm btn-outline-primary">Create account</a>
180167
</div>
@@ -207,7 +194,7 @@ <h5 class="mb-3">Base algorithms</h5>
207194
<h5 class="mb-3">User algorithms</h5>
208195
<div class="algorithm-items">
209196
{% for algo in custom_algorithms %}
210-
<div class="form-check custom-algorithm-item">
197+
<div class="form-check">
211198
<input class="form-check-input algorithm-checkbox" type="checkbox" id="{{ algo }}" name="algorithms" value="{{ algo }}">
212199
<label class="form-check-label" for="{{ algo }}">{{ algo }}</label>
213200
</div>

0 commit comments

Comments
 (0)