This wiki has had no edits or log actions made within the last 45 days and has been automatically marked as inactive. If you would like to prevent this wiki from being closed, please start showing signs of activity here. If there are no signs of this wiki being used within the next 15 days, this wiki will be closed in accordance to the Dormancy Policy (which all wiki founders accept when requesting a wiki). If this wiki is closed and no one reopens it 135 days from now, this wiki will become eligible for deletion. Note: If you are a bureaucrat, you can go to Special:ManageWiki and uncheck "inactive" yourself.
Module:Mbox/data
From The Richterian History Collective
This is a sub-module of Module:Mbox and is used to specify the CSS properties for message boxes.
local localStyle = {
['mbox'] = {
['display'] = 'flex',
['position'] = 'relative',
['border'] = '1px solid #d6d6d6',
['border-left-width'] = '8px',
['border-left-color'] = '#d6d6d6',
['border-radius'] = '3px',
['margin-bottom'] = '5px',
['min-height'] = '32px'
},
['mbox__content'] = {
['display'] = 'table',
['box-sizing'] = 'border-box',
['width'] = '100%',
['padding'] = '8px 15px'
},
['mbox__content__image'] = {
['display'] = 'table-cell',
['width'] = '40px',
['height'] = '100%',
['text-align'] = 'center',
['vertical-align'] = 'middle',
['padding-right'] = '15px'
},
['mbox__content__wrapper'] = {
['display'] = 'table-cell',
['vertical-align'] = 'middle'
},
['mbox__content__header'] = {
['display'] = 'block',
['font-weight'] = 'bold'
},
['mbox__content__text'] = {
['display'] = 'block'
},
['mbox__content__text__comment'] = {
['font-size'] = 'small'
},
['mbox__content__aside'] = {
['display'] = 'table-cell',
['width'] = '100px',
['vertical-align'] = 'middle',
['text-align'] = 'center',
['padding-left'] = '15px',
['border-left'] = '1px solid #d6d6d6'
},
['mbox__close'] = {
['position'] = 'absolute',
['right'] = '0',
['top'] = '0',
['padding'] = '2px 7px',
['font-weight'] = 'bold',
['font-size'] = '16px',
['color'] = '#bbb',
['cursor'] = 'pointer',
['transition'] = 'all .15s ease-in'
}
}
return { localStyle = localStyle }