Skip to content

Commit 0128805

Browse files
authored
Merge pull request #88 from TheDMSGroup/ENG-262-date-formatting-ui
[ENG-262] Refactor field tokenization
2 parents f14580b + 7e4f709 commit 0128805

29 files changed

+945
-1137
lines changed

Assets/build/contactclient.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/build/contactclient.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/css/00.codemirror.css

Lines changed: 63 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,77 @@
1-
/* Codemirror Mustache tags to style like our tag-editor tags (sorta) */
2-
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
1+
/* Custom theme to be more friendly to non-developers */
2+
.cm-s-cc {
3+
background: #fff;
4+
color: #424242;
5+
line-height: 22px;
6+
font-family: 'Roboto Mono', Menlo, Monaco, Consolas, "Courier New", monospace !important;
7+
font-size: 13px;
8+
font-weight: normal;
9+
padding: 0px;
10+
}
11+
12+
.cm-s-cc .CodeMirror-gutters {
13+
background: #fff;
14+
color: #616161;
15+
border: none;
16+
}
17+
/*.cm-s-cc .CodeMirror-cursors { visibility: visible !important; }*/
18+
.cm-s-cc .CodeMirror-cursor { border-left: 1px solid #303030 !important; background: #303030; width: 2px; }
19+
.cm-s-cc .CodeMirror-guttermarker,
20+
.cm-s-cc .CodeMirror-guttermarker-subtle,
21+
.cm-s-cc .CodeMirror-linenumber { color: rgb(83,127,126); }
22+
.cm-s-cc .CodeMirror-activeline-background { background: #b0bec5; }
23+
/*.cm-s-cc .CodeMirror-selected { background: #b0bec5; }*/
24+
.cm-s-cc .cm-comment { color: #616161; }
25+
.cm-s-cc .cm-string { color: #009688; }
26+
.cm-s-cc .cm-string-2 { color: #80CBC4; }
27+
.cm-s-cc .cm-number { color: #7e57c2; }
28+
.cm-s-cc .cm-atom { color: #7e57c2; }
29+
.cm-s-cc .cm-keyword { color: #ff5722; }
30+
.cm-s-cc .cm-variable { color: #009688; }
31+
.cm-s-cc .cm-def { color: #FD971F; }
32+
.cm-s-cc .cm-property { color: #0288d1; }
33+
.cm-s-cc .cm-tag { color: #1c75d1; }
34+
.cm-s-cc .cm-error { color: #EC5F67; }
35+
.cm-s-cc .cm-meta { color: #80CBC4; }
36+
.cm-s-cc .cm-operator { color: rgb(60, 73, 128); }
37+
.cm-s-cc .cm-variable-2 { color: #80CBC4; }
38+
.cm-s-cc .cm-variable-3 { color: #82B1FF; }
39+
.cm-s-cc .cm-builtin { color: #ad9e53; }
40+
.cm-s-cc .cm-attribute { color: #caa155; }
41+
.cm-s-cc .cm-qualifier { color: #a69850; }
42+
.cm-s-cc .CodeMirror-matchingbracket { font-weight: bold; color: #3c4980 !important; }
343

44+
/* Codemirror Mustache tags to style like our tag-editor tags (sorta) */
445
.cm-mustache,
546
.cm-mustache-danger,
647
.cm-mustache-warn {
7-
color: #fff;
8-
background-color: #216EAB;
48+
color: #424242;
49+
background-color: rgba(187, 210, 236, 0.8);
950
border-radius: 3px;
51+
padding: 2px;
1052
}
1153

1254
.cm-mustache-danger {
13-
background-color: #d9534f;
55+
/*background-color: #d9534f;*/
56+
background-color: rgba(255, 124, 114, 0.8);
1457
}
1558

1659
.cm-mustache-warn {
17-
background-color: #e2a231;
60+
/*background-color: #e2a231;*/
61+
background-color: rgba(255, 195, 86, 0.8);
62+
}
63+
.cm-mustache.CodeMirror-matchingbracket,
64+
.cm-mustache-danger.CodeMirror-matchingbracket,
65+
.cm-mustache-warn.CodeMirror-matchingbracket {
66+
color: #424242 !important;
67+
font-weight: bold;
68+
border-radius: 3px;
69+
padding: 2px 0;
70+
/*margin: 0 -1px;*/
1871
}
1972

20-
.CodeMirror {
21-
font-family: 'Source Code Pro', monospace;
22-
font-size: 13px;
23-
font-weight: normal;
73+
.cm-mustache.CodeMirror-selected,
74+
.cm-mustache-danger.CodeMirror-selected,
75+
.cm-mustache-warn.CodeMirror-selected {
76+
background: #fff;
2477
}
File renamed without changes.

Assets/css/03.api_payload.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
margin-top: 42px;
44
}
55

6-
.api_payload .CodeMirror,
7-
#contactclient_api_payload_codemirror .CodeMirror {
8-
border: 0;
9-
}
10-
116
#api_payload_buttons {
127
margin-bottom: -19px;
138
position: relative;

Assets/css/03.api_payload_json.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
/* ContactClient API Payload - JSON Editor customizations */
2+
.api_payload .contactclient_jsoneditor input[type="text"].form-control {
3+
line-height: normal;
4+
font-family: 'Roboto Mono', Menlo, Monaco, Consolas, "Courier New", monospace !important;
5+
font-size: 13px;
6+
font-weight: normal;
7+
padding: 3px 6px;
8+
}
29
.api_payload .contactclient_jsoneditor .well {
310
background: none;
411
border: 0;

Assets/css/13.ui.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ ul.CodeMirror-hints,
5555
padding: 4px;
5656
overflow-x: hidden;
5757
overflow-y: auto;
58+
line-height: 22px;
59+
font-family: 'Roboto Mono', Menlo, Monaco, Consolas, "Courier New", monospace !important;
60+
font-size: 13px;
61+
font-weight: normal;
5862
}
5963

6064
ul.CodeMirror-hints li,
@@ -66,6 +70,6 @@ ul.CodeMirror-hints li,
6670

6771
ul.CodeMirror-hints li.CodeMirror-hint-active,
6872
.nav.nav-pills.nav-stacked.bs-autocomplete-menu li.ui-menu-item.ui-state-focus {
69-
background-color: #467ca2;
70-
color: white;
73+
color: #fff;
74+
background-color: rgba(0, 86, 171, 0.8);
7175
}

Assets/css/libraries/jquery.tag-editor.css

Lines changed: 0 additions & 189 deletions
This file was deleted.

Assets/css/libraries/material.css

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)