Upgrade výsledkovky (uchycení druhého sloupce – toho se jménem)
This commit is contained in:
		
							parent
							
								
									da705927c2
								
							
						
					
					
						commit
						81004d7cdc
					
				
					 3 changed files with 21 additions and 2 deletions
				
			
		|  | @ -240,6 +240,25 @@ div.cislo_odkazy ul { | ||||||
| } | } | ||||||
| /******************************************/ | /******************************************/ | ||||||
| 
 | 
 | ||||||
|  | /** Výsledkovky **/ | ||||||
|  | .vysledkovka td:first-child, .tabulka_oramovane_sloupce th:first-child { | ||||||
|  | 	position: unset; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .vysledkovka td:nth-child(2), .tabulka_oramovane_sloupce th:nth-child(2) { | ||||||
|  | 	border-right: solid 1px; | ||||||
|  | 
 | ||||||
|  | 	position: sticky; | ||||||
|  | 	left: 0; | ||||||
|  | 	background: inherit; /* (Snad) zneprůhlední druhý sloupec */ | ||||||
|  | 	z-index: 1; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .vysledkovka td:nth-child(3), .tabulka_oramovane_sloupce th:nth-child(3) { | ||||||
|  | 	border-left: none; | ||||||
|  | } | ||||||
|  | /*****************/ | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| /** Tabulka mých (řešitelových) řešení **/ | /** Tabulka mých (řešitelových) řešení **/ | ||||||
| .odevzdana_reseni tr th, .odevzdana_reseni tr td { | .odevzdana_reseni tr th, .odevzdana_reseni tr td { | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| <table class='tabulka_oramovane_sloupce tabulka_s_uchycenym_radkem_a_sloupcem'> | <table class='vysledkovka tabulka_oramovane_sloupce tabulka_s_uchycenym_radkem_a_sloupcem'> | ||||||
| <thead> | <thead> | ||||||
|     <tr> |     <tr> | ||||||
|         <th>#</th> |         <th>#</th> | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| <table class='tabulka_oramovane_sloupce tabulka_s_uchycenym_radkem_a_sloupcem'> | <table class='vysledkovka tabulka_oramovane_sloupce tabulka_s_uchycenym_radkem_a_sloupcem'> | ||||||
| <thead> | <thead> | ||||||
|   <tr> |   <tr> | ||||||
|     <th>#</th> |     <th>#</th> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue