123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- .texture-comparison-visualizer {
- padding: 16px;
- background: white;
- border-radius: 8px;
-
- .visualizer-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 16px;
-
- h6 {
- margin: 0;
- font-size: 15px;
- font-weight: 600;
- color: #333;
- }
-
- .material-count {
- font-size: 12px;
- color: #666;
- background: #f0f0f0;
- padding: 4px 10px;
- border-radius: 12px;
- }
- }
-
- .empty-state {
- padding: 40px 20px;
- text-align: center;
- color: #999;
- font-size: 14px;
- }
-
- .texture-cards-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
- gap: 16px;
- margin-bottom: 16px;
-
- .texture-card {
- background: #f8f9fa;
- border-radius: 8px;
- padding: 16px;
- border: 1px solid #e0e0e0;
- transition: all 0.3s ease;
-
- &:hover {
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
- transform: translateY(-2px);
- }
-
- .texture-thumbnail {
- width: 100%;
- height: 120px;
- border-radius: 6px;
- overflow: hidden;
- margin-bottom: 12px;
- background: #e0e0e0;
-
- img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
-
- .texture-info {
- margin-bottom: 16px;
-
- .material-name {
- margin: 0 0 4px 0;
- font-size: 14px;
- font-weight: 600;
- color: #333;
- }
-
- .material-type {
- display: inline-block;
- font-size: 11px;
- color: #666;
- background: white;
- padding: 2px 8px;
- border-radius: 4px;
- margin-right: 6px;
- }
-
- .characteristic-badge {
- display: inline-block;
- font-size: 11px;
- font-weight: 600;
- padding: 2px 8px;
- border-radius: 4px;
- }
- }
-
- .radar-chart-container {
- display: flex;
- justify-content: center;
- margin-bottom: 16px;
-
- svg {
- filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
-
- .radar-label {
- fill: #666;
- font-size: 8px;
- }
- }
- }
-
- .property-bars {
- display: flex;
- flex-direction: column;
- gap: 10px;
-
- .property-item {
- .property-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 4px;
-
- .property-name {
- display: flex;
- align-items: center;
- gap: 4px;
- font-size: 11px;
- color: #666;
-
- svg {
- width: 12px;
- height: 12px;
- stroke: #999;
- }
- }
-
- .property-value {
- font-size: 11px;
- font-weight: 600;
- color: #333;
- }
- }
-
- .property-bar-container {
- width: 100%;
- height: 6px;
- background: #e0e0e0;
- border-radius: 3px;
- overflow: hidden;
-
- .property-bar-fill {
- height: 100%;
- transition: width 0.3s ease;
- border-radius: 3px;
- }
- }
- }
- }
- }
- }
-
- .comparison-summary {
- padding: 16px;
- background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
- border-radius: 8px;
- border: 1px solid #d0e7ff;
-
- h6 {
- margin: 0 0 12px 0;
- font-size: 14px;
- font-weight: 600;
- color: #007AFF;
- }
-
- .summary-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
- gap: 12px;
-
- .summary-item {
- display: flex;
- flex-direction: column;
- gap: 4px;
-
- .label {
- font-size: 11px;
- color: #666;
- }
-
- .value {
- font-size: 13px;
- font-weight: 600;
- color: #333;
- }
- }
- }
- }
- }
|