diff --git a/src/main/java/NTNU/IDATT1002/controllers/NavBarController.java b/src/main/java/NTNU/IDATT1002/controllers/NavBarController.java
index 265a5632ca980296e1c724081a68a03320313ced..b92ec2e312f4cde2ceac8aed485ed000acaf3dc8 100644
--- a/src/main/java/NTNU/IDATT1002/controllers/NavBarController.java
+++ b/src/main/java/NTNU/IDATT1002/controllers/NavBarController.java
@@ -56,6 +56,11 @@ public class NavBarController {
 
     }
 
+    /***
+     * Method that changes scene to Search page. It reads the value of the search
+     * field and if not empty it is passed to {@link DataExchange}
+     * @throws IOException
+     */
     public void search() throws IOException {
         doBeforePageExit();
 
@@ -68,8 +73,7 @@ public class NavBarController {
     }
 
     /**
-     * Method that changes scene to Search page. It reads the value of the search
-     * field and if not empty it is passed to {@link DataExchange}
+     * Method that calls the search method when the search button is pressed
      * @param actionEvent
      * @throws IOException
      */
@@ -77,6 +81,12 @@ public class NavBarController {
         search();
     }
 
+    /***
+     * Method that calls the search method when the Enter key is pressed while the
+     * search field is in focus
+     * @param keyEvent
+     * @throws IOException
+     */
     public void enterSearch(KeyEvent keyEvent) throws IOException {
         if(keyEvent.getCode().equals(KeyCode.ENTER)){
             search();
diff --git a/src/main/resources/NTNU/IDATT1002/style.css b/src/main/resources/NTNU/IDATT1002/style.css
index 238241c94a6717249b541a429a497df137486287..9e68215d4a4ce451f8fd652754e3201316a9735a 100644
--- a/src/main/resources/NTNU/IDATT1002/style.css
+++ b/src/main/resources/NTNU/IDATT1002/style.css
@@ -152,6 +152,17 @@
     -fx-text-base-color: #10101f;
 }
 
+.tab:selected{
+    -fx-border-radius: 5 5 0 0;
+    -fx-border-width: 2px;
+    -fx-background-radius: 5 5 0 0;
+    -fx-background-color: rgba(255, 255, 255, 0.1);
+    -fx-border-color: rgba(17, 238, 238, 0.5);
+}
+.tab{
+    -fx-border-radius: 5 5 0 0;
+    -fx-background-radius: 5 5 0 0;
+}
 
 
 .tab-header-background{