forked from github/plane
* chore: update all backend dependencies to the latest version * feat: manual ordering for issues in kanban * refactor: issues folder structure * refactor: modules and states folder structure * refactor: datepicker code * fix: create issue modal bug * feat: custom progress bar added * refactor: created global component for kanban board * refactor: update cycle and module issue create * refactor: return modules created * refactor: integrated global kanban view everywhere * refactor: integrated global list view everywhere * refactor: removed unnecessary api calls * refactor: update nomenclature for consistency * refactor: global select component for issue view * refactor: track cycles and modules for issue * fix: tracking new cycles and modules in activities * feat: segregate api token workspace * fix: workpsace id during token creation * refactor: update model association to cascade on delete * feat: sentry integrated (#235) * feat: sentry integrated * fix: removed unnecessary env variable * fix: update remirror description to save empty string and empty paragraph (#237) * Update README.md * fix: description and comment_json default value to remove warnings * feat: link option in remirror (#240) * feat: link option in remirror * fix: removed link import from remirror toolbar * feat: module and cycle settings under project * fix: module issue assignment * fix: module issue updation and activity logging * fix: typo while creating module issues * fix: string comparison for update operation * fix: ui fixes (#246) * style: shortcut command label bg color change * sidebar shortcut ui fix --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia1001@gmail.com> * fix: update empty passwords to hashed string and add hashing for magic sign in * refactor: remove print logs from back migrations * build(deps): bump django in /apiserver/requirements Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.16...3.2.17) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * feat: cycles and modules toggle in settings, refactor: folder structure (#247) * feat: link option in remirror * fix: removed link import from remirror toolbar * refactor: constants folder * refactor: layouts folder structure * fix: issue view context * feat: cycles and modules toggle in settings * release: Stage Release (#251) * feat: manual ordering for issues in kanban * refactor: issues folder structure * refactor: modules and states folder structure * refactor: datepicker code * fix: create issue modal bug * feat: custom progress bar added * refactor: created global component for kanban board * refactor: update cycle and module issue create * refactor: return modules created * refactor: integrated global kanban view everywhere * refactor: integrated global list view everywhere * refactor: removed unnecessary api calls * refactor: update nomenclature for consistency * refactor: global select component for issue view * refactor: track cycles and modules for issue * fix: tracking new cycles and modules in activities * feat: segregate api token workspace * fix: workpsace id during token creation * refactor: update model association to cascade on delete * feat: sentry integrated (#235) * feat: sentry integrated * fix: removed unnecessary env variable * fix: update remirror description to save empty string and empty paragraph (#237) * Update README.md * fix: description and comment_json default value to remove warnings * feat: link option in remirror (#240) * feat: link option in remirror * fix: removed link import from remirror toolbar * feat: module and cycle settings under project * fix: module issue assignment * fix: module issue updation and activity logging * fix: typo while creating module issues * fix: string comparison for update operation * fix: ui fixes (#246) * style: shortcut command label bg color change * sidebar shortcut ui fix --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia1001@gmail.com> * fix: update empty passwords to hashed string and add hashing for magic sign in * refactor: remove print logs from back migrations * build(deps): bump django in /apiserver/requirements Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.16...3.2.17) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * feat: cycles and modules toggle in settings, refactor: folder structure (#247) * feat: link option in remirror * fix: removed link import from remirror toolbar * refactor: constants folder * refactor: layouts folder structure * fix: issue view context * feat: cycles and modules toggle in settings --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: pablohashescobar <nikhilschacko@gmail.com> Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com> Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia1001@gmail.com> Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Co-authored-by: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Co-authored-by: sphynxux <122926002+sphynxux@users.noreply.github.com> Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: sidebar progress (#252) * feat: cycle assignees and labels progress added * fix: build fix * feat: sidebar progress stats added and refactor * refactor: progress stats and cycle sidebar * feat: module sidebar progress added * feat: sidebar progress no assignee added * feat: states tab added --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia1001@gmail.com> * feat: label grouping, fix: new states response (#254) * sentry changes (#255) * fix: mutation of states (#256) * feat: label grouping, fix: new states response * fix: mutation of states * fix: create issue modal bugs (#257) * fix: github auth login (#250) * fix: added PROJECT_ISSUES_LIST on the imports (#221) * fix: github signin by parsing email * refactor: changed variable names --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com> Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Co-authored-by: Vamsi Kurama <vamsi.kurama@gmail.com> * feat: record issue completed at date when the issues are moved to fompleted group (#262) * feat: cycle status (#265) * feat: cycle status and dates added in sidebar * feat: update status added --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia1001@gmail.com> * chore: update python runtime * feat: label grouping in dropdowns, default state in project settings (#266) * feat: label grouping in dropdowns, default state in project settings * feat: label disclosure default open * refactor: label setting page * chore: tooltip component updated * chore: tooltip component updated * feat/state_sequence_change * fix: remirror buttons (#267) * feat: burndown chart (#268) * chore: recharts dependencie added * chore: tpye added for issue completed at * feat: date range helper fn added * feat: progress chart added * feat: ideal task line added in progress chart * feat: chart legends added * fix: state reordering (#269) * fix: state reordering * refactor: remove unnecessary argument * refactor: mutation after setting default * feat: drag and drop an issue to delete (#270) * feat: drag and drop an issue to delete * style: repositioned trash box * feat : cycle sidebar revamp (#271) * feat: range date picker added * feat: cycle status ui improved * feat : sidebar progress improvement (#272) * feat: progress chart render validation * fix: sidebar stats tab * feat: sidebar active tab context * chore: removed minor bugs (#273) * fix: ui bug (#274) * fix: shortcut search fix shortcut modal ui fixes shortcut search fix email us label change * fix: email us label updated * feat: default state for project (#264) * build: add channels requirement for the asgi configuration (#225) * refactor: combine sign in and sign up endpoint to a single endpoint (#263) * feat: state grouping and ordering list (#253) * feat: state grouping and ordering list * fix: state grouping in state list endpoint * dev: added migrations for new models schema changes * fix: mac text copy fix (#277) * feat: state description in settings (#275) * chore: removed minor bugs * feat: state description in settings * feat: group by assignee * refactor: update django admin panel heading (#276) * feat: assign multiple sub issues * feat: create label option in create issue modal (#281) * fix: error validation for empty length * refactor: issue details page (#282) * fix: shortcut search (#283) * fix: search case innsensitive * style: email icon updated * feat: module sidebar date and status updated (#285) * feat: bulk assign sub-issues (#284) * fix: state ordering in group * fix: consistent dropdowns, refactor: ui components (#286) * build(deps): bump django in /apiserver/requirements (#289) Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: workspace name and breadcrumb title , refactor: command palette (#290) * refactor: command pallette * fix: workspace name trim * fix: breadcrumb title responsiveness added * feat: copy link option (#292) * feat: copy issue link added in issue card * feat: copy cycle link added * feat: ellipsis added in module card * fix: origin path and handlecopytext added * fix: remirror image not updating (#294) * feat: resend login magic code (#291) * feat: resend login code on signing page after 30 seconds * feat: handling error on code send * refractor: isResendDisabled varible for resend button * dev: timer count-down hook * refractor: using new timer hook in sign in page * feat: issue links (#288) * feat: links for issues * fix: add issue link in serilaizer * feat: links can be added to issues --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com> * fix: default label color (#295) * fix: colors of old labels can now be changed * fix: black color for labels with no color * fix: ui changes (#297) * fix: module card height and invalid date * fix: issue details page title resizing fix * refractor: use local storage hook (#293) * feat: resend login code on signing page after 30 seconds * refractor: use local storage hook * refractor: properly using new local storage hook on modules sidebar * fix: assignee and labels field while editing an issue (#296) * fix: assignee and labels field while editing an issue * chore: remove unused declarations * fix: issue title resizing fix (#300) * fix: issue title resizing fix * fix: header ui fix and invalid date label updated * fix: try/catch for invalid values stored in local storage (#301) * fix: create issue modal closing on clicking on Grammarly recommendation (#299) fixed it by not closing modal on outside click * style: not showing pointer & theme color on resend code button disabled (#298) * feat: updated issue grouping and filtering * feat: back migration script to populate random sort_order values * feat: sort order during create * feat: improved grouper with grouping function * fix: typo in model aggregation key * fix: new project issues response (#303) * refactor/cycles_folder_structure (#304) * fix: ui changes (#306) * fix: sidebar date range * fix: renamed key with id in filters * fix: replace progress bar * chore: react progress bar package removed * fix: progress chart legends position * fix: progress chart legends alignment fix * feat: manual ordering of issues (#305) * feat: global component for links list (#307) * Feat: Dockerizing using nginx reverse proxy (#280) * minor docker fixes * eslint config changes * dockerfile changes to backend and frontend * oauth enabled env flag * sentry enabled env flag * build: get alternatives for environment variables and static file storage * build: automatically generate random secret key if not provided * build: update docker compose for next url env add channels to requirements for asgi server and save files in local machine for docker environment * build: update nginx conf for backend base url update backend dockerfile to make way for static file uploads * feat: create a default user with given values else default values * chore: update docker python version and other dependency version in docker * build: update local settings file to run it in docker * fix: update script to run in default production setting * fix: env variable changes and env setup shell script added * Added Single Dockerfile to run the Entire plane application * docs build fixes --------- Co-authored-by: Narayana <narayana.vadapalli1996@gmail.com> Co-authored-by: pablohashescobar <nikhilschacko@gmail.com> * feat: edit module (#309) * feat: edit module * fix: build fix * refactor: dnd function (#308) * refactor: manual ordering bugs (#312) * refactor: create issue modal input fields (#310) * style: showing user sign-in progress on sign-in with code (#311) * style: not showing pointer & theme color on resend code button disabled * style: showing user sign-in progress on sign-in with code * style: showing error from server on sign-in with code fail * feat: created_by details for links (#313) * env fixes (#316) * feat: issues tooltip , fix: ui improvement (#317) * fix: ellipsis added to issue title * feat: toolttip added * feat: assignees tooltip added * fix: build fix * fix : tooltip fix (#318) * fix: ellipsis added to issue title * feat: toolttip added * feat: assignees tooltip added * fix: build fix * fix: build fix * fix: build error --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com> * fix: redirection after login (#320) * feat: github integration (#315) * feat: initiate integrations * feat: initiate github integration create models for the same * feat: github integration views * fix: update workspace integration view to create bot users * refactor: rename repository model * refactor: update github repo sync endpoint to create repo and sync in one go * refactor: update issue activities to post the updates to segway hook * refactor: update endpoints to get project id and add actor as a member of project in repo sync * fix: make is bot as a read only field * fix: remove github repo imports * fix: url mapping * feat: repo views * refactor: update webhook request endpoint * refactor: rename repositories table to github_repositories * fix: workpace integration actor * feat: label for github integration * refactor: issue activity on create issue * refactor: repo create endpoint and add db constraints for repo sync and issues * feat: create api token on workpsace integration and avatar_url for integrations * refactor: add uuid primary key for Audit model * refactor: remove id from auditfield to maintain integrity and make avatar blank if none supplied * feat: track comments on an issue * feat: comment syncing from plane to github * fix: prevent activities created by bot to be sent to webhook * feat: github app installation id retrieve * feat: github app installation id saved into db * feat: installation_id for the github integragation and unique provider and project base integration for repo * refactor: remove actor logic from activity task * feat: saving github metadata using installation id in workspace integration table * feat: github repositories endpoint * feat: github and project repos synchronisation * feat: delete issue and delete comment activity * refactor: remove print logs * FIX: reading env names for github app while installation * refactor: update bot user firstname with title * fix: add is_bot value in field --------- Co-authored-by: venplane <venkatesh@plane.so> * feat: assignee and label details in cycle and module issues (#319) * dev: added new migrations * fix: minor bugs and ux improvements (#322) * fix: ellipsis added to issue title * feat: toolttip added * feat: assignees tooltip added * fix: build fix * fix: build fix * fix: build error * fix: minor bugs and ux improvements --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@caravel.tech> * feat: made new multi-level select listbox (#326) * fix: ui improvements (#327) * fix: kanban board header scroll fix * style: enable scrollbar style added * fix: emoji picker overflow * fix: delete project modal text overflow * fix: cycle card ellipsis * fix: tooltip position updated and custom class added * fix: assignees tooltip overflow * fix: module card * fix: my issue page tooltip and responsive title added * fix: home page tooltip and responsiveness * style: added direction for multi-level drop-down (#328) * feat: made new multi-level select listbox * refractor: changeds Multi-level-select component and added direction props * style: added direction for multi-level drop-down * refractor: added proper types to getServerSideProps context (#321) * fix: redirection after login * refractor: added proper types to getServerSideProps context * fix: issue view not updating order_by value (#324) * environmental example variables fixes (#330) * style: github integration ui (#329) * fix: ellipsis added to issue title * feat: toolttip added * feat: assignees tooltip added * fix: build fix * fix: build fix * fix: build error * fix: minor bugs and ux improvements * style: github integration ui * chore: updated .env.example file --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@caravel.tech> * fix: ui fix (#331) * fix: project card id removed * feat: my issue page copy issue option * fix: kanban assignees tooltip (#332) * feat: sidebar select option truncate (#334) * fix: create issue modal close on escape click (#333) * style: kanban dropdowns, github integration loaders * fix: add filter for workspace integrations (#325) * fix: add filter for workspace integrations * fix: update url for delete * fix: remove github installation when deleted * fix: delete old repos * fix: add filter on repository endpoints --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: pablohashescobar <nikhilschacko@gmail.com> Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com> Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia1001@gmail.com> Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com> Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Co-authored-by: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Co-authored-by: sphynxux <122926002+sphynxux@users.noreply.github.com> Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: venplane <118932524+venplane@users.noreply.github.com> Co-authored-by: Dakshesh Jain <65905942+dakshesh14@users.noreply.github.com> Co-authored-by: Narayana <narayana.vadapalli1996@gmail.com> Co-authored-by: venplane <venkatesh@plane.so> Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@caravel.tech>
442 lines
7.6 KiB
CSS
442 lines
7.6 KiB
CSS
.ProseMirror {
|
|
position: relative;
|
|
}
|
|
|
|
.ProseMirror {
|
|
word-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
white-space: break-spaces;
|
|
-webkit-font-variant-ligatures: none;
|
|
font-variant-ligatures: none;
|
|
font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
|
|
}
|
|
|
|
.ProseMirror pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.ProseMirror li {
|
|
position: relative;
|
|
}
|
|
|
|
.ProseMirror-hideselection *::selection {
|
|
background: transparent;
|
|
}
|
|
.ProseMirror-hideselection *::-moz-selection {
|
|
background: transparent;
|
|
}
|
|
.ProseMirror-hideselection {
|
|
caret-color: transparent;
|
|
}
|
|
|
|
.ProseMirror-selectednode {
|
|
outline: 2px solid #8cf;
|
|
}
|
|
|
|
/* Make sure li selections wrap around markers */
|
|
|
|
li.ProseMirror-selectednode {
|
|
outline: none;
|
|
}
|
|
|
|
li.ProseMirror-selectednode:after {
|
|
content: "";
|
|
position: absolute;
|
|
left: -32px;
|
|
right: -2px;
|
|
top: -2px;
|
|
bottom: -2px;
|
|
border: 2px solid #8cf;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Protect against generic img rules */
|
|
|
|
img.ProseMirror-separator {
|
|
display: inline !important;
|
|
border: none !important;
|
|
margin: 0 !important;
|
|
}
|
|
.ProseMirror-textblock-dropdown {
|
|
min-width: 3em;
|
|
}
|
|
|
|
.ProseMirror-menu {
|
|
margin: 0 -4px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.ProseMirror-tooltip .ProseMirror-menu {
|
|
width: -webkit-fit-content;
|
|
width: fit-content;
|
|
white-space: pre;
|
|
}
|
|
|
|
.ProseMirror-menuitem {
|
|
margin-right: 3px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.ProseMirror-menuseparator {
|
|
border-right: 1px solid #ddd;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown,
|
|
.ProseMirror-menu-dropdown-menu {
|
|
font-size: 90%;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown {
|
|
vertical-align: 1px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown-wrap {
|
|
padding: 1px 0 1px 4px;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown:after {
|
|
content: "";
|
|
border-left: 4px solid transparent;
|
|
border-right: 4px solid transparent;
|
|
border-top: 4px solid currentColor;
|
|
opacity: 0.6;
|
|
position: absolute;
|
|
right: 4px;
|
|
top: calc(50% - 2px);
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown-menu,
|
|
.ProseMirror-menu-submenu {
|
|
position: absolute;
|
|
background: white;
|
|
color: #666;
|
|
border: 1px solid #aaa;
|
|
padding: 2px;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown-menu {
|
|
z-index: 15;
|
|
min-width: 6em;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown-item {
|
|
cursor: pointer;
|
|
padding: 2px 8px 2px 4px;
|
|
}
|
|
|
|
.ProseMirror-menu-dropdown-item:hover {
|
|
background: #f2f2f2;
|
|
}
|
|
|
|
.ProseMirror-menu-submenu-wrap {
|
|
position: relative;
|
|
margin-right: -4px;
|
|
}
|
|
|
|
.ProseMirror-menu-submenu-label:after {
|
|
content: "";
|
|
border-top: 4px solid transparent;
|
|
border-bottom: 4px solid transparent;
|
|
border-left: 4px solid currentColor;
|
|
opacity: 0.6;
|
|
position: absolute;
|
|
right: 4px;
|
|
top: calc(50% - 4px);
|
|
}
|
|
|
|
.ProseMirror-menu-submenu {
|
|
display: none;
|
|
min-width: 4em;
|
|
left: 100%;
|
|
top: -3px;
|
|
}
|
|
|
|
.ProseMirror-menu-active {
|
|
background: #eee;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.ProseMirror-menu-disabled {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu,
|
|
.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu {
|
|
display: block;
|
|
}
|
|
|
|
.ProseMirror-menubar {
|
|
border-top-left-radius: inherit;
|
|
border-top-right-radius: inherit;
|
|
position: relative;
|
|
min-height: 1em;
|
|
color: #666;
|
|
padding: 1px 6px;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
border-bottom: 1px solid silver;
|
|
background: white;
|
|
z-index: 10;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
overflow: visible;
|
|
}
|
|
|
|
.ProseMirror-icon {
|
|
display: inline-block;
|
|
line-height: 0.8;
|
|
vertical-align: -2px; /* Compensate for padding */
|
|
padding: 2px 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ProseMirror-menu-disabled.ProseMirror-icon {
|
|
cursor: default;
|
|
}
|
|
|
|
.ProseMirror-icon svg {
|
|
fill: currentColor;
|
|
height: 1em;
|
|
}
|
|
|
|
.ProseMirror-icon span {
|
|
vertical-align: text-top;
|
|
}
|
|
.ProseMirror-gapcursor {
|
|
display: none;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
}
|
|
|
|
.ProseMirror-gapcursor:after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: -2px;
|
|
width: 20px;
|
|
border-top: 1px solid black;
|
|
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
}
|
|
|
|
@keyframes ProseMirror-cursor-blink {
|
|
to {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
display: block;
|
|
}
|
|
/* Add space around the hr to make clicking it easier */
|
|
|
|
.ProseMirror-example-setup-style hr {
|
|
padding: 2px 10px;
|
|
border: none;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.ProseMirror-example-setup-style hr:after {
|
|
content: "";
|
|
display: block;
|
|
height: 1px;
|
|
background-color: silver;
|
|
line-height: 2px;
|
|
}
|
|
|
|
.ProseMirror ul,
|
|
.ProseMirror ol {
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.ProseMirror blockquote {
|
|
padding-left: 1em;
|
|
border-left: 3px solid #eee;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ProseMirror-example-setup-style img {
|
|
cursor: default;
|
|
}
|
|
|
|
.ProseMirror-prompt {
|
|
background: white;
|
|
padding: 5px 10px 5px 15px;
|
|
border: 1px solid silver;
|
|
position: fixed;
|
|
border-radius: 3px;
|
|
z-index: 11;
|
|
box-shadow: -0.5px 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.ProseMirror-prompt h5 {
|
|
margin: 0;
|
|
font-weight: normal;
|
|
font-size: 100%;
|
|
color: #444;
|
|
}
|
|
|
|
.ProseMirror-prompt input[type="text"],
|
|
.ProseMirror-prompt textarea {
|
|
background: #eee;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.ProseMirror-prompt input[type="text"] {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.ProseMirror-prompt-close {
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 1px;
|
|
color: #666;
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
.ProseMirror-prompt-close:after {
|
|
content: "✕";
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ProseMirror-invalid {
|
|
background: #ffc;
|
|
border: 1px solid #cc7;
|
|
border-radius: 4px;
|
|
padding: 5px 10px;
|
|
position: absolute;
|
|
min-width: 10em;
|
|
}
|
|
|
|
.ProseMirror-prompt-buttons {
|
|
margin-top: 5px;
|
|
display: none;
|
|
}
|
|
#editor,
|
|
.editor {
|
|
background: white;
|
|
color: black;
|
|
background-clip: padding-box;
|
|
border-radius: 4px;
|
|
border: 2px solid rgba(0, 0, 0, 0.2);
|
|
padding: 5px 0;
|
|
margin-bottom: 23px;
|
|
}
|
|
|
|
.ProseMirror p:first-child,
|
|
.ProseMirror h1:first-child,
|
|
.ProseMirror h2:first-child,
|
|
.ProseMirror h3:first-child,
|
|
.ProseMirror h4:first-child,
|
|
.ProseMirror h5:first-child,
|
|
.ProseMirror h6:first-child {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ProseMirror {
|
|
padding: 8px 8px 4px 14px;
|
|
line-height: 1.2;
|
|
outline: none;
|
|
}
|
|
|
|
.ProseMirror p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.remirror-editor-wrapper .remirror-editor {
|
|
min-height: 150px;
|
|
}
|
|
|
|
.issue-comments-section .remirror-editor-wrapper .remirror-editor {
|
|
min-height: 50px;
|
|
}
|
|
|
|
.remirror-editor-wrapper {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
/* heading styling */
|
|
.remirror-editor-wrapper h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.remirror-editor-wrapper h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.remirror-editor-wrapper h3 {
|
|
font-size: 1.17rem;
|
|
}
|
|
/* end heading styling */
|
|
|
|
/* list styling */
|
|
.remirror-editor-wrapper ul {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.remirror-editor-wrapper ol {
|
|
list-style-type: decimal;
|
|
}
|
|
/* end list styling */
|
|
|
|
/* table styling */
|
|
.remirror-editor-wrapper table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.remirror-editor-wrapper table td {
|
|
border: 1px solid #000;
|
|
}
|
|
/* end table styling */
|
|
|
|
/* link styling */
|
|
.remirror-floating-popover {
|
|
z-index: 20 !important;
|
|
}
|
|
|
|
.remirror-floating-popover input {
|
|
font-size: 0.75rem;
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
border: 1px solid #a8a6a6;
|
|
box-shadow: 1px 1px 5px #c0bebe;
|
|
outline: none;
|
|
}
|
|
|
|
.remirror-editor-wrapper a {
|
|
color: blue;
|
|
text-decoration: underline;
|
|
}
|
|
/* end link styling */
|
|
|
|
/* format buttons styling */
|
|
.MuiButtonBase-root {
|
|
border: none !important;
|
|
border-radius: 0.25rem !important;
|
|
padding: 0.25rem !important;
|
|
}
|
|
|
|
.MuiButtonBase-root:hover {
|
|
background-color: rgb(229 231 235);
|
|
}
|
|
|
|
.MuiButtonBase-root svg {
|
|
fill: #000 !important;
|
|
}
|
|
|
|
.MuiButtonBase-root.Mui-selected {
|
|
background-color: rgb(229 231 235) !important;
|
|
}
|
|
/* end format buttons styling */
|