Selaa lähdekoodia

edit form css

ouidade 1 vuosi sitten
vanhempi
commit
116b69612f

+ 2 - 2
config/sync/rorschach.settings.yml

@@ -6,7 +6,7 @@ features:
   favicon: true
   node_user_picture: false
 logo:
-  path: 'public://logo_iri.png'
-  use_default: false
+  path: 'public://logo.jpg'
+  use_default: true
 mobile_menu_all_widths: 0
 site_branding_bg_color: default

+ 137 - 0
config/sync/user.role.user.yml

@@ -5,11 +5,35 @@ dependencies:
   config:
     - node.type.book
   module:
+    - actions_permissions
+    - ban
+    - block
+    - block_class
+    - block_content
     - book
     - book_access_code
+    - bulkdelete
+    - config
+    - config_pages
+    - config_translation
+    - contact
+    - content_lock
     - content_translation
+    - context_ui
+    - contextual
+    - devel
+    - devel_generate
+    - embed
+    - entity_browser
+    - entity_reference_revisions
+    - extlink
+    - field_ui
     - node
+    - paragraphs
+    - path_alias_xt
+    - profile
     - tablefield
+    - taxonomy
 _core:
   default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw
 id: user
@@ -17,11 +41,59 @@ label: Editor
 weight: -4
 is_admin: null
 permissions:
+  - 'access config_pages overview'
+  - 'access contextual links'
+  - 'access devel information'
   - 'access printer-friendly version'
+  - 'access site-wide contact form'
+  - 'access user contact forms'
   - 'add access codes'
   - 'add content to books'
   - 'addrow tablefield'
+  - 'administer access codes'
+  - 'administer block classes'
+  - 'administer block_content display'
+  - 'administer block_content fields'
+  - 'administer block_content form display'
+  - 'administer blocks'
+  - 'administer book access code settings'
   - 'administer book outlines'
+  - 'administer config_pages display'
+  - 'administer config_pages fields'
+  - 'administer config_pages form display'
+  - 'administer config_pages types'
+  - 'administer contact forms'
+  - 'administer contact_message display'
+  - 'administer contact_message fields'
+  - 'administer contact_message form display'
+  - 'administer content lock'
+  - 'administer content translation'
+  - 'administer contexts'
+  - 'administer devel_generate'
+  - 'administer display modes'
+  - 'administer embed buttons'
+  - 'administer entity browsers'
+  - 'administer extended path aliases'
+  - 'administer extlink'
+  - 'administer node display'
+  - 'administer node fields'
+  - 'administer node form display'
+  - 'administer paragraph display'
+  - 'administer paragraph fields'
+  - 'administer paragraph form display'
+  - 'administer profile display'
+  - 'administer profile fields'
+  - 'administer profile form display'
+  - 'administer taxonomy_term display'
+  - 'administer taxonomy_term fields'
+  - 'administer taxonomy_term form display'
+  - 'administer user display'
+  - 'administer user fields'
+  - 'administer user form display'
+  - 'ban IP addresses'
+  - 'break content lock'
+  - 'bulkdelete nodes'
+  - 'bypass book access code checks'
   - 'create book content'
   - 'create content translations'
   - 'create defalut workflow_transition'
@@ -30,15 +102,80 @@ permissions:
   - 'delete access codes'
   - 'delete any book content'
   - 'delete book revisions'
+  - 'delete config_pages entity'
   - 'delete content translations'
+  - 'delete orphan revisions'
   - 'delete own book content'
   - 'edit access codes'
   - 'edit any book content'
+  - 'edit config_pages entity'
   - 'edit own book content'
