Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
b3f7b40
Update utilities.js
smg6511 Oct 31, 2024
fdaf9e8
Base updates
smg6511 Oct 31, 2024
670a4f8
ACL Role updates
smg6511 Oct 31, 2024
48e415b
Contexts update
smg6511 Oct 31, 2024
f3b4161
Media Source updates
smg6511 Nov 1, 2024
54e680d
Namespace updates
smg6511 Nov 1, 2024
f77ec0d
Dashboard panel code formatting updates
smg6511 Nov 1, 2024
00bed8f
Dashboard(s) updates
smg6511 Nov 2, 2024
d145aa1
ACL Policy & Policy Template updates
smg6511 Nov 3, 2024
8cde104
Package Versions updates
smg6511 Nov 4, 2024
6230f3f
Package Versions additions
smg6511 Nov 4, 2024
90ff710
Lexicons formatting updates
smg6511 Nov 4, 2024
740dcb7
Lexicons updates
smg6511 Nov 4, 2024
a62f104
FC Profiles and Sets
smg6511 Nov 5, 2024
32a3da0
FC Profiles and Sets additions
smg6511 Nov 5, 2024
90da328
Update modx.panel.fcset.js
smg6511 Nov 8, 2024
05dafec
Update modx.panel.fcprofile.js
smg6511 Nov 8, 2024
60e3fcd
FC Profiles and Sets more additions
smg6511 Nov 8, 2024
a423ac7
Update modx.grid.user.js
smg6511 Nov 8, 2024
73dd2bd
Users additions
smg6511 Nov 8, 2024
89137c1
Update modx.grid.dashboard.widgets.js
smg6511 Nov 11, 2024
8d36354
Update modx.grid.access.context.js
smg6511 Nov 13, 2024
2db95a4
Relocate new Namespace method
smg6511 Nov 14, 2024
b20ac52
Update modx.grid.js
smg6511 Nov 15, 2024
863bcb4
Dashboard(s) & Widgets updates
smg6511 Nov 15, 2024
94d358e
Update modx.panel.dashboard.js
smg6511 Nov 15, 2024
eb0361c
Context Access updates
smg6511 Nov 15, 2024
ba9592d
Update modx.grid.user.group.js
smg6511 Nov 15, 2024
eeb2bd3
User Access updates
smg6511 Nov 19, 2024
5351e7a
Update GetList.php
smg6511 Nov 19, 2024
d24b53d
Update modx.grid.content.type.js
smg6511 Nov 19, 2024
20fd15f
Content Type updates
smg6511 Nov 22, 2024
24d7030
Update modx.panel.property.set.js
smg6511 Nov 23, 2024
10aecf5
Update modx.grid.element.properties.js
smg6511 Nov 25, 2024
328c462
Update modx.grid.local.property.js
smg6511 Nov 27, 2024
6d1fafd
Property Sets updates
smg6511 Nov 29, 2024
04c3ffa
Minor code quality fixes
smg6511 Nov 29, 2024
cfc696d
Update modx.grid.js
smg6511 Dec 2, 2024
f7b8a07
User Recent Resources updates
smg6511 Dec 2, 2024
448684f
Update modx.panel.user.group.js
smg6511 Dec 5, 2024
fb49530
Base/utilities tweaks
smg6511 Dec 6, 2024
e497c7d
Template TVs updates
smg6511 Dec 6, 2024
fa7741d
FC Sets & Profiles tweaks
smg6511 Dec 6, 2024
d899cae
User Group & ACLs updates
smg6511 Dec 7, 2024
9a3a652
Batch updates
smg6511 Dec 7, 2024
0b0bece
TV Resource Group Access formatting update
smg6511 Dec 7, 2024
99a716d
TV panel grids updates
smg6511 Dec 7, 2024
f325151
Update modx.grid.trash.js
smg6511 Dec 7, 2024
b76864c
Trash manager updates
smg6511 Dec 10, 2024
4569801
Update modx.grid.resource.security.local.js
smg6511 Dec 10, 2024
647ca9f
Resource Access updates
smg6511 Dec 10, 2024
b8f34d4
Deprecations
smg6511 Dec 11, 2024
e61765d
FC Profiles & Sets finalization
smg6511 Dec 11, 2024
8e756c6
Miscellaneous tweaks
smg6511 Dec 11, 2024
8cbaa0d
Update modx.grid.js
smg6511 Apr 24, 2025
5ab4c75
Update utilities.js
smg6511 Oct 31, 2024
3859af1
Base updates
smg6511 Oct 31, 2024
c176806
Media Source updates
smg6511 Nov 1, 2024
225b558
Update modx.grid.element.properties.js
smg6511 Nov 25, 2024
74260a1
Update modx.grid.local.property.js
smg6511 Nov 27, 2024
d977b29
Property Sets updates
smg6511 Nov 29, 2024
48486f9
Base/utilities tweaks
smg6511 Dec 6, 2024
ab86d92
Batch updates
smg6511 Dec 7, 2024
d5e0d6c
Update .eslintrc.js
smg6511 Apr 24, 2025
e54c74d
Revert "Update .eslintrc.js"
smg6511 Apr 24, 2025
8a63f97
Update .eslintrc.js
smg6511 Apr 25, 2025
db08060
Update index.scss
smg6511 Apr 26, 2025
c7a0d69
Remove extras-namespaces logic
smg6511 May 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = {
curly: ['error', 'all'],
eqeqeq: ['error', 'smart'],
'func-names': ['warn', 'as-needed'],
'guard-for-in': 'warn',
indent: ['error', 4, {
VariableDeclarator: 'first',
SwitchCase: 1
Expand All @@ -39,15 +40,20 @@ module.exports = {
code: 140,
ignoreComments: true
}],
'new-cap': 'warn',
'no-continue': 'warn',
'no-global-assign': 'warn',
'no-new': 'warn',
'no-param-reassign': 'warn',
'no-plusplus': ['error', {
'no-plusplus': ['warn', {
allowForLoopAfterthoughts: true
}],
'no-restricted-syntax': 'warn',
'no-underscore-dangle': 'warn',
'no-unused-vars': ['error', { args: 'none' }],
'no-use-before-define': ['error', 'nofunc'],
'no-useless-escape': 'warn',
'no-shadow': ['warn', { allow: ['response'] }],
'object-shorthand': ['error', 'consistent'],
'one-var': ['error', 'consecutive'],
'prefer-arrow-callback': 'warn',
Expand Down
109 changes: 63 additions & 46 deletions _build/templates/default/sass/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ textarea.x-form-field,
border-radius: $borderRadius;
border: 1px solid $borderColor;
position: relative;
transition: border-color .25s;
transition: border-color 0.25s;
}

.x-viewport .x-trigger-wrap-focus,
Expand Down Expand Up @@ -143,7 +143,7 @@ input::-moz-focus-inner {
padding: 0 0 0 3px;
top: 0;
right: 0;
transition: all .25s;
transition: all 0.25s;
width: 16px;
height: 16px;

Expand Down Expand Up @@ -289,7 +289,7 @@ input::-moz-focus-inner {
border: 1px solid $borderColor;
border-radius: $borderRadius;
padding: 5px;
transition: all .25s;
transition: all 0.25s;

&:focus {
border: 1px solid $borderColorFocus;
Expand Down Expand Up @@ -410,7 +410,7 @@ input::-moz-focus-inner {
}

&.toggle-slider-above {
margin: .3em 0;
margin: 0.3em 0;
padding-left: 3.9em;
}

Expand All @@ -422,15 +422,15 @@ input::-moz-focus-inner {

.example-list {
ul {
margin: .4em 0;
margin: 0.4em 0;
li {
position: relative;
margin-bottom: .25em;
margin-bottom: 0.25em;
padding-left: 1.25em;
&::before {
@extend %pseudo-font;
position: absolute;
left: .2em;
left: 0.2em;
top: 0;
content: fa-content($fa-var-angle-double-right);
color: scale-color($mediumGray, $lightness: 20%);
Expand All @@ -440,7 +440,7 @@ input::-moz-focus-inner {
}
.example-input,
.copy-this {
padding: 0 .3em;
padding: 0 0.3em;
border-radius: 2px;
transition: width 1s;
}
Expand Down Expand Up @@ -478,7 +478,14 @@ input::-moz-focus-inner {
}
}
}
}
&:active {
color: $darkGray;
&::after {
color: $darkGray;
}
}
}

.feedback {
margin-left: 1.4rem;
color: scale-color($blue, $lightness: -35%);
Expand Down Expand Up @@ -507,7 +514,7 @@ input::-moz-focus-inner {
.fs-toggle {
padding-top: 1em;
margin-top: 2em;
margin-bottom: .5em;
margin-bottom: 0.5em;
border-top: 1px dashed $borderColor;
}

Expand Down Expand Up @@ -636,7 +643,7 @@ input::-moz-focus-inner {
transform: translate(-50%, -50%);
text-align: center;
width: 30px;
transition: opacity .25s;
transition: opacity 0.25s;
}

&.x-form-trigger-over,
Expand Down Expand Up @@ -932,11 +939,11 @@ input::-moz-focus-inner {
left: unset;
}

&+.x-form-cb-label,
&+.x-fieldset-header-text {
& + .x-form-cb-label,
& + .x-fieldset-header-text {
position: relative;
padding-left: 3.6em;
padding-top: .2em;
padding-top: 0.2em;
margin-left: 0;
cursor: pointer;
box-sizing: border-box;
Expand All @@ -946,7 +953,7 @@ input::-moz-focus-inner {
&:after {
content: '';
position: absolute;
transition: all .2s ease;
transition: all 0.2s ease;
font-size: inherit;
}

Expand All @@ -963,7 +970,7 @@ input::-moz-focus-inner {
&:after {
left: 0.1em;
top: 0.8em;
margin-top: -.65em;
margin-top: -0.65em;
height: 1.3em;
width: 1.3em;
border-radius: 50%;
Expand All @@ -973,9 +980,8 @@ input::-moz-focus-inner {
}

&:checked {

&+.x-form-cb-label,
&+.x-fieldset-header-text {
& + .x-form-cb-label,
& + .x-fieldset-header-text {
&:after {
left: 1.6em;
top: 0.8em;
Expand All @@ -989,9 +995,8 @@ input::-moz-focus-inner {
}

&.danger:checked {

&+.x-form-cb-label,
&+.x-fieldset-header-text {
& + .x-form-cb-label,
& + .x-fieldset-header-text {
&:before {
background-color: $red;
border-color: $red;
Expand All @@ -1000,9 +1005,8 @@ input::-moz-focus-inner {
}

&.warning:checked {

&+.x-form-cb-label,
&+.x-fieldset-header-text {
& + .x-form-cb-label,
& + .x-fieldset-header-text {
&:before {
background-color: $orange;
border-color: $orange;
Expand Down Expand Up @@ -1089,13 +1093,13 @@ input::-moz-focus-inner {
cursor: pointer;
display: inline-block; /*font-size: 1px;*/
outline: 0; /* fix firefox dotted outlines */
opacity: .6;
opacity: 0.6;
filter: alpha(opacity=60); /* for IE <= 8 */
padding: 0;
position: absolute;
top: 0;
right: 0;
transition: opacity .25s;
transition: opacity 0.25s;
width: 16px;
height: 100%;

Expand Down Expand Up @@ -1226,21 +1230,22 @@ input::-moz-focus-inner {
}

.x-editor .x-form-check-wrap {
background-color: $white
}

/* fix combo on grid editor bug */
.x-grid-editor .x-form-field-wrap {
background: #f6f2f7 url($imgPath + 'modx-theme/form/combo-bck.png') repeat-x scroll 0 100%;
background-color: $white;
}

.x-grid-editor .x-form-field-wrap input {
.x-grid-editor {
z-index: 9002 !important;
.x-form-field-wrap {
background: #f6f2f7 url($imgPath + "modx-theme/form/combo-bck.png") repeat-x
scroll 0 100%;
input {
background-color: transparent !important;
}

.x-grid-editor .x-form-field-wrap img {
img {
background-color: $white;
background-image: url($imgPath + 'modx-theme/form/trigger.png');
background-image: url($imgPath + "modx-theme/form/trigger.png");
}
}
}

.x-form-grow-sizer {
Expand Down Expand Up @@ -1374,7 +1379,7 @@ input::-moz-focus-inner {

.x-btn {
padding: 1px;
transition: color .25s;
transition: color 0.25s;

&.x-btn-over,
&:hover,
Expand All @@ -1389,7 +1394,7 @@ input::-moz-focus-inner {

&.x-item-disabled {
color: $buttonColor;
opacity: .4;
opacity: 0.4;
}

button:before {
Expand Down Expand Up @@ -1433,7 +1438,11 @@ input::-moz-focus-inner {
}

/* the second text cell, "of X" */
.x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell {
.x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell {
.xtb-text {
display: inline-block;
position: absolute;
Expand All @@ -1445,7 +1454,15 @@ input::-moz-focus-inner {
}

/* the last regular button >>, yes, I know it's ugly but tell that Microsoft and say thanks for IE8 =) */
.x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell + .x-toolbar-cell {
.x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell
+ .x-toolbar-cell {
.x-btn {
margin-right: 0;
}
Expand All @@ -1454,13 +1471,13 @@ input::-moz-focus-inner {
/* the refresh button */
.x-toolbar-cell:last-child {
opacity: 0;
transition: opacity .25s;
transition: opacity 0.25s;

.x-btn {
font-size: 12px;
line-height: 1;
margin: 0;
opacity: .4;
opacity: 0.4;
padding: 0;
position: absolute;
bottom: 2px;
Expand Down Expand Up @@ -1549,11 +1566,11 @@ input::-moz-focus-inner {
.x-date-mp-ybtn a.x-date-mp-prev,
.x-date-mp-ybtn a.x-date-mp-next {
display: inline-block;
opacity: .6;
opacity: 0.6;
filter: alpha(opacity=60); /* for IE <= 8 */
margin: 0 auto;
position: relative;
transition: opacity .25s;
transition: opacity 0.25s;

&:before {
@extend %pseudo-font;
Expand Down Expand Up @@ -1810,6 +1827,6 @@ td.x-date-mp-sep {
bottom: 0;
padding: 10px 20px;
color: #fff;
background-color: rgba(0, 0, 0, .8);
background-color: rgba(0, 0, 0, 0.8);
}
}
11 changes: 10 additions & 1 deletion _build/templates/default/sass/_utility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
}
}


/* Instead of writing the same code for every nav bar */
@mixin navigation-list {
list-style-type: none;
Expand Down Expand Up @@ -212,3 +211,13 @@
}
}
}

@mixin textLink {
color: $colorSplash;
text-decoration-style: dotted;
text-decoration-color: scale-color($colorSplash, $lightness: 50%);
&:hover {
color: $black;
border-bottom-color: scale-color($black, $lightness: 40%);
}
}
Loading