1 // General block styles.
10 word-wrap: break-word;
30 word-wrap: break-word;
81 &.hidden .header .block_action {
89 &.list_block .unlist > li > .column {
90 display: inline-block;
118 // Hide the block content when the block has been minimised.
119 .jsenabled .block.hidden .content {
123 // Style the div used as a move target for non-drag+drop block moves.
126 border-style: dashed;
132 // Style the div that contains the cancel link for moving a block with JS disabled.
134 // Blocks have a bottom margin of 20px, to associate this link with the block being moved
135 // we move it up 10px, and then give it a bottom margin of 10px giving it a better visual association
141 // Styles for the blog menu block.
142 .block_blog_menu #blogsearchquery {
146 // Styles for the admin block.
153 // Styles for the search forums block.
154 .block_search_forums {
161 // Styles for the Calendar Upcoming block.
162 .block_calendar_upcoming {
175 // Styles for the RSS client block.
180 border: 1px solid @tableBorder;
181 .border-radius(@baseBorderRadius);
183 font-weight: inherit;
186 .list li:first-child {
187 border-top-width: 1px; // undo the style provided by the block's styles.css
191 // Styles for the news items block.
192 .block_news_items .content {
194 padding-bottom: 10px;
197 border-top: 1px rgba(0, 0, 0, 0.05) solid;
202 display: table-header-group;
205 font-size: @fontSizeSmall;
209 font-size: @fontSizeSmall;
220 // Overide for login block.
222 input#login_username,
223 input#login_password {
231 input[type="submit"] {
236 // Styles for the special "Add block" block shown while editing.
246 select.singleselect {
254 @doughnut-border-size: 15px;
255 @doughnut-dasharray: 173;
256 @doughnut-empty-colour: @grayLighter;
257 @doughnut-fill-colour: @orange;
259 .generate-percents(@i: 1) when (@i =< 100) {
261 stroke-dashoffset: @doughnut-dasharray - (@i / 100 * @doughnut-dasharray);
264 .generate-percents((@i + 1));
267 .progress-chart-container {
275 background-clip: padding-box;
276 border: @doughnut-border-size solid @doughnut-empty-colour;
278 box-sizing: border-box;
285 transform: translate(-50%, -50%);
286 color: @doughnut-empty-colour;
289 color: @doughnut-fill-colour;
293 .progress-indicator {
295 top: (@doughnut-border-size * -1);
296 left: (@doughnut-border-size * -1);
306 stroke-width: @doughnut-border-size;
307 stroke: @doughnut-fill-colour;
309 stroke-dasharray: @doughnut-dasharray;
310 stroke-dashoffset: @doughnut-dasharray;
311 transform: rotate(-90deg);
312 transform-origin: center center;
314 .generate-percents();
323 background-color: @doughnut-empty-colour;
335 transform: translate(-45%, -45%);
337 height: (@chart-size / 2);
338 width: (@chart-size / 2);
343 .block_starredcourses,
346 .empty-placeholder-image-lg {
349 .course-info-container {
353 .dashboard-card-footer {
355 background-color: @wellBackground;
356 border-top: 1px solid darken(@wellBackground, 7%);
357 .border-bottom-radius(@baseBorderRadius);
368 padding: 0.75rem 1.25rem;
369 margin-bottom: 0.5rem;
370 background-color: @white;
371 border: 1px solid @tableBorder;
372 .border-radius(@baseBorderRadius);
374 .course-summaryitem {
376 background-color: @white;
377 border: 1px solid @tableBorder;
378 .border-radius(@baseBorderRadius);
384 @media (max-width: 576px) {
391 .block_starredcourses {
392 .dashboard-card-deck {
398 .dashboard-card-deck {
399 box-sizing: border-box;
403 box-sizing: border-box;
407 margin-right: -.25rem;
408 margin-left: -.25rem;
411 .border-radius(@baseBorderRadius);
412 margin-bottom: 0.5rem;
418 @media (min-width: 576px) {
421 flex-direction: column;
422 margin-right: 0.25rem;
423 margin-left: 0.25rem;
424 flex-basis: ~"calc(50% - 0.6rem)";
428 @media (min-width: 1200px) {
430 flex-basis: ~"calc(33.333% - 0.5rem)";
435 @media (min-width: 768px) {
436 #block-region-side-post .dashboard-card-deck {
446 .dashboard-card-img {
448 background-position: center;
449 background-size: cover;
450 .border-top-radius(@baseBorderRadius);
455 background-position: center;
456 background-size: cover;