mirror of
https://github.com/moodle/moodle.git
synced 2025-03-10 18:59:55 +01:00
Got rid of a table Restructured and added more div tags in the left menu (much more logical) Reworked the styles for the left menu in the styles sheet (everything should be customizable via style sheet) More compatible with MacIE5 Added styles to the individual links in the menu (allows styling the for currently selected page and for all the rest) Cleaned up the left menu link generation in locallib.php
98 lines
1.8 KiB
PHP
98 lines
1.8 KiB
PHP
/***
|
|
*** Hide Label Class
|
|
***/
|
|
|
|
.mod-lesson .hidden-label {
|
|
display: none;
|
|
}
|
|
|
|
/***
|
|
*** Left Menu Styles
|
|
***/
|
|
|
|
.mod-lesson .leftmenu_container {
|
|
width:170px;
|
|
height:400px;
|
|
overflow:auto;
|
|
vertical-align:top;
|
|
padding-bottom: 15px; /* for the sake of MacIE5 only */
|
|
}
|
|
.mod-lesson .leftmenu_title {
|
|
}
|
|
.mod-lesson .leftmenu_courselink {
|
|
font-size:.9em;
|
|
}
|
|
.mod-lesson .leftmenu_links {
|
|
font-size:.85em;
|
|
font-style: none;
|
|
}
|
|
.mod-lesson .leftmenu_links ul {
|
|
list-style-type: none;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
padding-top: 5px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.mod-lesson .leftmenu_selected_link {
|
|
|
|
}
|
|
|
|
.mod-lesson .leftmenu_not_selected_link {
|
|
|
|
}
|
|
|
|
|
|
/***
|
|
*** Lesson Buttons
|
|
***/
|
|
|
|
.mod-lesson .lessonbutton a {
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
|
|
.mod-lesson .lessonbutton a:link,
|
|
.mod-lesson .lessonbutton a:visited,
|
|
.mod-lesson .lessonbutton a:hover {
|
|
color: #000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mod-lesson .lessonbutton a:link,
|
|
.mod-lesson .lessonbutton a:visited {
|
|
border-top: 1px solid #cecece;
|
|
border-bottom: 2px solid #4a4a4a;
|
|
border-left: 1px solid #cecece;
|
|
border-right: 2px solid #4a4a4a;
|
|
}
|
|
|
|
.mod-lesson .lessonbutton a:hover {
|
|
border-bottom: 1px solid #cecece;
|
|
border-top: 2px solid #4a4a4a;
|
|
border-right: 1px solid #cecece;
|
|
border-left: 2px solid #4a4a4a;
|
|
}
|
|
|
|
|
|
/***
|
|
*** Use these to override lessonbutton class
|
|
*** Or just comment out all of lessonbutton class definitions and start from scratch below
|
|
***/
|
|
|
|
/* for branch tables only */
|
|
.mod-lesson .previousbutton {
|
|
}
|
|
|
|
/* for branch tables only */
|
|
.mod-lesson .nextbutton {
|
|
}
|
|
|
|
/* All other buttons */
|
|
.mod-lesson .standardbutton {
|
|
}
|
|
|
|
/* branchbuttoncontainer wraps around branch table buttons */
|
|
.mod-lesson .branchbuttoncontainer {
|
|
text-align: center;
|
|
} |