main.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. #sketch-workspace .part .part-image{
  29. border:2px dashed #3e4750;
  30. height:200px;
  31. background: url(../img/default-part.png) center center no-repeat;
  32. text-align: center;
  33. text-transform: uppercase;
  34. font-weight: bold;
  35. color:#5e6671;
  36. margin-top:10px;
  37. }
  38. #parts li .part .btn-delete{
  39. color:#cecece;
  40. position: absolute;
  41. bottom: 0;
  42. right: 0;
  43. opacity:0.4;
  44. transition:all 0.2s ease-in-out;
  45. }
  46. #parts li .part .btn-delete:hover{
  47. opacity:0.9;
  48. }
  49. #parts li .part .price{
  50. font-weight: bold;
  51. }
  52. #parts li .part .link{
  53. color:#cecece;
  54. position: absolute;
  55. bottom: 0;
  56. left: 0;
  57. padding:5px 10px;
  58. opacity:0.4;
  59. transition:all 0.2s ease-in-out;
  60. }
  61. #parts li .part .brand{
  62. font-size: 10px;
  63. float:right;
  64. margin-top: 5px;
  65. color:#4c7cad;
  66. }
  67. #parts li .part .link:hover{
  68. opacity:0.9;
  69. transform: rotate(180deg);
  70. }
  71. .part-list .picture{
  72. width: 150px;
  73. height: 150px;
  74. border-radius: 3px;
  75. }