|
| 1 | +.App { |
| 2 | + text-align: center; |
| 3 | +} |
| 4 | + |
| 5 | +.App-logo { |
| 6 | + animation: App-logo-spin infinite 20s linear; |
| 7 | + height: 80px; |
| 8 | +} |
| 9 | + |
| 10 | +.App-header { |
| 11 | + background-color: #222; |
| 12 | + height: 150px; |
| 13 | + padding: 20px; |
| 14 | + color: white; |
| 15 | +} |
| 16 | + |
| 17 | +.App-title { |
| 18 | + font-size: 1.5em; |
| 19 | +} |
| 20 | + |
| 21 | +.App-intro { |
| 22 | + font-size: large; |
| 23 | +} |
| 24 | + |
| 25 | +@keyframes App-logo-spin { |
| 26 | + from { transform: rotate(0deg); } |
| 27 | + to { transform: rotate(360deg); } |
| 28 | +} |
| 29 | + |
| 30 | +.react-modal { |
| 31 | + position: absolute; |
| 32 | + top: 50%; |
| 33 | + left: 50%; |
| 34 | + transform: translate(-50%, -50%); |
| 35 | + z-index: 999999; /* Sit on top */ |
| 36 | + width: 100%; /* Full width */ |
| 37 | + height: 100%; /* Full height */ |
| 38 | + overflow: auto; /* Enable scroll if needed */ |
| 39 | + background-color: rgb(0,0,0); /* Fallback color */ |
| 40 | + background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ |
| 41 | +} |
| 42 | + |
| 43 | +/* Modal Content/Box */ |
| 44 | +.react-modal-content { |
| 45 | + background-color: #fefefe; |
| 46 | + margin: 15% auto; /* 15% from the top and centered */ |
| 47 | + padding: 20px; |
| 48 | + border: 1px solid #888; |
| 49 | + top: 50%; |
| 50 | + left: 50%; |
| 51 | + width: 80%; /* Could be more or less, depending on screen size */ |
| 52 | +} |
| 53 | + |
| 54 | +.close:hover, |
| 55 | +.close:focus { |
| 56 | + color: black; |
| 57 | + text-decoration: none; |
| 58 | + cursor: pointer; |
| 59 | +} |
| 60 | + |
| 61 | +.close { |
| 62 | + background: #606061; |
| 63 | + color: #FFFFFF; |
| 64 | + line-height: 25px; |
| 65 | + position: relative; |
| 66 | + left:100%; |
| 67 | + text-align: center; |
| 68 | + top: -50px; |
| 69 | + width: 24px; |
| 70 | + text-decoration: none; |
| 71 | + font-weight: bold; |
| 72 | + -webkit-border-radius: 12px; |
| 73 | + -moz-border-radius: 12px; |
| 74 | + border-radius: 12px; |
| 75 | + -moz-box-shadow: 1px 1px 3px #000; |
| 76 | + -webkit-box-shadow: 1px 1px 3px #000; |
| 77 | + box-shadow: 1px 1px 3px #000; |
| 78 | + cursor: pointer; |
| 79 | +} |
| 80 | +.close:hover { |
| 81 | + background: #00d9ff; |
| 82 | +} |
| 83 | + |
| 84 | +.react-contextmenu { |
| 85 | + background-color: #fff; |
| 86 | + background-clip: padding-box; |
| 87 | + border: 1px solid rgba(0,0,0,.15); |
| 88 | + border-radius: .25rem; |
| 89 | + color: #373a3c; |
| 90 | + font-size: 16px; |
| 91 | + margin: 2px 0 0; |
| 92 | + min-width: 160px; |
| 93 | + outline: none; |
| 94 | + opacity: 0; |
| 95 | + padding: 5px 0; |
| 96 | + pointer-events: none; |
| 97 | + text-align: left; |
| 98 | + transition: opacity 250ms ease !important; |
| 99 | +} |
| 100 | + |
| 101 | +.react-contextmenu.react-contextmenu--visible { |
| 102 | + opacity: 1; |
| 103 | + pointer-events: auto; |
| 104 | + z-index: 9999999; |
| 105 | +} |
| 106 | + |
| 107 | +.react-contextmenu-item { |
| 108 | + background: 0 0; |
| 109 | + border: 0; |
| 110 | + color: #373a3c; |
| 111 | + cursor: pointer; |
| 112 | + font-weight: 400; |
| 113 | + line-height: 1.5; |
| 114 | + padding: 3px 20px; |
| 115 | + text-align: inherit; |
| 116 | + white-space: nowrap; |
| 117 | +} |
| 118 | + |
| 119 | +.react-contextmenu-item.react-contextmenu-item--active, |
| 120 | +.react-contextmenu-item.react-contextmenu-item--selected { |
| 121 | + color: #fff; |
| 122 | + background-color: #20a0ff; |
| 123 | + border-color: #20a0ff; |
| 124 | + text-decoration: none; |
| 125 | +} |
| 126 | + |
| 127 | +.react-contextmenu-item.react-contextmenu-item--disabled, |
| 128 | +.react-contextmenu-item.react-contextmenu-item--disabled:hover { |
| 129 | + background-color: transparent; |
| 130 | + border-color: rgba(0,0,0,.15); |
| 131 | + color: #878a8c; |
| 132 | +} |
| 133 | + |
| 134 | +.react-contextmenu-item--divider { |
| 135 | + border-bottom: 1px solid rgba(0,0,0,.15); |
| 136 | + cursor: inherit; |
| 137 | + margin-bottom: 3px; |
| 138 | + padding: 2px 0; |
| 139 | +} |
| 140 | +.react-contextmenu-item--divider:hover { |
| 141 | + background-color: transparent; |
| 142 | + border-color: rgba(0,0,0,.15); |
| 143 | +} |
| 144 | + |
| 145 | +.react-contextmenu-item.react-contextmenu-submenu { |
| 146 | + padding: 0; |
| 147 | +} |
| 148 | + |
| 149 | +.react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item { |
| 150 | +} |
| 151 | + |
| 152 | +.react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item:after { |
| 153 | + content: "▶"; |
| 154 | + display: inline-block; |
| 155 | + position: absolute; |
| 156 | + right: 7px; |
| 157 | +} |
| 158 | + |
| 159 | +.react-contextmenu-wrapper { |
| 160 | + height:100%; |
| 161 | +} |
0 commit comments