[6369] | 1 | /** |
---|
| 2 | * Rounded Corner Syntax Guide |
---|
| 3 | * |
---|
| 4 | * The following are CSS means for getting rounded corners. Sorry no IE yet, and |
---|
| 5 | * please note that each uses a slightly different style of syntax for specific |
---|
| 6 | * definition (top, bottom, left, right). |
---|
| 7 | * |
---|
| 8 | * CSS3 rounded corners |
---|
| 9 | * border-radius |
---|
| 10 | * border-top-left-radius |
---|
| 11 | * border-top-right-radius |
---|
| 12 | * border-bottom-left-radius |
---|
| 13 | * border-bottom-right-radius |
---|
| 14 | * |
---|
| 15 | * Mozilla rounded corners |
---|
| 16 | * -moz-border-radius |
---|
| 17 | * -moz-border-radius-topleft |
---|
| 18 | * -moz-border-radius-topright |
---|
| 19 | * -moz-border-radius-bottomleft |
---|
| 20 | * -moz-border-radius-bottomright |
---|
| 21 | * |
---|
| 22 | * Webkit rounded corners |
---|
| 23 | * -webkit-border-radius |
---|
| 24 | * -webkit-border-top-left-radius |
---|
| 25 | * -webkit-border-top-right-radius |
---|
| 26 | * -webkit-border-bottom-left-radius |
---|
| 27 | * -webkit-border-bottom-right-radius |
---|
| 28 | */ |
---|
| 29 | |
---|
| 30 | .block.hidden { |
---|
| 31 | -moz-border-radius: 0; |
---|
| 32 | -webkit-border-radius: 0; |
---|
| 33 | border-radius: 0; |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | .headingblock, |
---|
| 37 | table.minicalendar td, |
---|
| 38 | .path-calendar .maincalendar .filters table, |
---|
| 39 | .path-calendar .sidecalendar .filters table, |
---|
| 40 | .block.block_calendar_month .filters table, |
---|
| 41 | .path-calendar .maincalendar li.calendar_event_course, |
---|
| 42 | .path-calendar .maincalendar li.calendar_event_global, |
---|
| 43 | .path-calendar .maincalendar li.calendar_event_user, |
---|
| 44 | .path-calendar .maincalendar li.calendar_event_group, |
---|
| 45 | .path-calendar .filters td.calendar_event_course, |
---|
| 46 | .path-calendar .filters td.calendar_event_global, |
---|
| 47 | .path-calendar .filters td.calendar_event_user, |
---|
| 48 | .path-calendar .filters td.calendar_event_group { |
---|
| 49 | -moz-border-radius: 3px; |
---|
| 50 | -webkit-border-radius: 3px; |
---|
| 51 | border-radius: 3px; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | .noticebox { |
---|
| 55 | -moz-border-radius: 5px; |
---|
| 56 | -webkit-border-radius: 5px; |
---|
| 57 | border-radius: 5px; |
---|
| 58 | } |
---|
| 59 | |
---|
| 60 | .categorybox, |
---|
| 61 | .categoryboxcontent, |
---|
| 62 | .coursebox, |
---|
| 63 | .notifyproblem, |
---|
| 64 | .notifysuccess, |
---|
| 65 | table.minicalendar { |
---|
| 66 | -moz-border-radius: 10px; |
---|
| 67 | -webkit-border-radius: 10px; |
---|
| 68 | border-radius: 10px; |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | .sitetopiccontent { |
---|
| 72 | -moz-border-radius: 10px; |
---|
| 73 | -webkit-border-radius: 10px; |
---|
| 74 | border-radius: 10px; |
---|
| 75 | } |
---|
| 76 | |
---|
| 77 | .block_course_summary, |
---|
| 78 | .block_course_summary .content, |
---|
| 79 | #page-course-user .section { |
---|
| 80 | -moz-border-radius:10px; |
---|
| 81 | -webkit-border-radius: 10px; |
---|
| 82 | border-radius: 10px; |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | .generalbox, |
---|
| 86 | .generalboxcontent, |
---|
| 87 | .informationbox, |
---|
| 88 | .informationboxcontent { |
---|
| 89 | -moz-border-radius-topleft: 3px; |
---|
| 90 | -moz-border-radius-topright: 3px; |
---|
| 91 | -moz-border-radius-bottomleft: 15px; |
---|
| 92 | -moz-border-radius-bottomright: 15px; |
---|
| 93 | -webkit-border-top-left-radius: 3px; |
---|
| 94 | -webkit-border-top-right-radius: 3px; |
---|
| 95 | -webkit-border-bottom-left-radius: 15px; |
---|
| 96 | -webkit-border-bottom-right-radius: 15px; |
---|
| 97 | border-top-left-radius: 3px; |
---|
| 98 | border-top-right-radius: 3px; |
---|
| 99 | border-bottom-left-radius: 15px; |
---|
| 100 | border-bottom-right-radius: 15px; |
---|
| 101 | } |
---|
| 102 | |
---|
| 103 | .editing .block_course_summary .content { |
---|
| 104 | -moz-border-radius-topleft:0; |
---|
| 105 | -moz-border-radius-topright:0; |
---|
| 106 | -webkit-border-top-left-radius: 0; |
---|
| 107 | -webkit-border-top-right-radius: 0; |
---|
| 108 | border-top-left-radius: 0; |
---|
| 109 | border-top-right-radius: 0; |
---|
| 110 | } |
---|
| 111 | |
---|
| 112 | .entryboxheader { |
---|
| 113 | -moz-border-radius-topleft:10px; |
---|
| 114 | -moz-border-radius-topright:10px; |
---|
| 115 | -webkit-border-top-left-radius: 10px; |
---|
| 116 | -webkit-border-top-right-radius: 10px; |
---|
| 117 | border-top-left-radius: 10px; |
---|
| 118 | border-top-right-radius: 10px; |
---|
| 119 | } |
---|
| 120 | |
---|
| 121 | .generaltabselected, |
---|
| 122 | .generaltab, .generaltabinactive, |
---|
| 123 | .glossarycategoryheader, |
---|
| 124 | .glossaryformatheader { |
---|
| 125 | -moz-border-radius-topleft:15px; |
---|
| 126 | -moz-border-radius-topright:15px; |
---|
| 127 | -webkit-border-top-left-radius: 15px; |
---|
| 128 | -webkit-border-top-right-radius: 15px; |
---|
| 129 | border-top-left-radius: 15px; |
---|
| 130 | border-top-right-radius: 15px; |
---|
| 131 | } |
---|
| 132 | |
---|
| 133 | .entrybox { |
---|
| 134 | -moz-border-radius-bottomleft:10px; |
---|
| 135 | -moz-border-radius-bottomright:10px; |
---|
| 136 | -webkit-border-bottom-left-radius: 10px; |
---|
| 137 | -webkit-border-bottom-right-radius: 10px; |
---|
| 138 | border-bottom-left-radius: 10px; |
---|
| 139 | border-bottom-right-radius: 10px; |
---|
| 140 | } |
---|
| 141 | |
---|
| 142 | .path-calendar .eventlist .event, |
---|
| 143 | .glossarypost, |
---|
| 144 | #page-mod-journal-view .feedbackbox{ |
---|
| 145 | -moz-border-radius-bottomleft:15px; |
---|
| 146 | -moz-border-radius-bottomright:15px; |
---|
| 147 | -webkit-border-bottom-left-radius: 15px; |
---|
| 148 | -webkit-border-bottom-right-radius: 15px; |
---|
| 149 | border-bottom-left-radius: 15px; |
---|
| 150 | border-bottom-right-radius: 15px; |
---|
| 151 | } |
---|
| 152 | |
---|
| 153 | .path-calendar .eventlist .event .side, |
---|
| 154 | .glossarypost .side, |
---|
| 155 | #page-mod-journal-view .feedbackbox .side { |
---|
| 156 | -moz-border-radius-bottomleft:15px; |
---|
| 157 | -webkit-border-bottom-left-radius: 15px; |
---|
| 158 | border-bottom-left-radius: 15px; |
---|
| 159 | } |
---|
| 160 | |
---|
| 161 | .path-calendar .eventlist .event .description, |
---|
| 162 | .encyclopedia .entrylowersection, |
---|
| 163 | #page-mod-journal-view .feedbackbox .entrycontent { |
---|
| 164 | -moz-border-radius-bottomright:15px; |
---|
| 165 | -webkit-border-bottom-right-radius: 15px; |
---|
| 166 | border-bottom-right-radius: 15px; |
---|
| 167 | } |
---|
| 168 | |
---|
| 169 | .path-calendar .maincalendar, |
---|
| 170 | .path-calendar .sidecalendar, |
---|
| 171 | .path-calendar td.sidecalendar .block, |
---|
| 172 | .loginbox, |
---|
| 173 | .userinfobox, |
---|
| 174 | .groupinfobox, |
---|
| 175 | .forumpost, |
---|
| 176 | .block .content, |
---|
| 177 | .glossarycomment { |
---|
| 178 | -moz-border-radius-bottomright:10px; |
---|
| 179 | -moz-border-radius-bottomleft:10px; |
---|
| 180 | -webkit-border-bottom-left-radius: 10px; |
---|
| 181 | -webkit-border-bottom-right-radius: 10px; |
---|
| 182 | border-bottom-left-radius: 10px; |
---|
| 183 | border-bottom-right-radius: 10px; |
---|
| 184 | } |
---|
| 185 | |
---|
| 186 | .loginbox .content.left, |
---|
| 187 | #page-user-view .left, |
---|
| 188 | .forumpost .side, |
---|
| 189 | .glossarycomment .side { |
---|
| 190 | -moz-border-radius-bottomleft:10px; |
---|
| 191 | -webkit-border-bottom-left-radius: 10px; |
---|
| 192 | border-bottom-left-radius: 10px; |
---|
| 193 | } |
---|
| 194 | |
---|
| 195 | .loginbox .content.right, |
---|
| 196 | .forumpost .content, |
---|
| 197 | .forumpost .message, |
---|
| 198 | .forumpost .side, |
---|
| 199 | .glossarycomment .entry { |
---|
| 200 | -moz-border-radius-bottomright:10px; |
---|
| 201 | -webkit-border-bottom-right-radius: 10px; |
---|
| 202 | border-bottom-right-radius: 10px; |
---|
| 203 | } |
---|
| 204 | |
---|
| 205 | #quiznavigation .qnbutton { |
---|
| 206 | -moz-box-sizing: content-box; |
---|
| 207 | } |
---|
| 208 | |
---|
| 209 | #page-mod-quiz-edit div.editq div.question div.content, |
---|
| 210 | #page-mod-quiz-edit div.quizpage .pagecontent { |
---|
| 211 | -moz-border-radius-topright: 0.6em; |
---|
| 212 | -moz-border-radius-bottomright: 0.6em; |
---|
| 213 | -webkit-border-top-right-radius: 0.6em; |
---|
| 214 | -webkit-border-bottom-right-radius: 0.6em; |
---|
| 215 | border-top-right-radius: 0.6em; |
---|
| 216 | border-bottom-right-radius: 0.6em; |
---|
| 217 | } |
---|
| 218 | #page-mod-quiz-edit div.quizpage .pagecontent .pagestatus, |
---|
| 219 | #page-mod-quiz-edit .reorder div.question div.content{ |
---|
| 220 | -moz-border-radius-topright: 0.3em; |
---|
| 221 | -moz-border-radius-bottomright: 0.3em; |
---|
| 222 | -webkit-border-top-right-radius: 0.3em; |
---|
| 223 | -webkit-border-bottom-right-radius: 0.3em; |
---|
| 224 | border-top-right-radius: 0.3em; |
---|
| 225 | border-bottom-right-radius: 0.3em; |
---|
| 226 | } |
---|
| 227 | #page-mod-quiz-edit div.question div.content div.points, |
---|
| 228 | #page-mod-quiz-edit div.question div.content div.qorder { |
---|
| 229 | -moz-border-radius-topright: 0.2em; |
---|
| 230 | -moz-border-radius-bottomright: 0.2em; |
---|
| 231 | -webkit-border-top-right-radius: 0.2em; |
---|
| 232 | -webkit-border-bottom-right-radius: 0.2em; |
---|
| 233 | border-top-right-radius: 0.2em; |
---|
| 234 | border-bottom-right-radius: 0.2em; |
---|
| 235 | } |
---|
| 236 | #page-mod-quiz-edit div.quizpage .pagecontent form#addquestion{ |
---|
| 237 | -moz-border-radius:0.2em; |
---|
| 238 | -webkit-border-radius: 0.2em; |
---|
| 239 | border-radius: 0.2em; |
---|
| 240 | } |
---|