How about some "Roundness" in your Widgets and buttons

  • 31 August 2023
  • 7 replies
  • 135 views

Userlevel 4

As Docebo upgrades Docebo Content, some clients might want to bring in the rounded look and feel within your Widgets,and buttons. In other words, it now might be “hip” to be “round.” See the following CSS code to support this in your platform:
 

/* ************************* */
/* Rounded Edges for Widgets */
/* ************************* */
.pages-widget-page .single-widget *:not(.title):not(.ui-carousel-title):not(.ui-text-link):not(.ui-card-title):not(.ui-typography-heading-5):not(.subtitle):not(.dropdown-head) {
border-radius: 10px;
}
/* ************************* */
/* Rounded Edges for Buttons */
/* ************************* */
#doc-layout-page-content button.mdl-button {
border-radius : 100px;
}

 


7 replies

Userlevel 7
Badge +7

This is great...gives the pages a fresher look. Thank you.

Badge

Hi - is there a way to do this for single widgets and not all? 

Userlevel 5
Badge +1

@Kelly this worked for me to round just the bottom right corner. 

#doc-page-89 #doc-widget-1384 *:not(.title):not(.ui-carousel-title):not(.ui-text-link):not(.ui-card-title):not(.ui-typography-heading-5):not(.subtitle):not(.dropdown-head)
{ border-bottom-right-radius: 70px; } /* replace #doc-widget-#### with your widget ID */

 

Userlevel 7
Badge +3

Love this, backlogging a version into the next update to Fark.tools css wizard.

Userlevel 2

anyone using this and has it caused any issues? It looks great?

Userlevel 7
Badge +3

I played with it a bit for adding as an option on fark.tools and didn’t run into any issues, limited user interaction though admittedly, it is available now there though. 

Userlevel 2

@Bfarkas great we have it in our sandbox and I really like it!

Reply