main.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /* readonly mode */
  2. .hackpoint.readonly .resource-part .btn-add-part,
  3. .hackpoint.readonly .resource-part .btn-save-part,
  4. .hackpoint.readonly .resource-part .btn-delete{
  5. display:none;
  6. }
  7. /**/
  8. #parts{
  9. margin:0;
  10. padding:0;
  11. }
  12. #parts li{
  13. width:15%;
  14. min-width: 250px;
  15. display: inline-block;
  16. padding:0px;
  17. margin:5px 5px 5px 0;
  18. transition: transform 0.2s ease-in-out;
  19. }
  20. #parts li .part{
  21. background-color: #2b2f35;
  22. border-radius: 3px;
  23. padding: 15px;
  24. color:#cecece;
  25. min-height: 250px;
  26. position: relative;
  27. }
  28. #parts li.edition .part{
  29. opacity:0.5;
  30. }
  31. #sketch-workspace .part .part-image{
  32. border:2px dashed #3e4750;
  33. height:200px;
  34. background: url(../img/default-part.png) center center no-repeat;
  35. text-align: center;
  36. text-transform: uppercase;
  37. font-weight: bold;
  38. color:#5e6671;
  39. margin-top:10px;
  40. }
  41. #parts li .part .btn-delete{
  42. color:#cecece;
  43. position: absolute;
  44. bottom: 0;
  45. right: 0;
  46. opacity:0.4;
  47. transition:all 0.2s ease-in-out;
  48. }
  49. #parts li .part .btn-delete:hover{
  50. opacity:0.9;
  51. }
  52. #parts li .part .price{
  53. font-weight: bold;
  54. }
  55. #parts li .part .link{
  56. color:#cecece;
  57. position: absolute;
  58. bottom: 0;
  59. left: 0;
  60. padding:5px 10px;
  61. opacity:0.4;
  62. transition:all 0.2s ease-in-out;
  63. }
  64. #parts li .part .brand{
  65. font-size: 10px;
  66. float:right;
  67. margin-top: 5px;
  68. color:#4c7cad;
  69. }
  70. #parts li .part .link:hover{
  71. opacity:0.9;
  72. transform: rotate(180deg);
  73. }
  74. .part-list .picture{
  75. width: 150px;
  76. height: 150px;
  77. border-radius: 3px;
  78. }