<?php
$f = "/var/www/html/public/css/styles.css";
$c = file_get_contents($f);
$old = ".sidebar-link:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
    text-decoration: none;
    border-left-color: rgba(59,130,246,.5);
}";
$new = ".sidebar-link:hover {
    background: rgba(234,88,12,.18);
    color: #fff;
    text-decoration: none;
    border-left-color: #ea580c;
}";
if (strpos($c, $old) !== false) {
    file_put_contents($f, str_replace($old, $new, $c));
    echo "OK\n";
} else {
    echo "NAO_ENCONTRADO\n";
}
