Gek/external actions (#827)
* WIP External actions modal frontend * Add external action links * Allow modal to show/hide and use a dynamic url * Use external link object instead of just url for state * add style and placement to external action buttons * reformat and simplify tag list style as not to conflict with action buttons and make them look less actionable since they're not * fix bug to open modal * have Esc key close modal * fix style on modal * make modal bg darker * close modal when you click outside of it * fix zindex * Add support for external action icons and colors * Some external action modal sizing + loading spinner Co-authored-by: Ginger Wong <omqmail@gmail.com>
This commit is contained in:
@@ -82,6 +82,37 @@ header {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#external-actions-container {
|
||||
margin: 1em 0;
|
||||
|
||||
}
|
||||
.external-action-button {
|
||||
border-radius: 4px;
|
||||
color: #fff;
|
||||
font-size: .88em;
|
||||
padding: .25em .75em;
|
||||
margin: .35em;
|
||||
margin-left: 0;
|
||||
display: flex;
|
||||
max-width: 250px;
|
||||
padding-top: .3em;
|
||||
}
|
||||
.external-action-button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.external-action-icon {
|
||||
margin: .25em .5em .25em 0;
|
||||
}
|
||||
.external-action-icon img {
|
||||
height: 1.5em;
|
||||
width: 1.5em;
|
||||
}
|
||||
.external-action-label {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ************************************************ */
|
||||
|
||||
@@ -245,3 +276,7 @@ header {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
iframe{
|
||||
background:url(/img/loading.gif) center center no-repeat; height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user