diff --git a/PaydayFrontend/Views/Home/Index.cshtml b/PaydayFrontend/Views/Home/Index.cshtml index 922aaf0..9e0eca1 100644 --- a/PaydayFrontend/Views/Home/Index.cshtml +++ b/PaydayFrontend/Views/Home/Index.cshtml @@ -1,16 +1,23 @@ -@model List +@model List -@{ - ViewData["Title"] = "Home Page"; -} + @{ + ViewData["Title"] = "Home Page"; + }
+<<<<<<< Updated upstream
+======= +
+
+ search +
+>>>>>>> Stashed changes @{ foreach (var university in Model) { diff --git a/PaydayFrontend/Views/Home/SecondPage.cshtml b/PaydayFrontend/Views/Home/SecondPage.cshtml index 6d3ac3e..b64aefb 100644 --- a/PaydayFrontend/Views/Home/SecondPage.cshtml +++ b/PaydayFrontend/Views/Home/SecondPage.cshtml @@ -1,11 +1,10 @@ -@{ +@{ ViewData["Title"] = "Выбор направления"; } - - \ No newline at end of file +
+
+ + +
+ + + diff --git a/PaydayFrontend/wwwroot/css/style.css b/PaydayFrontend/wwwroot/css/style.css index 77a7b22..72fe2d1 100644 --- a/PaydayFrontend/wwwroot/css/style.css +++ b/PaydayFrontend/wwwroot/css/style.css @@ -1 +1 @@ -*{font-family:"Roboto",sans-serif}header{z-index:1;position:fixed;top:0px;width:100%;height:70px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff}.fixed{width:100px;background-color:#fff;height:70px}.menu{width:435px;height:58px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:88px}.menu_logo{width:40px;height:52px}.menu_project_name{margin-left:20px}.menu_project_name_text{color:#20d37d;font-size:48px;font-style:normal;font-weight:500}.menu_hamburger{display:block;position:absolute;left:50px;top:11px;-webkit-transform:translateX(-50%);transform:translateX(-50%);height:50px;width:50px;background-color:#20d37d;border-radius:9px}.menu_hamburger span{display:block;height:5px;width:32px;background-color:#fff;margin:0 9px 6px 9px}.menu_hamburger span:nth-child(1){margin-top:12px}.menu_hamburger span:nth-child(3){margin-bottom:12px}.menu_hamburger_active{-webkit-transition:.8 all;transition:.8 all}.menu_hamburger_active span:nth-child(1){margin-top:12px;-webkit-transform:translateY(12px) rotate(-45deg);transform:translateY(12px) rotate(-45deg)}.menu_hamburger_active span:nth-child(2){display:none}.menu_hamburger_active span:nth-child(3){margin-top:12px;-webkit-transform:translateY(-5px) rotate(45deg);transform:translateY(-5px) rotate(45deg)}.header_login{display:block;height:100%;padding-left:19px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:10px;width:290px;height:71px;background-color:#43ca79;border-radius:40px;color:#fff;font-size:32px;font-style:normal;font-weight:500}.header_login_text{padding-top:6px;height:100%;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#000;font-size:22px;font-style:normal;font-weight:500}.universe{position:relative;min-height:640px;padding:90px 0 60px 0;background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8}.universe_input_block{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;margin-bottom:25px}.universe_input{padding-left:20px;height:100%;border-radius:40px;display:block;width:100%;border:0px}.universe_input:focus{outline:none;border:1px solid gray}.universe_search{height:35px;width:35px;position:absolute;right:30px}.universe_card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 30px 20px 0;height:205px;width:205px;background-color:#fff;border-radius:44px}.universe_card:nth-child(6){margin-right:0px}.universe_card:nth-child(11){margin-right:0px}.universe_card_text{color:#2a2a2a;font-size:24px;font-style:normal;font-weight:500}.universe_card_text span{color:#50d400;font-size:16px;font-style:normal;font-weight:500}.universe_icon{height:130px;width:130px}.universe_slid{height:18px;width:112px;display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;bottom:30px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.universe_slid_active{width:20px;margin-right:8px;border-radius:50%;background-color:#fff}.universe_slid_disable{width:20px;margin-right:8px;border-radius:50%;background-color:#aeaeae}.navigation{background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;min-height:660px;padding:22px 0 30px 0;margin-top:72px}.navigation_input_block{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:60px;margin-bottom:60px}.navigation_input{padding-left:20px;height:100%;border-radius:40px;display:block;width:100%;border:0px;font-size:20px}.navigation_input:focus{outline:none;border:1px solid gray}.navigation_fixed{background:-webkit-gradient(linear, left bottom, left top, from(rgb(236, 236, 236)), to(rgb(236, 236, 236))),#e8e8e8;background:linear-gradient(0deg, rgb(236, 236, 236) 0%, rgb(236, 236, 236) 100%),#e8e8e8;height:80px;width:100%;position:absolute;top:65px}.navigation #navigation{height:70px;padding-top:15px;top:66px;width:90%;left:5%}.navigation_banks{background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;position:fixed;top:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:56px;margin-bottom:10px}.navigation_banks_univer{width:12%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50px;background-color:#fff;color:#20d37d;font-size:22px;font-style:normal;font-weight:500}.navigation_banks_speciality{width:82%;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50px;background-color:#fff;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.navigation_banks_sort{width:57px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:#fff}.navigation_banks_sort_hamburger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff}.navigation_banks_sort_hamburger span{border-radius:6px;display:block;height:5px;width:27px;background-color:#20d37d;margin:0 9px 6px 9px}.navigation_banks_sort_hamburger span:nth-child(1){margin-top:12px}.navigation_banks_sort_hamburger span:nth-child(2){width:19px}.navigation_banks_sort_hamburger span:nth-child(3){width:11px;margin-bottom:12px}.navigation_banks_sort_active{-webkit-transition:.8 all;transition:.8 all}.navigation_banks_sort_active span:nth-child(1){margin-top:12px;-webkit-transform:translateY(12px) rotate(-45deg);transform:translateY(12px) rotate(-45deg)}.navigation_banks_sort_active span:nth-child(2){display:none}.navigation_banks_sort_active span:nth-child(3){margin-top:12px;-webkit-transform:translateY(-5px) rotate(45deg);transform:translateY(-5px) rotate(45deg)}.navigation_search{height:35px;width:35px;position:absolute;right:30px}.navigation_info{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:56px;background-color:#fff;border-radius:50px}.navigation_info_text{color:#545454;font-size:20px;font-style:normal;font-weight:500}.navigation .container_flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navigation_cost{position:absolute;right:150px;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.navigation_card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:30px;height:60px;width:880px;background-color:#fff;border-radius:44px}.navigation_card_text{color:#2a2a2a;font-size:24px;font-style:normal;font-weight:500}.navigation_card_text span{color:#50d400;font-size:16px;font-style:normal;font-weight:500}.navigation_bank_text{margin:0 0 6px 0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#2a2a2a;font-size:24px;font-style:normal;font-weight:500}.navigation_slid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:14px;width:80px}.navigation_slid_active{width:14px;margin-right:6px;border-radius:50%;background-color:#fff}.navigation_slid_disable{width:14px;margin-right:6px;border-radius:50%;background-color:#aeaeae}.navigation_bank{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navigation_icon{height:45px;width:45px}.navigation_credit{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:380px;height:25px;padding-right:30px}.navigation_credit_prosent{padding-left:33px;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.navigation_choise{position:fixed;background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;width:100%;bottom:50px}.navigation_fixed_background{background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;height:70px;width:100%;position:fixed;top:66px}.back{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:1;height:72px;width:72px;border-radius:50%;background-color:#fff;position:fixed;left:16px;bottom:60px}.back_img{width:60%;height:60%}footer{width:100%;bottom:0px;position:fixed;background-color:#fff;height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}footer span{width:200px;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.row_flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}/*# sourceMappingURL=style.css.map */ \ No newline at end of file +*{font-family:"Roboto",sans-serif}header{z-index:1;position:fixed;top:0px;width:100%;height:70px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff}.fixed{width:100px;background-color:#fff;height:70px}.menu{width:435px;height:58px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:88px}.menu_logo{width:40px;height:52px}.menu_project_name{margin-left:20px}.menu_project_name_text{color:#20d37d;font-size:48px;font-style:normal;font-weight:500}.menu_hamburger{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:block;position:absolute;left:50px;top:11px;-webkit-transform:translateX(-50%);transform:translateX(-50%);height:50px;width:50px;background-color:#20d37d;border-radius:9px}.menu_hamburger span{display:block;height:5px;width:32px;background-color:#fff;margin:0 9px 6px 9px}.menu_hamburger span:nth-child(1){margin-top:12px}.menu_hamburger span:nth-child(3){margin-bottom:12px}.menu_hamburger_active{-webkit-transition:.8 all;transition:.8 all}.menu_hamburger_active span:nth-child(1){margin-top:12px;-webkit-transform:translateY(12px) rotate(-45deg);transform:translateY(12px) rotate(-45deg)}.menu_hamburger_active span:nth-child(2){display:none}.menu_hamburger_active span:nth-child(3){margin-top:12px;-webkit-transform:translateY(-5px) rotate(45deg);transform:translateY(-5px) rotate(45deg)}.header_login{display:block;height:100%;padding-left:19px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:10px;width:290px;height:71px;background-color:#43ca79;border-radius:40px;color:#fff;font-size:32px;font-style:normal;font-weight:500}.header_login_text{padding-top:6px;height:100%;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#000;font-size:22px;font-style:normal;font-weight:500}.universe{position:relative;min-height:640px;padding:90px 0 60px 0;background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8}.universe_input_block{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;margin-bottom:25px}.universe_input{padding-left:20px;height:100%;border-radius:40px;display:block;width:100%;border:0px}.universe_input:focus{outline:none;border:1px solid gray}.universe_search{height:35px;width:35px;position:absolute;right:30px}.universe_card{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 30px 20px 0;height:205px;width:205px;background-color:#fff;border-radius:44px}.universe_card:nth-child(6){margin-right:0px}.universe_card:nth-child(11){margin-right:0px}.universe_card_text{color:#2a2a2a;font-size:24px;font-style:normal;font-weight:500}.universe_card_text span{color:#50d400;font-size:16px;font-style:normal;font-weight:500}.universe_icon{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:130px;width:130px}.universe_slid{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:18px;width:112px;display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;bottom:30px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.universe_slid_active{width:20px;margin-right:8px;border-radius:50%;background-color:#fff}.universe_slid_disable span{width:20px;margin-right:8px;border-radius:50%;background-color:#aeaeae}.navigation{background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;min-height:660px;padding:22px 0 30px 0;margin-top:72px}.navigation_input_block{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:60px;margin-bottom:60px}.navigation_input{padding-left:20px;height:100%;border-radius:40px;display:block;width:100%;border:0px;font-size:20px}.navigation_input:focus{outline:none;border:1px solid gray}.navigation_fixed{background:-webkit-gradient(linear, left bottom, left top, from(rgb(236, 236, 236)), to(rgb(236, 236, 236))),#e8e8e8;background:linear-gradient(0deg, rgb(236, 236, 236) 0%, rgb(236, 236, 236) 100%),#e8e8e8;height:80px;width:100%;position:absolute;top:65px}.navigation #navigation{height:70px;padding-top:15px;top:66px;width:90%;left:5%}.navigation_banks{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;position:fixed;top:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:56px;margin-bottom:10px}.navigation_banks_univer{width:12%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50px;background-color:#fff;color:#20d37d;font-size:22px;font-style:normal;font-weight:500}.navigation_banks_speciality{width:82%;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50px;background-color:#fff;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.navigation_banks_sort{width:57px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:#fff}.navigation_banks_sort_hamburger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff}.navigation_banks_sort_hamburger span{border-radius:6px;display:block;height:5px;width:27px;background-color:#20d37d;margin:0 9px 6px 9px}.navigation_banks_sort_hamburger span:nth-child(1){margin-top:12px}.navigation_banks_sort_hamburger span:nth-child(2){width:19px}.navigation_banks_sort_hamburger span:nth-child(3){width:11px;margin-bottom:12px}.navigation_banks_sort_active{-webkit-transition:.8 all;transition:.8 all}.navigation_banks_sort_active span:nth-child(1){margin-top:12px;-webkit-transform:translateY(12px) rotate(-45deg);transform:translateY(12px) rotate(-45deg)}.navigation_banks_sort_active span:nth-child(2){display:none}.navigation_banks_sort_active span:nth-child(3){margin-top:12px;-webkit-transform:translateY(-5px) rotate(45deg);transform:translateY(-5px) rotate(45deg)}.navigation_search{height:35px;width:35px;position:absolute;right:30px}.navigation_info{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:56px;background-color:#fff;border-radius:50px}.navigation_info_text{color:#545454;font-size:20px;font-style:normal;font-weight:500}.navigation .container_flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navigation_cost{position:absolute;right:150px;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.navigation_card{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:30px;height:60px;width:880px;background-color:#fff;border-radius:44px}.navigation_card_text{color:#2a2a2a;font-size:24px;font-style:normal;font-weight:500}.navigation_card_text span{color:#50d400;font-size:16px;font-style:normal;font-weight:500}.navigation_bank_text{margin:0 0 6px 0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#2a2a2a;font-size:24px;font-style:normal;font-weight:500}.navigation_slid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:14px;width:80px}.navigation_slid_active{width:14px;margin-right:6px;border-radius:50%;background-color:#fff}.navigation_slid_disable{width:14px;margin-right:6px;border-radius:50%;background-color:#aeaeae}.navigation_bank{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navigation_icon{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:45px;width:45px}.navigation_credit{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:380px;height:25px;padding-right:30px}.navigation_credit_prosent{padding-left:33px;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.navigation_choise{position:fixed;background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;width:100%;bottom:50px}.navigation_fixed_background{background:-webkit-gradient(linear, left bottom, left top, from(#ECECEC), to(#ECECEC)),#e8e8e8;background:linear-gradient(0deg, #ECECEC 0%, #ECECEC 100%),#e8e8e8;height:70px;width:100%;position:fixed;top:66px}.back{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:1;height:72px;width:72px;border-radius:50%;background-color:#fff;position:fixed;left:16px;bottom:60px}.back_img{width:60%;height:60%}footer{width:100%;bottom:0px;position:fixed;background-color:#fff;height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}footer span{width:200px;color:#20d37d;font-size:20px;font-style:normal;font-weight:500}.row_flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.my_modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.5)}.my_modal__dialog{max-width:600px;min-height:400px;margin:100px auto}.my_modal__content{position:relative;height:100%;width:100%;padding:40px;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:4px;max-height:80vh;overflow-y:auto;border-radius:50px}.my_modal__close{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;position:absolute;top:8px;right:14px;font-size:30px;color:#000;opacity:.5;font-weight:700;border:none;background-color:rgba(0,0,0,0);cursor:pointer}.bank_title{position:absolute;left:55px;top:30px;font-size:30px;font-weight:500}.bank_information{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:columns;flex-direction:columns;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start;-ms-flex-line-pack:start;align-content:start}.bank_block_img{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;margin-top:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:150px;height:150px}.bank_img{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:60%}.bank_form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:start;align-content:start;margin-top:60px;width:450px}.bank_name{position:absolute;top:70px;left:270px}.form_btn{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;width:150px;background-color:#20d37d;border-radius:20px;color:#fff}.form_btn_img{height:80%}.form_btn_block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}.show{display:block}.hide{display:none}/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/PaydayFrontend/wwwroot/css/style.css.map b/PaydayFrontend/wwwroot/css/style.css.map index 7cb5555..b20273a 100644 --- a/PaydayFrontend/wwwroot/css/style.css.map +++ b/PaydayFrontend/wwwroot/css/style.css.map @@ -1 +1 @@ -{"version":3,"sources":["../sass/style.sass","../sass/_general.sass"],"names":[],"mappings":"AACA,EACI,+BAAA,CCFJ,OACI,SAAA,CACA,cAAA,CACA,OAAA,CACA,UAAA,CACA,WAAA,CACA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,6BAAA,CACA,yBAAA,CAAA,oBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,qBAAA,CACJ,OACI,WAAA,CACA,qBAAA,CACA,WAAA,CACJ,MACI,WAAA,CACA,WAAA,CACA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,qBAAA,CAAA,kBAAA,CAAA,oBAAA,CACA,yBAAA,CAAA,oBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,gBAAA,CACA,WACI,UAAA,CACA,WAAA,CACJ,mBACI,gB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,CAAA,qBAAA,CAAA,kBAAA,CACA,WAAA,CACA,WAAA,CACA,kBAAA,CACA,2BACI,iBAAA,CACA,aAAA,CACA,cAAA,CACA,iBAAA,CACA,eAAA,CACR,mBACI,cAAA,CACA,8FAAA,CAAA,kEAAA,CACA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,uBAAA,CAAA,oBAAA,CAAA,sBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,WAAA,CACA,UAAA,CACA,WAAA,CACR,6BACI,8FAAA,CAAA,kEAAA,CACA,WAAA,CACA,UAAA,CACA,cAAA,CACA,QAAA,CACJ,MACI,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,uBAAA,CAAA,oBAAA,CAAA,sBAAA,CACA,yBAAA,CAAA,oBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,SAAA,CACA,WAAA,CACA,UAAA,CACA,iBAAA,CACA,qBAAA,CACA,cAAA,CACA,SAAA,CACA,WAAA,CACA,UACI,SAAA,CACA,UAAA,CACR,OACI,UAAA,CACA,UAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,uBAAA,CAAA,oBAAA,CAAA,sBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,yBAAA,CAAA,oBAAA,CACA,YACI,WAAA,CACA,aAAA,CACA,cAAA,CACA,iBAAA,CACA,eAAA,CACR,UACI,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,uBAAA,CAAA,oBAAA,CAAA,sBAAA","file":"style.css"} \ No newline at end of file +{"version":3,"sources":["../sass/style.sass","../sass/_general.sass"],"names":[],"mappings":"AACA,EACI,+BAAA,CCFJ,OACI,SAAA,CACA,cAAA,CACA,OAAA,CACA,UAAA,CACA,WAAA,CACA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,6BAAA,CACA,yBAAA,CAAA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BAAA,CAAA,oBAAA,CAAA,gBAAA,CACA,eAAA,CACA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,2BAAA,CAAA,4BAAA,CAAA,yBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CAAA,sBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,WAAA,CACA,YAAA,CACJ,UACI,qBAAA,CAEA,wBAAA,CAAA,oBAAA,CAAA,gBAAA,CACA,UAAA,CACJ,WACI,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,2BAAA,CAAA,4BAAA,CAAA,yBAAA,CAAA,qBAAA,CACA,wBAAA,CAAA,mBAAA,CACA,eAAA,CACA,WAAA,CACJ,WACI,iBAAA,CACA,QAAA,CACA,UAAA,CACR,UACI,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,wBAAA,CAAA,4BAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CACA,WAAA,CACA,WAAA,CACA,wBAAA,CACA,kBAAA,CACA,UAAA,CACA,cACI,UAAA,CACJ,gBACI,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,mBAAA,CAAA,qBAAA,CAIR,MACI,aAAA,CAEJ,MACI,YAAA","file":"style.css"} \ No newline at end of file diff --git a/PaydayFrontend/wwwroot/img/form/spinner.svg b/PaydayFrontend/wwwroot/img/form/spinner.svg new file mode 100644 index 0000000..8d7b1f5 --- /dev/null +++ b/PaydayFrontend/wwwroot/img/form/spinner.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PaydayFrontend/wwwroot/img/icons/arrow.svg b/PaydayFrontend/wwwroot/img/icons/arrow.svg new file mode 100644 index 0000000..1bf2f43 --- /dev/null +++ b/PaydayFrontend/wwwroot/img/icons/arrow.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/PaydayFrontend/wwwroot/img/logo/esia.png b/PaydayFrontend/wwwroot/img/logo/esia.png new file mode 100644 index 0000000..091291d Binary files /dev/null and b/PaydayFrontend/wwwroot/img/logo/esia.png differ diff --git a/PaydayFrontend/wwwroot/js/dist/script.dev.js b/PaydayFrontend/wwwroot/js/dist/script.dev.js new file mode 100644 index 0000000..0a23160 --- /dev/null +++ b/PaydayFrontend/wwwroot/js/dist/script.dev.js @@ -0,0 +1,9 @@ +"use strict"; + +var menuActive = document.querySelector('.menu'); +var hamburgerActive = document.querySelector('.hamburger'); +console.log(menuActive); +hamburgerActive.addEventListener('click', function (el) { + el.currentTarget.classList.toggle('hamburger_active'); + menuActive.classList.toggle('menu_active'); +}); \ No newline at end of file diff --git a/PaydayFrontend/wwwroot/js/modules/forms.js b/PaydayFrontend/wwwroot/js/modules/forms.js new file mode 100644 index 0000000..76b5c51 --- /dev/null +++ b/PaydayFrontend/wwwroot/js/modules/forms.js @@ -0,0 +1,116 @@ +import {eventModalClose, eventModalOpen} from './modal'; + + +function forms(formSelector) { +// Forms + + const forms = document.querySelectorAll(formSelector); + + const message = { + loading: 'img/form/spinner.svg', + success: 'Спасибо! Сокро мы с вами свяжемся', + failure: 'Что-то пошло не так...' + }; + forms.forEach(form => { + console.log(form); + bindpostData(form); + }); + + + // const getResurses = async (url) => { + // const res = await fetch(url); + + // if (!res.ok) { + // new Error(`Could not fetch ${url}, status: ${res.status}`); + // } + + + // return await res.json(); + // }; + + function bindpostData(form) { + form.addEventListener('submit', (el) => { + el.preventDefault(); + + const statusMessage = document.createElement('img'); + statusMessage.src = message.loading; + + + + // const request = new XMLHttpRequest(); + // request.open('POST', 'server.php'); + + // request.setRequestHeader('Content-type', 'application/json'); + const formData = new FormData(form); + + + // request.send(json); + + statusMessage.style.cssText = ` + display: block; + margin: 0 auto; + ` + form.insertAdjacentElement('afterend', statusMessage); + const json = JSON.stringify(Object.fromEntries(formData.entries())); + + postData('http://localhost:3000/requests', json) + .then(data => { + console.log(data); + showTanksModal(message.success); + form.reset(); + statusMessage.remove(); + }).catch(() => { + showTanksModal(message.failure); + }).finally(() => { + form.reset(); + }); + + // request.addEventListener('load', () => { + // if (request.status === 200) { + + // console.log(request.response); + // showTanksModal(message.success); + // form.reset(); + // statusMessage.remove(); + + + // } + // else { + // showTanksModal(message.failure); + // } + // }); + + + + }); + + function showTanksModal(message) { + const previosModalDialog = document.querySelector('.modal__dialog'); + previosModalDialog.classList.add('hide'); + + eventModalOpen('.modal'); + + + const thanksModal = document.createElement('div'); + thanksModal.classList.add('modal__dialog'); + thanksModal.innerHTML = ` + + `; + document.querySelector('.modal').append(thanksModal); + setTimeout(() => { + thanksModal.remove(); + previosModalDialog.classList.add('show'); + previosModalDialog.classList.remove('hide'); + modalClose(); + + }, 4000); + } + + } + +} + +export default forms; \ No newline at end of file diff --git a/PaydayFrontend/wwwroot/js/modules/modal.js b/PaydayFrontend/wwwroot/js/modules/modal.js new file mode 100644 index 0000000..60f877c --- /dev/null +++ b/PaydayFrontend/wwwroot/js/modules/modal.js @@ -0,0 +1,63 @@ +function eventModalOpen (modalSelector) { + const modal = document.querySelector(modalSelector); + modal.classList.add('show'); + modal.classList.remove('hide'); + document.body.style.overflow = 'hidden'; +} + +function eventModalClose(modalSelector) { + const modal = document.querySelector(modalSelector); + modal.classList.add('hide'); + modal.classList.remove('show'); + document.body.style.overflow = ''; +} +function modal(triggerSelector, modalSelector) { + + //Modal + + const modalOpenForm = document.querySelectorAll(triggerSelector), + modal = document.querySelector(modalSelector); + console.log(modal, modalOpenForm); + + + + function modalOpen(event) { + event.forEach(elem => { + elem.addEventListener('click', () => { + eventModalOpen(modalSelector); + }); + }) + } + + + + function modalClose() { + modal.addEventListener('click', (e) => { + if (e.target === modal || e.target.getAttribute('data-close') == '') { + eventModalClose(modalSelector); + } + }); + + document.addEventListener('keydown', (e) => { + if (e.code === 'Escape' && modal.classList.contains('show')) { + eventModalClose(modalSelector); + } + }); + + } + function showModalByScroll() { + if (window.pageYOffset + document.documentElement.clientHeight >= document.documentElement.scrollHeight - 1) { + console.log('da'); + eventModalOpen(modalSelector); + window.removeEventListener('scroll', showModalByScroll); + } + } + console.log(window.scrollY); + + window.addEventListener('scroll', showModalByScroll); + + modalOpen(modalOpenForm); + modalClose(); + + +} \ No newline at end of file diff --git a/PaydayFrontend/wwwroot/js/script.js b/PaydayFrontend/wwwroot/js/script.js new file mode 100644 index 0000000..923c6aa --- /dev/null +++ b/PaydayFrontend/wwwroot/js/script.js @@ -0,0 +1,189 @@ + +const menuActive = document.querySelector('.menu'); +const hamburgerActive = document.querySelector('.menu_hamburger'); +console.log(menuActive); + +hamburgerActive.addEventListener('click', el => { + el.currentTarget.classList.toggle('hamburger_active'); + menuActive.classList.toggle('menu_active'); +}) +window.addEventListener('DOMContentLoaded', () => { + function eventModalOpen () { + const modal = document.querySelector('.my_modal'); + modal.classList.add('show'); + modal.classList.remove('hide'); + document.body.style.overflow = 'hidden'; + } + + function eventModalClose() { + const modal = document.querySelector('.my_modal'); + modal.classList.add('hide'); + modal.classList.remove('show'); + document.body.style.overflow = ''; + } + function modal() { + + //Modal + + const modalOpenForm = document.querySelectorAll('[data-modal]'), + modal = document.querySelector(['.my_modal']); + console.log(modal, modalOpenForm); + + + + function modalOpen(event) { + event.forEach(elem => { + elem.addEventListener('click', () => { + eventModalOpen('.my_modal'); + }); + }) + } + + + + function modalClose() { + modal.addEventListener('click', (e) => { + if (e.target === modal || e.target.getAttribute('data-close') == '') { + eventModalClose('.my_modal'); + } + }); + + document.addEventListener('keydown', (e) => { + if (e.code === 'Escape' && modal.classList.contains('show')) { + eventModalClose('.my_modal'); + } + }); + + } + function showModalByScroll() { + if (window.pageYOffset + document.documentElement.clientHeight >= document.documentElement.scrollHeight - 1) { + console.log('da'); + eventModalOpen('.my_modal'); + window.removeEventListener('scroll', showModalByScroll); + } + } + console.log(window.scrollY); + + window.addEventListener('scroll', showModalByScroll); + + modalOpen(modalOpenForm); + modalClose(); + + + } + + + function forms() { + // Forms + + const forms = document.querySelectorAll("form"); + + const message = { + loading: 'img/form/spinner.svg', + success: 'Спасибо! Сокро мы с вами свяжемся', + failure: 'Что-то пошло не так...' + }; + forms.forEach(form => { + console.log(form); + bindpostData(form); + }); + + + // const getResurses = async (url) => { + // const res = await fetch(url); + + // if (!res.ok) { + // new Error(`Could not fetch ${url}, status: ${res.status}`); + // } + + + // return await res.json(); + // }; + + function bindpostData(form) { + form.addEventListener('submit', (el) => { + el.preventDefault(); + + const statusMessage = document.createElement('img'); + statusMessage.src = message.loading; + + + + // const request = new XMLHttpRequest(); + // request.open('POST', 'server.php'); + + // request.setRequestHeader('Content-type', 'application/json'); + const formData = new FormData(form); + + + // request.send(json); + + statusMessage.style.cssText = ` + display: block; + margin: 0 auto; + ` + form.insertAdjacentElement('afterend', statusMessage); + const json = JSON.stringify(Object.fromEntries(formData.entries())); + + postData('http://localhost:3000/requests', json) + .then(data => { + console.log(data); + showTanksModal(message.success); + form.reset(); + statusMessage.remove(); + }).catch(() => { + showTanksModal(message.failure); + }).finally(() => { + form.reset(); + }); + + // request.addEventListener('load', () => { + // if (request.status === 200) { + + // console.log(request.response); + // showTanksModal(message.success); + // form.reset(); + // statusMessage.remove(); + + + // } + // else { + // showTanksModal(message.failure); + // } + // }); + + + + }); + + function showTanksModal(message) { + const previosModalDialog = document.querySelector('.my_modal__dialog'); + previosModalDialog.classList.add('hide'); + + eventModalOpen('.my_modal'); + + + const thanksModal = document.createElement('div'); + thanksModal.classList.add('my_modal__dialog'); + thanksModal.innerHTML = ` +
+
×
+
${message}
+
+ `; + document.querySelector('.my_modal').append(thanksModal); + setTimeout(() => { + thanksModal.remove(); + previosModalDialog.classList.add('show'); + previosModalDialog.classList.remove('hide'); + modalClose(); + + }, 4000); + } + + } + + } + forms(); + modal(); +}); \ No newline at end of file