Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M3P2 HTML Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
M3P2 HTML Generator
Commits
5cff8910
Commit
5cff8910
authored
Jun 21, 2022
by
Administrator
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: lessons menu on small screens
parent
605c581b
Pipeline
#11097
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
12 deletions
+30
-12
custom.css
user/themes/textbook/css/custom.css
+30
-12
No files found.
user/themes/textbook/css/custom.css
View file @
5cff8910
...
...
@@ -130,6 +130,12 @@ iframe.geogebra {
/* padding-right: 4em;*/
/*}*/
/*@media (max-width: 840px) {*/
/* #header .navbar-section {*/
/* margin-right: 0;*/
/* }*/
/*}*/
/** Mobile navigation without javascript ******************************************************************************/
/** We're using the checkbox hack. **/
...
...
@@ -290,17 +296,17 @@ iframe.geogebra {
.dropdown-selector
{
display
:
inline-block
;
float
:
right
;
position
:
relative
;
top
:
50%
;
vertical-align
:
middle
;
margin
:
0
1rem
!important
;
-webkit-transform
:
translateY
(
-50%
);
-moz-transform
:
translateY
(
-50%
);
-o-transform
:
translateY
(
-50%
);
-ms-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
margin
:
0
1rem
!important
;
display
:
inline-block
;
}
.dropdown-selector
>
.btn
:first-child
{
...
...
@@ -320,8 +326,7 @@ iframe.geogebra {
cursor
:
pointer
;
user-select
:
none
;
background-image
:
none
;
border
:
1px
solid
transparent
;
/* size */
/* Size */
padding
:
5px
10px
;
font-size
:
0.8rem
;
line-height
:
1.5
;
...
...
@@ -329,16 +334,16 @@ iframe.geogebra {
/* Aspect */
color
:
#333
;
background-color
:
#fff
;
border
-color
:
#ccc
;
border
:
1px
solid
#ccc
;
}
.dropdown-selector
.dropdown-menu
{
position
:
absolute
;
top
:
95%
;
/*left: 0;*/
right
:
0
;
right
:
-2.0rem
;
max-width
:
90vw
;
z-index
:
1000
;
display
:
none
;
display
:
none
;
/* shown by hover or focus on elder sibling btn */
float
:
left
;
padding
:
5px
0
;
margin
:
2px
0
0
;
...
...
@@ -348,9 +353,15 @@ iframe.geogebra {
background-color
:
#fff
;
background-clip
:
padding-box
;
border-radius
:
4px
;
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
);
}
/*@media screen and (max-width: 400px) {*/
/* .dropdown-selector .dropdown-menu {*/
/* max-width: 320px;*/
/* }*/
/*}*/
.dropdown-selector
.dropdown-menu
img
{
width
:
24px
;
height
:
12px
;
...
...
@@ -359,9 +370,10 @@ iframe.geogebra {
.dropdown-selector
.dropdown-menu
li
{
line-height
:
1rem
;
font-color
:
#c0c0c0
;
/*text-color: #c0c0c0;*/
display
:
list-item
;
text-align
:
-webkit-match-parent
;
overflow
:
hidden
;
}
.dropdown-selector
.dropdown-menu
li
:hover
{
...
...
@@ -371,11 +383,17 @@ iframe.geogebra {
.dropdown-selector
.dropdown-menu
>
li
>
a
{
display
:
block
;
padding
:
3px
15px
;
clear
:
both
;
/*clear: both;*/
font-weight
:
400
;
line-height
:
1.42857143
;
color
:
#333
;
/*color: #333;*/
white-space
:
nowrap
;
/*overflow: hidden;*/
/* hmmmm ; why not? not working needs more testing */
/*text-overflow: ellipsis;*/
/*-ms-text-overflow: ellipsis;*/
}
/**********************************************************************************************************************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment