@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
body {
    font-family: "Noto Mono", monospace;
}

# Indicator details table styles (scoped)
#stock_show_details table {
    table-layout: fixed;
    text-align: right;
}

th {
    font-size: 86%;
}

#stock_show_details tbody {
   height: 45em;
   overflow: scroll;
   display: table;
}

/* Compact, left-aligned tables (override global right-align for indicator tables) */
table.bulk-table th,
table.bulk-table td {
  text-align: left;
  padding: 0.25rem 0.5rem; /* ~py-1 px-2 */
}

/* Ensure normal layout for compact tables */
table.bulk-table {
  table-layout: auto;
}

#stock_show_details td.days {
  color: darkgrey;
}

#stock_show_details td.intra {
  font-style: italic;
}
