Skip to content

Commit

Permalink
Pre-submission fine-tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Graham committed Sep 7, 2023
1 parent a6abcc3 commit 751c5d5
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 31 deletions.
24 changes: 17 additions & 7 deletions _build/templates/default/sass/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1795,26 +1795,20 @@ iframe[classname="x-hidden"] {
word-break: break-word;
}
}
@include grid-media($gtTabletP) {
@include grid-media($gtMobile) {
ul {
columns: 2;
column-gap: 2rem;
}
}
.x-window & {
margin-top: 1rem;
.header {
// padding-left: .5rem;
// display: inline-block;
// text-align: center;
}
}
.x-grid3 & {
ul {
position: relative;
padding-left: 1rem;
background-color: #fcfbfb;
columns: 5;
.x-grid3-row-alt & {
background-color: #f9faff;
}
Expand All @@ -1838,7 +1832,23 @@ iframe[classname="x-hidden"] {
font-style: italic;
}
}
@include grid-media($gtTabletP) {
ul {
columns: 3;
}
}
@include grid-media($gtTabletL) {
ul {
columns: 4;
}
}
@include grid-media($gtCinema) {
ul {
columns: 5;
}
}
}

}

/* for selectability in ext grids */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @class MODx.grid.UserGroupCategory
* @extends MODx.grid.Grid
* @extends MODx.grid.UserGroupBase
* @param {Object} config An object of configuration properties
* @xtype modx-grid-user-group-categories
*/
Expand Down Expand Up @@ -127,7 +127,7 @@ MODx.grid.UserGroupCategory = function UserGroupCategory(config = {}) {
scope: this
},
mouseout: {
fn: function(evt) {
fn: function() {
this.removeClass('x-btn-focus');
}
}
Expand All @@ -143,8 +143,8 @@ Ext.reg('modx-grid-user-group-category', MODx.grid.UserGroupCategory);

/**
* @class MODx.window.CreateUGCat
* @extends MODx.Window
* @param {Object} config An object of options.
* @extends MODx.window.UserGroupAclBase
* @param {Object} config An object of options
* @xtype modx-window-user-group-category-create
*/
MODx.window.CreateUGCat = function CreateUGCat(config = {}) {
Expand Down Expand Up @@ -181,7 +181,7 @@ Ext.reg('modx-window-user-group-category-create', MODx.window.CreateUGCat);
/**
* @class MODx.window.UpdateUGCat
* @extends MODx.window.CreateUGCat
* @param {Object} config An object of options.
* @param {Object} config An object of options
* @xtype modx-window-user-group-category-update
*/
MODx.window.UpdateUGCat = function UpdateUGCat(config = {}) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable no-console */
/**
* @class MODx.grid.UserGroupContext
* @extends MODx.grid.Grid
* @extends MODx.grid.UserGroupBase
* @param {Object} config An object of configuration properties
* @xtype modx-grid-user-group-contexts
*/
Expand Down Expand Up @@ -122,7 +121,7 @@ MODx.grid.UserGroupContext = function UserGroupContext(config = {}) {
scope: this
},
mouseout: {
fn: function(evt) {
fn: function() {
this.removeClass('x-btn-focus');
}
}
Expand All @@ -138,8 +137,8 @@ Ext.reg('modx-grid-user-group-context', MODx.grid.UserGroupContext);

/**
* @class MODx.window.CreateUGAccessContext
* @extends MODx.Window
* @param {Object} config An object of options.
* @extends MODx.window.UserGroupAclBase
* @param {Object} config An object of options
* @xtype modx-window-user-group-context-create
*/
MODx.window.CreateUGAccessContext = function CreateUGAccessContext(config = {}) {
Expand All @@ -160,7 +159,7 @@ Ext.reg('modx-window-user-group-context-create', MODx.window.CreateUGAccessConte
/**
* @class MODx.window.UpdateUGAccessContext
* @extends MODx.window.CreateUGAccessContext
* @param {Object} config An object of options.
* @param {Object} config An object of options
* @xtype modx-window-user-group-context-update
*/
MODx.window.UpdateUGAccessContext = function UpdateUGAccessContext(config = {}) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ MODx.grid.UserGroupNamespace = function UserGroupNamespace(config = {}) {
fn: function(cmp, record, selectedIndex) {
this.updateDependentFilter('filter-policy-namespace', 'namespace', record.data.name);
/*
There's an odd conflict in the processor when using 'namespace' as the
query param, therefor the alternate param 'ns' is used this listener, its component value, and in the value of
this grid's main baseParams config
There's an odd conflict in the processor when using 'namespace' as the query param,
therefor the alternate param 'ns' is used this listener, its component value,
and in the value of this grid's main baseParams config
*/
this.applyGridFilter(cmp, 'ns');
},
Expand Down Expand Up @@ -126,7 +126,7 @@ MODx.grid.UserGroupNamespace = function UserGroupNamespace(config = {}) {
scope: this
},
mouseout: {
fn: function(evt) {
fn: function() {
this.removeClass('x-btn-focus');
}
}
Expand All @@ -143,7 +143,7 @@ Ext.reg('modx-grid-user-group-namespace', MODx.grid.UserGroupNamespace);
/**
* @class MODx.window.CreateUGNamespace
* @extends MODx.window.UserGroupAclBase
* @param {Object} config An object of options.
* @param {Object} config An object of options
* @xtype modx-window-user-group-namespace-create
*/
MODx.window.CreateUGNamespace = function CreateUGNamespace(config = {}) {
Expand Down Expand Up @@ -187,7 +187,7 @@ Ext.reg('modx-window-user-group-namespace-create', MODx.window.CreateUGNamespace
/**
* @class MODx.window.UpdateUGNamespace
* @extends MODx.window.CreateUGNamespace
* @param {Object} config An object of options.
* @param {Object} config An object of options
* @xtype modx-window-user-group-namespace-update
*/
MODx.window.UpdateUGNamespace = function UpdateUGNamespace(config = {}) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @class MODx.grid.UserGroupResourceGroup
* @extends MODx.grid.Grid
* @extends MODx.grid.UserGroupBase
* @param {Object} config An object of configuration properties
* @xtype modx-grid-user-group-resource-groups
*/
Expand Down Expand Up @@ -129,7 +129,7 @@ MODx.grid.UserGroupResourceGroup = function UserGroupResourceGroup(config = {})
scope: this
},
mouseout: {
fn: function(evt) {
fn: function() {
this.removeClass('x-btn-focus');
}
}
Expand All @@ -145,7 +145,7 @@ Ext.reg('modx-grid-user-group-resource-group', MODx.grid.UserGroupResourceGroup)

/**
* @class MODx.window.CreateUGRG
* @extends MODx.Window
* @extends MODx.window.UserGroupAclBase
* @param {Object} config An object of options.
* @xtype modx-window-user-group-resourcegroup-create
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @class MODx.grid.UserGroupSource
* @extends MODx.grid.Grid
* @extends MODx.grid.UserGroupBase
* @param {Object} config An object of configuration properties
* @xtype modx-grid-user-group-sources
*/
Expand Down Expand Up @@ -138,8 +138,8 @@ Ext.reg('modx-grid-user-group-source', MODx.grid.UserGroupSource);

/**
* @class MODx.window.CreateUGSource
* @extends MODx.Window
* @param {Object} config An object of options.
* @extends MODx.window.UserGroupAclBase
* @param {Object} config An object of options
* @xtype modx-window-user-group-source-create
*/
MODx.window.CreateUGSource = function CreateUGSource(config = {}) {
Expand Down Expand Up @@ -183,7 +183,7 @@ Ext.reg('modx-window-user-group-source-create', MODx.window.CreateUGSource);
/**
* @class MODx.window.UpdateUGSource
* @extends MODx.window.CreateUGSource
* @param {Object} config An object of options.
* @param {Object} config An object of options
* @xtype modx-window-user-group-source-update
*/
MODx.window.UpdateUGSource = function UpdateUGSource(config = {}) {
Expand Down

0 comments on commit 751c5d5

Please sign in to comment.