Skip to content
Snippets Groups Projects
Commit bb06fa2d authored by Earl Miles's avatar Earl Miles
Browse files

Make modal bigger.

parent befcbb79
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ div.ctools-modal-content { ...@@ -7,7 +7,7 @@ div.ctools-modal-content {
border: 1px solid #000; border: 1px solid #000;
width: 600px; width: 600px;
text-align: left; text-align: left;
} }
div.ctools-modal-content .modal-title { div.ctools-modal-content .modal-title {
font-size: 120%; font-size: 120%;
...@@ -37,11 +37,6 @@ div.ctools-modal-content .modal-content { ...@@ -37,11 +37,6 @@ div.ctools-modal-content .modal-content {
div.ctools-modal-content .modal-form { div.ctools-modal-content .modal-form {
} }
div.ctools-modal-content .form-checkboxes .form-item {
float: left;
width: 24%;
}
div.ctools-modal-content a.close { div.ctools-modal-content a.close {
color: white; color: white;
} }
...@@ -56,8 +51,6 @@ div.ctools-modal-content a.close img { ...@@ -56,8 +51,6 @@ div.ctools-modal-content a.close img {
} }
div.ctools-modal-content .modal-content .modal-throbber-wrapper { div.ctools-modal-content .modal-content .modal-throbber-wrapper {
width: 575px;
height: 400px;
text-align: center; text-align: center;
} }
......
...@@ -26,6 +26,10 @@ parent = context ...@@ -26,6 +26,10 @@ parent = context
title = Relationship plugins title = Relationship plugins
parent = context parent = context
[context-content]
title = Content plugins
parent = context
[css] [css]
title = CSS scrubbing and caching tool title = CSS scrubbing and caching tool
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* Contains theme registry and theme implementations for the context tool. * Contains theme registry and theme implementations for the context tool.
*/ */
/**
* Implementation of hook_theme()
*/
function ctools_context_theme(&$theme) { function ctools_context_theme(&$theme) {
$theme['ctools_context_list'] = array( $theme['ctools_context_list'] = array(
'arguments' => array('object'), 'arguments' => array('object'),
......
...@@ -22,6 +22,14 @@ Drupal.CTools.Modal.show = function() { ...@@ -22,6 +22,14 @@ Drupal.CTools.Modal.show = function() {
} }
$('span.modal-title', Drupal.CTools.Modal.modal).html(Drupal.t('Loading...')); $('span.modal-title', Drupal.CTools.Modal.modal).html(Drupal.t('Loading...'));
$('div.ctools-modal-content', Drupal.CTools.Modal.modal).css({
'width': $(window).width() * .8 + 'px',
'height': $(window).height() * .8 + 'px'
});
$('div.ctools-modal-content .modal-content', Drupal.CTools.Modal.modal).css({
'width': ($(window).width() * .8 - 25) + 'px',
'height': ($(window).height() * .8 - 22) + 'px'
});
Drupal.CTools.Modal.modal.modalContent({ Drupal.CTools.Modal.modal.modalContent({
// @todo this should be elsewhere. // @todo this should be elsewhere.
opacity: '.40', opacity: '.40',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment