diff --git a/README.md b/README.md index 40fc8f6..0f76713 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,9 @@ The only things to remember while adding new words is that the minimum informati And that's all you need to get started! Everything else should be pretty self-explanatory, but a full explanation of Dictionary Builder and all of its functions continues below. ### Locking/Unlocking the Word Entry Form -If you are not viewing Lexiconga from a mobile device, you will see a lock icon (🔒) in a button in the top right corner of the word entry form. If you click the button, the word entry form will be undocked from the top of the dictionary and will scroll down the page with you. If you click the unlocked icon (🔓) after the form has been unlocked, it will lock again and jump back to the top of the page. +If you are **_not_** viewing Lexiconga from a mobile device or otherwise small window, you will see a lock icon (🔒) in a button in the top right corner of the word entry form. If you click the button, the word entry form will be undocked from the top of the dictionary and will scroll down the page with you. If you click the unlocked icon (🔓) after the form has been unlocked, it will lock again and jump back to the top of the page. + +If you _are_ viewing from a mobile device or from a small enough window, when you scroll past the word form, you will see a green box with a + sign. Tapping/clicking this box will make the word entry form appear at that position on your screen so you can add words from anywhere in your dictionary. To hide the word entry form after it is open, just click the ✕ icon that replaces the + in the green box and the word form will hide. ### Viewing your Dictionary's Details After you enter a markdown-formatted description/rules in the Settings menu, you can view the formatted version by clicking the "Show Description" button under your dictionary's name. You can hide it again by clicking "Hide Description" when the description is displayed. diff --git a/css/mobile.css b/css/mobile.css index fb8cead..1aea062 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -1,6 +1,6 @@ /* Smartphones (portrait and landscape) ----------- */ -@media only screen -and (max-device-width : 910px) { +@media screen +and (max-width : 910px) { body { font-size: 11pt; } @@ -32,7 +32,7 @@ and (max-device-width : 910px) { } #wordEntryForm label { - overflow: auto; + overflow: hidden; display: flex; justify-content: center; font-size: 10pt; @@ -79,8 +79,9 @@ and (max-device-width : 910px) { -moz-box-shadow: 5px 5px 7px 0px rgba(0,0,0,0.75); box-shadow: 5px 5px 7px 0px rgba(0,0,0,0.75); border: none; + cursor: pointer; } - + #dictionaryColumn { width: 100%; margin: 0; @@ -103,6 +104,14 @@ and (max-device-width : 910px) { margin: 0 auto; } + .fixedFade { + z-index: 5; + } + + .fixedPage { + z-index: 10; + } + entry { margin: 0 auto 5px; } diff --git a/css/styles.css b/css/styles.css index da1e5a5..7cc1bcc 100644 --- a/css/styles.css +++ b/css/styles.css @@ -364,8 +364,7 @@ searchTerm { margin: 10px; } -#settingsBackgroundFade, #infoBackgroundFade, #loadAfterDeleteFade, -#accountSettingsBackgroundFade, #fullScreenTextboxBackgroundFade { +.fixedFade { position: fixed; top: 0; left: 0; @@ -375,8 +374,7 @@ searchTerm { opacity: 0.6; } -#settingsOptions, #infoPage, #loadAfterDeletePage, -#accountSettingsPage, #fullScreenTextboxPage { +.fixedPage { position: fixed; top: 5%; left: 6%; @@ -395,10 +393,7 @@ searchTerm { box-shadow: 5px 5px 7px 0px rgba(0,0,0,0.75); } -#announcementCloseButton, #notificationCloseButton, -#settingsButton, #settingsScreenCloseButton, #accountSettingsScreenCloseButton, -#settingsSaveButtons button, #infoScreenCloseButton, -#fullScreenTextboxScreenCloseButton { +.rightButton { float: right; font-size: 12px; } diff --git a/index.php b/index.php index b598a0c..019c411 100644 --- a/index.php +++ b/index.php @@ -100,7 +100,7 @@ if ($display_mode != "build") {
- +