Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit 9be8c3d

Browse files
Added validation styles
1 parent 53d546f commit 9be8c3d

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

src/Our.Umbraco.DocTypeGridEditor/Our.Umbraco.DocTypeGridEditor.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@
247247
</ItemGroup>
248248
<ItemGroup>
249249
<Content Include="Web\UI\App_Plugins\DocTypeGridEditor\Config\grid.editors.config.js" />
250+
<Content Include="Web\UI\App_Plugins\DocTypeGridEditor\Css\doctypegrideditor.css" />
250251
<Content Include="Web\UI\App_Plugins\DocTypeGridEditor\Js\doctypegrideditor.resources.js" />
251252
<Content Include="Web\UI\App_Plugins\DocTypeGridEditor\Js\doctypegrideditor.services.js" />
252253
<Content Include="Web\UI\App_Plugins\DocTypeGridEditor\Js\doctypegrideditor.controllers.js" />
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*.dtge-dialog fieldset legend {
2+
display: none;
3+
}*/
4+
5+
.dtge-dialog input.ng-invalid {
6+
border-color: #9d261d;
7+
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
8+
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
9+
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
10+
}
11+
12+
.dtge-dialog .help-inline {
13+
color: #9d261d;
14+
}

src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.dialog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ng-form name="dtgeForm">
1+
<ng-form name="dtgeForm" novalidate>
22
<div class="dtge-dialog umb-panel" ng-controller="Our.Umbraco.DocTypeGridEditor.Dialogs.DocTypeGridEditorDialog">
33

44
<div class="umb-panel-body no-header with-footer umb-scrollable" ng-switch="dialogMode">

src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/package.manifest

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
'~/App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.resources.js',
44
'~/App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.services.js',
55
'~/App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.controllers.js'
6-
]
6+
],
7+
"css": [
8+
'~/App_Plugins/DocTypeGridEditor/Css/doctypegrideditor.css'
9+
]
710
}

0 commit comments

Comments
 (0)