Plugin Directory

Changeset 3487761


Ignore:
Timestamp:
03/21/2026 12:30:59 PM (7 days ago)
Author:
John Dagelmore
Message:

2.27 trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gptranslate/trunk/assets/css/crawler.css

    r3482588 r3487761  
    3838
    3939#crawler_dialog input.analysis-input {
    40     width: 60%;
    41     height: 40px;
    42     padding: 5px 5px 5px 40px;
    43     margin: 0 10px 10px 0 !important;
    44     font-size: 18px;
     40    width: 54%;
     41    height: 40px;
     42    padding: 5px 5px 5px 40px;
     43    margin: 0 10px 15px 0 !important;
     44    font-size: 16px;
    4545    color: #666;
    4646    background: url(../images/key.png) 3px 6px no-repeat;
     
    8282#crawler_dialog #start_analysis,
    8383#crawler_dialog #stop_analysis {
    84     margin-right: 8px;
     84    margin-right: 10px;
    8585}
    8686
     
    489489    display: inline-flex;
    490490    align-items: center;
    491     margin-left: 15px;
     491    margin-right: 5px;
    492492    cursor: pointer;
    493493    user-select: none;
     
    513513/* Quando è checked - bordo verde */
    514514#crawl_single_url:checked ~ #crawl_single_url_label,
    515 #crawl_single_url_label:has(#crawl_single_url:checked) {
     515#crawl_single_url_label:has(#crawl_single_url:checked),
     516#crawl_batch_urls:checked ~ #crawl_batch_label,
     517#crawl_batch_label:has(#crawl_batch_urls:checked) {
    516518    background: #d1e7dd;
    517519    border-color: #198754;
     
    556558/* Responsive */
    557559@media (max-width: 768px) {
    558     #crawl_single_url_label {
     560    #crawl_single_url_label,
     561    #crawl_batch_label {
    559562        display: flex;
    560563        margin-left: 0;
     
    565568}
    566569
    567 #crawl_single_url::before {
     570#crawl_single_url::before,
     571#crawl_batch_urls::before {
    568572    filter: sepia(100%) saturate(500%) hue-rotate(130deg) brightness(0.9);
    569573}
    570574
    571 #crawl_single_url:focus {
     575#crawl_single_url:focus,
     576#crawl_batch_urls:focus {
    572577    outline: none !important;
    573578    box-shadow: none !important;
     
    582587}
    583588
     589/* Batch URLs label - same style as single URL */
     590#crawl_batch_label {
     591    display: inline-flex;
     592    align-items: center;
     593    cursor: pointer;
     594    user-select: none;
     595    font-size: 14px;
     596    color: #495057;
     597    padding: 7.5px 12px;
     598    background: #ffffff;
     599    border-radius: 2px;
     600    border: 1px solid #376443;
     601    transition: all 0.2s ease;
     602    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     603    position: relative;
     604    margin-top: -8.5px;
     605}
     606
     607#crawl_batch_label:hover {
     608    background: #f8f9fa;
     609    border-color: #198754;
     610    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.1);
     611}
     612
     613#crawl_batch_label:has(#crawl_batch_urls:checked) {
     614    background: #d1e7dd;
     615    border-color: #198754;
     616}
     617
     618#crawl_batch_urls {
     619    width: 18px;
     620    height: 18px;
     621    margin: 0 8px 0 0;
     622    cursor: pointer;
     623    border-color: #198754;
     624    flex-shrink: 0;
     625    background: #fff;
     626}
     627
     628#crawl_batch_urls:focus {
     629    outline: none !important;
     630    box-shadow: none !important;
     631}
     632
     633#crawl_batch_label span {
     634    font-weight: 500;
     635    color: #495057;
     636    white-space: nowrap;
     637}
     638
     639#crawl_batch_urls:checked + span {
     640    color: #0f5132;
     641    font-weight: 600;
     642}
     643
     644/* Batch links textarea */
     645#batch_links_section {
     646    margin-top: 8px;
     647}
     648
     649#batch_links_input {
     650    width: 100%;
     651    font-size: 12px;
     652    padding: 8px;
     653    border: 1px solid #8c8f94;
     654    border-radius: 4px;
     655    box-sizing: border-box;
     656    resize: vertical;
     657    font-family: monospace;
     658    line-height: 1.5;
     659}
     660
     661#batch_links_input:focus {
     662    border-color: #2271b1;
     663    box-shadow: 0 0 0 1px #2271b1;
     664    outline: none;
     665}
     666
     667/* Skipped URL style */
     668#crawler_container div.text-muted-skip {
     669    color: #6c757d !important;
     670    font-size: 14px;
     671    opacity: 0.8;
     672}
     673
     674/* Responsive */
     675@media (max-width: 768px) {
     676    #crawl_batch_label {
     677        display: flex;
     678        margin-left: 0;
     679        margin-top: 10px;
     680        width: 100%;
     681        justify-content: flex-start;
     682    }
     683}
     684
    584685body[class*="branch-7"] #crawl_single_url:checked::before,
    585686body[class*="branch-8"] #crawl_single_url:checked::before,
    586 body[class*="branch-9"] #crawl_single_url:checked::before {
     687body[class*="branch-9"] #crawl_single_url:checked::before,
     688body[class*="branch-7"] #crawl_batch_urls:checked::before,
     689body[class*="branch-8"] #crawl_batch_urls:checked::before,
     690body[class*="branch-9"] #crawl_batch_urls:checked::before {
    587691    content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E) / '';
    588692}
Note: See TracChangeset for help on using the changeset viewer.