Guest User

Untitled

a guest
Sep 14th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. NOTE: THIS IS RECORDING/LOG OF EFFORTS MADE SO FAR FOR ELGG 1.8 BY DEEPA GUPTA AT DISTANCE LEARNING,COE,UF. THIS IS FOR THE PURPOSE OF MAINTAINABILITY, CONSISTENCY AND EASE OF TEAM WORK WITH MY FELLOW COLLEAGUES. THESE ARE BASICALLY THE RECORD OF FILE CHANGES IN layout.php, default.php AND coet-screen.css
  2.  
  3.  
  4. Things done so far:
  5.  
  6. Overrridden default.php - added static $coet to render header.php, headerContents.php and footer.php
  7.  
  8. failed attempt to edit in COET-screen.css in the COET folder
  9. This was done to adjust the size of the image of the search icon (the magnifying glass) but the changes done in this file:
  10.  
  11.  
  12. ---------attempted the following but then cancelled these changes----------
  13. /Applications/XAMPP/xamppfiles/htdocs/COET/src/Coe/Template/public/COET-screen.css
  14. by adding the lines:
  15. height:60%;
  16. width:50%;
  17. but this did not change anything.
  18.  
  19. So, made the change in default.php-added the css text code:
  20. .COET-sa
  21. {
  22. width:30px;
  23. }
  24. -------------------made change in COET-screen.css-------------------------
  25.  
  26. changes in COET-screen.css:
  27.  
  28. added height and width constraint for the search magnifying glass 29x29px
  29.  
  30. #cse-search-box .COET-sa {
  31. height:29px;
  32. width:29px;
  33. vertical-align:middle;
  34. border:none;
  35. }
  36.  
  37.  
  38.  
  39. fixed the search in the footer by adding the following:
  40. body div#COET-foot-l input, textarea{
  41. -moz-box-sizing: border-box;
  42. border: 1px solid #CCCCCC;
  43. border-radius: 5px 5px 5px 5px;
  44. color: #666666;
  45. font: 120% Arial,Helvetica,sans-serif;
  46. padding: 5px;
  47. width: auto;
  48. }
  49.  
  50. body div#COET-foot-l input[type="submit"]{
  51. background: none repeat scroll 0 0 #0021A5;
  52. border: 1px solid #0021A5;
  53. border-radius: 4px 4px 4px 4px 4px;
  54. color: #FFFFFF;
  55. cursor:pointer;
  56. font: bold 12px/100% Arial,Helvetica,sans-serif;
  57. height: 25px;
  58. margin: 10px 0;
  59. padding: 2px 6px;
  60. width: auto;
  61. }
  62. ---------------------------------------------------------------------------
  63.  
  64. added the following to file:css/elements/layout.php in the plugin to the .elgg-page-topbar (along the other content taken from root css' layout.php):
  65.  
  66. //changed height to 0px in order to bring more/activity/search content to topbar
  67. .elgg-page-default .elgg-page-header > .elgg-inner {
  68. width: 450px;
  69. margin: 0 auto;
  70. height: 0px;
  71. float: left;
  72. }
  73.  
  74. .elgg-page-topbar {
  75. background: none repeat scroll 0 0 #2440B2;
  76. border-bottom: 1px solid #000000;
  77. border-top: 1 px solid black;
  78. color: #FFFFFF;
  79. height: 24px;
  80. z-index: 9000;
  81. border-top:1px solid black;
  82. padding-top: 5px;
  83. text-align: center;
  84. width: 100%;
  85. }
  86.  
  87. .elgg-page-header .elgg-search input[type="text"]{
  88. margin-top:v 2.5px;
  89. max-width: 120px;
  90. }
  91.  
  92. line#73
  93. .elgg-page-default .elgg-page-header > .elgg-inner {
  94. width: 750px;
  95. margin: 0 auto;
  96. height: 0px;
  97. }
  98.  
  99. LINE#79
  100. .elgg-layout-one-sidebar{
  101. float: left;
  102. }
  103.  
  104. line#43
  105.  
  106. .elgg-page-topbar > .elgg-inner {
  107. padding: 0 10px;
  108. margin: 0 auto;
  109. height: 24px;
  110. text-align: left;
  111. width: 950px;
  112. }
Add Comment
Please, Sign In to add comment