+  - 'execute entity:break_lock access_code'
+  - 'execute entity:break_lock block_content'
+  - 'execute entity:break_lock config_pages'
+  - 'execute entity:break_lock contact_message'
+  - 'execute entity:break_lock file'
+  - 'execute entity:break_lock menu_link_content'
+  - 'execute entity:break_lock node'
+  - 'execute entity:break_lock paragraph'
+  - 'execute entity:break_lock path_alias'
+  - 'execute entity:break_lock profile'
+  - 'execute entity:break_lock redirect'
+  - 'execute entity:break_lock search_api_task'
+  - 'execute entity:break_lock taxonomy_term'
+  - 'execute entity:break_lock user'
+  - 'execute entity:publish_action access_code'
+  - 'execute entity:publish_action block_content'
+  - 'execute entity:publish_action menu_link_content'
+  - 'execute entity:publish_action node'
+  - 'execute entity:publish_action paragraph'
+  - 'execute entity:publish_action path_alias'
+  - 'execute entity:publish_action profile'
+  - 'execute entity:publish_action taxonomy_term'
+  - 'execute entity:save_action access_code'
+  - 'execute entity:save_action block_content'
+  - 'execute entity:save_action config_pages'
+  - 'execute entity:save_action file'
+  - 'execute entity:save_action menu_link_content'
+  - 'execute entity:save_action node'
+  - 'execute entity:save_action profile'
+  - 'execute entity:save_action taxonomy_term'
+  - 'execute entity:save_action user'
+  - 'execute entity:unpublish_action access_code'
+  - 'execute entity:unpublish_action block_content'
+  - 'execute entity:unpublish_action menu_link_content'
+  - 'execute entity:unpublish_action node'
+  - 'execute entity:unpublish_action paragraph'
+  - 'execute entity:unpublish_action path_alias'
+  - 'execute entity:unpublish_action profile'
+  - 'execute entity:unpublish_action taxonomy_term'
+  - 'execute node_assign_owner_action node'
+  - 'execute node_make_sticky_action node'
+  - 'execute node_make_unsticky_action node'
+  - 'execute node_promote_action node'
+  - 'execute node_unpromote_action node'
+  - 'execute node_unpublish_by_keyword_action node'
+  - 'execute user_add_role_action user'
+  - 'execute user_block_user_action user'
+  - 'execute user_remove_role_action user'
+  - 'execute user_unblock_user_action user'
+  - 'execute vbo_cancel_user_action user'
+  - 'execute views_bulk_edit all'
+  - 'execute views_bulk_operations_delete_entity all'
+  - 'export configuration'
   - 'export tablefield'
+  - 'import configuration'
   - 'import tablefield'
   - 'rebuild tablefield'
+  - 'switch users'
+  - 'synchronize configuration'
+  - 'translate any entity'
+  - 'translate block_content'
   - 'translate book node'
+  - 'translate configuration'
   - 'translate editable entities'
+  - 'translate paragraph'
+  - 'translate user'
   - 'update content translations'
+  - 'view config_pages entity'
   - 'view own unpublished content'

+ 25 - 0
web/themes/custom/rorschach/css-compiled/styles.css

@@ -839,6 +839,27 @@ article.node-type-book {
     list-style: none;
     box-shadow: 0px 0px 1px black; }
 
+.node-book-edit-form {
+  width: 70%;
+  background-color: #f2f2f2;
+  padding: 5rem;
+  font-size: 1rem; }
+  .node-book-edit-form .js-filter-wrapper.js-form-wrapper.form-wrapper {
+    font-size: 1rem; }
+    .node-book-edit-form .js-filter-wrapper.js-form-wrapper.form-wrapper label {
+      visibility: hidden;
+      font-size: 1rem; }
+    .node-book-edit-form .js-filter-wrapper.js-form-wrapper.form-wrapper ul {
+      list-style: none; }
+  .node-book-edit-form #field-article-values {
+    border: hidden;
+    border-bottom: 1px;
+    margin: 3rem; }
+    .node-book-edit-form #field-article-values tr {
+      padding: 3rem; }
+    .node-book-edit-form #field-article-values .paragraph-type {
+      box-shadow: 1px, black; }
+
 /*partials*/
 .layout-container {
   position: relative;
@@ -1014,3 +1035,7 @@ article.node-type-book {
     #block-breadcrumbs nav ol li ::after {
       padding-left: 0.5rem;
       content: ">>"; }
+
+#block-rorschach-primary-local-tasks {
+  display: flex;
+  flex-direction: row; }

BIN
web/themes/custom/rorschach/logo.jpg


+ 30 - 1
web/themes/custom/rorschach/scss/pages/_editform.scss

@@ -36,4 +36,33 @@
 // #edit-field-article-8-subform-field-subheading-0-format{
 //     font-size: 1rem;
 //     visibility: hidden;
-// }
+// }
+
+.node-book-edit-form{
+    width: 70%;
+    background-color: #f2f2f2;
+    padding: 5rem;
+    font-size: 1rem;
+    .js-filter-wrapper.js-form-wrapper.form-wrapper{
+        font-size: 1rem;
+        label{
+            visibility: hidden;
+            font-size: 1rem;
+        }
+        ul{
+            list-style: none;
+        }
+    }
+    #field-article-values{
+        border: hidden;
+        border-bottom: 1px;
+        margin: 3rem;
+        tr{
+            padding: 3rem;
+        }
+        .paragraph-type{
+            box-shadow: 1px, black;
+        }
+    }
+
+}

+ 4 - 0
web/themes/custom/rorschach/scss/partials/_primary-tabs.scss

@@ -0,0 +1,4 @@
+#block-rorschach-primary-local-tasks{
+    display: flex;
+    flex-direction: row;
+}

+ 2 - 1
web/themes/custom/rorschach/scss/styles.scss

@@ -32,7 +32,8 @@
 @import "partials/_header";
 @import "partials/_footer";
 @import "partials/_navigation";
-@import "partials/_breadcrumbs.scss";
+@import "partials/_breadcrumbs";
+@import "partials/_primary-tabs";