@import url('https://fonts.googleapis.com/css?family=Archivo+Narrow:400,700&subset=latin-ext'); @color: #069; @space: 20px; * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Archivo Narrow', sans-serif; font-size: 14px; } input, textarea, button { font-family: inherit; font-size: inherit; } .marginer { margin-left: @space !important; margin-right: @space !important; } .paddiner { padding-top: @space; padding-bottom: @space; } .framed { border: 1px solid @color; } .flashes { .flash { margin: 0 0 @space/2; padding: @space/2; background-color: tint(@color, 20%); color: #fff; &.error { background-color: mix(@color, red, 40%); } &.warning { background-color: mix(@color, orange, 40%); } } } .progress { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; z-index: 999; display: flex; justify-content: center; align-items: center; background-color: fade(#000, 80%); color: #fff; opacity: 0; visibility: hidden; &_visible { opacity: 1; visibility: visible; } } .basic_form { overflow: hidden; table { border-spacing: 10px 5px; margin: -5px -10px; } th { color: @color; text-align: left; font-weight: normal; } input, textarea, select { padding: 5px 10px; border: 1px solid #ccc; background-color: #fff; outline-color: @color; } textarea { resize: none; } input[type='submit'] { background-color: @color; color: #fff; cursor: pointer; border-color: @color; } ul.error { margin: 0 0 1em; li { list-style: none; color: red; &::before { display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; font-family: "Font Awesome 5 Pro"; font-weight: 900; content: "\f071"; margin-right: 5px; } } } span.error { color: red; } } header { position: fixed; background-color: tint(@color, 80%); box-shadow: 0 0 5px fade(#000, 20%); left: 0; top: 0; width: 100%; height: 40px; z-index: 2; .toolbar, nav { position: absolute; right: @space; top: 0; height: 100%; display: flex; margin: 0 -10px; align-items: center; a, span { color: inherit; text-decoration: inherit; padding: 0 10px; } } nav { right: auto; left: @space; } .logo { position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -154px; } } main { position: relative; z-index: 1; margin-top: 40px; h1 { font-weight: normal; font-size: 200%; margin: 0 0 .8em; color: @color; } h2 { font-weight: normal; font-size: 160%; margin: 1.2em 0 .8em; color: @color; &:first-child { margin-top: 0; } } a { color: @color; text-decoration: none; &:hover { color: inherit; } } p { margin: 0 0 1em; &:last-child { margin-bottom: 0; } } .sep { height: 1px; background-color: #ccc; margin: 0 0 @space; } .line_sep { height: 1px; background-color: #ccc; margin: @space/4 0; } ol { li { list-style: decimal inside; } } ul { li { list-style: disc inside; } } message { display: block; } } .basic_table { margin: 0 0 @space; border-collapse: collapse; border-spacing: 0; &_message { width: 100%; p { margin: 0 0 .2em; } } th, td { border: 1px solid #ccc; padding: 5px 10px; background-color: #fff; position: relative; } th { background-color: @color; color: #fff; font-weight: normal; text-transform: uppercase; border-color: @color; &:nth-child(even) { background-color: tint(@color, 10%); } } td > a:empty { position: absolute; display: block; left: 0; top: 0; width: 100%; height: 100%; } &_right { th { background-color: #666; border-color: #666; &:nth-child(even) { background-color: tint(#666, 10%); } } } tr { &:nth-child(odd) { td { background-color: #eee; } } &:hover { td { background-color: #ddd; } } } tr.hi { td { font-weight: bold; } } } .mce-tinymce { -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important; }