diff --git a/assets/styles/nardah-old.scss b/assets/styles/nardah-old.scss new file mode 100644 index 0000000..7d441db --- /dev/null +++ b/assets/styles/nardah-old.scss @@ -0,0 +1,147 @@ +$primary-color: navy; +$primary-color-highlight: lighten($primary-color, 10%); + +$nav-height: 65px; + +$textarea-min-height: 100px; + +$shadow-normal: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; +$shadow-light: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; +$shadow-heavy: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; + +body{ + margin: 0; + padding: $nav-height 0 0; + background: #f6f6f6; + font-size: 16px; +} + +a{ + color: $primary-color; + transition: all 230ms ease-in-out; + &:hover{ + color: $primary-color-highlight; + } +} + +table{ + border: 1px solid #e1e1e1; + border-collapse: collapse; + box-shadow: $shadow-light; + border-radius: 7px; + overflow: hidden; + + thead{ + border-bottom: 2px solid #212121; + font-size: 2rem; + } + + tr, + th, + td{ + border: none; + } + + tr:nth-child(even){ + background-color: #eee; + } + + th, + td{ + padding: 12px 15px !important; + } +} + +textarea{ + min-width: 100%; + max-width: 100%; + min-height: $textarea-min-height; +} + +input[type=submit].button-primary, +button.button-primary, +.button.button-primary{ + background-color: $primary-color; + font-size: 1.5rem; + + &:hover{ + background-color: lighten($primary-color, 10%); + } +} + +select[multiple]{ + max-width: 100%; + min-height: 100px; +} + +#main-nav{ + position: fixed; + top: 0; + left: 0; + width: 100%; + height: $nav-height; + background: $primary-color; + box-shadow: $shadow-normal; + color: #eee; + font-size: 2rem; + z-index: 100; + + ul{ + list-style: none; + li{ + display: inline-block; + } + } + + .nav-left{ + float: left; + } + .nav-right{ + float: right; + } + + a{ + display: inline-block; + padding: 15px 10px; + color: #eee; + font-weight: bold; + text-decoration: none; + &:hover{ + color: white; + } + } + + .site-logo{ + margin-left: 25px; + margin-right: 25px; + font-weight: bold; + } +} + +#main-wrapper{ + max-width: 1180px; + margin-top: 15px; + padding: 15px 20px; + background-color: white; + box-shadow: $shadow-normal; + border-radius: 10px; +} + +#main-footer{ + margin-top: 25px; + + p{ + margin-bottom: 5px; + text-align: center; + } +} + +#result-form{ + margin: 0; + + button, + input, + select{ + margin: 0; + } +} diff --git a/assets/styles/nardah.scss b/assets/styles/nardah.scss index 7d441db..39ef12c 100644 --- a/assets/styles/nardah.scss +++ b/assets/styles/nardah.scss @@ -10,138 +10,5 @@ $shadow-light: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; $shadow-heavy: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; body{ - margin: 0; - padding: $nav-height 0 0; - background: #f6f6f6; - font-size: 16px; -} - -a{ - color: $primary-color; - transition: all 230ms ease-in-out; - &:hover{ - color: $primary-color-highlight; - } -} - -table{ - border: 1px solid #e1e1e1; - border-collapse: collapse; - box-shadow: $shadow-light; - border-radius: 7px; - overflow: hidden; - - thead{ - border-bottom: 2px solid #212121; - font-size: 2rem; - } - - tr, - th, - td{ - border: none; - } - - tr:nth-child(even){ - background-color: #eee; - } - - th, - td{ - padding: 12px 15px !important; - } -} - -textarea{ - min-width: 100%; - max-width: 100%; - min-height: $textarea-min-height; -} - -input[type=submit].button-primary, -button.button-primary, -.button.button-primary{ - background-color: $primary-color; - font-size: 1.5rem; - - &:hover{ - background-color: lighten($primary-color, 10%); - } -} - -select[multiple]{ - max-width: 100%; - min-height: 100px; -} - -#main-nav{ - position: fixed; - top: 0; - left: 0; - width: 100%; - height: $nav-height; - background: $primary-color; - box-shadow: $shadow-normal; - color: #eee; - font-size: 2rem; - z-index: 100; - - ul{ - list-style: none; - li{ - display: inline-block; - } - } - - .nav-left{ - float: left; - } - .nav-right{ - float: right; - } - - a{ - display: inline-block; - padding: 15px 10px; - color: #eee; - font-weight: bold; - text-decoration: none; - &:hover{ - color: white; - } - } - - .site-logo{ - margin-left: 25px; - margin-right: 25px; - font-weight: bold; - } -} - -#main-wrapper{ - max-width: 1180px; - margin-top: 15px; - padding: 15px 20px; - background-color: white; - box-shadow: $shadow-normal; - border-radius: 10px; -} - -#main-footer{ - margin-top: 25px; - - p{ - margin-bottom: 5px; - text-align: center; - } -} - -#result-form{ - margin: 0; - - button, - input, - select{ - margin: 0; - } + font-size: 18px; } diff --git a/views/benchmark/add.twig b/views/benchmark/add.twig index 02b86b4..fb28183 100644 --- a/views/benchmark/add.twig +++ b/views/benchmark/add.twig @@ -4,43 +4,39 @@ {% block content %} -