@@ -12,17 +12,17 @@ $section-default-color: #ddd;
1212
1313.block.block_course_modulenavigation {
1414 .content {
15- white-space : normal ;
16- padding : 5px ;
1715 background-color : $section-bg ;
16+ padding : 5px ;
17+ white-space : normal ;
1818 }
1919
2020 .pagination ,
2121 .allpagination {
22+ display : table ;
2223 margin : 0 ;
2324 padding : $section-body-padding ;
2425 width : 100% ;
25- display : table ;
2626 }
2727
2828 .pagination .prev ,
@@ -43,15 +43,15 @@ $section-default-color: #ddd;
4343 .allpagination .sectionname ,
4444 .pagination .allsectionames ,
4545 .allpagination .allsectionames {
46- width : 90% ;
47- border-radius : $section-border-radius ;
4846 border : 0 ;
47+ border-radius : $section-border-radius ;
48+ width : 90% ;
4949 }
5050
5151 .pagination .expand-arrow ,
5252 .allpagination .expand-arrow {
53- width : 18px ;
5453 float : right ;
54+ width : 18px ;
5555 }
5656
5757 .pagination > li ,
@@ -61,34 +61,34 @@ $section-default-color: #ddd;
6161
6262 .pagination > li a ,
6363 .allpagination > li a {
64- padding : $section-body-padding ;
65- float : none ;
66- display : block ;
6764 background-color : transparent ;
68- border-radius : $section-border-radius ;
6965 border : 0 ;
66+ border-radius : $section-border-radius ;
67+ display : block ;
68+ float : none ;
69+ padding : $section-body-padding ;
7070 }
7171
7272 ul .activities {
73+ list-style : none ;
7374 margin : 0 ;
7475 padding : $section-body-padding ;
75- list-style : none ;
7676
7777 li > a {
78- padding : 5px 10px ;
7978 border-bottom : 1px solid #eee ;
8079 display : block ;
80+ padding : 5px 10px ;
8181
8282 & :hover ,
8383 & .active {
84- text-decoration : none ;
8584 background-color : #eee ;
85+ text-decoration : none ;
8686 }
8787 }
8888
8989 .completionbox {
90- position : relative ;
9190 display : table-cell ;
91+ position : relative ;
9292 width : 18px ;
9393 }
9494
@@ -97,61 +97,61 @@ $section-default-color: #ddd;
9797 }
9898
9999 .completioncheck {
100+ border-radius : 5px ;
101+ content : ' ' ;
102+ display : inline-block ;
103+ height : 10px ;
104+ margin-top : -5px ;
100105 position : absolute ;
101106 top : 50% ;
102- margin-top : -5px ;
103- content : ' ' ;
104107 width : 10px ;
105- height : 10px ;
106- border-radius : 5px ;
107- display : inline-block ;
108108
109109 & .incomplete {
110110 border : 1px solid #ccc ;
111111 }
112112
113113 & .completed {
114- border : 1px solid #5cb85c ;
115114 background-color : #5cb85c ;
115+ border : 1px solid #5cb85c ;
116116 }
117117 }
118118
119119 .modulenavigationlabel {
120- pointer-events : none ;
121- cursor : default ;
122120 color : black ;
121+ cursor : default ;
123122 font-weight : 700 ;
123+ pointer-events : none ;
124124 }
125125 }
126126
127127 .section {
128- margin-bottom : 20px ;
129128 background-color : $section-bg ;
130129 border : 1px solid transparent ;
131130 border-radius : $section-border-radius ;
131+ margin-bottom : 20px ;
132132 }
133133
134134 .section-body {
135135 padding : $section-body-padding ;
136136 }
137137
138138 .module-navigation-section-heading {
139- padding : $section-padding ;
140139 border-bottom : 1px solid transparent ;
141- border-top-right-radius : 0 ;
142140 border-top-left-radius : 0 ;
141+ border-top-right-radius : 0 ;
142+ padding : $section-padding ;
143143
144144 > .dropdown .dropdown-toggle {
145145 color : inherit ;
146146 }
147147 }
148148
149149 .tocourse {
150- display : block ;
151- padding : $section-padding ;
152150 background-color : $section-content-bg ;
153151 border : 1px solid $section-default-color ;
152+ display : block ;
154153 margin-bottom : 3px ;
154+ padding : $section-padding ;
155155
156156 & :hover {
157157 text-decoration : none ;
@@ -163,9 +163,9 @@ $section-default-color: #ddd;
163163 }
164164
165165 .section-title {
166- margin-top : 0 ;
167- margin-bottom : 0 ;
168166 color : inherit ;
167+ margin-bottom : 0 ;
168+ margin-top : 0 ;
169169
170170 > {
171171 a ,
@@ -177,11 +177,11 @@ $section-default-color: #ddd;
177177 }
178178
179179 .section-footer {
180- padding : $section-padding ;
181180 background-color : $section-content-bg ;
182- border-top : 1px solid $section-default-color ;
183- border-bottom-right-radius : 0 ;
184181 border-bottom-left-radius : 0 ;
182+ border-bottom-right-radius : 0 ;
183+ border-top : 1px solid $section-default-color ;
184+ padding : $section-padding ;
185185 }
186186
187187 .section > {
@@ -192,27 +192,27 @@ $section-default-color: #ddd;
192192
193193 .list-group .list-group-item ,
194194 .section-collapse > .list-group .list-group-item {
195- border-width : 1px 0 ;
196195 border-radius : $section-border-radius ;
196+ border-width : 1px 0 ;
197197 }
198198
199199 .list-group :first-child .list-group-item :first-child ,
200200 .section-collapse > .list-group :first-child .list-group-item :first-child {
201201 border-top : 0 ;
202- border-top-right-radius : 0 ;
203202 border-top-left-radius : 0 ;
203+ border-top-right-radius : 0 ;
204204 }
205205
206206 .list-group :last-child .list-group-item :last-child ,
207207 .section-collapse > .list-group :last-child .list-group-item :last-child {
208208 border-bottom : 0 ;
209- border-bottom-right-radius : 0 ;
210209 border-bottom-left-radius : 0 ;
210+ border-bottom-right-radius : 0 ;
211211 }
212212
213213 .module-navigation-section-heading + .section-collapse > .list-group .list-group-item :first-child {
214- border-top-right-radius : 0 ;
215214 border-top-left-radius : 0 ;
215+ border-top-right-radius : 0 ;
216216 }
217217 }
218218
@@ -225,8 +225,8 @@ $section-default-color: #ddd;
225225 margin-bottom : 20px ;
226226
227227 .section {
228- margin-bottom : 0 ;
229228 border-radius : $section-border-radius ;
229+ margin-bottom : 0 ;
230230
231231 + .section {
232232 margin-top : 5px ;
@@ -258,17 +258,17 @@ $section-default-color: #ddd;
258258
259259 > {
260260 .module-navigation-section-heading {
261- color : #333 ;
262261 background-color : $section-content-bg ;
263262 border-color : $section-default-color ;
263+ color : #333 ;
264264
265265 + .section-collapse > .section-body {
266266 border-top-color : $section-default-color ;
267267 }
268268
269269 .badge {
270- color : $section-content-bg ;
271270 background-color : #333 ;
271+ color : $section-content-bg ;
272272 }
273273 }
274274
0 commit comments