Rename policy to document
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.policy-editor-container {
|
||||
.document-editor-container {
|
||||
border-radius: 0.5rem;
|
||||
position: relative;
|
||||
line-height: 1.5;
|
||||
@@ -9,7 +9,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.policy-editor {
|
||||
.document-editor {
|
||||
background: var(--bg-invert-bg);
|
||||
position: relative;
|
||||
border-radius: 0.5rem;
|
||||
@@ -18,7 +18,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.policy-editor-inner {
|
||||
.document-editor-inner {
|
||||
background: #fff;
|
||||
position: relative;
|
||||
border-radius: 0 0 0.5rem 0.5rem;
|
||||
@@ -26,7 +26,7 @@
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
.policy-editor-input {
|
||||
.document-editor-input {
|
||||
min-height: 250px;
|
||||
max-height: 500px;
|
||||
resize: none;
|
||||
@@ -41,7 +41,7 @@
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.policy-editor-placeholder {
|
||||
.document-editor-placeholder {
|
||||
color: #999;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
@@ -54,12 +54,12 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.policy-editor-paragraph {
|
||||
.document-editor-paragraph {
|
||||
margin: 0 0 15px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.policy-editor .toolbar {
|
||||
.document-editor .toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 8px;
|
||||
@@ -68,7 +68,7 @@
|
||||
border-radius: 0.5rem 0.5rem 0 0;
|
||||
}
|
||||
|
||||
.policy-editor .toolbar button {
|
||||
.document-editor .toolbar button {
|
||||
border: 0;
|
||||
display: flex;
|
||||
background: none;
|
||||
@@ -80,15 +80,15 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.policy-editor .toolbar button:hover {
|
||||
.document-editor .toolbar button:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.policy-editor .toolbar button.active {
|
||||
.document-editor .toolbar button.active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.policy-editor .toolbar .divider {
|
||||
.document-editor .toolbar .divider {
|
||||
width: 1px;
|
||||
background-color: hsl(var(--solid-b));
|
||||
margin: 0 8px;
|
||||
@@ -281,4 +281,4 @@ ol.editor-list-ol ol.editor-list-ol > .editor-listitem {
|
||||
|
||||
.editor-tokenFunction {
|
||||
color: #dd4a68;
|
||||
}
|
||||
}
|
||||
@@ -174,9 +174,9 @@ function getNavItems(organizationId?: string): NavItem[] {
|
||||
icon: Store,
|
||||
},
|
||||
{
|
||||
title: "Policies",
|
||||
title: "Documents",
|
||||
url: organizationId
|
||||
? `/organizations/${organizationId}/policies`
|
||||
? `/organizations/${organizationId}/documents`
|
||||
: undefined,
|
||||
icon: FileText,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user