OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/stylesheets/content/editor/_macros.sass

30 lines
715 B

// Legacy macro rendering
macro.legacy-macro
background: $nm-color-warning-background
border: 2px dashed $nm-color-warning-border
padding: 10px 5px
line-height: 3rem
.ck-widget.macro,
macro.macro-placeholder
border: 2px dashed #ccc
min-height: 50px
display: flex
justify-content: center
align-items: center
color: #575757
background: #f8f8f8
.macro-value
font-style: italic
color: $gray-dark
// Unavailable macros
macro.macro-unavailable
@extend %error-placeholder
background: $nm-color-error-background
border-style: dashed
border-width: rem-calc(1)
border-color: $nm-color-error-border
padding: $nm-box-padding
box-shadow: rem-calc(1px 2px 3px) rgba(0, 0, 0, 0.2)