123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 |
- /*
- app.less - Embedthis Application Style Sheet
- */
- html, body {
- font-size: @font-size;
- height: 100%;
- }
- body {
- margin: 0;
- padding: 0;
- font-family: @font;
- min-width: @body-min-width;
- text-rendering: optimizeLegibility;
- transition: none !important;
- &.show-sidebar {
- margin-left: 240px;
- }
- }
- body.version {
- background: none;
- display: inline;
- border: none;
- margin: 0;
- font-size: 0.75rem;
- color: white;
- opacity: 0.75;
- }
- .masthead {
- position: fixed;
- height: @masthead-height;
- width: 100%;
- z-index: 100;
- background-image: linear-gradient(@body-gradient);
- border-bottom: 5px solid white;
- .ui.inverted.menu {
- background-color: @gray-dark;
- border-bottom: none;
- margin: 0;
- .right {
- padding-right: 10px;
- a.item {
- color: @white;
- opacity: @masthead-menu-opacity;
- padding: 0.6em 0.4em;
- &:hover {
- background: fade(@white, 20%);
- }
- &.active:after {
- position: absolute;
- background: @masthead-active;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 4px;
- content: "";
- }
- }
- span.desktop-only {
- display: flex;
- }
- }
- }
- .breadcrumb {
- position: absolute;
- top: 46px;
- margin: 6px 0 0 35px;
- .section {
- padding-bottom: .5rem;
- }
- .active.section {
- color: fade(@white, 100%);
- font-weight: normal;
- }
- .divider {
- color: @white;
- }
- a {
- color: fade(@white, 70%);
- }
- a:hover,
- a:hover.active.section {
- color: @white;
- }
- }
- iframe.version {
- border: none;
- background: none;
- height: 2rem;
- width: 3rem;
- position: fixed;
- top: 50px;
- right: 1px;
- }
- }
- .sidebar {
- position: fixed;
- left: 0;
- padding-top: 35px;
- width: 240px;
- height: 100%;
- overflow-y: auto;
- overflow-x: hidden;
- visibility: visible;
- .ui.vertical.menu {
- background: @gray-dark;
- .logo {
- display: inline-block;
- font-family: @font-logo;
- font-size: @font-logo-size;
- color: @white;
- }
- .menu .item {
- font-size: 1.0rem !important;
- }
- .menu .header.item {
- position: relative;
- display: inline-block;
- width: 100%;
- padding: 7px 21px 7px 14px;
- font-weight: bold;
- font-size: 1.05em;
- background-color: transparent;
- &:hover {
- background: fade(@white, 10%);
- }
- }
- a.item.active {
- margin-right: 18px;
- border-right: 18px solid @body-highlight;
- }
- }
- &::-webkit-scrollbar {
- width: 0px !important;
- }
- }
- .ui.sidebar-launch.button {
- position: absolute;
- top: 0;
- left: 0;
- width: 40px;
- padding: 0.8em 0.6em 0.5em 1.1em;
- background-color: #333;
- border-radius: 0;
- color: white;
- float: left;
- z-index: 100;
- }
- .page {
- padding: 1rem 3.0rem;
- }
- .ui.page.grid {
- padding: 0 3.0rem;
- .segment {
- padding-top: 1.0rem;
- padding-bottom: 3.5rem;
- }
- }
- body > .content {
- min-height: 95%;
- text-decoration: none;
- background: @white;
- padding: 100px 2rem 2rem 2rem;
- .floated {
- overflow: auto;
- }
- }
- .ui.segment.terms {
- margin: 0;
- padding: 10px 0 20px 0;
- height: @terms-height;
- color: @gray-light;
- background: rgba(256, 256, 256, 0.75);
- font-size: 0.75rem;
- a:link, a:visited {
- color: @gray-lighter;
- }
- a:hover {
- color: @white;
- }
- }
- /////////// Page styles
- /////////// Element styles
- table.directive {
- width: 100%;
- background: @white;
- margin: 1em 0em;
- border: 1px solid @gray-lighter;
- border-radius: 0.25em;
- color: rgba(0, 0, 0, 0.8);
- border-collapse: separate;
- border-spacing: 0px;
- td {
- border-bottom: 1px solid lighten(@gray-lighter, 12%);
- padding: 0.7em 0.8em;
- vertical-align: middle;
- }
- }
- a {
- color: @link-color;
- text-decoration: none;
- transition: color 0.3s ease;
- }
- a:hover {
- color: @link-hover-color;
- text-decoration: none;
- }
- h1,
- h2,
- h3,
- h4 {
- font-weight: normal;
- }
- h3 + ul {
- margin-top: -0.85rem;
- }
- li {
- padding-bottom: 0.75em;
- }
- em {
- padding: 3px;
- font-family: monospace;
- font-style: normal;
- background-color: #F2F2FF;
- color: #404080;
- border-radius: 4px;
- white-space: nowrap;
- }
- code {
- display: block;
- white-space: pre-wrap;
- margin: 1rem 0;
- padding: 1rem 1rem;
- font-family: monospace;
- font-style: normal;
- border: 1px solid #C2C2C2;
- border-radius: 0.3rem;
- line-height: 1.25em;
- background-color: #EEE;
- color: #333;
- &.inverted {
- background: @inverted-code-background;
- color: @inverted-code-color;
- b {
- color: @inverted-code-bold;
- font-weight: normal;
- }
- }
- }
- pre.code {
- display: block;
- white-space: pre-wrap;
- margin: 1rem 0;
- padding: 1rem 1rem;
- font-family: monospace;
- font-style: normal;
- border: 1px solid #C2C2C2;
- border-radius: 0.3rem;
- line-height: 1.25em;
- background-color: #EEE;
- color: #333;
- background: @inverted-code-background;
- color: @inverted-code-color;
- b {
- color: @inverted-code-bold;
- font-weight: normal;
- }
- }
- .centered {
- margin-left: auto;
- margin-right: auto;
- display: block;
- }
- .ui.code.inverted.code.segment {
- background: @inverted-code-background;
- color: @inverted-code-color;
- b {
- color: @inverted-code-bold;
- font-weight: normal;
- }
- }
- .ui.code.segment {
- background: @gray-lightest;
- color: @gray-dark;
- border: 1px solid @gray-lighter;
- box-shadow: 2px 2px 2px lighten(@gray-lighter, 15%);
- line-height: 1.25em;
- }
- img.screen {
- margin: 8px 0 4px 0;
- border: 1px solid @gray-light;
- border-radius: 7px;
- box-shadow: 9px 9px 9px @gray-light;
- }
- img.bare-screen {
- margin: 8px 0 10px 0;
- border: 1px solid @gray-light;
- border-radius: 7px;
- box-shadow: 9px 9px 9px @gray-light;
- }
- img.shadow {
- border-radius: 7px;
- box-shadow: 5px 5px 9px @gray-light;
- }
- div.questions, div.answers {
- ul {
- color: #31699C;
- margin: 0;
- li {
- padding-bottom: 4px;
- }
- }
- h2, h3 {
- margin: 12px 0 8px 0;
- }
- .question {
- font-weight: bold;
- font-size: 1.1em;
- margin: 16px 0 10px 0;
- }
- }
- // Desktop
- @media (min-width: @mobile-break) {
- .mobile-only {
- display:none !important;
- }
- .desktop-only {
- // display:block !important;
- }
- }
- // Mobile
- @media (max-width: @mobile-break) {
- .mobile-only {
- // display:block !important;
- }
- .desktop-only {
- display:none !important;
- }
- }
|