_Layout.Play-1.cshtml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @{
  2. Layout = "~/Views/Shared/Layout/_Layout.None.cshtml";
  3. }
  4. <style>
  5. body {
  6. }
  7. .wrapper {
  8. display: flex;
  9. height: 100vh;
  10. --mainColor: #02595a;
  11. --mainBgColor: #f3fffe;
  12. --mainBgColor2: #c7f0f3;
  13. }
  14. .wrapper .body-left {
  15. width: 300px;
  16. height: 100vh;
  17. display: flex;
  18. justify-content: center;
  19. background: #c7f0f3;
  20. padding-top: 5%;
  21. }
  22. .wrapper .body-right {
  23. width: calc(100vw - 300px);
  24. height: 100vh;
  25. background: var(--mainBgColor);
  26. padding: 10px;
  27. border-left: 2px solid var(--mainColor);
  28. }
  29. </style>
  30. <div class="wrapper">
  31. <div class="body-left">
  32. @Html.Partial("Layout/_MainSidebar.Play")
  33. </div>
  34. <div class="body-right">
  35. @RenderBody()
  36. </div>
  37. </div>
  38. @section styles{
  39. @RenderSection("styles", false)
  40. }
  41. @section css{
  42. @RenderSection("css", false)
  43. }
  44. @section js{
  45. @RenderSection("js", false)
  46. }
  47. @section scripts{
  48. <script>
  49. $(function() {
  50. OverlayScrollbar($(".wrapper>div"));
  51. })
  52. </script>
  53. @RenderSection("scripts", false)
  54. }
  55. @section modal{
  56. @RenderSection("modal", false)
  57. }