UNPKG

marble

Version:

WeDeploy's style guide and UI components

260 lines (221 loc) 7.44 kB
/* Custom TopbarColor ========================================================================== */ .topbar.topbar-inverse, .topbar.topbar-light { background: rgba(14, 20, 26, 0.02); } .topbar.topbar-inverse .we, .topbar.topbar-light .we { color: #fff; } .topbar.topbar-inverse .deploy, .topbar.topbar-light .deploy { color: rgba(14, 20, 26, 0.9); display: inline-block; } .topbar.topbar-inverse .liferay, .topbar.topbar-light .liferay { color: rgba(14, 20, 26, 0.4); display: inline-block; } .topbar.topbar-inverse .topbar-link, .topbar.topbar-light .topbar-link { color: rgba(14, 20, 26, 0.6); } .topbar.topbar-inverse .topbar-link:hover, .topbar.topbar-light .topbar-link:hover { color: rgba(14, 20, 26, 0.4); } .topbar.topbar-light { background: #fff; } /* Header ========================================================================== */ .guide-header { background: rgba(14, 20, 26, 0.02); text-align: center; padding: 108px 0 96px; margin-top: 60px; } .guide-header-title { color: rgba(14, 20, 26, 0.9); font-family: "Galano", sans-serif; font-weight: 700; font-size: 53px; line-height: 60px; } .guide-header-title span { color: rgba(14, 20, 26, 0.9); font-family: "Galano", sans-serif; font-weight: 700; } /* Topics Button Group ========================================================================== */ .guide-topics-container { text-align: center; margin: 0 0 60px; } .guide-topics .btn-default { background: white; } /* Call to Action Button ========================================================================== */ .guide-btn-cta { text-align: center; margin: 45px 0 0; } .guide-btn-cta .btn.btn-accent { -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; color: #fff; } .guide-btn-cta .btn.btn-accent:hover, .guide-btn-cta .btn.btn-accent:focus { color: #fff; } .guide-aux-cta { font-size: 13px; margin: 5px 0 0; text-align: center; } /* Feedback ========================================================================== */ .guide-feedback { background: rgba(14, 20, 26, 0.02); border-radius: 4px; padding: 36px 0; margin: 60px 0 24px; text-align: center; width: 100%; } .guide-feedback p { line-height: 36px; font-family: "Galano", sans-serif; font-weight: 600; font-size: 19px; color: rgba(14, 20, 26, 0.8); margin: 0 0 24px; } .guide-feedback-btn { margin: 0 12px; width: 134px; } /* Edit on GitHub ========================================================================== */ .docs-content .guide-github { margin: 0 0 60px; width: 100%; } .docs-content .guide-github-img { background: rgba(14, 20, 26, 0.1); border-radius: 4px 0 0 4px; float: left; height: 96px; line-height: 96px; text-align: center; width: 96px; } .docs-content .guide-github-img span { font-size: 36px; vertical-align: middle; } .docs-content .guide-github-text { align-items: center; background: rgba(14, 20, 26, 0.02); border-radius: 0 4px 4px 0; color: rgba(14, 20, 26, 0.6); display: flex; font-size: 16px; font-weight: 600; height: 96px; margin-left: 96px; padding: 0 20px; } .docs-content .guide-github-text p { font-family: "Galano", sans-serif; margin: 0; } .docs-content .guide-github-link { -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; color: inherit; font-family: inherit; font-size: inherit; border-bottom: 1px dashed rgba(14, 20, 26, 0.4); } .docs-content .guide-github-link:hover { color: #00d46a; border-bottom: 1px dashed #00d46a; } .guide-topic .docs-content pre code { background: transparent; border: 0; color: rgba(255, 255, 255, 0.9); } .docs-content img { max-width: 100%; } .docs-content em { font-style: normal; } .guide-topic .sidebar-list-2 .sidebar-link { padding-left: 56px; } .docs .reading-progress { width: 100%; } /* Medium screens ========================================================================== */ @media (min-width: 960px) { .guide-header { padding-top: 40px; } } @media (max-width: 960px) { .sidebar-inverse .sidebar-header { background: rgba(255, 255, 255, 0.3); color: white; } .sidebar-inverse .sidebar-header:hover, .sidebar-inverse .sidebar-header:focus, .sidebar-inverse .sidebar-header .sidebar-icon { color: white; } .sidebar-inverse .sidebar-search .form-control { background: white; border: 1px solid transparent; } .sidebar-inverse .sidebar-search .form-control:focus { border-color: white; } .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link:hover, .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link:focus, .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link-selected, .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link-selected:hover, .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link-selected:focus { background: rgba(255, 255, 255, 0.1); color: white; } .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link:hover .sidebar-icon, .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link:focus .sidebar-icon, .guide-topic .sidebar-inverse .sidebar-list-1 .sidebar-link-selected .sidebar-icon { color: white; } .guide-topic .sidebar-inverse .sidebar-list-2 .sidebar-link:hover, .guide-topic .sidebar-inverse .sidebar-list-2 .sidebar-link:focus, .guide-topic .sidebar-inverse .sidebar-list-2 .sidebar-link-selected, .guide-topic .sidebar-inverse .sidebar-list-2 .sidebar-link-selected:hover, .guide-topic .sidebar-inverse .sidebar-list-2 .sidebar-link-selected:focus { background: rgba(255, 255, 255, 0.1); color: white; } } .code-container .btn-copy { -webkit-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; opacity: 0; } .code-container:hover .btn-copy { opacity: 1; } .guide table { display: table; border-collapse: separate; border-spacing: 0; margin-bottom: 10px; } .guide table thead, .guide table tbody { display: table-row-group; } .guide table tr { display: table-row; } .guide table tr th, .guide table tr td { line-height: 24px; padding: 12px; text-align: left; color: rgba(14, 20, 26, 0.8); border-right: 1px solid rgba(14, 20, 26, 0.2); border-bottom: 1px solid rgba(14, 20, 26, 0.2); } .guide table tr th:first-child, .guide table tr td:first-child { border-left: 1px solid rgba(14, 20, 26, 0.2); } .guide table tr th { font-size: 16px; border-top: 1px solid rgba(14, 20, 26, 0.2); font-family: "Galano", sans-serif; font-weight: 700; } .guide table tr td { font-size: 14px; } .guide table.no-header tr:first-child td { border-top: 1px solid rgba(14, 20, 26, 0.2); } .guide table tr:first-child th:first-child { border-top-left-radius: 4px; } .guide table.no-header tr:first-child td:first-child { border-top-left-radius: 4px; } .guide table tr:first-child th:last-child { border-top-right-radius: 4px; } .guide table.no-header tr:first-child td:last-child { border-top-right-radius: 4px; } .guide table tr:last-child td:first-child { border-bottom-left-radius: 4px; } .guide table tr:last-child td:last-child { border-bottom-right-radius: 4px; }