summaryrefslogtreecommitdiff
path: root/addons/product_matrix/static/src/scss
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/product_matrix/static/src/scss
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/product_matrix/static/src/scss')
-rw-r--r--addons/product_matrix/static/src/scss/product_matrix.scss61
1 files changed, 61 insertions, 0 deletions
diff --git a/addons/product_matrix/static/src/scss/product_matrix.scss b/addons/product_matrix/static/src/scss/product_matrix.scss
new file mode 100644
index 00000000..ead8137d
--- /dev/null
+++ b/addons/product_matrix/static/src/scss/product_matrix.scss
@@ -0,0 +1,61 @@
+.o_web_client .o_matrix_input_table {
+ cursor: default;
+
+ table {
+ margin-bottom: 0;
+ table-layout: fixed;
+ min-width: 100%;
+ width: auto;
+ max-width: none;
+ }
+ th, td {
+ border: 0 !important;
+ vertical-align: middle;
+ width: 5em;
+ }
+ .o_matrix_title_header {
+ width: 10em;
+ }
+ thead {
+ color: $o-main-text-color;
+ background-color: $o-brand-lightsecondary;
+ th {
+ text-align: center;
+ white-space: pre-line;
+ }
+ }
+ tbody {
+ background-color: $o-view-background-color;
+ text-align: right;
+ tr {
+ border-top: 1px solid $o-form-lightsecondary;
+ border-bottom: 1px solid $o-form-lightsecondary;
+ }
+ .o_matrix_input {
+ text-align: right;
+ border: none;
+ }
+ }
+ .o_matrix_text_muted{
+ color: lighten($o-main-text-color, 15%);
+ font-style: italic;
+ }
+
+ // ensure white background completely surrounds nocontent bubble
+ .o_matrix_nocontent_container {
+ overflow: auto;
+
+ .oe_view_nocontent_img_link {
+ padding:10px;
+ }
+ }
+}
+
+.o_product_variant_matrix {
+ .form-control {
+ &:focus {
+ box-shadow: none;
+ border: 1px solid $gray-400;
+ }
+ }
+}