Luna LMS

Check-in [97336062f3]
Login

Check-in [97336062f3]

Overview
Comment:Made course roadmap and content sticky while scrolling.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | view
Files: files | file ages | folders
SHA3-256: 97336062f3d6196ab9b4747cbf91ac889788e7b18b558c33dfe185e57341c18d
User & Date: florian 2024-05-08 14:11:17
Context
2024-05-08
14:21
Improved styling of circled heading number. check-in: 5f469563e8 user: florian tags: view
14:11
Made course roadmap and content sticky while scrolling. check-in: 97336062f3 user: florian tags: view
12:26
Merged changes from tools. check-in: 3c514622ce user: florian tags: view
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to luna_lms/webapp.py.

398
399
400
401
402
403
404





405
406
407
408
409
410
411
	height: 1.42rem ;
	vertical-align: baseline ;
	margin-right: 1ex ;
	background: var(--text-color) ;
	mask: url("/static/account.svg") ;
	mask-repeat: no-repeat ;
}






nav.course_navigation {
}

nav.course_navigation a {
	text-decoration: none ;
	border-bottom: none ;







>
>
>
>
>







398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
	height: 1.42rem ;
	vertical-align: baseline ;
	margin-right: 1ex ;
	background: var(--text-color) ;
	mask: url("/static/account.svg") ;
	mask-repeat: no-repeat ;
}

.nav-sticky {
	position: sticky ;
	top: 0px ;
}

nav.course_navigation {
}

nav.course_navigation a {
	text-decoration: none ;
	border-bottom: none ;
636
637
638
639
640
641
642





643
644
645
646
647
648
649
	color: var(--link-interaction-color) ;
	border-bottom: solid 2px var(--link-interaction-color) ;
}

main p {
	margin-top: 0px ;
}






.rounded_hover_border {
	border: var(--medium-border) solid rgba(0, 0, 0, 0) ;
	border-radius: 8px ;
}

.rounded_hover_border:hover, .rounded_hover_border:focus {







>
>
>
>
>







641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
	color: var(--link-interaction-color) ;
	border-bottom: solid 2px var(--link-interaction-color) ;
}

main p {
	margin-top: 0px ;
}

main article {
	position: sticky ;
	top: 0px ;
}

.rounded_hover_border {
	border: var(--medium-border) solid rgba(0, 0, 0, 0) ;
	border-radius: 8px ;
}

.rounded_hover_border:hover, .rounded_hover_border:focus {
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
		return_str += '			<img src="/static/modes.svg" style="height:1rem;" alt="{}">'.format(_("Modus-MenĂ¼-Symbol"))
		return_str += '		</a>'
		return_str += '	</div>'
		return_str += '</div>'

		return_str += '<main class="w3-row-padding general_left_right_margin">'

		return_str += '	<div class="w3-col luna-l3 luna-m3">'
		return_str += '	<nav class="course_navigation">'

		return_str += '		<p>{}</p>'.format(course_title)
		
		return_str += '		<div class="bookmark">'
		return_str += '			<div class="w3-cell bookmark-icon">'
		return_str += '				<div>'







|







1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
		return_str += '			<img src="/static/modes.svg" style="height:1rem;" alt="{}">'.format(_("Modus-MenĂ¼-Symbol"))
		return_str += '		</a>'
		return_str += '	</div>'
		return_str += '</div>'

		return_str += '<main class="w3-row-padding general_left_right_margin">'

		return_str += '	<div class="nav-sticky w3-col luna-l3 luna-m3">'
		return_str += '	<nav class="course_navigation">'

		return_str += '		<p>{}</p>'.format(course_title)
		
		return_str += '		<div class="bookmark">'
		return_str += '			<div class="w3-cell bookmark-icon">'
		return_str += '				<div>'