node-preview.css
Same filename in this branch
Same filename in other branches
- 8.9.x core/themes/bartik/css/components/node-preview.css
- 10 core/profiles/demo_umami/themes/umami/css/components/content/node-preview.css
- 10 core/themes/claro/css/components/node-preview.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/content/node-preview.css
- 11.x core/themes/claro/css/components/node-preview.css
.node-preview-container { position: fixed; z-index: 499; width: 100%; padding: 5px 10px; background: #d1e8f5; background-image: -webkit-linear-gradient(top, #d1e8f5, #d3e8f4); background-image: linear-gradient(to bottom, #d1e8f5, #d3e8f4); box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.3333); font-family: Arial, sans-serif; } .node-preview-backlink { display: inline-block; margin: 5px 10px 5px 0; /* LTR */ padding: 4px 1em 4px 0.6em; /* LTR */ color: #fff; border: 1px solid #0048c8; border-radius: 0.4em; background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5); background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); font-size: 0.9em; line-height: normal; } [dir="rtl"] .node-preview-backlink { float: right; margin: 5px 0 5px 10px; padding: 4px 0.6em 4px 1em; background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5); background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); } .node-preview-backlink:focus, .node-preview-backlink:hover { text-decoration: none; color: #fff; border: 1px solid #0048c8; background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef); background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */ } [dir="rtl"] .node-preview-backlink:focus, [dir="rtl"] .node-preview-backlink:hover { background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef); background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); } .node-preview-backlink:active { border: 1px solid #0048c8; background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef); background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); } [dir="rtl"] .node-preview-backlink:active { background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef); background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); } .node-preview-backlink::before { display: inline-block; width: 10px; content: ""; } [dir="rtl"] .node-preview-backlink::after { display: inline-block; width: 10px; content: ""; } .node-preview-container .form-item-view-mode { display: inline-block; margin: 5px 0; } [dir="rtl"] .node-preview-container .form-item-view-mode { margin-right: 0; }
File
-
core/
themes/ bartik/ css/ components/ node-preview.css
View source
- .node-preview-container {
- position: fixed;
- z-index: 499;
- width: 100%;
- padding: 5px 10px;
- background: #d1e8f5;
- background-image: -webkit-linear-gradient(top, #d1e8f5, #d3e8f4);
- background-image: linear-gradient(to bottom, #d1e8f5, #d3e8f4);
- box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.3333);
- font-family: Arial, sans-serif;
- }
- .node-preview-backlink {
- display: inline-block;
- margin: 5px 10px 5px 0; /* LTR */
- padding: 4px 1em 4px 0.6em; /* LTR */
- color: #fff;
- border: 1px solid #0048c8;
- border-radius: 0.4em;
- background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
- background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
- text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
- font-size: 0.9em;
- line-height: normal;
- }
- [dir="rtl"] .node-preview-backlink {
- float: right;
- margin: 5px 0 5px 10px;
- padding: 4px 0.6em 4px 1em;
- background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
- background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #419ff1, #1076d5);
- }
- .node-preview-backlink:focus,
- .node-preview-backlink:hover {
- text-decoration: none;
- color: #fff;
- border: 1px solid #0048c8;
- background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
- background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */
- }
- [dir="rtl"] .node-preview-backlink:focus,
- [dir="rtl"] .node-preview-backlink:hover {
- background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
- background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef);
- }
- .node-preview-backlink:active {
- border: 1px solid #0048c8;
- background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
- background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
- }
- [dir="rtl"] .node-preview-backlink:active {
- background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
- background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef);
- }
- .node-preview-backlink::before {
- display: inline-block;
- width: 10px;
- content: "";
- }
- [dir="rtl"] .node-preview-backlink::after {
- display: inline-block;
- width: 10px;
- content: "";
- }
- .node-preview-container .form-item-view-mode {
- display: inline-block;
- margin: 5px 0;
- }
- [dir="rtl"] .node-preview-container .form-item-view-mode {
- margin-right: 0;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.