Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
e074436d
Commit
e074436d
authored
7 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
Further improvement of nav drawer SCSS section.
parent
6af3bd7c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
scss/post.scss
+11
-32
11 additions, 32 deletions
scss/post.scss
with
12 additions
and
32 deletions
CHANGES.md
+
1
−
0
View file @
e074436d
...
@@ -5,6 +5,7 @@ Changes
...
@@ -5,6 +5,7 @@ Changes
-------
-------
### Unreleased
### Unreleased
*
2018-02-21 - Further improvement of nav drawer SCSS section.
*
2018-02-21 - Implemented get_extra_scss function.
*
2018-02-21 - Implemented get_extra_scss function.
### Release v3.4-r1
### Release v3.4-r1
...
...
This diff is collapsed.
Click to expand it.
scss/post.scss
+
11
−
32
View file @
e074436d
...
@@ -172,7 +172,7 @@ body.loginbackgroundimage {
...
@@ -172,7 +172,7 @@ body.loginbackgroundimage {
* General left menu.
* General left menu.
*/
*/
/* Course home menu. */
/* Course home menu. */
.list-group-item
[
data-key
|
=
coursehome
]
{
.list-group-item
[
data-key
=
coursehome
]
{
/* Add solid border and realign the node with the other ones. */
/* Add solid border and realign the node with the other ones. */
@include
navdrawer-node-separator
(
parent
);
@include
navdrawer-node-separator
(
parent
);
padding
:
.75rem
1
.25rem
;
padding
:
.75rem
1
.25rem
;
...
@@ -183,22 +183,22 @@ body.loginbackgroundimage {
...
@@ -183,22 +183,22 @@ body.loginbackgroundimage {
}
}
/* Menu items participants, badges, grades and competencies need dashed bottom border. */
/* Menu items participants, badges, grades and competencies need dashed bottom border. */
.list-group-item
[
data-key
|
=
participants
],
.list-group-item
[
data-key
=
participants
],
.list-group-item
[
data-key
|
=
badgesview
],
.list-group-item
[
data-key
=
badgesview
],
.list-group-item
[
data-key
|
=
grades
],
.list-group-item
[
data-key
=
grades
],
.list-group-item
[
data-key
|
=
competencies
]
{
.list-group-item
[
data-key
=
competencies
]
{
@include
navdrawer-node-separator
(
child
);
@include
navdrawer-node-separator
(
child
);
}
}
/* Add solid border: myhome, website start and calendar. */
/* Add solid border: myhome, website start and calendar. */
.list-group-item
[
data-key
|
=
myhome
],
.list-group-item
[
data-key
=
myhome
],
.list-group-item
[
data-key
|
=
home
],
.list-group-item
[
data-key
=
home
],
.list-group-item
[
data-key
|
=
calendar
]
{
.list-group-item
[
data-key
=
calendar
]
{
@include
navdrawer-node-separator
(
parent
);
@include
navdrawer-node-separator
(
parent
);
}
}
/* Menu item: my courses. */
/* Menu item: my courses. */
.list-group-item
[
data-key
|
=
mycourses
]
{
.list-group-item
[
data-key
=
mycourses
]
{
/* Separate the courses menu items from the other ones and add a bottom border*/
/* Separate the courses menu items from the other ones and add a bottom border*/
@include
navdrawer-node-separator
(
parent
);
@include
navdrawer-node-separator
(
parent
);
margin-top
:
15px
;
margin-top
:
15px
;
...
@@ -211,34 +211,13 @@ body.loginbackgroundimage {
...
@@ -211,34 +211,13 @@ body.loginbackgroundimage {
}
}
/* Dashed border for all courses I'm enrolled in except the last one. */
/* Dashed border for all courses I'm enrolled in except the last one. */
.list-group-item
[
data-parent-key
|
=
mycourses
]
{
.list-group-item
[
data-parent-key
=
mycourses
]
{
@include
navdrawer-node-separator
(
child
);
@include
navdrawer-node-separator
(
child
);
}
}
.list-group-item
[
data-parent-key
|
=
mycourses
]
:last-child
{
.list-group-item
[
data-parent-key
=
mycourses
]
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
/*
* Course home menu
*/
.list-group-item
[
data-key
|=
coursehome
]
{
/* Add solid border and realign the node with the other ones. */
@include
navdrawer-node-separator
(
parent
);
padding
:
.75rem
1
.25rem
;
/* As this node is a topic node, no icon is needed and the media span can be hidden. */
.media-left
{
display
:
none
;
}
}
/* Menu items participants, badges, grades and competencies need dashed bottom border. */
.list-group-item
[
data-key
|=
participants
],
.list-group-item
[
data-key
|=
badgesview
],
.list-group-item
[
data-key
|=
grades
],
.list-group-item
[
data-key
|=
competencies
]
{
@include
navdrawer-node-separator
(
child
);
}
/* If setting 'navdrawericons' is disabled, do not show any icons by hiding the whole media-left span. */
/* If setting 'navdrawericons' is disabled, do not show any icons by hiding the whole media-left span. */
@if
variable-exists
(
navdrawericons
)
{
@if
variable-exists
(
navdrawericons
)
{
@if
$navdrawericons
==
'no'
{
@if
$navdrawericons
==
'no'
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment