UNPKG

marble

Version:

WeDeploy's style guide and UI components

770 lines (650 loc) 18 kB
/* Autocomplete ========================================================================== */ .autocomplete { box-shadow: none; border-radius: 4px; border-left: 1px solid #00d46a; border-right: 1px solid #00d46a; } .autocomplete-top { border-top: 1px solid #00d46a; margin-bottom: -5px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .autocomplete-bottom { border-bottom: 1px solid #00d46a; margin-top: -5px; border-top-left-radius: 0; border-top-right-radius: 0; } .autocomplete .list { padding: 0; } .autocomplete .list .listitem { background-color: transparent; padding: 0; } .autocomplete .list .listitem:hover { background: none; } .autocomplete .list .list-main-content { margin: 0; width: 100%; } .autocomplete .list .list-text-primary { margin: 0; } .autocomplete-link { -webkit-transition: background 0.3s ease-in-out; -o-transition: background 0.3s ease-in-out; transition: background 0.3s ease-in-out; background-color: #FFF; cursor: pointer; display: block; padding: 20px; } .autocomplete .list-group-item.active .autocomplete-link, .autocomplete-link:hover, .autocomplete-link:focus { background: rgba(0, 212, 106, 0.1); } .autocomplete-title { color: #0e141a; font-size: 16px; font-family: "Galano", sans-serif; font-weight: 700; } .autocomplete-text { color: #0e141a; font-size: 14px; margin: 0; } .autocomplete-text em { background: rgba(0, 212, 106, 0.2); color: #00d46a; font-style: normal; padding: 0 2px; } /* Navigation ========================================================================== */ .docs .sidebar { overflow-y: auto; } .docs-nav-container { position: relative; display: none; } .docs .docs-nav { width: auto; opacity: 0; animation: fadeIn 0.5s cubic-bezier(0.3, 0, 0.3, 1) 0s 1 forwards; } .docs-nav.affix { top: 20px; z-index: 10; } .docs-nav.affix.topbar-is-fixed { top: 80px; } .docs-nav.affix-top { position: absolute; top: 0; } .docs-nav-group a { -webkit-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; color: rgba(14, 20, 26, 0.8); font-family: "Galano", sans-serif; font-weight: 400; font-size: 18px; margin-bottom: 36px; } .docs-nav-group a:hover, .docs-nav-group a:focus { color: #00d46a; text-decoration: none; } .docs-nav-list { padding-left: 0; margin-top: 0; margin-bottom: 46px; } .docs-nav-item { list-style: none; margin-bottom: 10px; } .docs-nav-link { -webkit-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; color: rgba(14, 20, 26, 0.6); font-size: 14px; } .docs-nav-link:hover, .docs-nav-link:focus { color: #00d46a; text-decoration: none; } /* Content ========================================================================== */ .docs-terms { margin: 80px 0; } .docs-guide { margin-top: 80px; position: relative; } .docs-content { color: rgba(14, 20, 26, 0.6); } .docs-content a:not([class]) { -webkit-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; color: #00d46a; font-weight: 400; } .docs-content a:not([class]):hover, .docs-content a:not([class]):focus { color: rgba(0, 212, 106, 0.6); text-decoration: none; } .docs-content h1, .docs-content h2, .docs-content h3, .docs-content h4, .docs-content h5, .docs-content h6 { color: rgba(14, 20, 26, 0.8); font-family: "Galano", sans-serif; font-weight: 600; } .docs-content h1 { font-family: "Galano", sans-serif; font-weight: 700; font-size: 36px; margin: 0 0 32px; } .docs-content h2 { font-size: 24px; margin: -28px 0 40px; padding-top: 94px; } .docs-content h3 { font-size: 22px; margin: 22px 0; } .docs-content h4 { font-size: 20px; margin: 20px 0; } .docs-content h5 { font-size: 18px; margin: 18px 0; } .docs-content h6 { font-family: "Galano", sans-serif; font-weight: 400; border-bottom: 2px solid rgba(14, 20, 26, 0.1); color: rgba(14, 20, 26, 0.4); font-size: 18px; line-height: 24px; margin: 0; padding-bottom: 36px; } .docs-content ul, .docs-content ol { padding: 0 0 0 20px; margin: 0 0 10px; } .docs-content ul li { padding-left: 1em; } .docs-content ul li p { display: inline-block; } .docs-content ol { color: rgba(14, 20, 26, 0.4); font-size: 16px; } .docs-content ol li, .docs-content ul li { padding-left: 6px; } .docs-content ol li, .docs-content ol li p { color: rgba(14, 20, 26, 0.6); } .docs-content p:not([class]), .docs-content li { font-size: 15px; line-height: 24px; } /* Home - Top ========================================================================== */ .docs-home-top { margin-bottom: 72px; } .docs-home-top-title { font-family: "Galano", sans-serif; font-weight: 700; color: rgba(14, 20, 26, 0.9); font-size: 57px; letter-spacing: -1px; line-height: 48px; margin: 80px 0 56px; text-align: center; } .docs-home-top-description { color: rgba(14, 20, 26, 0.8); font-family: "Galano", sans-serif; font-weight: 400; font-size: 20px; line-height: 36px; margin: 0 0 78px; text-align: center; } .docs-home-top-form .form-control { -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; border: 1px solid transparent; font-weight: 400; } .docs-home-top-form .form-control .input-inner-icon-helper { -webkit-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; } .docs-home-top-form .form-control:focus { background: white; border-color: #00d46a; } .docs-home-top-form .form-control:focus + .input-inner-icon-helper { color: #00d46a; } .docs-home-top-form .form-control .btn-sm { width: 100%; } .docs-home-top-form .btn { padding: 0; } /* Home - Middle ========================================================================== */ .docs-home-middle { margin: 0 0 56px; } .docs-home-middle-subtitle, .docs-home-what-subtitle, .newsletter-subtitle { color: rgba(14, 20, 26, 0.8); font-family: "Galano", sans-serif; font-weight: 700; font-size: 24px; line-height: 36px; margin: 0 0 40px; text-align: center; } .docs-home-middle-description, .docs-home-what-description, .newsletter-description { color: rgba(14, 20, 26, 0.6); font-family: "Galano", sans-serif; font-weight: 400; font-size: 16px; line-height: 24px; margin: 0; text-align: center; } .docs-home-what-subtitle, .newsletter-subtitle { margin-bottom: 30px; } /* Home - What ========================================================================== */ .docs-home-what { margin: 78px 0 56px; } .docs-content .docs-home-description:first-child { margin-bottom: 130px; } /* Video ========================================================================== */ .docs-video { height: 0; margin: 0 -20px 72px -20px; overflow: hidden; padding-bottom: 56.25%; padding-top: 30px; position: relative; } .docs-video iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } /* ========================================================================== Newsletter ========================================================================== */ .newsletter { background: rgba(14, 20, 26, 0.02); padding: 132px 0 0; } .newsletter .newsletter-subtitle { font-size: 33px; font-family: "Galano", sans-serif; font-weight: 700; color: rgba(14, 20, 26, 0.8); line-height: 48px; margin: 0 0 12px; } .newsletter .newsletter-description { font-size: 18px; font-family: "Open Sans", sans-serif; font-weight: 600; color: rgba(14, 20, 26, 0.6); line-height: 36px; } .newsletter-form { margin: 60px 0 120px; } .newsletter .form-group { margin-bottom: 12px; } .newsletter-avatar { background: transparent; border-radius: 50%; border: 1px solid white; display: none; height: 84px; margin: 72px auto 42px; text-align: center; width: 84px; } .newsletter-avatar .icon-16-mail { color: white; font-size: 32px; line-height: 84px; } .topbar-docs .topbar-list { max-width: 100%; } @media (max-width: 599px) { .topbar-docs .topbar-list .topbar-item { margin: 0; } .topbar-docs .topbar-list .topbar-item:not(.login) { display: none; } } @media (min-width: 600px) { .topbar-docs .topbar-list .topbar-item { margin: 0 12px; display: inline-block; } } @media (min-width: 720px) { .topbar-docs .topbar-list .topbar-item { margin: 0 10px; } } @media (min-width: 1024px) { .topbar-docs .topbar-list .topbar-item { margin: 0 16px; } } @media (min-width: 1280px) { .topbar-docs .topbar-list .topbar-item { margin: 0 20px; } } .topbar-docs .topbar-list .topbar-link { white-space: nowrap; font-family: "Galano", sans-serif; font-weight: 700; font-size: 15px; color: rgba(14, 20, 26, 0.6); } .topbar-docs .topbar-list .topbar-link.topbar-link-selected { color: #00d46a; } @media (max-width: 720px) { .topbar-docs .topbar-list .get-started { display: none; } } /* Medium screens ========================================================================== */ @media (max-width: 960px) { .docs .sidebar-offset { padding-top: 60px; } .docs .sidebar-offset .topbar { display: none; } .topbar.topbar-large .wedeploy-logo .liferay { display: none; } .docs-home-top-form .btn { margin-top: 24px; } } @media (min-width: 960px) { .docs .sidebar { width: 284px; } .docs .sidebar-offset { width: calc(100% - 284px); margin-left: 284px; } .topbar-docs-aux { display: flex; } .topbar-docs-main { display: none; } .docs-nav-container { display: block; } .docs-nav-list { margin-top: 75px; } .docs-home-top { margin-top: 60px; margin-bottom: 96px; } .docs-home-top-title { margin: 64px 0 41px; font-size: 49px; } .docs-home-top-description { font-size: 24px; } .docs-home-middle { margin-bottom: 68px; } .docs-home-middle-subtitle { margin-bottom: 24px; } .docs-home-what-subtitle, .newsletter-subtitle { margin-bottom: 30px; } .docs-home-middle-subtitle, .docs-home-what-subtitle, .newsletter-subtitle { font-size: 32px; } .docs-home-what { margin-bottom: 80px; } .newsletter .btn-sm { width: auto; } .newsletter .form-group { margin-bottom: 0; } .docs-video { margin-left: 0; margin-right: 0; } .docs-guide { margin-top: 40px; } } /* Sidebar ========================================================================== */ .docs .sidebar-search { margin: 20px 12px; } .docs .sidebar-search .form-control { border: 1px solid #FFF; } .docs .sidebar-search .form-control:focus { border-color: #00d46a; } .docs .sidebar-list { list-style: none; margin: 0; padding: 0 12px; height: 100%; overflow-y: auto; } .docs .sidebar-header { background: rgba(14, 20, 26, 0.03); color: rgba(14, 20, 26, 0.8); } .docs .sidebar-header .sidebar-icon { color: rgba(14, 20, 26, 0.8); } .docs .sidebar-list-1 .sidebar-link { color: rgba(14, 20, 26, 0.8); font-size: 13px; font-weight: 600; height: auto; line-height: 24px; padding: 18px 12px; font-family: "Open Sans", sans-serif; display: flex; justify-content: flex-start; align-items: center; align-content: center; } .docs .sidebar-list-1 .sidebar-link.sidebar-link-selected span { font-family: "Open Sans", sans-serif; font-weight: 600; } .docs .sidebar-list-1 .sidebar-link.sidebar-link-selected [class^="icon-16-"], .docs .sidebar-list-1 .sidebar-link.sidebar-link-selected [class*="icon-16-"] { font-family: "icon-16"; } .docs .sidebar-list-1 .sidebar-icon { -webkit-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; color: rgba(14, 20, 26, 0.6); display: inline-block; margin-right: 12px; margin-top: -1px; text-align: center; vertical-align: middle; width: 16px; } .docs .sidebar-list-1 .sidebar-link:hover .sidebar-icon, .docs .sidebar-list-1 .sidebar-link:focus .sidebar-icon, .docs .sidebar-list-1 .sidebar-link-selected .sidebar-icon { color: #00d46a; } .docs .sidebar-list-1 .sidebar-link:hover, .docs .sidebar-list-1 .sidebar-link:focus, .docs .sidebar-list-1 .sidebar-link-selected, .docs .sidebar-list-1 .sidebar-link-selected:hover, .docs .sidebar-list-1 .sidebar-link-selected:focus { background: rgba(0, 212, 106, 0.1); color: #00d46a; font-family: "Open Sans", sans-serif; font-weight: 600; border: none; border-radius: 4px; } .docs .sidebar-list .sidebar-list-2 { padding: 0; } .docs .sidebar-list-2 .sidebar-link { color: rgba(14, 20, 26, 0.9); font-size: 13px; font-weight: 400; height: 36px; line-height: 36px; padding: 0 20px 0 60px; } .docs .sidebar-list-2 .sidebar-link:hover, .docs .sidebar-list-2 .sidebar-link:focus, .docs .sidebar-list-2 .sidebar-link-selected, .docs .sidebar-list-2 .sidebar-link-selected:hover, .docs .sidebar-list-2 .sidebar-link-selected:focus { font-weight: 400; } .docs .sidebar-list-2 .sidebar-link.sidebar-link-selected span { font-weight: 400; } .docs .sidebar-list li .sidebar-list li .sidebar-link { padding: 12px 20px 12px 40px; font-size: 12px; line-height: 24px; height: auto; } .docs .sidebar-list li .sidebar-list li .sidebar-link .sidebar-icon { display: none; } .docs .search { margin: 0; } .docs .guide-header { padding: 60px 0; margin-top: 0; } @media (min-width: 960px) { .docs .guide-header.topbar-is-fixed { margin-top: 60px; } } .docs .guide-header-title { margin: 0; } .docs .btn-copy { background: rgba(255, 255, 255, 0.6); border-radius: 2px; height: 24px; line-height: 24px; padding: 0; width: 24px; top: 4px; } .docs .btn-copy:hover { background: rgba(255, 255, 255, 0.8); } .docs .btn-copy > [class*="icon-"] { font-size: 10px; } .docs .CodeMirror-sizer { margin-left: 40px !important; } .docs .CodeMirror-gutter-wrapper { left: -28px !important; } .docs .CodeMirror-linenumber { line-height: 24px; text-align: left; width: 32px !important; padding: 0; } .docs * code, .docs .docs-content * code { display: inline-block; color: rgba(14, 20, 26, 0.6); background: rgba(14, 20, 26, 0.1); font-size: 100%; font-family: "Roboto Mono", sans-serif; padding: 0 4px; } .docs * .code, .docs .docs-content * .code { margin: 0; background: transparent; } .docs p code, .docs .docs-content p code { line-height: 22px; } .docs h4 code, .docs .docs-content h4 code { line-height: 24px; } .docs h6 code, .docs .docs-content h6 code { line-height: 26px; } .docs p a:not([class]), .docs li a:not([class]) { border-bottom: 1px dashed rgba(14, 20, 26, 0.4); color: inherit; } .docs p a:not([class]):hover, .docs li a:not([class]):hover { border-bottom: 1px dashed #00d46a; color: #00d46a; } .docs .docs-content .guide-github { margin: 24px 0 60px; } /* sidebar docs */ .docs .sidebar-list li .sidebar-list { padding: 0; display: none; } .docs .sidebar-list li.active .sidebar-list { display: block; } .docs .sidebar-list li .sidebar-list li:last-child { margin-bottom: 0; } /* Home - Topics ========================================================================== */ .topic-container { margin: 48px auto; } .topic { color: #00d46a; display: block; margin: 20px auto 24px; text-align: center; } .topic .topic-icon, .topic.radial-out:before { background: #00d46a; } .topic-icon { display: block; margin: 0 auto 24px; color: #00d46a; font-size: 64px; } .topic-title { color: #0e141a; font-family: "Galano", sans-serif; font-weight: 700; font-size: 20px; text-transform: uppercase; } .topic-description { color: rgba(14, 20, 26, 0.7); font-size: 16px; font-weight: 400; line-height: 24px; margin: 0 0 27px; } /* Docs - Topics ========================================================================== */ .docs-home-topics { background: rgba(14, 20, 26, 0.05); padding: 72px 0 48px; } .docs-home-topics .topic-icon { border-radius: 50%; margin-bottom: 30px; height: 132px; width: 132px; } .docs-home-topics .topic-icon span { color: white; font-size: 52px; position: relative; top: 24px; } .docs-home-topics .topic { background: white; border-radius: 8px; padding: 36px 0; margin-top: 0; } .docs-home-topics .topic.topic-other { padding-bottom: 30px; } .docs-home-topics .topic-title { font-family: "Galano", sans-serif; font-weight: 700; font-size: 24px; margin: 0; opacity: 1; text-transform: none; } .docs-home-topics .topic-subtitle { color: rgba(14, 20, 26, 0.4); display: block; font-size: 12px; margin: 5px 0 0; } .topic-icon .avatar-icon-16.avatar-large span { font-size: 48px; } @media (min-width: 960px) { .docs-home-topics { padding: 90px 0; } } /* Docs - Topics Animation ========================================================================== */ .radial-out { backface-visibility: hidden; overflow: hidden; position: relative; transform: translateZ(0); } .radial-out:before { content: ""; position: absolute; z-index: -1; top: -50px; left: 0; right: 0; bottom: 0; border-radius: 100%; transform: scale(0); transition: transform 0.4s ease-out; } .radial-out:hover:before, .radial-out:focus:before { transform: scale(2); } .radial-out .topic-icon { transform: scale(1); transition: transform 0.4s ease-out; } .radial-out:hover .topic-icon, .radial-out:focus .topic-icon { transform: scale(1.5); } .radial-out .topic-title { top: 0; position: relative; transition: all 0.4s ease-out; } .radial-out:hover .topic-title, .radial-out:focus .topic-title { top: -10px; color: white; }