Compare commits

...
1 Commits
Author SHA1 Message Date
Wojtek c9b39f795a Fix test timer to viewport corner 2026-10-15 19:41:31 +02:00
5 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -27,6 +27,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych.
## Instalacja ## Instalacja
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.16.0). W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.16.1).
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
@@ -0,0 +1 @@
-- No database changes required for version 1.16.1.
+1 -1
View File
@@ -4,7 +4,7 @@
<creationDate>2026-10-14</creationDate> <creationDate>2026-10-14</creationDate>
<author>Komponent</author> <author>Komponent</author>
<license>GNU General Public License version 2 or later</license> <license>GNU General Public License version 2 or later</license>
<version>1.16.0</version> <version>1.16.1</version>
<description>COM_TESTQUESTIONS_DESCRIPTION</description> <description>COM_TESTQUESTIONS_DESCRIPTION</description>
<element>com_testquestions</element> <element>com_testquestions</element>
<namespace path="src">Komponent\Component\Testquestions</namespace> <namespace path="src">Komponent\Component\Testquestions</namespace>
@@ -18,6 +18,19 @@
margin: auto; margin: auto;
} }
.com-testquestions #test-timer-container {
position: fixed;
left: 1rem;
bottom: 1rem;
z-index: 1050;
margin: 0;
padding: 4px;
background: #fff;
border: 1px solid #dfe3e7;
border-radius: .25rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.com-testquestions .timer-text { .com-testquestions .timer-text {
position: absolute; position: absolute;
top: 50%; top: 50%;
+13
View File
@@ -154,6 +154,19 @@ div.odpup
gap: .25rem; gap: .25rem;
} }
.com-testquestions #test-timer-container {
position: fixed;
left: 1rem;
bottom: 1rem;
z-index: 1050;
margin: 0;
padding: 4px;
background: #fff;
border: 1px solid #dfe3e7;
border-radius: .25rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.com-testquestions .question-number { .com-testquestions .question-number {
flex: 0 0 auto; flex: 0 0 auto;
white-space: nowrap; white-space: nowrap;