Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
1,133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. 1. Öppna esx_menu_default / html / css / app.css
  2. 2. Ta bort allt innehåll
  3. 3. Klista in det här
  4. @font-face {
  5. font-family: bankgothic;
  6. src: url('../fonts/bankgothic.ttf');
  7. }
  8.  
  9. @font-face {
  10. font-family: bisonbold;
  11. src: url('../fonts/bisonbold.ttf');
  12. }
  13.  
  14. .menu {
  15. background-image: url("https://s3.envato.com/files/212542380/Dark%20Background%20%20%20%2001_preview1%20.JPG");
  16. font-family: 'Oswald', sans-serif;
  17. min-width: 400px;
  18. color: transparent;
  19. box-shadow: 0px 0px 50px 0px #000;
  20. position: absolute;
  21. text-decoration: none;
  22. color: #333333;
  23. opacity: 10%;
  24. }
  25.  
  26. .menu .head {
  27. background: rgba(0, 0, 0, 0.7);
  28. color: white;
  29. text-align: center;
  30. height: 50px;
  31. line-height: 50px;
  32. }
  33.  
  34. .menu .menu-items {
  35. max-height: 600px;
  36. overflow-y: auto;
  37. padding: 25px;
  38. text-decoration: none;
  39. }
  40.  
  41. .menu .menu-items .menu-item {
  42. color: #fff;
  43. background: #232323;
  44. text-decoration: none;
  45. line-height: 32px;
  46. border-left: 2px solid transparent;
  47. border-bottom: 1px solid black;
  48. padding-left: 5px;
  49. }
  50.  
  51. .menu .menu-items .menu-item.selected {
  52. border-left: 2px solid red;
  53. }
  54.  
  55. .menu.align-left {
  56. left: 40;
  57. top: 50%;
  58. transform: translate(0, -50%);
  59. }
  60.  
  61. .menu.align-top-left {
  62. left: 40;
  63. top: 40;
  64. }
  65.  
  66. .menu.align-top {
  67. left: 50%;
  68. top: 40;
  69. transform: translate(-50%, 0);
  70. }
  71.  
  72. .menu.align-top-right {
  73. right: 10;
  74. top: 40;
  75. }
  76.  
  77. .menu.align-right {
  78. right: 40;
  79. top: 50%;
  80. transform: translate(0, -50%);
  81. }
  82.  
  83. .menu.align-bottom-right {
  84. right: 40;
  85. bottom: 40;
  86. }
  87.  
  88. .menu.align-bottom {
  89. left: 50%;
  90. bottom: 40;
  91. transform: translate(-50%, 0);
  92. }
  93.  
  94. .menu.align-bottom-left {
  95. left: 40;
  96. bottom: 40;
  97. }
  98.  
  99. .menu.align-center {
  100. left: 50%;
  101. top: 50%;
  102. transform: translate(-50%, -50%);
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement