From deaec4547154012136751dafd7524122bb6bca60 Mon Sep 17 00:00:00 2001 From: YanJin Date: Fri, 22 Nov 2019 13:42:51 +0100 Subject: [PATCH] ui/login: Add the UI resources to customize the Dex login page The three files will be mounted in web/themes/scality in order to render our customized theme Refs: #2016 --- ui/public/brand/assets/login/favicon.png | Bin 0 -> 222 bytes ui/public/brand/assets/login/logo.png | Bin 0 -> 1651 bytes ui/public/brand/assets/login/styles.css | 120 +++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 ui/public/brand/assets/login/favicon.png create mode 100644 ui/public/brand/assets/login/logo.png create mode 100644 ui/public/brand/assets/login/styles.css diff --git a/ui/public/brand/assets/login/favicon.png b/ui/public/brand/assets/login/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..6887db77c25743ed2329fd5d8db818384fe1f824 GIT binary patch literal 222 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFv3GfMV1=8H*sX#PeCF{pb)A!zX z5H`c64L4*1fLx%UwGPiapgOjaAirRS@6Yd_@6T9uH32A+?CIhd!Xe9gP*JGaK!D*u zXba1I^RK+2Gr5)tiB}7q^brkxv7*B6dThm>#>`l4m0-~&X{)|XFq`3=6}{@SoKUXn zg#Ggwetzdk`E_=}`Ncg?P1zN}8>FVdQ I&MBb@0ItnY9RL6T literal 0 HcmV?d00001 diff --git a/ui/public/brand/assets/login/logo.png b/ui/public/brand/assets/login/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..d1f8cec6996fa9912b77d3bd952da2611fcfca06 GIT binary patch literal 1651 zcmXYyc|4SP9LFE29OcSU7#hQ@YZa*|v)h#QB{Z{*Qr zWJq?6t5bP8@Ro5^TA_YuCDNaVa0Oc$jO!roOiBY0&VUY`1?6(!aoGC+|*YV@nd)j$jbUBRMwinrQuU6q8( zAi@J8TqSwHqjCZr#6lqIxQWEcp~yhcIXo|%c4IDu_;_Gb6h~k%5trcUz;&0!orAYw zTqS-Ru(&afTnrVQk^l_S(c$nxctCg-N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q literal 0 HcmV?d00001 diff --git a/ui/public/brand/assets/login/styles.css b/ui/public/brand/assets/login/styles.css new file mode 100644 index 0000000000..9c7eb09c16 --- /dev/null +++ b/ui/public/brand/assets/login/styles.css @@ -0,0 +1,120 @@ +.theme-body { + text-align: center; + background-color: #121214; + color: #FEFEFE; + font-family: 'Source Sans Pro', Helvetica, sans-serif; +} + +.theme-navbar { + background-color: #121214; + color: #FEFEFE; + font-size: 13px; + font-weight: 100; + height: 46px; + overflow: hidden; + padding: 0 10px; +} + +.theme-navbar__logo-wrap { + display: inline-block; + height: 100%; + overflow: hidden; + padding: 10px 15px; + width: 300px; +} + +.theme-navbar__logo { + height: 100%; + max-height: 25px; +} + +.theme-heading { + font-size: 20px; + font-weight: 500; + margin-bottom: 10px; + margin-top: 0; + color:#FEFEFE; +} + +.theme-panel { + display: inline-block; + text-align: center; + background-color: #32323B; + padding: 30px; + width: 500px; +} + +.theme-btn-provider { + background-color: #fff; + color: #333; + min-width: 250px; +} + +.theme-btn-provider:hover { + color: #999; +} + +.theme-btn--primary { + background-color: #057AFF; + border: none; + color: #fff; + min-width: 250px; + padding: 6px 12px; + height: 36px; + border-radius: 4px; +} + +.theme-btn--primary:hover { + background-color: #057AFF; + color: #fff; +} + +.theme-btn--success { + background-color: #2FC98E; + color: #fff; + width: 250px; +} + +.theme-btn--success:hover { + background-color: #49E3A8; +} + +.theme-form-row { + display: block; + margin: 20px auto; +} + +.theme-form-input { + border-radius: 4px; + border: 1px solid #666; + box-shadow: inset 0 1px 1px rgba(87, 66, 66, 0.075); + color: #666; + display: block; + font-size: 14px; + height: 36px; + line-height: 1.42857143; + margin: auto; + padding: 6px 12px; + width: 250px; + background-color: #121214; +} + +.theme-form-input:focus, +.theme-form-input:active { + border-color: #66AFE9; + outline: none; +} + +.theme-form-label { + font-size: 13px; + font-weight: 600; + margin: 4px auto; + position: relative; + text-align: left; + width: 250px; + color:#FEFEFE; +} + +.theme-link-back { + margin-top: 4px; +}