diff --git a/res/flags/AD.png b/res/flags/AD.png deleted file mode 100644 index d5d59645..00000000 Binary files a/res/flags/AD.png and /dev/null differ diff --git a/res/flags/AE.png b/res/flags/AE.png deleted file mode 100644 index 05c7418a..00000000 Binary files a/res/flags/AE.png and /dev/null differ diff --git a/res/flags/AF.png b/res/flags/AF.png deleted file mode 100644 index bc7cef09..00000000 Binary files a/res/flags/AF.png and /dev/null differ diff --git a/res/flags/AG.png b/res/flags/AG.png deleted file mode 100644 index d48facad..00000000 Binary files a/res/flags/AG.png and /dev/null differ diff --git a/res/flags/AI.png b/res/flags/AI.png deleted file mode 100644 index 8fd27cd3..00000000 Binary files a/res/flags/AI.png and /dev/null differ diff --git a/res/flags/AL.png b/res/flags/AL.png deleted file mode 100644 index 883835ff..00000000 Binary files a/res/flags/AL.png and /dev/null differ diff --git a/res/flags/AM.png b/res/flags/AM.png deleted file mode 100644 index b1bb36b9..00000000 Binary files a/res/flags/AM.png and /dev/null differ diff --git a/res/flags/AO.png b/res/flags/AO.png deleted file mode 100644 index ae68b12c..00000000 Binary files a/res/flags/AO.png and /dev/null differ diff --git a/res/flags/AQ.png b/res/flags/AQ.png deleted file mode 100644 index 146e9c0a..00000000 Binary files a/res/flags/AQ.png and /dev/null differ diff --git a/res/flags/AR.png b/res/flags/AR.png deleted file mode 100644 index 8142adfc..00000000 Binary files a/res/flags/AR.png and /dev/null differ diff --git a/res/flags/AS.png b/res/flags/AS.png deleted file mode 100644 index cc5bf30d..00000000 Binary files a/res/flags/AS.png and /dev/null differ diff --git a/res/flags/AT.png b/res/flags/AT.png deleted file mode 100644 index e32414bd..00000000 Binary files a/res/flags/AT.png and /dev/null differ diff --git a/res/flags/AU.png b/res/flags/AU.png deleted file mode 100644 index 8d1e1437..00000000 Binary files a/res/flags/AU.png and /dev/null differ diff --git a/res/flags/AW.png b/res/flags/AW.png deleted file mode 100644 index 6ec17884..00000000 Binary files a/res/flags/AW.png and /dev/null differ diff --git a/res/flags/AX.png b/res/flags/AX.png deleted file mode 100644 index ba269c04..00000000 Binary files a/res/flags/AX.png and /dev/null differ diff --git a/res/flags/AZ.png b/res/flags/AZ.png deleted file mode 100644 index 2bf3c746..00000000 Binary files a/res/flags/AZ.png and /dev/null differ diff --git a/res/flags/BA.png b/res/flags/BA.png deleted file mode 100644 index 3e3ec3fc..00000000 Binary files a/res/flags/BA.png and /dev/null differ diff --git a/res/flags/BB.png b/res/flags/BB.png deleted file mode 100644 index 694050ca..00000000 Binary files a/res/flags/BB.png and /dev/null differ diff --git a/res/flags/BD.png b/res/flags/BD.png deleted file mode 100644 index 6de2cde8..00000000 Binary files a/res/flags/BD.png and /dev/null differ diff --git a/res/flags/BE.png b/res/flags/BE.png deleted file mode 100644 index 742ba923..00000000 Binary files a/res/flags/BE.png and /dev/null differ diff --git a/res/flags/BF.png b/res/flags/BF.png deleted file mode 100644 index 17f9f67d..00000000 Binary files a/res/flags/BF.png and /dev/null differ diff --git a/res/flags/BG.png b/res/flags/BG.png deleted file mode 100644 index b01d3ff5..00000000 Binary files a/res/flags/BG.png and /dev/null differ diff --git a/res/flags/BH.png b/res/flags/BH.png deleted file mode 100644 index d0f82e82..00000000 Binary files a/res/flags/BH.png and /dev/null differ diff --git a/res/flags/BI.png b/res/flags/BI.png deleted file mode 100644 index 21865ac7..00000000 Binary files a/res/flags/BI.png and /dev/null differ diff --git a/res/flags/BJ.png b/res/flags/BJ.png deleted file mode 100644 index a7c60914..00000000 Binary files a/res/flags/BJ.png and /dev/null differ diff --git a/res/flags/BL.png b/res/flags/BL.png deleted file mode 100644 index 6d50a0f5..00000000 Binary files a/res/flags/BL.png and /dev/null differ diff --git a/res/flags/BM.png b/res/flags/BM.png deleted file mode 100644 index 310a25ea..00000000 Binary files a/res/flags/BM.png and /dev/null differ diff --git a/res/flags/BN.png b/res/flags/BN.png deleted file mode 100644 index bc4da8d9..00000000 Binary files a/res/flags/BN.png and /dev/null differ diff --git a/res/flags/BO.png b/res/flags/BO.png deleted file mode 100644 index 144b8d32..00000000 Binary files a/res/flags/BO.png and /dev/null differ diff --git a/res/flags/BQ.png b/res/flags/BQ.png deleted file mode 100644 index 08979437..00000000 Binary files a/res/flags/BQ.png and /dev/null differ diff --git a/res/flags/BR.png b/res/flags/BR.png deleted file mode 100644 index 02784925..00000000 Binary files a/res/flags/BR.png and /dev/null differ diff --git a/res/flags/BS.png b/res/flags/BS.png deleted file mode 100644 index 2b05a8fc..00000000 Binary files a/res/flags/BS.png and /dev/null differ diff --git a/res/flags/BT.png b/res/flags/BT.png deleted file mode 100644 index 1f031df0..00000000 Binary files a/res/flags/BT.png and /dev/null differ diff --git a/res/flags/BV.png b/res/flags/BV.png deleted file mode 100644 index aafb0f17..00000000 Binary files a/res/flags/BV.png and /dev/null differ diff --git a/res/flags/BW.png b/res/flags/BW.png deleted file mode 100644 index 30840167..00000000 Binary files a/res/flags/BW.png and /dev/null differ diff --git a/res/flags/BY.png b/res/flags/BY.png deleted file mode 100644 index ce9de9c9..00000000 Binary files a/res/flags/BY.png and /dev/null differ diff --git a/res/flags/BZ.png b/res/flags/BZ.png deleted file mode 100644 index 33620c3f..00000000 Binary files a/res/flags/BZ.png and /dev/null differ diff --git a/res/flags/CA.png b/res/flags/CA.png deleted file mode 100644 index 4bbf8b11..00000000 Binary files a/res/flags/CA.png and /dev/null differ diff --git a/res/flags/CC.png b/res/flags/CC.png deleted file mode 100644 index fd40fc8a..00000000 Binary files a/res/flags/CC.png and /dev/null differ diff --git a/res/flags/CD.png b/res/flags/CD.png deleted file mode 100644 index 230aacd4..00000000 Binary files a/res/flags/CD.png and /dev/null differ diff --git a/res/flags/CF.png b/res/flags/CF.png deleted file mode 100644 index c58ed4f7..00000000 Binary files a/res/flags/CF.png and /dev/null differ diff --git a/res/flags/CG.png b/res/flags/CG.png deleted file mode 100644 index 6c2441e3..00000000 Binary files a/res/flags/CG.png and /dev/null differ diff --git a/res/flags/CH.png b/res/flags/CH.png deleted file mode 100644 index 9fd87167..00000000 Binary files a/res/flags/CH.png and /dev/null differ diff --git a/res/flags/CI.png b/res/flags/CI.png deleted file mode 100644 index 9741b9b1..00000000 Binary files a/res/flags/CI.png and /dev/null differ diff --git a/res/flags/CK.png b/res/flags/CK.png deleted file mode 100644 index 6cca3596..00000000 Binary files a/res/flags/CK.png and /dev/null differ diff --git a/res/flags/CL.png b/res/flags/CL.png deleted file mode 100644 index 13b993d1..00000000 Binary files a/res/flags/CL.png and /dev/null differ diff --git a/res/flags/CM.png b/res/flags/CM.png deleted file mode 100644 index bca5730f..00000000 Binary files a/res/flags/CM.png and /dev/null differ diff --git a/res/flags/CN.png b/res/flags/CN.png deleted file mode 100644 index e086855c..00000000 Binary files a/res/flags/CN.png and /dev/null differ diff --git a/res/flags/CO.png b/res/flags/CO.png deleted file mode 100644 index 65c0aba4..00000000 Binary files a/res/flags/CO.png and /dev/null differ diff --git a/res/flags/CR.png b/res/flags/CR.png deleted file mode 100644 index b351c67a..00000000 Binary files a/res/flags/CR.png and /dev/null differ diff --git a/res/flags/CU.png b/res/flags/CU.png deleted file mode 100644 index e7a25c60..00000000 Binary files a/res/flags/CU.png and /dev/null differ diff --git a/res/flags/CV.png b/res/flags/CV.png deleted file mode 100644 index f249bbaa..00000000 Binary files a/res/flags/CV.png and /dev/null differ diff --git a/res/flags/CW.png b/res/flags/CW.png deleted file mode 100644 index e02cacd3..00000000 Binary files a/res/flags/CW.png and /dev/null differ diff --git a/res/flags/CX.png b/res/flags/CX.png deleted file mode 100644 index 3ea21422..00000000 Binary files a/res/flags/CX.png and /dev/null differ diff --git a/res/flags/CY.png b/res/flags/CY.png deleted file mode 100644 index 3182f48b..00000000 Binary files a/res/flags/CY.png and /dev/null differ diff --git a/res/flags/CZ.png b/res/flags/CZ.png deleted file mode 100644 index 54623346..00000000 Binary files a/res/flags/CZ.png and /dev/null differ diff --git a/res/flags/DE.png b/res/flags/DE.png deleted file mode 100644 index 93e26916..00000000 Binary files a/res/flags/DE.png and /dev/null differ diff --git a/res/flags/DJ.png b/res/flags/DJ.png deleted file mode 100644 index 243bb739..00000000 Binary files a/res/flags/DJ.png and /dev/null differ diff --git a/res/flags/DK.png b/res/flags/DK.png deleted file mode 100644 index fc74cc39..00000000 Binary files a/res/flags/DK.png and /dev/null differ diff --git a/res/flags/DM.png b/res/flags/DM.png deleted file mode 100644 index c3a0e9d1..00000000 Binary files a/res/flags/DM.png and /dev/null differ diff --git a/res/flags/DO.png b/res/flags/DO.png deleted file mode 100644 index 5c4a004f..00000000 Binary files a/res/flags/DO.png and /dev/null differ diff --git a/res/flags/DZ.png b/res/flags/DZ.png deleted file mode 100644 index 1589d0cc..00000000 Binary files a/res/flags/DZ.png and /dev/null differ diff --git a/res/flags/EC.png b/res/flags/EC.png deleted file mode 100644 index 4c53dead..00000000 Binary files a/res/flags/EC.png and /dev/null differ diff --git a/res/flags/EE.png b/res/flags/EE.png deleted file mode 100644 index 3668de79..00000000 Binary files a/res/flags/EE.png and /dev/null differ diff --git a/res/flags/EG.png b/res/flags/EG.png deleted file mode 100644 index 66ec709d..00000000 Binary files a/res/flags/EG.png and /dev/null differ diff --git a/res/flags/EH.png b/res/flags/EH.png deleted file mode 100644 index 148be93c..00000000 Binary files a/res/flags/EH.png and /dev/null differ diff --git a/res/flags/ER.png b/res/flags/ER.png deleted file mode 100644 index 7cb84415..00000000 Binary files a/res/flags/ER.png and /dev/null differ diff --git a/res/flags/ES.png b/res/flags/ES.png deleted file mode 100644 index aae73b6f..00000000 Binary files a/res/flags/ES.png and /dev/null differ diff --git a/res/flags/ET.png b/res/flags/ET.png deleted file mode 100644 index 7b420f02..00000000 Binary files a/res/flags/ET.png and /dev/null differ diff --git a/res/flags/FI.png b/res/flags/FI.png deleted file mode 100644 index 42f64bf3..00000000 Binary files a/res/flags/FI.png and /dev/null differ diff --git a/res/flags/FJ.png b/res/flags/FJ.png deleted file mode 100644 index cecc683c..00000000 Binary files a/res/flags/FJ.png and /dev/null differ diff --git a/res/flags/FK.png b/res/flags/FK.png deleted file mode 100644 index 6074fea0..00000000 Binary files a/res/flags/FK.png and /dev/null differ diff --git a/res/flags/FM.png b/res/flags/FM.png deleted file mode 100644 index 45fdb664..00000000 Binary files a/res/flags/FM.png and /dev/null differ diff --git a/res/flags/FO.png b/res/flags/FO.png deleted file mode 100644 index d8fd75c6..00000000 Binary files a/res/flags/FO.png and /dev/null differ diff --git a/res/flags/FR.png b/res/flags/FR.png deleted file mode 100644 index 6d50a0f5..00000000 Binary files a/res/flags/FR.png and /dev/null differ diff --git a/res/flags/GA.png b/res/flags/GA.png deleted file mode 100644 index 3808a61f..00000000 Binary files a/res/flags/GA.png and /dev/null differ diff --git a/res/flags/GB.png b/res/flags/GB.png deleted file mode 100644 index 589be700..00000000 Binary files a/res/flags/GB.png and /dev/null differ diff --git a/res/flags/GD.png b/res/flags/GD.png deleted file mode 100644 index babe1e4c..00000000 Binary files a/res/flags/GD.png and /dev/null differ diff --git a/res/flags/GE.png b/res/flags/GE.png deleted file mode 100644 index d34cddec..00000000 Binary files a/res/flags/GE.png and /dev/null differ diff --git a/res/flags/GF.png b/res/flags/GF.png deleted file mode 100644 index 98828a59..00000000 Binary files a/res/flags/GF.png and /dev/null differ diff --git a/res/flags/GG.png b/res/flags/GG.png deleted file mode 100644 index aec8969b..00000000 Binary files a/res/flags/GG.png and /dev/null differ diff --git a/res/flags/GH.png b/res/flags/GH.png deleted file mode 100644 index 70b1a623..00000000 Binary files a/res/flags/GH.png and /dev/null differ diff --git a/res/flags/GI.png b/res/flags/GI.png deleted file mode 100644 index 9aa58327..00000000 Binary files a/res/flags/GI.png and /dev/null differ diff --git a/res/flags/GL.png b/res/flags/GL.png deleted file mode 100644 index cf1645c2..00000000 Binary files a/res/flags/GL.png and /dev/null differ diff --git a/res/flags/GM.png b/res/flags/GM.png deleted file mode 100644 index ec374fb3..00000000 Binary files a/res/flags/GM.png and /dev/null differ diff --git a/res/flags/GN.png b/res/flags/GN.png deleted file mode 100644 index 46874b4d..00000000 Binary files a/res/flags/GN.png and /dev/null differ diff --git a/res/flags/GP.png b/res/flags/GP.png deleted file mode 100644 index 81b7abdf..00000000 Binary files a/res/flags/GP.png and /dev/null differ diff --git a/res/flags/GQ.png b/res/flags/GQ.png deleted file mode 100644 index 7fd1015e..00000000 Binary files a/res/flags/GQ.png and /dev/null differ diff --git a/res/flags/GR.png b/res/flags/GR.png deleted file mode 100644 index 101de51e..00000000 Binary files a/res/flags/GR.png and /dev/null differ diff --git a/res/flags/GS.png b/res/flags/GS.png deleted file mode 100644 index 772c2cbe..00000000 Binary files a/res/flags/GS.png and /dev/null differ diff --git a/res/flags/GT.png b/res/flags/GT.png deleted file mode 100644 index d5bd8c1e..00000000 Binary files a/res/flags/GT.png and /dev/null differ diff --git a/res/flags/GU.png b/res/flags/GU.png deleted file mode 100644 index 8923085d..00000000 Binary files a/res/flags/GU.png and /dev/null differ diff --git a/res/flags/GW.png b/res/flags/GW.png deleted file mode 100644 index 20c268ce..00000000 Binary files a/res/flags/GW.png and /dev/null differ diff --git a/res/flags/GY.png b/res/flags/GY.png deleted file mode 100644 index 86f56635..00000000 Binary files a/res/flags/GY.png and /dev/null differ diff --git a/res/flags/HK.png b/res/flags/HK.png deleted file mode 100644 index 907dc596..00000000 Binary files a/res/flags/HK.png and /dev/null differ diff --git a/res/flags/HM.png b/res/flags/HM.png deleted file mode 100644 index 8d1e1437..00000000 Binary files a/res/flags/HM.png and /dev/null differ diff --git a/res/flags/HN.png b/res/flags/HN.png deleted file mode 100644 index 4cf8c311..00000000 Binary files a/res/flags/HN.png and /dev/null differ diff --git a/res/flags/HR.png b/res/flags/HR.png deleted file mode 100644 index 413ceb15..00000000 Binary files a/res/flags/HR.png and /dev/null differ diff --git a/res/flags/HT.png b/res/flags/HT.png deleted file mode 100644 index 097abeb4..00000000 Binary files a/res/flags/HT.png and /dev/null differ diff --git a/res/flags/HU.png b/res/flags/HU.png deleted file mode 100644 index 23499bf6..00000000 Binary files a/res/flags/HU.png and /dev/null differ diff --git a/res/flags/ID.png b/res/flags/ID.png deleted file mode 100644 index 80200657..00000000 Binary files a/res/flags/ID.png and /dev/null differ diff --git a/res/flags/IE.png b/res/flags/IE.png deleted file mode 100644 index 63f22201..00000000 Binary files a/res/flags/IE.png and /dev/null differ diff --git a/res/flags/IL.png b/res/flags/IL.png deleted file mode 100644 index 02688263..00000000 Binary files a/res/flags/IL.png and /dev/null differ diff --git a/res/flags/IM.png b/res/flags/IM.png deleted file mode 100644 index c777acc4..00000000 Binary files a/res/flags/IM.png and /dev/null differ diff --git a/res/flags/IN.png b/res/flags/IN.png deleted file mode 100644 index 85fa9bfe..00000000 Binary files a/res/flags/IN.png and /dev/null differ diff --git a/res/flags/IO.png b/res/flags/IO.png deleted file mode 100644 index 1675d8e7..00000000 Binary files a/res/flags/IO.png and /dev/null differ diff --git a/res/flags/IQ.png b/res/flags/IQ.png deleted file mode 100644 index f2c21f72..00000000 Binary files a/res/flags/IQ.png and /dev/null differ diff --git a/res/flags/IR.png b/res/flags/IR.png deleted file mode 100644 index 0b8e6750..00000000 Binary files a/res/flags/IR.png and /dev/null differ diff --git a/res/flags/IS.png b/res/flags/IS.png deleted file mode 100644 index 5ee3e63c..00000000 Binary files a/res/flags/IS.png and /dev/null differ diff --git a/res/flags/IT.png b/res/flags/IT.png deleted file mode 100644 index 53b967be..00000000 Binary files a/res/flags/IT.png and /dev/null differ diff --git a/res/flags/JE.png b/res/flags/JE.png deleted file mode 100644 index a1437aba..00000000 Binary files a/res/flags/JE.png and /dev/null differ diff --git a/res/flags/JM.png b/res/flags/JM.png deleted file mode 100644 index 0d462fa3..00000000 Binary files a/res/flags/JM.png and /dev/null differ diff --git a/res/flags/JO.png b/res/flags/JO.png deleted file mode 100644 index 8934db7e..00000000 Binary files a/res/flags/JO.png and /dev/null differ diff --git a/res/flags/JP.png b/res/flags/JP.png deleted file mode 100644 index 6f92d523..00000000 Binary files a/res/flags/JP.png and /dev/null differ diff --git a/res/flags/KE.png b/res/flags/KE.png deleted file mode 100644 index 866b3f15..00000000 Binary files a/res/flags/KE.png and /dev/null differ diff --git a/res/flags/KG.png b/res/flags/KG.png deleted file mode 100644 index 56b433c7..00000000 Binary files a/res/flags/KG.png and /dev/null differ diff --git a/res/flags/KH.png b/res/flags/KH.png deleted file mode 100644 index e1ddd5f8..00000000 Binary files a/res/flags/KH.png and /dev/null differ diff --git a/res/flags/KI.png b/res/flags/KI.png deleted file mode 100644 index 8b7c54bc..00000000 Binary files a/res/flags/KI.png and /dev/null differ diff --git a/res/flags/KM.png b/res/flags/KM.png deleted file mode 100644 index 227a3b33..00000000 Binary files a/res/flags/KM.png and /dev/null differ diff --git a/res/flags/KN.png b/res/flags/KN.png deleted file mode 100644 index bc6189be..00000000 Binary files a/res/flags/KN.png and /dev/null differ diff --git a/res/flags/KP.png b/res/flags/KP.png deleted file mode 100644 index c92248b9..00000000 Binary files a/res/flags/KP.png and /dev/null differ diff --git a/res/flags/KR.png b/res/flags/KR.png deleted file mode 100644 index ab1cb949..00000000 Binary files a/res/flags/KR.png and /dev/null differ diff --git a/res/flags/KW.png b/res/flags/KW.png deleted file mode 100644 index 0b41c7a5..00000000 Binary files a/res/flags/KW.png and /dev/null differ diff --git a/res/flags/KY.png b/res/flags/KY.png deleted file mode 100644 index 7af5290d..00000000 Binary files a/res/flags/KY.png and /dev/null differ diff --git a/res/flags/KZ.png b/res/flags/KZ.png deleted file mode 100644 index e10a1255..00000000 Binary files a/res/flags/KZ.png and /dev/null differ diff --git a/res/flags/LA.png b/res/flags/LA.png deleted file mode 100644 index 6ad67d42..00000000 Binary files a/res/flags/LA.png and /dev/null differ diff --git a/res/flags/LB.png b/res/flags/LB.png deleted file mode 100644 index 865df57a..00000000 Binary files a/res/flags/LB.png and /dev/null differ diff --git a/res/flags/LC.png b/res/flags/LC.png deleted file mode 100644 index e83a2d08..00000000 Binary files a/res/flags/LC.png and /dev/null differ diff --git a/res/flags/LI.png b/res/flags/LI.png deleted file mode 100644 index 57034d36..00000000 Binary files a/res/flags/LI.png and /dev/null differ diff --git a/res/flags/LK.png b/res/flags/LK.png deleted file mode 100644 index 6e7ad582..00000000 Binary files a/res/flags/LK.png and /dev/null differ diff --git a/res/flags/LR.png b/res/flags/LR.png deleted file mode 100644 index 46c3b84a..00000000 Binary files a/res/flags/LR.png and /dev/null differ diff --git a/res/flags/LS.png b/res/flags/LS.png deleted file mode 100644 index 79b505d4..00000000 Binary files a/res/flags/LS.png and /dev/null differ diff --git a/res/flags/LT.png b/res/flags/LT.png deleted file mode 100644 index 7740cdc0..00000000 Binary files a/res/flags/LT.png and /dev/null differ diff --git a/res/flags/LU.png b/res/flags/LU.png deleted file mode 100644 index 8f383e67..00000000 Binary files a/res/flags/LU.png and /dev/null differ diff --git a/res/flags/LV.png b/res/flags/LV.png deleted file mode 100644 index a0f36d89..00000000 Binary files a/res/flags/LV.png and /dev/null differ diff --git a/res/flags/LY.png b/res/flags/LY.png deleted file mode 100644 index 2884c4c0..00000000 Binary files a/res/flags/LY.png and /dev/null differ diff --git a/res/flags/MA.png b/res/flags/MA.png deleted file mode 100644 index 1f76cfc9..00000000 Binary files a/res/flags/MA.png and /dev/null differ diff --git a/res/flags/MC.png b/res/flags/MC.png deleted file mode 100644 index 06fc2ad1..00000000 Binary files a/res/flags/MC.png and /dev/null differ diff --git a/res/flags/MD.png b/res/flags/MD.png deleted file mode 100644 index 8e54c2b8..00000000 Binary files a/res/flags/MD.png and /dev/null differ diff --git a/res/flags/ME.png b/res/flags/ME.png deleted file mode 100644 index 97424d4e..00000000 Binary files a/res/flags/ME.png and /dev/null differ diff --git a/res/flags/MF.png b/res/flags/MF.png deleted file mode 100644 index 6d50a0f5..00000000 Binary files a/res/flags/MF.png and /dev/null differ diff --git a/res/flags/MG.png b/res/flags/MG.png deleted file mode 100644 index 28bfccc9..00000000 Binary files a/res/flags/MG.png and /dev/null differ diff --git a/res/flags/MH.png b/res/flags/MH.png deleted file mode 100644 index e482a659..00000000 Binary files a/res/flags/MH.png and /dev/null differ diff --git a/res/flags/MK.png b/res/flags/MK.png deleted file mode 100644 index 84e2e65e..00000000 Binary files a/res/flags/MK.png and /dev/null differ diff --git a/res/flags/ML.png b/res/flags/ML.png deleted file mode 100644 index 38fec347..00000000 Binary files a/res/flags/ML.png and /dev/null differ diff --git a/res/flags/MM.png b/res/flags/MM.png deleted file mode 100644 index 70a03c6b..00000000 Binary files a/res/flags/MM.png and /dev/null differ diff --git a/res/flags/MN.png b/res/flags/MN.png deleted file mode 100644 index 1e1bbe60..00000000 Binary files a/res/flags/MN.png and /dev/null differ diff --git a/res/flags/MO.png b/res/flags/MO.png deleted file mode 100644 index 3833d683..00000000 Binary files a/res/flags/MO.png and /dev/null differ diff --git a/res/flags/MP.png b/res/flags/MP.png deleted file mode 100644 index 63119096..00000000 Binary files a/res/flags/MP.png and /dev/null differ diff --git a/res/flags/MQ.png b/res/flags/MQ.png deleted file mode 100644 index 9cab441a..00000000 Binary files a/res/flags/MQ.png and /dev/null differ diff --git a/res/flags/MR.png b/res/flags/MR.png deleted file mode 100644 index c144de17..00000000 Binary files a/res/flags/MR.png and /dev/null differ diff --git a/res/flags/MS.png b/res/flags/MS.png deleted file mode 100644 index 12217070..00000000 Binary files a/res/flags/MS.png and /dev/null differ diff --git a/res/flags/MT.png b/res/flags/MT.png deleted file mode 100644 index 7963aa61..00000000 Binary files a/res/flags/MT.png and /dev/null differ diff --git a/res/flags/MU.png b/res/flags/MU.png deleted file mode 100644 index d5d4d400..00000000 Binary files a/res/flags/MU.png and /dev/null differ diff --git a/res/flags/MV.png b/res/flags/MV.png deleted file mode 100644 index 0f2ecb43..00000000 Binary files a/res/flags/MV.png and /dev/null differ diff --git a/res/flags/MW.png b/res/flags/MW.png deleted file mode 100644 index d0a5d24f..00000000 Binary files a/res/flags/MW.png and /dev/null differ diff --git a/res/flags/MX.png b/res/flags/MX.png deleted file mode 100644 index 096cb111..00000000 Binary files a/res/flags/MX.png and /dev/null differ diff --git a/res/flags/MY.png b/res/flags/MY.png deleted file mode 100644 index 17f18ac5..00000000 Binary files a/res/flags/MY.png and /dev/null differ diff --git a/res/flags/MZ.png b/res/flags/MZ.png deleted file mode 100644 index 66be6563..00000000 Binary files a/res/flags/MZ.png and /dev/null differ diff --git a/res/flags/NA.png b/res/flags/NA.png deleted file mode 100644 index 7ecfd317..00000000 Binary files a/res/flags/NA.png and /dev/null differ diff --git a/res/flags/NC.png b/res/flags/NC.png deleted file mode 100644 index 11126ade..00000000 Binary files a/res/flags/NC.png and /dev/null differ diff --git a/res/flags/NE.png b/res/flags/NE.png deleted file mode 100644 index d584fa84..00000000 Binary files a/res/flags/NE.png and /dev/null differ diff --git a/res/flags/NF.png b/res/flags/NF.png deleted file mode 100644 index c0540425..00000000 Binary files a/res/flags/NF.png and /dev/null differ diff --git a/res/flags/NG.png b/res/flags/NG.png deleted file mode 100644 index 73aee15b..00000000 Binary files a/res/flags/NG.png and /dev/null differ diff --git a/res/flags/NI.png b/res/flags/NI.png deleted file mode 100644 index fd044933..00000000 Binary files a/res/flags/NI.png and /dev/null differ diff --git a/res/flags/NL.png b/res/flags/NL.png deleted file mode 100644 index 08979437..00000000 Binary files a/res/flags/NL.png and /dev/null differ diff --git a/res/flags/NO.png b/res/flags/NO.png deleted file mode 100644 index aafb0f17..00000000 Binary files a/res/flags/NO.png and /dev/null differ diff --git a/res/flags/NP.png b/res/flags/NP.png deleted file mode 100644 index 744458e1..00000000 Binary files a/res/flags/NP.png and /dev/null differ diff --git a/res/flags/NR.png b/res/flags/NR.png deleted file mode 100644 index 58c2afb2..00000000 Binary files a/res/flags/NR.png and /dev/null differ diff --git a/res/flags/NU.png b/res/flags/NU.png deleted file mode 100644 index 007c99ec..00000000 Binary files a/res/flags/NU.png and /dev/null differ diff --git a/res/flags/NZ.png b/res/flags/NZ.png deleted file mode 100644 index 839368dd..00000000 Binary files a/res/flags/NZ.png and /dev/null differ diff --git a/res/flags/OM.png b/res/flags/OM.png deleted file mode 100644 index 63a89336..00000000 Binary files a/res/flags/OM.png and /dev/null differ diff --git a/res/flags/PA.png b/res/flags/PA.png deleted file mode 100644 index 3515d95d..00000000 Binary files a/res/flags/PA.png and /dev/null differ diff --git a/res/flags/PE.png b/res/flags/PE.png deleted file mode 100644 index 58f70b8d..00000000 Binary files a/res/flags/PE.png and /dev/null differ diff --git a/res/flags/PF.png b/res/flags/PF.png deleted file mode 100644 index 2f33f257..00000000 Binary files a/res/flags/PF.png and /dev/null differ diff --git a/res/flags/PG.png b/res/flags/PG.png deleted file mode 100644 index c796f587..00000000 Binary files a/res/flags/PG.png and /dev/null differ diff --git a/res/flags/PH.png b/res/flags/PH.png deleted file mode 100644 index 0d98de03..00000000 Binary files a/res/flags/PH.png and /dev/null differ diff --git a/res/flags/PK.png b/res/flags/PK.png deleted file mode 100644 index 87f4e2f4..00000000 Binary files a/res/flags/PK.png and /dev/null differ diff --git a/res/flags/PL.png b/res/flags/PL.png deleted file mode 100644 index 273869df..00000000 Binary files a/res/flags/PL.png and /dev/null differ diff --git a/res/flags/PM.png b/res/flags/PM.png deleted file mode 100644 index b74c396d..00000000 Binary files a/res/flags/PM.png and /dev/null differ diff --git a/res/flags/PN.png b/res/flags/PN.png deleted file mode 100644 index e34c62d5..00000000 Binary files a/res/flags/PN.png and /dev/null differ diff --git a/res/flags/PR.png b/res/flags/PR.png deleted file mode 100644 index 8efdb912..00000000 Binary files a/res/flags/PR.png and /dev/null differ diff --git a/res/flags/PS.png b/res/flags/PS.png deleted file mode 100644 index 7a0cceec..00000000 Binary files a/res/flags/PS.png and /dev/null differ diff --git a/res/flags/PT.png b/res/flags/PT.png deleted file mode 100644 index 49e29082..00000000 Binary files a/res/flags/PT.png and /dev/null differ diff --git a/res/flags/PW.png b/res/flags/PW.png deleted file mode 100644 index 6cb2e1e7..00000000 Binary files a/res/flags/PW.png and /dev/null differ diff --git a/res/flags/PY.png b/res/flags/PY.png deleted file mode 100644 index a61c42c4..00000000 Binary files a/res/flags/PY.png and /dev/null differ diff --git a/res/flags/QA.png b/res/flags/QA.png deleted file mode 100644 index bb091cc8..00000000 Binary files a/res/flags/QA.png and /dev/null differ diff --git a/res/flags/RE.png b/res/flags/RE.png deleted file mode 100644 index 6d50a0f5..00000000 Binary files a/res/flags/RE.png and /dev/null differ diff --git a/res/flags/RO.png b/res/flags/RO.png deleted file mode 100644 index 4495d29e..00000000 Binary files a/res/flags/RO.png and /dev/null differ diff --git a/res/flags/RS.png b/res/flags/RS.png deleted file mode 100644 index ebb0f28a..00000000 Binary files a/res/flags/RS.png and /dev/null differ diff --git a/res/flags/RU.png b/res/flags/RU.png deleted file mode 100644 index 64532ffa..00000000 Binary files a/res/flags/RU.png and /dev/null differ diff --git a/res/flags/RW.png b/res/flags/RW.png deleted file mode 100644 index 64b3cfff..00000000 Binary files a/res/flags/RW.png and /dev/null differ diff --git a/res/flags/SA.png b/res/flags/SA.png deleted file mode 100644 index 250de6f6..00000000 Binary files a/res/flags/SA.png and /dev/null differ diff --git a/res/flags/SB.png b/res/flags/SB.png deleted file mode 100644 index 5833c130..00000000 Binary files a/res/flags/SB.png and /dev/null differ diff --git a/res/flags/SC.png b/res/flags/SC.png deleted file mode 100644 index ce5248f4..00000000 Binary files a/res/flags/SC.png and /dev/null differ diff --git a/res/flags/SD.png b/res/flags/SD.png deleted file mode 100644 index d8711a83..00000000 Binary files a/res/flags/SD.png and /dev/null differ diff --git a/res/flags/SE.png b/res/flags/SE.png deleted file mode 100644 index 81880931..00000000 Binary files a/res/flags/SE.png and /dev/null differ diff --git a/res/flags/SG.png b/res/flags/SG.png deleted file mode 100644 index 6f00e579..00000000 Binary files a/res/flags/SG.png and /dev/null differ diff --git a/res/flags/SH.png b/res/flags/SH.png deleted file mode 100644 index 055dde68..00000000 Binary files a/res/flags/SH.png and /dev/null differ diff --git a/res/flags/SI.png b/res/flags/SI.png deleted file mode 100644 index 96359834..00000000 Binary files a/res/flags/SI.png and /dev/null differ diff --git a/res/flags/SJ.png b/res/flags/SJ.png deleted file mode 100644 index aafb0f17..00000000 Binary files a/res/flags/SJ.png and /dev/null differ diff --git a/res/flags/SK.png b/res/flags/SK.png deleted file mode 100644 index 84c7021f..00000000 Binary files a/res/flags/SK.png and /dev/null differ diff --git a/res/flags/SL.png b/res/flags/SL.png deleted file mode 100644 index c5ed1991..00000000 Binary files a/res/flags/SL.png and /dev/null differ diff --git a/res/flags/SM.png b/res/flags/SM.png deleted file mode 100644 index 1af1ca28..00000000 Binary files a/res/flags/SM.png and /dev/null differ diff --git a/res/flags/SN.png b/res/flags/SN.png deleted file mode 100644 index d0b18435..00000000 Binary files a/res/flags/SN.png and /dev/null differ diff --git a/res/flags/SO.png b/res/flags/SO.png deleted file mode 100644 index 64e2970b..00000000 Binary files a/res/flags/SO.png and /dev/null differ diff --git a/res/flags/SR.png b/res/flags/SR.png deleted file mode 100644 index b072dda8..00000000 Binary files a/res/flags/SR.png and /dev/null differ diff --git a/res/flags/SS.png b/res/flags/SS.png deleted file mode 100644 index 83933d45..00000000 Binary files a/res/flags/SS.png and /dev/null differ diff --git a/res/flags/ST.png b/res/flags/ST.png deleted file mode 100644 index c102721a..00000000 Binary files a/res/flags/ST.png and /dev/null differ diff --git a/res/flags/SV.png b/res/flags/SV.png deleted file mode 100644 index 80de92e5..00000000 Binary files a/res/flags/SV.png and /dev/null differ diff --git a/res/flags/SX.png b/res/flags/SX.png deleted file mode 100644 index dd52215c..00000000 Binary files a/res/flags/SX.png and /dev/null differ diff --git a/res/flags/SY.png b/res/flags/SY.png deleted file mode 100644 index 78f45b7c..00000000 Binary files a/res/flags/SY.png and /dev/null differ diff --git a/res/flags/SZ.png b/res/flags/SZ.png deleted file mode 100644 index 2182f4ff..00000000 Binary files a/res/flags/SZ.png and /dev/null differ diff --git a/res/flags/TC.png b/res/flags/TC.png deleted file mode 100644 index 3e3e19d4..00000000 Binary files a/res/flags/TC.png and /dev/null differ diff --git a/res/flags/TD.png b/res/flags/TD.png deleted file mode 100644 index 753bec22..00000000 Binary files a/res/flags/TD.png and /dev/null differ diff --git a/res/flags/TF.png b/res/flags/TF.png deleted file mode 100644 index 6d50a0f5..00000000 Binary files a/res/flags/TF.png and /dev/null differ diff --git a/res/flags/TG.png b/res/flags/TG.png deleted file mode 100644 index 8501ada6..00000000 Binary files a/res/flags/TG.png and /dev/null differ diff --git a/res/flags/TH.png b/res/flags/TH.png deleted file mode 100644 index 0c884c32..00000000 Binary files a/res/flags/TH.png and /dev/null differ diff --git a/res/flags/TJ.png b/res/flags/TJ.png deleted file mode 100644 index 3c9026fa..00000000 Binary files a/res/flags/TJ.png and /dev/null differ diff --git a/res/flags/TK.png b/res/flags/TK.png deleted file mode 100644 index fd605749..00000000 Binary files a/res/flags/TK.png and /dev/null differ diff --git a/res/flags/TL.png b/res/flags/TL.png deleted file mode 100644 index b4c834b1..00000000 Binary files a/res/flags/TL.png and /dev/null differ diff --git a/res/flags/TM.png b/res/flags/TM.png deleted file mode 100644 index d18cb939..00000000 Binary files a/res/flags/TM.png and /dev/null differ diff --git a/res/flags/TN.png b/res/flags/TN.png deleted file mode 100644 index 21c4b98b..00000000 Binary files a/res/flags/TN.png and /dev/null differ diff --git a/res/flags/TO.png b/res/flags/TO.png deleted file mode 100644 index c828206e..00000000 Binary files a/res/flags/TO.png and /dev/null differ diff --git a/res/flags/TR.png b/res/flags/TR.png deleted file mode 100644 index f2a5bd22..00000000 Binary files a/res/flags/TR.png and /dev/null differ diff --git a/res/flags/TT.png b/res/flags/TT.png deleted file mode 100644 index 66d69833..00000000 Binary files a/res/flags/TT.png and /dev/null differ diff --git a/res/flags/TV.png b/res/flags/TV.png deleted file mode 100644 index 7a127f51..00000000 Binary files a/res/flags/TV.png and /dev/null differ diff --git a/res/flags/TW.png b/res/flags/TW.png deleted file mode 100644 index 2353ba1b..00000000 Binary files a/res/flags/TW.png and /dev/null differ diff --git a/res/flags/TZ.png b/res/flags/TZ.png deleted file mode 100644 index 7949f65d..00000000 Binary files a/res/flags/TZ.png and /dev/null differ diff --git a/res/flags/UA.png b/res/flags/UA.png deleted file mode 100644 index 687e3052..00000000 Binary files a/res/flags/UA.png and /dev/null differ diff --git a/res/flags/UG.png b/res/flags/UG.png deleted file mode 100644 index 0a21ad15..00000000 Binary files a/res/flags/UG.png and /dev/null differ diff --git a/res/flags/US.png b/res/flags/US.png deleted file mode 100644 index c3a245b7..00000000 Binary files a/res/flags/US.png and /dev/null differ diff --git a/res/flags/UY.png b/res/flags/UY.png deleted file mode 100644 index 21a347c6..00000000 Binary files a/res/flags/UY.png and /dev/null differ diff --git a/res/flags/UZ.png b/res/flags/UZ.png deleted file mode 100644 index 643b6ae0..00000000 Binary files a/res/flags/UZ.png and /dev/null differ diff --git a/res/flags/VA.png b/res/flags/VA.png deleted file mode 100644 index 63a13c0e..00000000 Binary files a/res/flags/VA.png and /dev/null differ diff --git a/res/flags/VC.png b/res/flags/VC.png deleted file mode 100644 index da991a93..00000000 Binary files a/res/flags/VC.png and /dev/null differ diff --git a/res/flags/VE.png b/res/flags/VE.png deleted file mode 100644 index e75e17c9..00000000 Binary files a/res/flags/VE.png and /dev/null differ diff --git a/res/flags/VG.png b/res/flags/VG.png deleted file mode 100644 index 46f93cad..00000000 Binary files a/res/flags/VG.png and /dev/null differ diff --git a/res/flags/VI.png b/res/flags/VI.png deleted file mode 100644 index 8c849a73..00000000 Binary files a/res/flags/VI.png and /dev/null differ diff --git a/res/flags/VN.png b/res/flags/VN.png deleted file mode 100644 index 6ea2122f..00000000 Binary files a/res/flags/VN.png and /dev/null differ diff --git a/res/flags/VU.png b/res/flags/VU.png deleted file mode 100644 index bad3ba4d..00000000 Binary files a/res/flags/VU.png and /dev/null differ diff --git a/res/flags/WF.png b/res/flags/WF.png deleted file mode 100644 index d94359dc..00000000 Binary files a/res/flags/WF.png and /dev/null differ diff --git a/res/flags/WS.png b/res/flags/WS.png deleted file mode 100644 index f8b80e5b..00000000 Binary files a/res/flags/WS.png and /dev/null differ diff --git a/res/flags/YE.png b/res/flags/YE.png deleted file mode 100644 index 8b9bbd89..00000000 Binary files a/res/flags/YE.png and /dev/null differ diff --git a/res/flags/YT.png b/res/flags/YT.png deleted file mode 100644 index 32887936..00000000 Binary files a/res/flags/YT.png and /dev/null differ diff --git a/res/flags/ZA.png b/res/flags/ZA.png deleted file mode 100644 index 7f0a52d3..00000000 Binary files a/res/flags/ZA.png and /dev/null differ diff --git a/res/flags/ZM.png b/res/flags/ZM.png deleted file mode 100644 index 87adc3af..00000000 Binary files a/res/flags/ZM.png and /dev/null differ diff --git a/res/flags/ZW.png b/res/flags/ZW.png deleted file mode 100644 index 742c9f7e..00000000 Binary files a/res/flags/ZW.png and /dev/null differ diff --git a/res/media/busy.mp3 b/res/media/busy.mp3 deleted file mode 100644 index fec27ba4..00000000 Binary files a/res/media/busy.mp3 and /dev/null differ diff --git a/res/media/busy.ogg b/res/media/busy.ogg deleted file mode 100644 index 5d64a7d0..00000000 Binary files a/res/media/busy.ogg and /dev/null differ diff --git a/res/media/callend.mp3 b/res/media/callend.mp3 deleted file mode 100644 index 50c34e56..00000000 Binary files a/res/media/callend.mp3 and /dev/null differ diff --git a/res/media/callend.ogg b/res/media/callend.ogg deleted file mode 100644 index 927ce1f6..00000000 Binary files a/res/media/callend.ogg and /dev/null differ diff --git a/res/media/message.mp3 b/res/media/message.mp3 deleted file mode 100644 index b87eeda7..00000000 Binary files a/res/media/message.mp3 and /dev/null differ diff --git a/res/media/message.ogg b/res/media/message.ogg deleted file mode 100644 index adc74437..00000000 Binary files a/res/media/message.ogg and /dev/null differ diff --git a/res/media/ring.mp3 b/res/media/ring.mp3 deleted file mode 100644 index 36200cd8..00000000 Binary files a/res/media/ring.mp3 and /dev/null differ diff --git a/res/media/ring.ogg b/res/media/ring.ogg deleted file mode 100644 index 708213bf..00000000 Binary files a/res/media/ring.ogg and /dev/null differ diff --git a/res/media/ringback.mp3 b/res/media/ringback.mp3 deleted file mode 100644 index 6ee34bf3..00000000 Binary files a/res/media/ringback.mp3 and /dev/null differ diff --git a/res/media/ringback.ogg b/res/media/ringback.ogg deleted file mode 100644 index 7dbfdcd0..00000000 Binary files a/res/media/ringback.ogg and /dev/null differ diff --git a/src/components/structures/BottomLeftMenu.js b/src/components/structures/BottomLeftMenu.js deleted file mode 100644 index 3271d5ae..00000000 --- a/src/components/structures/BottomLeftMenu.js +++ /dev/null @@ -1,197 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import ReactDOM from 'react-dom'; -import sdk from 'matrix-react-sdk'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import Velocity from 'velocity-vector'; -import 'velocity-vector/velocity.ui'; -import SettingsStore from "matrix-react-sdk/lib/settings/SettingsStore"; - -const CALLOUT_ANIM_DURATION = 1000; - -module.exports = React.createClass({ - displayName: 'BottomLeftMenu', - - propTypes: { - collapsed: React.PropTypes.bool.isRequired, - }, - - getInitialState: function() { - return({ - directoryHover : false, - roomsHover : false, - homeHover: false, - peopleHover : false, - settingsHover : false, - }); - }, - - componentWillMount: function() { - this._dispatcherRef = dis.register(this.onAction); - this._peopleButton = null; - this._directoryButton = null; - this._createRoomButton = null; - this._lastCallouts = {}; - }, - - componentWillUnmount: function() { - dis.unregister(this._dispatcherRef); - }, - - // Room events - onDirectoryClick: function() { - dis.dispatch({ action: 'view_room_directory' }); - }, - - onDirectoryMouseEnter: function() { - this.setState({ directoryHover: true }); - }, - - onDirectoryMouseLeave: function() { - this.setState({ directoryHover: false }); - }, - - onRoomsClick: function() { - dis.dispatch({ action: 'view_create_room' }); - }, - - onRoomsMouseEnter: function() { - this.setState({ roomsHover: true }); - }, - - onRoomsMouseLeave: function() { - this.setState({ roomsHover: false }); - }, - - // Home button events - onHomeClick: function() { - dis.dispatch({ action: 'view_home_page' }); - }, - - onHomeMouseEnter: function() { - this.setState({ homeHover: true }); - }, - - onHomeMouseLeave: function() { - this.setState({ homeHover: false }); - }, - - // People events - onPeopleClick: function() { - dis.dispatch({ action: 'view_create_chat' }); - }, - - onPeopleMouseEnter: function() { - this.setState({ peopleHover: true }); - }, - - onPeopleMouseLeave: function() { - this.setState({ peopleHover: false }); - }, - - // Settings events - onSettingsClick: function() { - dis.dispatch({ action: 'view_user_settings' }); - }, - - onSettingsMouseEnter: function() { - this.setState({ settingsHover: true }); - }, - - onSettingsMouseLeave: function() { - this.setState({ settingsHover: false }); - }, - - onAction: function(payload) { - let calloutElement; - switch (payload.action) { - // Incoming instruction: dance! - case 'callout_start_chat': - calloutElement = this._peopleButton; - break; - case 'callout_room_directory': - calloutElement = this._directoryButton; - break; - case 'callout_create_room': - calloutElement = this._createRoomButton; - break; - } - if (calloutElement) { - const lastCallout = this._lastCallouts[payload.action]; - const now = Date.now(); - if (lastCallout == undefined || lastCallout < now - CALLOUT_ANIM_DURATION) { - this._lastCallouts[payload.action] = now; - Velocity(ReactDOM.findDOMNode(calloutElement), "callout.bounce", CALLOUT_ANIM_DURATION); - } - } - }, - - // Get the label/tooltip to show - getLabel: function(label, show) { - if (show) { - var RoomTooltip = sdk.getComponent("rooms.RoomTooltip"); - return <RoomTooltip className="mx_BottomLeftMenu_tooltip" label={label} />; - } - }, - - _collectPeopleButton: function(e) { - this._peopleButton = e; - }, - - _collectDirectoryButton: function(e) { - this._directoryButton = e; - }, - - _collectCreateRoomButton: function(e) { - this._createRoomButton = e; - }, - - render: function() { - const HomeButton = sdk.getComponent('elements.HomeButton'); - const StartChatButton = sdk.getComponent('elements.StartChatButton'); - const RoomDirectoryButton = sdk.getComponent('elements.RoomDirectoryButton'); - const CreateRoomButton = sdk.getComponent('elements.CreateRoomButton'); - const SettingsButton = sdk.getComponent('elements.SettingsButton'); - const GroupsButton = sdk.getComponent('elements.GroupsButton'); - - const groupsButton = SettingsStore.getValue("TagPanel.disableTagPanel") ? - <GroupsButton tooltip={true} /> : null; - - return ( - <div className="mx_BottomLeftMenu"> - <div className="mx_BottomLeftMenu_options"> - <HomeButton tooltip={true} /> - <div ref={this._collectPeopleButton}> - <StartChatButton tooltip={true} /> - </div> - <div ref={this._collectDirectoryButton}> - <RoomDirectoryButton tooltip={true} /> - </div> - <div ref={this._collectCreateRoomButton}> - <CreateRoomButton tooltip={true} /> - </div> - { groupsButton } - <span className="mx_BottomLeftMenu_settings"> - <SettingsButton tooltip={true} /> - </span> - </div> - </div> - ); - }, -}); diff --git a/src/components/structures/CompatibilityPage.js b/src/components/structures/CompatibilityPage.js deleted file mode 100644 index 10806f4f..00000000 --- a/src/components/structures/CompatibilityPage.js +++ /dev/null @@ -1,73 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -module.exports = React.createClass({ - displayName: 'CompatibilityPage', - propTypes: { - onAccept: React.PropTypes.func - }, - - getDefaultProps: function() { - return { - onAccept: function() {} // NOP - }; - }, - - onAccept: function() { - this.props.onAccept(); - }, - - render: function() { - - return ( - <div className="mx_CompatibilityPage"> - <div className="mx_CompatibilityPage_box"> - <p>{ _t("Sorry, your browser is <b>not</b> able to run Riot.", {}, { 'b': (sub) => <b>{sub}</b> }) } </p> - <p> - { _t("Riot uses many advanced browser features, some of which are not available or experimental in your current browser.") } - </p> - <p> - { _t('Please install <chromeLink>Chrome</chromeLink> or <firefoxLink>Firefox</firefoxLink> for the best experience.', - {}, - { - 'chromeLink': (sub) => <a href="https://www.google.com/chrome">{sub}</a>, - 'firefoxLink': (sub) => <a href="https://getfirefox.com">{sub}</a>, - }, - )} - { _t('<safariLink>Safari</safariLink> and <operaLink>Opera</operaLink> work too.', - {}, - { - 'safariLink': (sub) => <a href="http://apple.com/safari">{sub}</a>, - 'operaLink': (sub) => <a href="http://opera.com">{sub}</a>, - }, - )} - </p> - <p> - { _t("With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!") } - </p> - <button onClick={this.onAccept}> - { _t("I understand the risks and wish to continue") } - </button> - </div> - </div> - ); - } -}); diff --git a/src/components/structures/LeftPanel.js b/src/components/structures/LeftPanel.js deleted file mode 100644 index 0fc3e025..00000000 --- a/src/components/structures/LeftPanel.js +++ /dev/null @@ -1,226 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import PropTypes from 'prop-types'; -import classNames from 'classnames'; -import { MatrixClient } from 'matrix-js-sdk'; -import { KeyCode } from 'matrix-react-sdk/lib/Keyboard'; -import sdk from 'matrix-react-sdk'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import VectorConferenceHandler from '../../VectorConferenceHandler'; - -import SettingsStore from 'matrix-react-sdk/lib/settings/SettingsStore'; - - -var LeftPanel = React.createClass({ - displayName: 'LeftPanel', - - // NB. If you add props, don't forget to update - // shouldComponentUpdate! - propTypes: { - collapsed: PropTypes.bool.isRequired, - }, - - contextTypes: { - matrixClient: PropTypes.instanceOf(MatrixClient), - }, - - getInitialState: function() { - return { - searchFilter: '', - }; - }, - - componentWillMount: function() { - this.focusedElement = null; - }, - - shouldComponentUpdate: function(nextProps, nextState) { - // MatrixChat will update whenever the user switches - // rooms, but propagating this change all the way down - // the react tree is quite slow, so we cut this off - // here. The RoomTiles listen for the room change - // events themselves to know when to update. - // We just need to update if any of these things change. - if ( - this.props.collapsed !== nextProps.collapsed || - this.props.disabled !== nextProps.disabled - ) { - return true; - } - - if (this.state.searchFilter !== nextState.searchFilter) { - return true; - } - - return false; - }, - - _onFocus: function(ev) { - this.focusedElement = ev.target; - }, - - _onBlur: function(ev) { - this.focusedElement = null; - }, - - _onKeyDown: function(ev) { - if (!this.focusedElement) return; - let handled = false; - - switch (ev.keyCode) { - case KeyCode.UP: - this._onMoveFocus(true); - handled = true; - break; - case KeyCode.DOWN: - this._onMoveFocus(false); - handled = true; - break; - } - - if (handled) { - ev.stopPropagation(); - ev.preventDefault(); - } - }, - - _onMoveFocus: function(up) { - var element = this.focusedElement; - - // unclear why this isn't needed - // var descending = (up == this.focusDirection) ? this.focusDescending : !this.focusDescending; - // this.focusDirection = up; - - var descending = false; // are we currently descending or ascending through the DOM tree? - var classes; - - do { - var child = up ? element.lastElementChild : element.firstElementChild; - var sibling = up ? element.previousElementSibling : element.nextElementSibling; - - if (descending) { - if (child) { - element = child; - } - else if (sibling) { - element = sibling; - } - else { - descending = false; - element = element.parentElement; - } - } - else { - if (sibling) { - element = sibling; - descending = true; - } - else { - element = element.parentElement; - } - } - - if (element) { - classes = element.classList; - if (classes.contains("mx_LeftPanel")) { // we hit the top - element = up ? element.lastElementChild : element.firstElementChild; - descending = true; - } - } - - } while(element && !( - classes.contains("mx_RoomTile") || - classes.contains("mx_SearchBox_search") || - classes.contains("mx_RoomSubList_ellipsis"))); - - if (element) { - element.focus(); - this.focusedElement = element; - this.focusedDescending = descending; - } - }, - - onHideClick: function() { - dis.dispatch({ - action: 'hide_left_panel', - }); - }, - - onSearch: function(term) { - this.setState({ searchFilter: term }); - }, - - collectRoomList: function(ref) { - this._roomList = ref; - }, - - render: function() { - const RoomList = sdk.getComponent('rooms.RoomList'); - const TagPanel = sdk.getComponent('structures.TagPanel'); - const BottomLeftMenu = sdk.getComponent('structures.BottomLeftMenu'); - const CallPreview = sdk.getComponent('voip.CallPreview'); - - let topBox; - if (this.context.matrixClient.isGuest()) { - const LoginBox = sdk.getComponent('structures.LoginBox'); - topBox = <LoginBox collapsed={ this.props.collapsed }/>; - } else { - const SearchBox = sdk.getComponent('structures.SearchBox'); - topBox = <SearchBox collapsed={ this.props.collapsed } onSearch={ this.onSearch } />; - } - - const classes = classNames( - "mx_LeftPanel", - { - "collapsed": this.props.collapsed, - }, - ); - - const tagPanelEnabled = !SettingsStore.getValue("TagPanel.disableTagPanel"); - const tagPanel = tagPanelEnabled ? <TagPanel /> : <div />; - - const containerClasses = classNames( - "mx_LeftPanel_container", "mx_fadable", - { - "mx_LeftPanel_container_collapsed": this.props.collapsed, - "mx_LeftPanel_container_hasTagPanel": tagPanelEnabled, - "mx_fadable_faded": this.props.disabled, - }, - ); - - return ( - <div className={containerClasses}> - { tagPanel } - <aside className={classes} onKeyDown={ this._onKeyDown } onFocus={ this._onFocus } onBlur={ this._onBlur }> - { topBox } - <CallPreview ConferenceHandler={VectorConferenceHandler} /> - <RoomList - ref={this.collectRoomList} - collapsed={this.props.collapsed} - searchFilter={this.state.searchFilter} - ConferenceHandler={VectorConferenceHandler} /> - <BottomLeftMenu collapsed={this.props.collapsed}/> - </aside> - </div> - ); - } -}); - -module.exports = LeftPanel; diff --git a/src/components/structures/LoginBox.js b/src/components/structures/LoginBox.js deleted file mode 100644 index 7cacc14e..00000000 --- a/src/components/structures/LoginBox.js +++ /dev/null @@ -1,93 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -var sdk = require('matrix-react-sdk') -var dis = require('matrix-react-sdk/lib/dispatcher'); -var rate_limited_func = require('matrix-react-sdk/lib/ratelimitedfunc'); -var AccessibleButton = require('matrix-react-sdk/lib/components/views/elements/AccessibleButton'); - -module.exports = React.createClass({ - displayName: 'LoginBox', - - propTypes: { - collapsed: React.PropTypes.bool, - }, - - onToggleCollapse: function(show) { - if (show) { - dis.dispatch({ - action: 'show_left_panel', - }); - } - else { - dis.dispatch({ - action: 'hide_left_panel', - }); - } - }, - - onLoginClick: function() { - dis.dispatch({ action: 'start_login' }); - }, - - onRegisterClick: function() { - dis.dispatch({ action: 'start_registration' }); - }, - - render: function() { - var TintableSvg = sdk.getComponent('elements.TintableSvg'); - - var toggleCollapse; - if (this.props.collapsed) { - toggleCollapse = - <AccessibleButton className="mx_SearchBox_maximise" onClick={ this.onToggleCollapse.bind(this, true) }> - <TintableSvg src="img/maximise.svg" width="10" height="16" alt="Expand panel"/> - </AccessibleButton> - } - else { - toggleCollapse = - <AccessibleButton className="mx_SearchBox_minimise" onClick={ this.onToggleCollapse.bind(this, false) }> - <TintableSvg src="img/minimise.svg" width="10" height="16" alt="Collapse panel"/> - </AccessibleButton> - } - - var loginButton; - if (!this.props.collapsed) { - loginButton = ( - <div className="mx_LoginBox_loginButton_wrapper"> - <AccessibleButton className="mx_LoginBox_loginButton" element="button" onClick={this.onLoginClick}> - { _t("Login") } - </AccessibleButton> - <AccessibleButton className="mx_LoginBox_registerButton" element="button" onClick={this.onRegisterClick}> - { _t("Register") } - </AccessibleButton> - </div> - ); - } - - var self = this; - return ( - <div className="mx_SearchBox mx_LoginBox"> - { loginButton } - { toggleCollapse } - </div> - ); - } -}); diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js deleted file mode 100644 index 39463a67..00000000 --- a/src/components/structures/RightPanel.js +++ /dev/null @@ -1,424 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import classNames from 'classnames'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import sdk from 'matrix-react-sdk'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import { MatrixClient } from 'matrix-js-sdk'; -import Analytics from 'matrix-react-sdk/lib/Analytics'; -import RateLimitedFunc from 'matrix-react-sdk/lib/ratelimitedfunc'; -import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton'; -import { showGroupInviteDialog, showGroupAddRoomDialog } from 'matrix-react-sdk/lib/GroupAddressPicker'; -import GroupStoreCache from 'matrix-react-sdk/lib/stores/GroupStoreCache'; - -import { formatCount } from 'matrix-react-sdk/lib/utils/FormattingUtils'; - -class HeaderButton extends React.Component { - constructor() { - super(); - this.onClick = this.onClick.bind(this); - } - - onClick(ev) { - Analytics.trackEvent(...this.props.analytics); - dis.dispatch({ - action: 'view_right_panel_phase', - phase: this.props.clickPhase, - }); - } - - render() { - const TintableSvg = sdk.getComponent("elements.TintableSvg"); - const AccessibleButton = sdk.getComponent("elements.AccessibleButton"); - - return <AccessibleButton - aria-label={this.props.title} - title={this.props.title} - className="mx_RightPanel_headerButton" - onClick={this.onClick} > - - <div className="mx_RightPanel_headerButton_badge"> - { this.props.badge ? this.props.badge : <span> </span> } - </div> - <TintableSvg src={this.props.iconSrc} width="25" height="25" /> - { this.props.isHighlighted ? <div className="mx_RightPanel_headerButton_highlight" /> : <div /> } - - </AccessibleButton>; - } -} - -HeaderButton.propTypes = { - // Whether this button is highlighted - isHighlighted: PropTypes.bool.isRequired, - // The phase to swap to when the button is clicked - clickPhase: PropTypes.string.isRequired, - // The source file of the icon to display - iconSrc: PropTypes.string.isRequired, - - // The badge to display above the icon - badge: PropTypes.node, - // The parameters to track the click event - analytics: PropTypes.arrayOf(PropTypes.string).isRequired, - - // Button title - title: PropTypes.string.isRequired, -}; - -module.exports = React.createClass({ - displayName: 'RightPanel', - - propTypes: { - // TODO: We're trying to move away from these being props, but we need to know - // whether we should be displaying a room or group member list - roomId: React.PropTypes.string, // if showing panels for a given room, this is set - groupId: React.PropTypes.string, // if showing panels for a given group, this is set - collapsed: React.PropTypes.bool, // currently unused property to request for a minimized view of the panel - }, - - contextTypes: { - matrixClient: PropTypes.instanceOf(MatrixClient), - }, - - Phase: { - RoomMemberList: 'RoomMemberList', - GroupMemberList: 'GroupMemberList', - GroupRoomList: 'GroupRoomList', - GroupRoomInfo: 'GroupRoomInfo', - FilePanel: 'FilePanel', - NotificationPanel: 'NotificationPanel', - RoomMemberInfo: 'RoomMemberInfo', - GroupMemberInfo: 'GroupMemberInfo', - }, - - componentWillMount: function() { - this.dispatcherRef = dis.register(this.onAction); - const cli = this.context.matrixClient; - cli.on("RoomState.members", this.onRoomStateMember); - this._initGroupStore(this.props.groupId); - }, - - componentWillUnmount: function() { - dis.unregister(this.dispatcherRef); - if (this.context.matrixClient) { - this.context.matrixClient.removeListener("RoomState.members", this.onRoomStateMember); - } - this._unregisterGroupStore(); - }, - - getInitialState: function() { - return { - phase: this.props.groupId ? this.Phase.GroupMemberList : this.Phase.RoomMemberList, - isUserPrivilegedInGroup: null, - }; - }, - - componentWillReceiveProps(newProps) { - if (newProps.groupId !== this.props.groupId) { - this._unregisterGroupStore(); - this._initGroupStore(newProps.groupId); - } - }, - - _initGroupStore(groupId) { - if (!groupId) return; - this._groupStore = GroupStoreCache.getGroupStore(groupId); - this._groupStore.registerListener(this.onGroupStoreUpdated); - }, - - _unregisterGroupStore() { - if (this._groupStore) { - this._groupStore.unregisterListener(this.onGroupStoreUpdated); - } - }, - - onGroupStoreUpdated: function() { - this.setState({ - isUserPrivilegedInGroup: this._groupStore.isUserPrivileged(), - }); - }, - - onCollapseClick: function() { - dis.dispatch({ - action: 'hide_right_panel', - }); - }, - - onInviteButtonClick: function() { - if (this.context.matrixClient.isGuest()) { - dis.dispatch({action: 'view_set_mxid'}); - return; - } - - // call AddressPickerDialog - dis.dispatch({ - action: 'view_invite', - roomId: this.props.roomId, - }); - }, - - onInviteToGroupButtonClick: function() { - showGroupInviteDialog(this.props.groupId).then(() => { - this.setState({ - phase: this.Phase.GroupMemberList, - }); - }); - }, - - onAddRoomToGroupButtonClick: function() { - showGroupAddRoomDialog(this.props.groupId).then(() => { - this.forceUpdate(); - }); - }, - - onRoomStateMember: function(ev, state, member) { - // redraw the badge on the membership list - if (this.state.phase === this.Phase.RoomMemberList && member.roomId === this.props.roomId) { - this._delayedUpdate(); - } else if (this.state.phase === this.Phase.RoomMemberInfo && member.roomId === this.props.roomId && - member.userId === this.state.member.userId) { - // refresh the member info (e.g. new power level) - this._delayedUpdate(); - } - }, - - _delayedUpdate: new RateLimitedFunc(function() { - this.forceUpdate(); // eslint-disable-line babel/no-invalid-this - }, 500), - - onAction: function(payload) { - if (payload.action === "view_user") { - dis.dispatch({ - action: 'show_right_panel', - }); - if (payload.member) { - this.setState({ - phase: this.Phase.RoomMemberInfo, - member: payload.member, - }); - } else { - if (this.props.roomId) { - this.setState({ - phase: this.Phase.RoomMemberList, - }); - } else if (this.props.groupId) { - this.setState({ - phase: this.Phase.GroupMemberList, - member: payload.member, - }); - } - } - } else if (payload.action === "view_group") { - this.setState({ - phase: this.Phase.GroupMemberList, - member: null, - }); - } else if (payload.action === "view_group_room") { - this.setState({ - phase: this.Phase.GroupRoomInfo, - groupRoomId: payload.groupRoomId, - }); - } else if (payload.action === "view_group_room_list") { - this.setState({ - phase: this.Phase.GroupRoomList, - }); - } else if (payload.action === "view_group_member_list") { - this.setState({ - phase: this.Phase.GroupMemberList, - }); - } else if (payload.action === "view_group_user") { - this.setState({ - phase: this.Phase.GroupMemberInfo, - member: payload.member, - }); - } else if (payload.action === "view_room") { - this.setState({ - phase: this.Phase.RoomMemberList, - }); - } else if (payload.action === "view_right_panel_phase") { - this.setState({ - phase: payload.phase, - }); - } - }, - - render: function() { - const MemberList = sdk.getComponent('rooms.MemberList'); - const MemberInfo = sdk.getComponent('rooms.MemberInfo'); - const NotificationPanel = sdk.getComponent('structures.NotificationPanel'); - const FilePanel = sdk.getComponent('structures.FilePanel'); - - const GroupMemberList = sdk.getComponent('groups.GroupMemberList'); - const GroupMemberInfo = sdk.getComponent('groups.GroupMemberInfo'); - const GroupRoomList = sdk.getComponent('groups.GroupRoomList'); - const GroupRoomInfo = sdk.getComponent('groups.GroupRoomInfo'); - - const TintableSvg = sdk.getComponent("elements.TintableSvg"); - - let inviteGroup; - - let membersBadge; - let membersTitle = _t('Members'); - if ((this.state.phase === this.Phase.RoomMemberList || this.state.phase === this.Phase.RoomMemberInfo) - && this.props.roomId - ) { - const cli = this.context.matrixClient; - const room = cli.getRoom(this.props.roomId); - let isUserInRoom; - if (room) { - const numMembers = room.getJoinedMembers().length; - membersTitle = _t('%(count)s Members', { count: numMembers }); - membersBadge = <div title={membersTitle}>{ formatCount(numMembers) }</div>; - isUserInRoom = room.hasMembershipState(this.context.matrixClient.credentials.userId, 'join'); - } - - if (isUserInRoom) { - inviteGroup = - <AccessibleButton className="mx_RightPanel_invite" onClick={this.onInviteButtonClick}> - <div className="mx_RightPanel_icon" > - <TintableSvg src="img/icon-invite-people.svg" width="35" height="35" /> - </div> - <div className="mx_RightPanel_message">{ _t('Invite to this room') }</div> - </AccessibleButton>; - } - } - - const isPhaseGroup = [ - this.Phase.GroupMemberInfo, - this.Phase.GroupMemberList, - ].includes(this.state.phase); - - let headerButtons = []; - if (this.props.roomId) { - headerButtons = [ - <HeaderButton key="_membersButton" title={membersTitle} iconSrc="img/icons-people.svg" - isHighlighted={[this.Phase.RoomMemberList, this.Phase.RoomMemberInfo].includes(this.state.phase)} - clickPhase={this.Phase.RoomMemberList} - badge={membersBadge} - analytics={['Right Panel', 'Member List Button', 'click']} - />, - <HeaderButton key="_filesButton" title={_t('Files')} iconSrc="img/icons-files.svg" - isHighlighted={this.state.phase === this.Phase.FilePanel} - clickPhase={this.Phase.FilePanel} - analytics={['Right Panel', 'File List Button', 'click']} - />, - <HeaderButton key="_notifsButton" title={_t('Notifications')} iconSrc="img/icons-notifications.svg" - isHighlighted={this.state.phase === this.Phase.NotificationPanel} - clickPhase={this.Phase.NotificationPanel} - analytics={['Right Panel', 'Notification List Button', 'click']} - />, - ]; - } else if (this.props.groupId) { - headerButtons = [ - <HeaderButton key="_groupMembersButton" title={_t('Members')} iconSrc="img/icons-people.svg" - isHighlighted={isPhaseGroup} - clickPhase={this.Phase.GroupMemberList} - analytics={['Right Panel', 'Group Member List Button', 'click']} - />, - <HeaderButton key="_roomsButton" title={_t('Rooms')} iconSrc="img/icons-room.svg" - isHighlighted={[this.Phase.GroupRoomList, this.Phase.GroupRoomInfo].includes(this.state.phase)} - clickPhase={this.Phase.GroupRoomList} - analytics={['Right Panel', 'Group Room List Button', 'click']} - />, - ]; - } - - if (this.props.roomId || this.props.groupId) { - // Hiding the right panel hides it completely and relies on an 'expand' button - // being put in the RoomHeader or GroupView header, so only show the minimise - // button on these 2 screens or you won't be able to re-expand the panel. - headerButtons.push( - <div className="mx_RightPanel_headerButton mx_RightPanel_collapsebutton" key="_minimizeButton" - title={_t("Hide panel")} aria-label={_t("Hide panel")} onClick={this.onCollapseClick} - > - <TintableSvg src="img/minimise.svg" width="10" height="16" /> - </div>, - ); - } - - let panel = <div />; - if (!this.props.collapsed) { - if (this.props.roomId && this.state.phase === this.Phase.RoomMemberList) { - panel = <MemberList roomId={this.props.roomId} key={this.props.roomId} />; - } else if (this.props.groupId && this.state.phase === this.Phase.GroupMemberList) { - panel = <GroupMemberList groupId={this.props.groupId} key={this.props.groupId} />; - } else if (this.state.phase === this.Phase.GroupRoomList) { - panel = <GroupRoomList groupId={this.props.groupId} key={this.props.groupId} />; - } else if (this.state.phase === this.Phase.RoomMemberInfo) { - panel = <MemberInfo member={this.state.member} key={this.props.roomId || this.state.member.userId} />; - } else if (this.state.phase === this.Phase.GroupMemberInfo) { - panel = <GroupMemberInfo - groupMember={this.state.member} - groupId={this.props.groupId} - key={this.state.member.user_id} />; - } else if (this.state.phase === this.Phase.GroupRoomInfo) { - panel = <GroupRoomInfo - groupRoomId={this.state.groupRoomId} - groupId={this.props.groupId} - key={this.state.groupRoomId} />; - } else if (this.state.phase === this.Phase.NotificationPanel) { - panel = <NotificationPanel />; - } else if (this.state.phase === this.Phase.FilePanel) { - panel = <FilePanel roomId={this.props.roomId} />; - } - } - - if (!panel) { - panel = <div className="mx_RightPanel_blank" />; - } - - if (this.props.groupId && this.state.isUserPrivilegedInGroup) { - inviteGroup = isPhaseGroup ? ( - <AccessibleButton className="mx_RightPanel_invite" onClick={this.onInviteToGroupButtonClick}> - <div className="mx_RightPanel_icon" > - <TintableSvg src="img/icon-invite-people.svg" width="35" height="35" /> - </div> - <div className="mx_RightPanel_message">{ _t('Invite to this community') }</div> - </AccessibleButton> - ) : ( - <AccessibleButton className="mx_RightPanel_invite" onClick={this.onAddRoomToGroupButtonClick}> - <div className="mx_RightPanel_icon" > - <TintableSvg src="img/icons-room-add.svg" width="35" height="35" /> - </div> - <div className="mx_RightPanel_message">{ _t('Add rooms to this community') }</div> - </AccessibleButton> - ); - } - - const classes = classNames("mx_RightPanel", "mx_fadable", { - "collapsed": this.props.collapsed, - "mx_fadable_faded": this.props.disabled, - }); - - return ( - <aside className={classes}> - <div className="mx_RightPanel_header"> - <div className="mx_RightPanel_headerButtonGroup"> - { headerButtons } - </div> - </div> - { panel } - <div className="mx_RightPanel_footer"> - { inviteGroup } - </div> - </aside> - ); - }, -}); diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js deleted file mode 100644 index 126ae404..00000000 --- a/src/components/structures/RoomDirectory.js +++ /dev/null @@ -1,587 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); - -var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); -var ContentRepo = require("matrix-js-sdk").ContentRepo; -var Modal = require('matrix-react-sdk/lib/Modal'); -var sdk = require('matrix-react-sdk'); -var dis = require('matrix-react-sdk/lib/dispatcher'); - -var linkify = require('linkifyjs'); -var linkifyString = require('linkifyjs/string'); -var linkifyMatrix = require('matrix-react-sdk/lib/linkify-matrix'); -var sanitizeHtml = require('sanitize-html'); -import Promise from 'bluebird'; - -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -import {instanceForInstanceId, protocolNameForInstanceId} from '../../utils/DirectoryUtils'; - -linkifyMatrix(linkify); - -module.exports = React.createClass({ - displayName: 'RoomDirectory', - - propTypes: { - config: React.PropTypes.object, - }, - - getDefaultProps: function() { - return { - config: {}, - } - }, - - getInitialState: function() { - return { - publicRooms: [], - loading: true, - protocolsLoading: true, - instanceId: null, - includeAll: false, - roomServer: null, - filterString: null, - } - }, - - componentWillMount: function() { - this._unmounted = false; - this.nextBatch = null; - this.filterTimeout = null; - this.scrollPanel = null; - this.protocols = null; - - this.setState({protocolsLoading: true}); - MatrixClientPeg.get().getThirdpartyProtocols().done((response) => { - this.protocols = response; - this.setState({protocolsLoading: false}); - }, (err) => { - console.warn(`error loading thirdparty protocols: ${err}`); - this.setState({protocolsLoading: false}); - if (MatrixClientPeg.get().isGuest()) { - // Guests currently aren't allowed to use this API, so - // ignore this as otherwise this error is literally the - // thing you see when loading the client! - return; - } - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Failed to get protocol list from Home Server', '', ErrorDialog, { - title: _t('Failed to get protocol list from Home Server'), - description: _t('The Home Server may be too old to support third party networks'), - }); - }); - - // dis.dispatch({ - // action: 'panel_disable', - // sideDisabled: true, - // middleDisabled: true, - // }); - }, - - componentWillUnmount: function() { - // dis.dispatch({ - // action: 'panel_disable', - // sideDisabled: false, - // middleDisabled: false, - // }); - if (this.filterTimeout) { - clearTimeout(this.filterTimeout); - } - this._unmounted = true; - }, - - refreshRoomList: function() { - this.nextBatch = null; - this.setState({ - publicRooms: [], - loading: true, - }); - this.getMoreRooms().done(); - }, - - getMoreRooms: function() { - if (!MatrixClientPeg.get()) return Promise.resolve(); - - const my_filter_string = this.state.filterString; - const my_server = this.state.roomServer; - // remember the next batch token when we sent the request - // too. If it's changed, appending to the list will corrupt it. - const my_next_batch = this.nextBatch; - const opts = {limit: 20}; - if (my_server != MatrixClientPeg.getHomeServerName()) { - opts.server = my_server; - } - if (this.state.instanceId) { - opts.third_party_instance_id = this.state.instanceId; - } else if (this.state.includeAll) { - opts.include_all_networks = true; - } - if (this.nextBatch) opts.since = this.nextBatch; - if (my_filter_string) opts.filter = { generic_search_term: my_filter_string } ; - return MatrixClientPeg.get().publicRooms(opts).then((data) => { - if ( - my_filter_string != this.state.filterString || - my_server != this.state.roomServer || - my_next_batch != this.nextBatch) - { - // if the filter or server has changed since this request was sent, - // throw away the result (don't even clear the busy flag - // since we must still have a request in flight) - return; - } - - if (this._unmounted) { - // if we've been unmounted, we don't care either. - return; - } - - this.nextBatch = data.next_batch; - this.setState((s) => { - s.publicRooms.push(...data.chunk); - s.loading = false; - return s; - }); - return Boolean(data.next_batch); - }, (err) => { - if ( - my_filter_string != this.state.filterString || - my_server != this.state.roomServer || - my_next_batch != this.nextBatch) - { - // as above: we don't care about errors for old - // requests either - return; - } - - if (this._unmounted) { - // if we've been unmounted, we don't care either. - return; - } - - this.setState({ loading: false }); - console.error("Failed to get publicRooms: %s", JSON.stringify(err)); - var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Failed to get public room list', '', ErrorDialog, { - title: _t('Failed to get public room list'), - description: ((err && err.message) ? err.message : _t('The server may be unavailable or overloaded')) - }); - }); - }, - - /** - * A limited interface for removing rooms from the directory. - * Will set the room to not be publicly visible and delete the - * default alias. In the long term, it would be better to allow - * HS admins to do this through the RoomSettings interface, but - * this needs SPEC-417. - */ - removeFromDirectory: function(room) { - var alias = get_display_alias_for_room(room); - var name = room.name || alias || _t('Unnamed room'); - - var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); - var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - - var desc; - if (alias) { - desc = _t('Delete the room alias %(alias)s and remove %(name)s from the directory?', {alias: alias, name: name}); - } else { - desc = _t('Remove %(name)s from the directory?', {name: name}); - } - - Modal.createTrackedDialog('Remove from Directory', '', QuestionDialog, { - title: _t('Remove from Directory'), - description: desc, - onFinished: (should_delete) => { - if (!should_delete) return; - - var Loader = sdk.getComponent("elements.Spinner"); - var modal = Modal.createDialog(Loader); - var step = _t('remove %(name)s from the directory.', {name: name}); - - MatrixClientPeg.get().setRoomDirectoryVisibility(room.room_id, 'private').then(() => { - if (!alias) return; - step = _t('delete the alias.'); - return MatrixClientPeg.get().deleteAlias(alias); - }).done(() => { - modal.close(); - this.refreshRoomList(); - }, (err) => { - modal.close(); - this.refreshRoomList(); - console.error("Failed to " + step + ": " + err); - Modal.createTrackedDialog('Remove from Directory Error', '', ErrorDialog, { - title: _t('Error'), - description: ((err && err.message) ? err.message : _t('The server may be unavailable or overloaded')) - }); - }); - } - }); - }, - - onRoomClicked: function(room, ev) { - if (ev.shiftKey) { - ev.preventDefault(); - this.removeFromDirectory(room); - } else { - this.showRoom(room); - } - }, - - onOptionChange: function(server, instanceId, includeAll) { - // clear next batch so we don't try to load more rooms - this.nextBatch = null; - this.setState({ - // Clear the public rooms out here otherwise we needlessly - // spend time filtering lots of rooms when we're about to - // to clear the list anyway. - publicRooms: [], - roomServer: server, - instanceId: instanceId, - includeAll: includeAll, - }, this.refreshRoomList); - // We also refresh the room list each time even though this - // filtering is client-side. It hopefully won't be client side - // for very long, and we may have fetched a thousand rooms to - // find the five gitter ones, at which point we do not want - // to render all those rooms when switching back to 'all networks'. - // Easiest to just blow away the state & re-fetch. - }, - - onFillRequest: function(backwards) { - if (backwards || !this.nextBatch) return Promise.resolve(false); - - return this.getMoreRooms(); - }, - - onFilterChange: function(alias) { - this.setState({ - filterString: alias || null, - }); - - // don't send the request for a little bit, - // no point hammering the server with a - // request for every keystroke, let the - // user finish typing. - if (this.filterTimeout) { - clearTimeout(this.filterTimeout); - } - this.filterTimeout = setTimeout(() => { - this.filterTimeout = null; - this.refreshRoomList(); - }, 700); - }, - - onFilterClear: function() { - // update immediately - this.setState({ - filterString: null, - }, this.refreshRoomList); - - if (this.filterTimeout) { - clearTimeout(this.filterTimeout); - } - }, - - onJoinClick: function(alias) { - // If we don't have a particular instance id selected, just show that rooms alias - if (!this.state.instanceId) { - // If the user specified an alias without a domain, add on whichever server is selected - // in the dropdown - if (alias.indexOf(':') == -1) { - alias = alias + ':' + this.state.roomServer; - } - this.showRoomAlias(alias); - } else { - // This is a 3rd party protocol. Let's see if we can join it - const protocolName = protocolNameForInstanceId(this.protocols, this.state.instanceId); - const instance = instanceForInstanceId(this.protocols, this.state.instanceId); - const fields = protocolName ? this._getFieldsForThirdPartyLocation(alias, this.protocols[protocolName], instance) : null; - if (!fields) { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Unable to join network', '', ErrorDialog, { - title: _t('Unable to join network'), - description: _t('Riot does not know how to join a room on this network'), - }); - return; - } - MatrixClientPeg.get().getThirdpartyLocation(protocolName, fields).done((resp) => { - if (resp.length > 0 && resp[0].alias) { - this.showRoomAlias(resp[0].alias); - } else { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Room not found', '', ErrorDialog, { - title: _t('Room not found'), - description: _t('Couldn\'t find a matching Matrix room'), - }); - } - }, (e) => { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Fetching third party location failed', '', ErrorDialog, { - title: _t('Fetching third party location failed'), - description: _t('Unable to look up room ID from server'), - }); - }); - } - }, - - showRoomAlias: function(alias) { - this.showRoom(null, alias); - }, - - showRoom: function(room, room_alias) { - var payload = {action: 'view_room'}; - if (room) { - // Don't let the user view a room they won't be able to either - // peek or join: fail earlier so they don't have to click back - // to the directory. - if (MatrixClientPeg.get().isGuest()) { - if (!room.world_readable && !room.guest_can_join) { - dis.dispatch({action: 'view_set_mxid'}); - return; - } - } - - if (!room_alias) { - room_alias = get_display_alias_for_room(room); - } - - payload.oob_data = { - avatarUrl: room.avatar_url, - // XXX: This logic is duplicated from the JS SDK which - // would normally decide what the name is. - name: room.name || room_alias || _t('Unnamed room'), - }; - } - // It's not really possible to join Matrix rooms by ID because the HS has no way to know - // which servers to start querying. However, there's no other way to join rooms in - // this list without aliases at present, so if roomAlias isn't set here we have no - // choice but to supply the ID. - if (room_alias) { - payload.room_alias = room_alias; - } else { - payload.room_id = room.room_id; - } - dis.dispatch(payload); - }, - - getRows: function() { - var BaseAvatar = sdk.getComponent('avatars.BaseAvatar'); - - if (!this.state.publicRooms) return []; - - var rooms = this.state.publicRooms; - var rows = []; - var self = this; - var guestRead, guestJoin, perms; - for (var i = 0; i < rooms.length; i++) { - var name = rooms[i].name || get_display_alias_for_room(rooms[i]) || _t('Unnamed room'); - guestRead = null; - guestJoin = null; - - if (rooms[i].world_readable) { - guestRead = ( - <div className="mx_RoomDirectory_perm">{ _t('World readable') }</div> - ); - } - if (rooms[i].guest_can_join) { - guestJoin = ( - <div className="mx_RoomDirectory_perm">{ _t('Guests can join') }</div> - ); - } - - perms = null; - if (guestRead || guestJoin) { - perms = <div className="mx_RoomDirectory_perms">{guestRead}{guestJoin}</div>; - } - - var topic = rooms[i].topic || ''; - topic = linkifyString(sanitizeHtml(topic)); - - rows.push( - <tr key={ rooms[i].room_id } - onClick={self.onRoomClicked.bind(self, rooms[i])} - // cancel onMouseDown otherwise shift-clicking highlights text - onMouseDown={(ev) => {ev.preventDefault();}} - > - <td className="mx_RoomDirectory_roomAvatar"> - <BaseAvatar width={24} height={24} resizeMethod='crop' - name={ name } idName={ name } - url={ ContentRepo.getHttpUriForMxc( - MatrixClientPeg.get().getHomeserverUrl(), - rooms[i].avatar_url, 24, 24, "crop") } /> - </td> - <td className="mx_RoomDirectory_roomDescription"> - <div className="mx_RoomDirectory_name">{ name }</div> - { perms } - <div className="mx_RoomDirectory_topic" - onClick={ function(e) { e.stopPropagation() } } - dangerouslySetInnerHTML={{ __html: topic }}/> - <div className="mx_RoomDirectory_alias">{ get_display_alias_for_room(rooms[i]) }</div> - </td> - <td className="mx_RoomDirectory_roomMemberCount"> - { rooms[i].num_joined_members } - </td> - </tr> - ); - } - return rows; - }, - - collectScrollPanel: function(element) { - this.scrollPanel = element; - }, - - _stringLooksLikeId: function(s, field_type) { - let pat = /^#[^\s]+:[^\s]/; - if (field_type && field_type.regexp) { - pat = new RegExp(field_type.regexp); - } - - return pat.test(s); - }, - - _getFieldsForThirdPartyLocation: function(userInput, protocol, instance) { - // make an object with the fields specified by that protocol. We - // require that the values of all but the last field come from the - // instance. The last is the user input. - const requiredFields = protocol.location_fields; - if (!requiredFields) return null; - const fields = {}; - for (let i = 0; i < requiredFields.length - 1; ++i) { - const thisField = requiredFields[i]; - if (instance.fields[thisField] === undefined) return null; - fields[thisField] = instance.fields[thisField]; - } - fields[requiredFields[requiredFields.length - 1]] = userInput; - return fields; - }, - - /** - * called by the parent component when PageUp/Down/etc is pressed. - * - * We pass it down to the scroll panel. - */ - handleScrollKey: function(ev) { - if (this.scrollPanel) { - this.scrollPanel.handleScrollKey(ev); - } - }, - - render: function() { - const SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader'); - const Loader = sdk.getComponent("elements.Spinner"); - - if (this.state.protocolsLoading) { - return ( - <div className="mx_RoomDirectory"> - <SimpleRoomHeader title={ _t('Directory') } /> - <Loader /> - </div> - ); - } - - let content; - if (this.state.loading) { - content = <div className="mx_RoomDirectory"> - <Loader /> - </div>; - } else { - const rows = this.getRows(); - // we still show the scrollpanel, at least for now, because - // otherwise we don't fetch more because we don't get a fill - // request from the scrollpanel because there isn't one - let scrollpanel_content; - if (rows.length == 0) { - scrollpanel_content = <i>{ _t('No rooms to show') }</i>; - } else { - scrollpanel_content = <table ref="directory_table" className="mx_RoomDirectory_table"> - <tbody> - { this.getRows() } - </tbody> - </table>; - } - const ScrollPanel = sdk.getComponent("structures.ScrollPanel"); - content = <ScrollPanel ref={this.collectScrollPanel} - className="mx_RoomDirectory_tableWrapper" - onFillRequest={ this.onFillRequest } - stickyBottom={false} - startAtBottom={false} - onResize={function(){}} - > - { scrollpanel_content } - </ScrollPanel>; - } - - const protocolName = protocolNameForInstanceId(this.protocols, this.state.instanceId); - let instance_expected_field_type; - if ( - protocolName && - this.protocols && - this.protocols[protocolName] && - this.protocols[protocolName].location_fields.length > 0 && - this.protocols[protocolName].field_types - ) { - const last_field = this.protocols[protocolName].location_fields.slice(-1)[0]; - instance_expected_field_type = this.protocols[protocolName].field_types[last_field]; - } - - - let placeholder = _t('Search for a room'); - if (!this.state.instanceId) { - placeholder = _t('#example') + ':' + this.state.roomServer; - } else if (instance_expected_field_type) { - placeholder = instance_expected_field_type.placeholder; - } - - let showJoinButton = this._stringLooksLikeId(this.state.filterString, instance_expected_field_type); - if (protocolName) { - const instance = instanceForInstanceId(this.protocols, this.state.instanceId); - if (this._getFieldsForThirdPartyLocation(this.state.filterString, this.protocols[protocolName], instance) === null) { - showJoinButton = false; - } - } - - const NetworkDropdown = sdk.getComponent('directory.NetworkDropdown'); - const DirectorySearchBox = sdk.getComponent('elements.DirectorySearchBox'); - return ( - <div className="mx_RoomDirectory"> - <SimpleRoomHeader title={ _t('Directory') } icon="img/icons-directory.svg" /> - <div className="mx_RoomDirectory_list"> - <div className="mx_RoomDirectory_listheader"> - <DirectorySearchBox - className="mx_RoomDirectory_searchbox" - onChange={this.onFilterChange} onClear={this.onFilterClear} onJoinClick={this.onJoinClick} - placeholder={placeholder} showJoinButton={showJoinButton} - /> - <NetworkDropdown config={this.props.config} protocols={this.protocols} onOptionChange={this.onOptionChange} /> - </div> - {content} - </div> - </div> - ); - } -}); - -// Similar to matrix-react-sdk's MatrixTools.getDisplayAliasForRoom -// but works with the objects we get from the public room list -function get_display_alias_for_room(room) { - return room.canonical_alias || (room.aliases ? room.aliases[0] : ""); -} diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js deleted file mode 100644 index ed092d94..00000000 --- a/src/components/structures/RoomSubList.js +++ /dev/null @@ -1,401 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); -var ReactDOM = require('react-dom'); -var classNames = require('classnames'); -var sdk = require('matrix-react-sdk'); -import { Droppable } from 'react-beautiful-dnd'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -var dis = require('matrix-react-sdk/lib/dispatcher'); -var Unread = require('matrix-react-sdk/lib/Unread'); -var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); -var RoomNotifs = require('matrix-react-sdk/lib/RoomNotifs'); -var FormattingUtils = require('matrix-react-sdk/lib/utils/FormattingUtils'); -var AccessibleButton = require('matrix-react-sdk/lib/components/views/elements/AccessibleButton'); -import Modal from 'matrix-react-sdk/lib/Modal'; -import { KeyCode } from 'matrix-react-sdk/lib/Keyboard'; - - -// turn this on for drop & drag console debugging galore -var debug = false; - -const TRUNCATE_AT = 10; - -var RoomSubList = React.createClass({ - displayName: 'RoomSubList', - - debug: debug, - - propTypes: { - list: React.PropTypes.arrayOf(React.PropTypes.object).isRequired, - label: React.PropTypes.string.isRequired, - tagName: React.PropTypes.string, - editable: React.PropTypes.bool, - - order: React.PropTypes.string.isRequired, - - // passed through to RoomTile and used to highlight room with `!` regardless of notifications count - isInvite: React.PropTypes.bool, - - startAsHidden: React.PropTypes.bool, - showSpinner: React.PropTypes.bool, // true to show a spinner if 0 elements when expanded - collapsed: React.PropTypes.bool.isRequired, // is LeftPanel collapsed? - onHeaderClick: React.PropTypes.func, - alwaysShowHeader: React.PropTypes.bool, - incomingCall: React.PropTypes.object, - onShowMoreRooms: React.PropTypes.func, - searchFilter: React.PropTypes.string, - emptyContent: React.PropTypes.node, // content shown if the list is empty - headerItems: React.PropTypes.node, // content shown in the sublist header - extraTiles: React.PropTypes.arrayOf(React.PropTypes.node), // extra elements added beneath tiles - }, - - getInitialState: function() { - return { - hidden: this.props.startAsHidden || false, - truncateAt: TRUNCATE_AT, - sortedList: [], - }; - }, - - getDefaultProps: function() { - return { - onHeaderClick: function() {}, // NOP - onShowMoreRooms: function() {}, // NOP - extraTiles: [], - isInvite: false, - }; - }, - - componentWillMount: function() { - this.setState({ - sortedList: this.applySearchFilter(this.props.list, this.props.searchFilter), - }); - this.dispatcherRef = dis.register(this.onAction); - }, - - componentWillUnmount: function() { - dis.unregister(this.dispatcherRef); - }, - - componentWillReceiveProps: function(newProps) { - // order the room list appropriately before we re-render - //if (debug) console.log("received new props, list = " + newProps.list); - this.setState({ - sortedList: this.applySearchFilter(newProps.list, newProps.searchFilter), - }); - }, - - applySearchFilter: function(list, filter) { - if (filter === "") return list; - return list.filter((room) => { - return room.name && room.name.toLowerCase().indexOf(filter.toLowerCase()) >= 0 - }); - }, - - // The header is collapsable if it is hidden or not stuck - // The dataset elements are added in the RoomList _initAndPositionStickyHeaders method - isCollapsableOnClick: function() { - var stuck = this.refs.header.dataset.stuck; - if (this.state.hidden || stuck === undefined || stuck === "none") { - return true; - } else { - return false; - } - }, - - onAction: function(payload) { - // XXX: Previously RoomList would forceUpdate whenever on_room_read is dispatched, - // but this is no longer true, so we must do it here (and can apply the small - // optimisation of checking that we care about the room being read). - // - // Ultimately we need to transition to a state pushing flow where something - // explicitly notifies the components concerned that the notif count for a room - // has change (e.g. a Flux store). - if (payload.action === 'on_room_read' && - this.props.list.some((r) => r.roomId === payload.roomId) - ) { - this.forceUpdate(); - } - }, - - onClick: function(ev) { - if (this.isCollapsableOnClick()) { - // The header isCollapsable, so the click is to be interpreted as collapse and truncation logic - var isHidden = !this.state.hidden; - this.setState({ hidden : isHidden }); - - if (isHidden) { - // as good a way as any to reset the truncate state - this.setState({ truncateAt : TRUNCATE_AT }); - } - - this.props.onShowMoreRooms(); - this.props.onHeaderClick(isHidden); - } else { - // The header is stuck, so the click is to be interpreted as a scroll to the header - this.props.onHeaderClick(this.state.hidden, this.refs.header.dataset.originalPosition); - } - }, - - onRoomTileClick(roomId, ev) { - dis.dispatch({ - action: 'view_room', - room_id: roomId, - clear_search: (ev && (ev.keyCode == KeyCode.ENTER || ev.keyCode == KeyCode.SPACE)), - }); - }, - - _shouldShowNotifBadge: function(roomNotifState) { - const showBadgeInStates = [RoomNotifs.ALL_MESSAGES, RoomNotifs.ALL_MESSAGES_LOUD]; - return showBadgeInStates.indexOf(roomNotifState) > -1; - }, - - _shouldShowMentionBadge: function(roomNotifState) { - return roomNotifState != RoomNotifs.MUTE; - }, - - /** - * Total up all the notification counts from the rooms - * - * @param {Number} If supplied will only total notifications for rooms outside the truncation number - * @returns {Array} The array takes the form [total, highlight] where highlight is a bool - */ - roomNotificationCount: function(truncateAt) { - var self = this; - - if (this.props.isInvite) { - return [0, true]; - } - - return this.props.list.reduce(function(result, room, index) { - if (truncateAt === undefined || index >= truncateAt) { - var roomNotifState = RoomNotifs.getRoomNotifsState(room.roomId); - var highlight = room.getUnreadNotificationCount('highlight') > 0; - var notificationCount = room.getUnreadNotificationCount(); - - const notifBadges = notificationCount > 0 && self._shouldShowNotifBadge(roomNotifState); - const mentionBadges = highlight && self._shouldShowMentionBadge(roomNotifState); - const badges = notifBadges || mentionBadges; - - if (badges) { - result[0] += notificationCount; - if (highlight) { - result[1] = true; - } - } - } - return result; - }, [0, false]); - }, - - _updateSubListCount: function() { - // Force an update by setting the state to the current state - // Doing it this way rather than using forceUpdate(), so that the shouldComponentUpdate() - // method is honoured - this.setState(this.state); - }, - - makeRoomTiles: function() { - const DNDRoomTile = sdk.getComponent("rooms.DNDRoomTile"); - const RoomTile = sdk.getComponent("rooms.RoomTile"); - return this.state.sortedList.map((room, index) => { - // XXX: is it evil to pass in this as a prop to RoomTile? Yes. - - // We should only use <DNDRoomTile /> when editable - const RoomTileComponent = this.props.editable ? DNDRoomTile : RoomTile; - return <RoomTileComponent - index={index} // For DND - room={room} - roomSubList={this} - tagName={this.props.tagName} - key={room.roomId} - collapsed={this.props.collapsed || false} - unread={Unread.doesRoomHaveUnreadMessages(room)} - highlight={room.getUnreadNotificationCount('highlight') > 0 || this.props.isInvite} - isInvite={this.props.isInvite} - refreshSubList={this._updateSubListCount} - incomingCall={null} - onClick={this.onRoomTileClick} - />; - }); - }, - - _getHeaderJsx: function() { - var TintableSvg = sdk.getComponent("elements.TintableSvg"); - - var subListNotifications = this.roomNotificationCount(); - var subListNotifCount = subListNotifications[0]; - var subListNotifHighlight = subListNotifications[1]; - - var totalTiles = this.props.list.length + (this.props.extraTiles || []).length; - var roomCount = totalTiles > 0 ? totalTiles : ''; - - var chevronClasses = classNames({ - 'mx_RoomSubList_chevron': true, - 'mx_RoomSubList_chevronRight': this.state.hidden, - 'mx_RoomSubList_chevronDown': !this.state.hidden, - }); - - var badgeClasses = classNames({ - 'mx_RoomSubList_badge': true, - 'mx_RoomSubList_badgeHighlight': subListNotifHighlight, - }); - - var badge; - if (subListNotifCount > 0) { - badge = <div className={badgeClasses}>{ FormattingUtils.formatCount(subListNotifCount) }</div>; - } else if (this.props.isInvite) { - // no notifications but highlight anyway because this is an invite badge - badge = <div className={badgeClasses}>!</div>; - } - - // When collapsed, allow a long hover on the header to show user - // the full tag name and room count - var title; - if (this.props.collapsed) { - title = this.props.label; - if (roomCount !== '') { - title += " [" + roomCount + "]"; - } - } - - var incomingCall; - if (this.props.incomingCall) { - var self = this; - // Check if the incoming call is for this section - var incomingCallRoom = this.props.list.filter(function(room) { - return self.props.incomingCall.roomId === room.roomId; - }); - - if (incomingCallRoom.length === 1) { - var IncomingCallBox = sdk.getComponent("voip.IncomingCallBox"); - incomingCall = <IncomingCallBox className="mx_RoomSubList_incomingCall" incomingCall={ this.props.incomingCall }/>; - } - } - - var tabindex = this.props.searchFilter === "" ? "0" : "-1"; - - return ( - <div className="mx_RoomSubList_labelContainer" title={ title } ref="header"> - <AccessibleButton onClick={ this.onClick } className="mx_RoomSubList_label" tabIndex={tabindex}> - { this.props.collapsed ? '' : this.props.label } - <div className="mx_RoomSubList_roomCount">{ roomCount }</div> - <div className={chevronClasses}></div> - { badge } - { incomingCall } - </AccessibleButton> - </div> - ); - }, - - _createOverflowTile: function(overflowCount, totalCount) { - var content = <div className="mx_RoomSubList_chevronDown"></div>; - - var overflowNotifications = this.roomNotificationCount(TRUNCATE_AT); - var overflowNotifCount = overflowNotifications[0]; - var overflowNotifHighlight = overflowNotifications[1]; - if (overflowNotifCount && !this.props.collapsed) { - content = FormattingUtils.formatCount(overflowNotifCount); - } - - var badgeClasses = classNames({ - 'mx_RoomSubList_moreBadge': true, - 'mx_RoomSubList_moreBadgeNotify': overflowNotifCount && !this.props.collapsed, - 'mx_RoomSubList_moreBadgeHighlight': overflowNotifHighlight && !this.props.collapsed, - }); - - return ( - <AccessibleButton className="mx_RoomSubList_ellipsis" onClick={this._showFullMemberList}> - <div className="mx_RoomSubList_line"></div> - <div className="mx_RoomSubList_more">{ _t("more") }</div> - <div className={ badgeClasses }>{ content }</div> - </AccessibleButton> - ); - }, - - _showFullMemberList: function() { - this.setState({ - truncateAt: -1 - }); - - this.props.onShowMoreRooms(); - this.props.onHeaderClick(false); - }, - - render: function() { - var connectDropTarget = this.props.connectDropTarget; - var TruncatedList = sdk.getComponent('elements.TruncatedList'); - - var label = this.props.collapsed ? null : this.props.label; - - let content; - if (this.state.sortedList.length === 0 && !this.props.searchFilter && this.props.extraTiles.length === 0) { - content = this.props.emptyContent; - } else { - content = this.makeRoomTiles(); - content.push(...this.props.extraTiles); - } - - if (this.state.sortedList.length > 0 || this.props.extraTiles.length > 0 || this.props.editable) { - var subList; - var classes = "mx_RoomSubList"; - - if (!this.state.hidden) { - subList = <TruncatedList className={ classes } truncateAt={this.state.truncateAt} - createOverflowElement={this._createOverflowTile} > - { content } - </TruncatedList>; - } - else { - subList = <TruncatedList className={ classes }> - </TruncatedList>; - } - - const subListContent = <div> - { this._getHeaderJsx() } - { subList } - </div>; - - return this.props.editable ? - <Droppable - droppableId={"room-sub-list-droppable_" + this.props.tagName} - type="draggable-RoomTile" - > - { (provided, snapshot) => ( - <div ref={provided.innerRef}> - { subListContent } - </div> - ) } - </Droppable> : subListContent; - } - else { - var Loader = sdk.getComponent("elements.Spinner"); - return ( - <div className="mx_RoomSubList"> - { this.props.alwaysShowHeader ? this._getHeaderJsx() : undefined } - { (this.props.showSpinner && !this.state.hidden) ? <Loader /> : undefined } - </div> - ); - } - } -}); - -module.exports = RoomSubList; diff --git a/src/components/structures/SearchBox.js b/src/components/structures/SearchBox.js deleted file mode 100644 index 2d6e6ae0..00000000 --- a/src/components/structures/SearchBox.js +++ /dev/null @@ -1,163 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import { KeyCode } from 'matrix-react-sdk/lib/Keyboard'; -import sdk from 'matrix-react-sdk'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import rate_limited_func from 'matrix-react-sdk/lib/ratelimitedfunc'; -import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton'; - -module.exports = React.createClass({ - displayName: 'SearchBox', - - propTypes: { - collapsed: React.PropTypes.bool, - onSearch: React.PropTypes.func, - }, - - getInitialState: function() { - return { - searchTerm: "", - }; - }, - - componentDidMount: function() { - this.dispatcherRef = dis.register(this.onAction); - }, - - componentWillUnmount: function() { - dis.unregister(this.dispatcherRef); - }, - - onAction: function(payload) { - switch (payload.action) { - case 'view_room': - if (this.refs.search && payload.clear_search) { - this._clearSearch(); - } - break; - case 'focus_room_filter': - if (this.refs.search) { - this.refs.search.focus(); - this.refs.search.select(); - } - break; - } - }, - - onChange: function() { - if (!this.refs.search) return; - this.setState({ searchTerm: this.refs.search.value }); - this.onSearch(); - }, - - onSearch: new rate_limited_func( - function() { - this.props.onSearch(this.refs.search.value); - }, - 100 - ), - - onToggleCollapse: function(show) { - if (show) { - dis.dispatch({ - action: 'show_left_panel', - }); - } - else { - dis.dispatch({ - action: 'hide_left_panel', - }); - } - }, - - _onKeyDown: function(ev) { - switch (ev.keyCode) { - case KeyCode.ESCAPE: - this._clearSearch(); - dis.dispatch({action: 'focus_composer'}); - break; - } - }, - - _clearSearch: function() { - this.refs.search.value = ""; - this.onChange(); - }, - - render: function() { - var TintableSvg = sdk.getComponent('elements.TintableSvg'); - - var collapseTabIndex = this.refs.search && this.refs.search.value !== "" ? "-1" : "0"; - - var toggleCollapse; - if (this.props.collapsed) { - toggleCollapse = - <AccessibleButton className="mx_SearchBox_maximise" tabIndex={collapseTabIndex} onClick={ this.onToggleCollapse.bind(this, true) }> - <TintableSvg src="img/maximise.svg" width="10" height="16" alt={ _t("Expand panel") }/> - </AccessibleButton> - } - else { - toggleCollapse = - <AccessibleButton className="mx_SearchBox_minimise" tabIndex={collapseTabIndex} onClick={ this.onToggleCollapse.bind(this, false) }> - <TintableSvg src="img/minimise.svg" width="10" height="16" alt={ _t("Collapse panel") }/> - </AccessibleButton> - } - - var searchControls; - if (!this.props.collapsed) { - searchControls = [ - this.state.searchTerm.length > 0 ? - <AccessibleButton key="button" - className="mx_SearchBox_closeButton" - onClick={ ()=>{ this._clearSearch(); } }> - <TintableSvg - className="mx_SearchBox_searchButton" - src="img/icons-close.svg" width="24" height="24" - /> - </AccessibleButton> - : - <TintableSvg - key="button" - className="mx_SearchBox_searchButton" - src="img/icons-search-copy.svg" width="13" height="13" - />, - <input - key="searchfield" - type="text" - ref="search" - className="mx_SearchBox_search" - value={ this.state.searchTerm } - onChange={ this.onChange } - onKeyDown={ this._onKeyDown } - placeholder={ _t('Filter room names') } - /> - ]; - } - - var self = this; - return ( - <div className="mx_SearchBox"> - { searchControls } - { toggleCollapse } - </div> - ); - } -}); diff --git a/src/components/structures/HomePage.js b/src/components/structures/VectorHomePage.js similarity index 100% rename from src/components/structures/HomePage.js rename to src/components/structures/VectorHomePage.js diff --git a/src/components/structures/ViewSource.js b/src/components/structures/ViewSource.js deleted file mode 100644 index 3a5d35a5..00000000 --- a/src/components/structures/ViewSource.js +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import PropTypes from 'prop-types'; -import SyntaxHighlight from '../views/elements/SyntaxHighlight'; - - -module.exports = React.createClass({ - displayName: 'ViewSource', - - propTypes: { - content: PropTypes.object.isRequired, - onFinished: PropTypes.func.isRequired, - }, - - componentDidMount: function() { - document.addEventListener("keydown", this.onKeyDown); - }, - - componentWillUnmount: function() { - document.removeEventListener("keydown", this.onKeyDown); - }, - - onKeyDown: function(ev) { - if (ev.keyCode == 27) { // escape - ev.stopPropagation(); - ev.preventDefault(); - this.props.onFinished(); - } - }, - - render: function() { - return ( - <div className="mx_ViewSource"> - <SyntaxHighlight className="json"> - { JSON.stringify(this.props.content, null, 2) } - </SyntaxHighlight> - </div> - ); - } -}); diff --git a/src/components/views/context_menus/GenericElementContextMenu.js b/src/components/views/context_menus/GenericElementContextMenu.js deleted file mode 100644 index 3f4804db..00000000 --- a/src/components/views/context_menus/GenericElementContextMenu.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import PropTypes from 'prop-types'; - -/* - * This component can be used to display generic HTML content in a contextual - * menu. - */ - - -export default class GenericElementContextMenu extends React.Component { - static PropTypes = { - element: PropTypes.element.isRequired, - // Function to be called when the parent window is resized - // This can be used to reposition or close the menu on resize and - // ensure that it is not displayed in a stale position. - onResize: PropTypes.func, - }; - - constructor(props) { - super(props); - this.resize = this.resize.bind(this); - } - - componentDidMount() { - this.resize = this.resize.bind(this); - window.addEventListener("resize", this.resize); - } - - componentWillUnmount() { - window.removeEventListener("resize", this.resize); - } - - resize() { - if (this.props.onResize) { - this.props.onResize(); - } - } - - render() { - return <div>{ this.props.element }</div>; - } -} diff --git a/src/components/views/context_menus/GenericTextContextMenu.js b/src/components/views/context_menus/GenericTextContextMenu.js deleted file mode 100644 index 2319fe05..00000000 --- a/src/components/views/context_menus/GenericTextContextMenu.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import PropTypes from 'prop-types'; - -export default class GenericTextContextMenu extends React.Component { - static PropTypes = { - message: PropTypes.string.isRequired, - }; - - render() { - return <div>{ this.props.message }</div>; - } -} diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js deleted file mode 100644 index 11f14f36..00000000 --- a/src/components/views/context_menus/MessageContextMenu.js +++ /dev/null @@ -1,326 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2018 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; - -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import sdk from 'matrix-react-sdk'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import Modal from 'matrix-react-sdk/lib/Modal'; -import Resend from "matrix-react-sdk/lib/Resend"; -import SettingsStore from "matrix-react-sdk/lib/settings/SettingsStore"; -import {makeEventPermalink} from 'matrix-react-sdk/lib/matrix-to'; -import { isUrlPermitted } from 'matrix-react-sdk/lib/HtmlUtils'; - -module.exports = React.createClass({ - displayName: 'MessageContextMenu', - - propTypes: { - /* the MatrixEvent associated with the context menu */ - mxEvent: React.PropTypes.object.isRequired, - - /* an optional EventTileOps implementation that can be used to unhide preview widgets */ - eventTileOps: React.PropTypes.object, - - /* callback called when the menu is dismissed */ - onFinished: React.PropTypes.func, - }, - - getInitialState: function() { - return { - canRedact: false, - canPin: false, - }; - }, - - componentWillMount: function() { - MatrixClientPeg.get().on('RoomMember.powerLevel', this._checkPermissions); - this._checkPermissions(); - }, - - componentWillUnmount: function() { - const cli = MatrixClientPeg.get(); - if (cli) { - cli.removeListener('RoomMember.powerLevel', this._checkPermissions); - } - }, - - _checkPermissions: function() { - const cli = MatrixClientPeg.get(); - const room = cli.getRoom(this.props.mxEvent.getRoomId()); - - const canRedact = room.currentState.maySendRedactionForEvent(this.props.mxEvent, cli.credentials.userId); - let canPin = room.currentState.mayClientSendStateEvent('m.room.pinned_events', cli); - - // HACK: Intentionally say we can't pin if the user doesn't want to use the functionality - if (!SettingsStore.isFeatureEnabled("feature_pinning")) canPin = false; - - this.setState({canRedact, canPin}); - }, - - _isPinned: function() { - const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId()); - const pinnedEvent = room.currentState.getStateEvents('m.room.pinned_events', ''); - if (!pinnedEvent) return false; - return pinnedEvent.getContent().pinned.includes(this.props.mxEvent.getId()); - }, - - onResendClick: function() { - Resend.resend(this.props.mxEvent); - this.closeMenu(); - }, - - onViewSourceClick: function() { - const ViewSource = sdk.getComponent('structures.ViewSource'); - Modal.createTrackedDialog('View Event Source', '', ViewSource, { - content: this.props.mxEvent.event, - }, 'mx_Dialog_viewsource'); - this.closeMenu(); - }, - - onViewClearSourceClick: function() { - const ViewSource = sdk.getComponent('structures.ViewSource'); - Modal.createTrackedDialog('View Clear Event Source', '', ViewSource, { - // FIXME: _clearEvent is private - content: this.props.mxEvent._clearEvent, - }, 'mx_Dialog_viewsource'); - this.closeMenu(); - }, - - onRedactClick: function() { - const ConfirmRedactDialog = sdk.getComponent("dialogs.ConfirmRedactDialog"); - Modal.createTrackedDialog('Confirm Redact Dialog', '', ConfirmRedactDialog, { - onFinished: (proceed) => { - if (!proceed) return; - - const cli = MatrixClientPeg.get(); - cli.redactEvent(this.props.mxEvent.getRoomId(), this.props.mxEvent.getId()).catch(function(e) { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - // display error message stating you couldn't delete this. - const code = e.errcode || e.statusCode; - Modal.createTrackedDialog('You cannot delete this message', '', ErrorDialog, { - title: _t('Error'), - description: _t('You cannot delete this message. (%(code)s)', {code}), - }); - }).done(); - }, - }, 'mx_Dialog_confirmredact'); - this.closeMenu(); - }, - - onCancelSendClick: function() { - Resend.removeFromQueue(this.props.mxEvent); - this.closeMenu(); - }, - - onForwardClick: function() { - dis.dispatch({ - action: 'forward_event', - event: this.props.mxEvent, - }); - this.closeMenu(); - }, - - onPinClick: function() { - MatrixClientPeg.get().getStateEvent(this.props.mxEvent.getRoomId(), 'm.room.pinned_events', '') - .catch((e) => { - // Intercept the Event Not Found error and fall through the promise chain with no event. - if (e.errcode === "M_NOT_FOUND") return null; - throw e; - }) - .then((event) => { - const eventIds = (event ? event.pinned : []) || []; - if (!eventIds.includes(this.props.mxEvent.getId())) { - // Not pinned - add - eventIds.push(this.props.mxEvent.getId()); - } else { - // Pinned - remove - eventIds.splice(eventIds.indexOf(this.props.mxEvent.getId()), 1); - } - - const cli = MatrixClientPeg.get(); - cli.sendStateEvent(this.props.mxEvent.getRoomId(), 'm.room.pinned_events', {pinned: eventIds}, ''); - }); - this.closeMenu(); - }, - - closeMenu: function() { - if (this.props.onFinished) this.props.onFinished(); - }, - - onUnhidePreviewClick: function() { - if (this.props.eventTileOps) { - this.props.eventTileOps.unhideWidget(); - } - this.closeMenu(); - }, - - onQuoteClick: function() { - dis.dispatch({ - action: 'quote', - text: this.props.eventTileOps.getInnerText(), - }); - this.closeMenu(); - }, - - onReplyClick: function() { - dis.dispatch({ - action: 'quote_event', - event: this.props.mxEvent, - }); - this.closeMenu(); - }, - - render: function() { - const eventStatus = this.props.mxEvent.status; - let resendButton; - let redactButton; - let cancelButton; - let forwardButton; - let pinButton; - let viewClearSourceButton; - let unhidePreviewButton; - let externalURLButton; - let quoteButton; - let replyButton; - - if (eventStatus === 'not_sent') { - resendButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onResendClick}> - { _t('Resend') } - </div> - ); - } - - if (!eventStatus && this.state.canRedact) { - redactButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onRedactClick}> - { _t('Remove') } - </div> - ); - } - - if (eventStatus === "queued" || eventStatus === "not_sent") { - cancelButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onCancelSendClick}> - { _t('Cancel Sending') } - </div> - ); - } - - if (!eventStatus && this.props.mxEvent.getType() === 'm.room.message') { - const content = this.props.mxEvent.getContent(); - if (content.msgtype && content.msgtype !== 'm.bad.encrypted' && content.hasOwnProperty('body')) { - forwardButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onForwardClick}> - { _t('Forward Message') } - </div> - ); - - if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) { - replyButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onReplyClick}> - { _t('Reply') } - </div> - ); - } - - if (this.state.canPin) { - pinButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onPinClick}> - { this._isPinned() ? _t('Unpin Message') : _t('Pin Message') } - </div> - ); - } - } - } - - const viewSourceButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onViewSourceClick}> - { _t('View Source') } - </div> - ); - - if (this.props.mxEvent.getType() !== this.props.mxEvent.getWireType()) { - viewClearSourceButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onViewClearSourceClick}> - { _t('View Decrypted Source') } - </div> - ); - } - - if (this.props.eventTileOps) { - if (this.props.eventTileOps.isWidgetHidden()) { - unhidePreviewButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onUnhidePreviewClick}> - { _t('Unhide Preview') } - </div> - ); - } - } - - // XXX: if we use room ID, we should also include a server where the event can be found (other than in the domain of the event ID) - const permalinkButton = ( - <div className="mx_MessageContextMenu_field"> - <a href={makeEventPermalink(this.props.mxEvent.getRoomId(), this.props.mxEvent.getId())} - target="_blank" rel="noopener" onClick={this.closeMenu}>{ _t('Permalink') }</a> - </div> - ); - - if (this.props.eventTileOps && this.props.eventTileOps.getInnerText) { - quoteButton = ( - <div className="mx_MessageContextMenu_field" onClick={this.onQuoteClick}> - { _t('Quote') } - </div> - ); - } - - // Bridges can provide a 'external_url' to link back to the source. - if ( - typeof(this.props.mxEvent.event.content.external_url) === "string" && - isUrlPermitted(this.props.mxEvent.event.content.external_url) - ) { - externalURLButton = ( - <div className="mx_MessageContextMenu_field"> - <a href={this.props.mxEvent.event.content.external_url} - rel="noopener" target="_blank" onClick={this.closeMenu}>{ _t('Source URL') }</a> - </div> - ); - } - - - return ( - <div> - { resendButton } - { redactButton } - { cancelButton } - { forwardButton } - { pinButton } - { viewSourceButton } - { viewClearSourceButton } - { unhidePreviewButton } - { permalinkButton } - { quoteButton } - { replyButton } - { externalURLButton } - </div> - ); - }, -}); diff --git a/src/components/views/context_menus/PresenceContextMenu.js b/src/components/views/context_menus/PresenceContextMenu.js deleted file mode 100644 index 3a3dc2fa..00000000 --- a/src/components/views/context_menus/PresenceContextMenu.js +++ /dev/null @@ -1,101 +0,0 @@ -/* -Copyright 2017 Travis Ralston - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import { _t, _td } from 'matrix-react-sdk/lib/languageHandler'; -import sdk from 'matrix-react-sdk'; - -const STATUS_LABELS = { - "online": _td("Online"), - "unavailable": _td("Away"), - "offline": _td("Appear Offline"), -}; - -const PresenceContextMenuOption = React.createClass({ - displayName: 'PresenceContextMenuOption', - - propTypes: { - forStatus: React.PropTypes.string.isRequired, - isCurrent: React.PropTypes.bool, - onChange: React.PropTypes.func.isRequired, - }, - - onClick: function() { - if (this.isCurrent) return; - this.props.onChange(this.props.forStatus); - }, - - render: function() { - const AccessibleButton = sdk.getComponent("elements.AccessibleButton"); - - const indicatorClasses = "mx_PresenceContextMenuOption_indicator " - + "mx_PresenceContextMenuOption_indicator_" + this.props.forStatus; - - let classNames = "mx_PresenceContextMenuOption"; - if (this.props.isCurrent) classNames += " mx_PresenceContextMenuOption_current"; - - return ( - <AccessibleButton className={classNames} element="div" onClick={this.onClick}> - <div className={indicatorClasses}></div> - { _t(STATUS_LABELS[this.props.forStatus]) } - </AccessibleButton> - ); - }, -}); - -module.exports = React.createClass({ - displayName: 'PresenceContextMenu', - - propTypes: { - // "online", "unavailable", or "offline" - currentStatus: React.PropTypes.string.isRequired, - - // Called when the user wants to change their status. - // Args: (newStatus:string) - onChange: React.PropTypes.func.isRequired, - - // callback called when the menu is dismissed - onFinished: React.PropTypes.func, - }, - - getInitialState() { - return { - currentStatus: this.props.currentStatus, - }; - }, - - onChange: function(newStatus) { - this.props.onChange(newStatus); - this.setState({currentStatus: newStatus}); - }, - - render: function() { - const statusElements = []; - for (let status of Object.keys(STATUS_LABELS)) { - statusElements.push(( - <PresenceContextMenuOption forStatus={status} key={status} - onChange={this.onChange} - isCurrent={status === this.state.currentStatus} /> - )); - } - - return ( - <div> - { statusElements } - </div> - ); - }, -}); diff --git a/src/components/views/context_menus/RoomTileContextMenu.js b/src/components/views/context_menus/RoomTileContextMenu.js deleted file mode 100644 index 06eb347d..00000000 --- a/src/components/views/context_menus/RoomTileContextMenu.js +++ /dev/null @@ -1,368 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import Promise from 'bluebird'; -import React from 'react'; -import classNames from 'classnames'; -import PropTypes from 'prop-types'; -import sdk from 'matrix-react-sdk'; -import { _t, _td } from 'matrix-react-sdk/lib/languageHandler'; -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import DMRoomMap from 'matrix-react-sdk/lib/utils/DMRoomMap'; -import * as Rooms from 'matrix-react-sdk/lib/Rooms'; -import * as RoomNotifs from 'matrix-react-sdk/lib/RoomNotifs'; -import Modal from 'matrix-react-sdk/lib/Modal'; -import RoomListActions from 'matrix-react-sdk/lib/actions/RoomListActions'; - -module.exports = React.createClass({ - displayName: 'RoomTileContextMenu', - - propTypes: { - room: PropTypes.object.isRequired, - /* callback called when the menu is dismissed */ - onFinished: PropTypes.func, - }, - - getInitialState() { - const dmRoomMap = new DMRoomMap(MatrixClientPeg.get()); - return { - roomNotifState: RoomNotifs.getRoomNotifsState(this.props.room.roomId), - isFavourite: this.props.room.tags.hasOwnProperty("m.favourite"), - isLowPriority: this.props.room.tags.hasOwnProperty("m.lowpriority"), - isDirectMessage: Boolean(dmRoomMap.getUserIdForRoomId(this.props.room.roomId)), - }; - }, - - componentWillMount: function() { - this._unmounted = false; - }, - - componentWillUnmount: function() { - this._unmounted = true; - }, - - _toggleTag: function(tagNameOn, tagNameOff) { - if (!MatrixClientPeg.get().isGuest()) { - Promise.delay(500).then(() => { - dis.dispatch(RoomListActions.tagRoom( - MatrixClientPeg.get(), - this.props.room, - tagNameOff, tagNameOn, - undefined, 0, - ), true); - - this.props.onFinished(); - }); - } - }, - - _onClickFavourite: function() { - // Tag room as 'Favourite' - if (!this.state.isFavourite && this.state.isLowPriority) { - this.setState({ - isFavourite: true, - isLowPriority: false, - }); - this._toggleTag("m.favourite", "m.lowpriority"); - } else if (this.state.isFavourite) { - this.setState({isFavourite: false}); - this._toggleTag(null, "m.favourite"); - } else if (!this.state.isFavourite) { - this.setState({isFavourite: true}); - this._toggleTag("m.favourite"); - } - }, - - _onClickLowPriority: function() { - // Tag room as 'Low Priority' - if (!this.state.isLowPriority && this.state.isFavourite) { - this.setState({ - isFavourite: false, - isLowPriority: true, - }); - this._toggleTag("m.lowpriority", "m.favourite"); - } else if (this.state.isLowPriority) { - this.setState({isLowPriority: false}); - this._toggleTag(null, "m.lowpriority"); - } else if (!this.state.isLowPriority) { - this.setState({isLowPriority: true}); - this._toggleTag("m.lowpriority"); - } - }, - - _onClickDM: function() { - if (MatrixClientPeg.get().isGuest()) return; - - const newIsDirectMessage = !this.state.isDirectMessage; - this.setState({ - isDirectMessage: newIsDirectMessage, - }); - - Rooms.guessAndSetDMRoom( - this.props.room, newIsDirectMessage, - ).delay(500).finally(() => { - // Close the context menu - if (this.props.onFinished) { - this.props.onFinished(); - } - }, (err) => { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Failed to set Direct Message status of room', '', ErrorDialog, { - title: _t('Failed to set Direct Message status of room'), - description: ((err && err.message) ? err.message : _t('Operation failed')), - }); - }); - }, - - _onClickLeave: function() { - // Leave room - dis.dispatch({ - action: 'leave_room', - room_id: this.props.room.roomId, - }); - - // Close the context menu - if (this.props.onFinished) { - this.props.onFinished(); - } - }, - - _onClickReject: function() { - dis.dispatch({ - action: 'reject_invite', - room_id: this.props.room.roomId, - }); - - // Close the context menu - if (this.props.onFinished) { - this.props.onFinished(); - } - }, - - _onClickForget: function() { - // FIXME: duplicated with RoomSettings (and dead code in RoomView) - MatrixClientPeg.get().forget(this.props.room.roomId).done(function() { - dis.dispatch({ action: 'view_next_room' }); - }, function(err) { - const errCode = err.errcode || _td("unknown error code"); - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Failed to forget room', '', ErrorDialog, { - title: _t('Failed to forget room %(errCode)s', {errCode: errCode}), - description: ((err && err.message) ? err.message : _t('Operation failed')), - }); - }); - - // Close the context menu - if (this.props.onFinished) { - this.props.onFinished(); - } - }, - - _saveNotifState: function(newState) { - if (MatrixClientPeg.get().isGuest()) return; - - const oldState = this.state.roomNotifState; - const roomId = this.props.room.roomId; - - this.setState({ - roomNotifState: newState, - }); - RoomNotifs.setRoomNotifsState(roomId, newState).done(() => { - // delay slightly so that the user can see their state change - // before closing the menu - return Promise.delay(500).then(() => { - if (this._unmounted) return; - // Close the context menu - if (this.props.onFinished) { - this.props.onFinished(); - } - }); - }, (error) => { - // TODO: some form of error notification to the user - // to inform them that their state change failed. - // For now we at least set the state back - if (this._unmounted) return; - this.setState({ - roomNotifState: oldState, - }); - }); - }, - - _onClickAlertMe: function() { - this._saveNotifState(RoomNotifs.ALL_MESSAGES_LOUD); - }, - - _onClickAllNotifs: function() { - this._saveNotifState(RoomNotifs.ALL_MESSAGES); - }, - - _onClickMentions: function() { - this._saveNotifState(RoomNotifs.MENTIONS_ONLY); - }, - - _onClickMute: function() { - this._saveNotifState(RoomNotifs.MUTE); - }, - - _renderNotifMenu: function() { - const alertMeClasses = classNames({ - 'mx_RoomTileContextMenu_notif_field': true, - 'mx_RoomTileContextMenu_notif_fieldSet': this.state.roomNotifState == RoomNotifs.ALL_MESSAGES_LOUD, - }); - - const allNotifsClasses = classNames({ - 'mx_RoomTileContextMenu_notif_field': true, - 'mx_RoomTileContextMenu_notif_fieldSet': this.state.roomNotifState == RoomNotifs.ALL_MESSAGES, - }); - - const mentionsClasses = classNames({ - 'mx_RoomTileContextMenu_notif_field': true, - 'mx_RoomTileContextMenu_notif_fieldSet': this.state.roomNotifState == RoomNotifs.MENTIONS_ONLY, - }); - - const muteNotifsClasses = classNames({ - 'mx_RoomTileContextMenu_notif_field': true, - 'mx_RoomTileContextMenu_notif_fieldSet': this.state.roomNotifState == RoomNotifs.MUTE, - }); - - return ( - <div> - <div className="mx_RoomTileContextMenu_notif_picker" > - <img src="img/notif-slider.svg" width="20" height="107" /> - </div> - <div className={alertMeClasses} onClick={this._onClickAlertMe} > - <img className="mx_RoomTileContextMenu_notif_activeIcon" src="img/notif-active.svg" width="12" height="12" /> - <img className="mx_RoomTileContextMenu_notif_icon mx_filterFlipColor" src="img/icon-context-mute-off-copy.svg" width="16" height="12" /> - { _t('All messages (noisy)') } - </div> - <div className={allNotifsClasses} onClick={this._onClickAllNotifs} > - <img className="mx_RoomTileContextMenu_notif_activeIcon" src="img/notif-active.svg" width="12" height="12" /> - <img className="mx_RoomTileContextMenu_notif_icon mx_filterFlipColor" src="img/icon-context-mute-off.svg" width="16" height="12" /> - { _t('All messages') } - </div> - <div className={mentionsClasses} onClick={this._onClickMentions} > - <img className="mx_RoomTileContextMenu_notif_activeIcon" src="img/notif-active.svg" width="12" height="12" /> - <img className="mx_RoomTileContextMenu_notif_icon mx_filterFlipColor" src="img/icon-context-mute-mentions.svg" width="16" height="12" /> - { _t('Mentions only') } - </div> - <div className={muteNotifsClasses} onClick={this._onClickMute} > - <img className="mx_RoomTileContextMenu_notif_activeIcon" src="img/notif-active.svg" width="12" height="12" /> - <img className="mx_RoomTileContextMenu_notif_icon mx_filterFlipColor" src="img/icon-context-mute.svg" width="16" height="12" /> - { _t('Mute') } - </div> - </div> - ); - }, - - _renderLeaveMenu: function(membership) { - if (!membership) { - return null; - } - - let leaveClickHandler = null; - let leaveText = null; - - switch (membership) { - case "join": - leaveClickHandler = this._onClickLeave; - leaveText = _t('Leave'); - break; - case "leave": - case "ban": - leaveClickHandler = this._onClickForget; - leaveText = _t('Forget'); - break; - case "invite": - leaveClickHandler = this._onClickReject; - leaveText = _t('Reject'); - break; - } - - return ( - <div> - <div className="mx_RoomTileContextMenu_leave" onClick={leaveClickHandler} > - <img className="mx_RoomTileContextMenu_tag_icon" src="img/icon_context_delete.svg" width="15" height="15" /> - { leaveText } - </div> - </div> - ); - }, - - _renderRoomTagMenu: function() { - const favouriteClasses = classNames({ - 'mx_RoomTileContextMenu_tag_field': true, - 'mx_RoomTileContextMenu_tag_fieldSet': this.state.isFavourite, - 'mx_RoomTileContextMenu_tag_fieldDisabled': false, - }); - - const lowPriorityClasses = classNames({ - 'mx_RoomTileContextMenu_tag_field': true, - 'mx_RoomTileContextMenu_tag_fieldSet': this.state.isLowPriority, - 'mx_RoomTileContextMenu_tag_fieldDisabled': false, - }); - - const dmClasses = classNames({ - 'mx_RoomTileContextMenu_tag_field': true, - 'mx_RoomTileContextMenu_tag_fieldSet': this.state.isDirectMessage, - 'mx_RoomTileContextMenu_tag_fieldDisabled': false, - }); - - return ( - <div> - <div className={favouriteClasses} onClick={this._onClickFavourite} > - <img className="mx_RoomTileContextMenu_tag_icon" src="img/icon_context_fave.svg" width="15" height="15" /> - <img className="mx_RoomTileContextMenu_tag_icon_set" src="img/icon_context_fave_on.svg" width="15" height="15" /> - { _t('Favourite') } - </div> - <div className={lowPriorityClasses} onClick={this._onClickLowPriority} > - <img className="mx_RoomTileContextMenu_tag_icon" src="img/icon_context_low.svg" width="15" height="15" /> - <img className="mx_RoomTileContextMenu_tag_icon_set" src="img/icon_context_low_on.svg" width="15" height="15" /> - { _t('Low Priority') } - </div> - <div className={dmClasses} onClick={this._onClickDM} > - <img className="mx_RoomTileContextMenu_tag_icon" src="img/icon_context_person.svg" width="15" height="15" /> - <img className="mx_RoomTileContextMenu_tag_icon_set" src="img/icon_context_person_on.svg" width="15" height="15" /> - { _t('Direct Chat') } - </div> - </div> - ); - }, - - render: function() { - const myMember = this.props.room.getMember( - MatrixClientPeg.get().credentials.userId, - ); - - // Can't set notif level or tags on non-join rooms - if (myMember.membership !== 'join') { - return this._renderLeaveMenu(myMember.membership); - } - - return ( - <div> - { this._renderNotifMenu() } - <hr className="mx_RoomTileContextMenu_separator" /> - { this._renderLeaveMenu(myMember.membership) } - <hr className="mx_RoomTileContextMenu_separator" /> - { this._renderRoomTagMenu() } - </div> - ); - }, -}); diff --git a/src/components/views/context_menus/TagTileContextMenu.js b/src/components/views/context_menus/TagTileContextMenu.js deleted file mode 100644 index 576e8485..00000000 --- a/src/components/views/context_menus/TagTileContextMenu.js +++ /dev/null @@ -1,75 +0,0 @@ -/* -Copyright 2018 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import TagOrderActions from 'matrix-react-sdk/lib/actions/TagOrderActions'; -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; -import sdk from 'matrix-react-sdk/lib/index'; - -export default class TagTileContextMenu extends React.Component { - static propTypes = { - tag: PropTypes.string.isRequired, - /* callback called when the menu is dismissed */ - onFinished: PropTypes.func.isRequired, - }; - - constructor() { - super(); - - this._onViewCommunityClick = this._onViewCommunityClick.bind(this); - this._onRemoveClick = this._onRemoveClick.bind(this); - } - - _onViewCommunityClick() { - dis.dispatch({ - action: 'view_group', - group_id: this.props.tag, - }); - this.props.onFinished(); - } - - _onRemoveClick() { - dis.dispatch(TagOrderActions.removeTag( - // XXX: Context menus don't have a MatrixClient context - MatrixClientPeg.get(), - this.props.tag, - )); - this.props.onFinished(); - } - - render() { - const TintableSvg = sdk.getComponent("elements.TintableSvg"); - return <div> - <div className="mx_TagTileContextMenu_item" onClick={this._onViewCommunityClick} > - <TintableSvg - className="mx_TagTileContextMenu_item_icon" - src="img/icons-groups.svg" - width="15" - height="15" - /> - { _t('View Community') } - </div> - <hr className="mx_TagTileContextMenu_separator" /> - <div className="mx_TagTileContextMenu_item" onClick={this._onRemoveClick} > - <img className="mx_TagTileContextMenu_item_icon" src="img/icon_context_delete.svg" width="15" height="15" /> - { _t('Remove') } - </div> - </div>; - } -} diff --git a/src/components/views/dialogs/BugReportDialog.js b/src/components/views/dialogs/BugReportDialog.js deleted file mode 100644 index 95b5a6a0..00000000 --- a/src/components/views/dialogs/BugReportDialog.js +++ /dev/null @@ -1,212 +0,0 @@ -/* -Copyright 2017 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import sdk from 'matrix-react-sdk'; -import SdkConfig from 'matrix-react-sdk/lib/SdkConfig'; -import Modal from 'matrix-react-sdk/lib/Modal'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -export default class BugReportDialog extends React.Component { - constructor(props, context) { - super(props, context); - this.state = { - sendLogs: true, - busy: false, - err: null, - issueUrl: "", - text: "", - progress: null, - }; - this._unmounted = false; - this._onSubmit = this._onSubmit.bind(this); - this._onCancel = this._onCancel.bind(this); - this._onTextChange = this._onTextChange.bind(this); - this._onIssueUrlChange = this._onIssueUrlChange.bind(this); - this._onSendLogsChange = this._onSendLogsChange.bind(this); - this._sendProgressCallback = this._sendProgressCallback.bind(this); - } - - componentWillUnmount() { - this._unmounted = true; - } - - _onCancel(ev) { - this.props.onFinished(false); - } - - _onSubmit(ev) { - const userText = - (this.state.text.length > 0 ? this.state.text + '\n\n': '') + 'Issue: ' + - (this.state.issueUrl.length > 0 ? this.state.issueUrl : 'No issue link given'); - - this.setState({ busy: true, progress: null, err: null }); - this._sendProgressCallback(_t("Preparing to send logs")); - - require(['../../../vector/submit-rageshake'], (s) => { - s(SdkConfig.get().bug_report_endpoint_url, { - userText, - sendLogs: true, - progressCallback: this._sendProgressCallback, - }).then(() => { - if (!this._unmounted) { - this.props.onFinished(false); - const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); - Modal.createTrackedDialog('Bug report sent', '', QuestionDialog, { - title: _t('Logs sent'), - description: _t('Thank you!'), - hasCancelButton: false, - }); - } - }, (err) => { - if (!this._unmounted) { - this.setState({ - busy: false, - progress: null, - err: _t("Failed to send logs: ") + `${err.message}`, - }); - } - }); - }); - } - - _onTextChange(ev) { - this.setState({ text: ev.target.value }); - } - - _onIssueUrlChange(ev) { - this.setState({ issueUrl: ev.target.value }); - } - - _onSendLogsChange(ev) { - this.setState({ sendLogs: ev.target.checked }); - } - - _sendProgressCallback(progress) { - if (this._unmounted) { - return; - } - this.setState({progress: progress}); - } - - render() { - const Loader = sdk.getComponent("elements.Spinner"); - - let error = null; - if (this.state.err) { - error = <div className="error"> - {this.state.err} - </div>; - } - - let cancelButton = null; - if (!this.state.busy) { - cancelButton = <button onClick={this._onCancel}> - { _t("Cancel") } - </button>; - } - - let progress = null; - if (this.state.busy) { - progress = ( - <div className="progress"> - <Loader /> - {this.state.progress} ... - </div> - ); - } - - return ( - <div className="mx_BugReportDialog"> - <div className="mx_Dialog_title"> - { _t("Submit debug logs") } - </div> - <div className="mx_Dialog_content"> - <p> - { _t( - "Debug logs contain application usage data including your " + - "username, the IDs or aliases of the rooms or groups you " + - "have visited and the usernames of other users. They do " + - "not contain messages.", - ) } - </p> - <p> - { _t( - "<a>Click here</a> to create a GitHub issue.", - {}, - { - a: (sub) => <a - target="_blank" - href="https://github.com/vector-im/riot-web/issues/new" - > - { sub } - </a>, - }, - ) } - </p> - <div className="mx_BugReportDialog_field_container"> - <label - htmlFor="mx_BugReportDialog_issueUrl" - className="mx_BugReportDialog_field_label" - > - { _t("GitHub issue link:") } - </label> - <input - id="mx_BugReportDialog_issueUrl" - type="text" - className="mx_BugReportDialog_field_input" - onChange={this._onIssueUrlChange} - value={this.state.issueUrl} - placeholder="https://github.com/vector-im/riot-web/issues/1337" - /> - </div> - <div className="mx_BugReportDialog_field_container"> - <label - htmlFor="mx_BugReportDialog_notes_label" - className="mx_BugReportDialog_field_label" - > - { _t("Notes:") } - </label> - <textarea - className="mx_BugReportDialog_field_input" - rows={5} - onChange={this._onTextChange} - value={this.state.text} - /> - </div> - {progress} - {error} - </div> - <div className="mx_Dialog_buttons"> - <button - className="mx_Dialog_primary danger" - onClick={this._onSubmit} - autoFocus={true} - disabled={this.state.busy} - > - { _t("Send logs") } - </button> - - {cancelButton} - </div> - </div> - ); - } -} - -BugReportDialog.propTypes = { - onFinished: React.PropTypes.func.isRequired, -}; diff --git a/src/components/views/dialogs/ChangelogDialog.js b/src/components/views/dialogs/ChangelogDialog.js deleted file mode 100644 index 92aeadf8..00000000 --- a/src/components/views/dialogs/ChangelogDialog.js +++ /dev/null @@ -1,94 +0,0 @@ -/* - Copyright 2016 Aviral Dasgupta - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - */ - -import React from 'react'; -import sdk from 'matrix-react-sdk'; -import request from 'browser-request'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -const REPOS = ['vector-im/riot-web', 'matrix-org/matrix-react-sdk', 'matrix-org/matrix-js-sdk']; - -export default class ChangelogDialog extends React.Component { - constructor(props) { - super(props); - - this.state = {}; - } - - componentDidMount() { - const version = this.props.newVersion.split('-'); - const version2 = this.props.version.split('-'); - if(version == null || version2 == null) return; - // parse versions of form: [vectorversion]-react-[react-sdk-version]-js-[js-sdk-version] - for(let i=0; i<REPOS.length; i++) { - const oldVersion = version2[2*i]; - const newVersion = version[2*i]; - request(`https://api.github.com/repos/${REPOS[i]}/compare/${oldVersion}...${newVersion}`, (a, b, body) => { - if(body == null) return; - this.setState({[REPOS[i]]: JSON.parse(body).commits}); - }); - } - } - - _elementsForCommit(commit) { - return ( - <li key={commit.sha} className="mx_ChangelogDialog_li"> - <a href={commit.html_url} target="_blank" rel="noopener"> - {commit.commit.message} - </a> - </li> - ); - } - - render() { - const Spinner = sdk.getComponent('views.elements.Spinner'); - const QuestionDialog = sdk.getComponent('dialogs.QuestionDialog'); - - const logs = REPOS.map(repo => { - if (this.state[repo] == null) return <Spinner key={repo} />; - return ( - <div key={repo}> - <h2>{repo}</h2> - <ul> - {this.state[repo].map(this._elementsForCommit)} - </ul> - </div> - ) - }); - - const content = ( - <div className="mx_ChangelogDialog_content"> - {this.props.version == null || this.props.newVersion == null ? <h2>{_t("Unavailable")}</h2> : logs} - </div> - ); - - - return ( - <QuestionDialog - title={_t("Changelog")} - description={content} - button={_t("Update")} - onFinished={this.props.onFinished} - /> - ) - } -} - -ChangelogDialog.propTypes = { - version: React.PropTypes.string.isRequired, - newVersion: React.PropTypes.string.isRequired, - onFinished: React.PropTypes.func.isRequired, -}; diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js deleted file mode 100644 index 3ce1dfe7..00000000 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ /dev/null @@ -1,623 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import sdk from 'matrix-react-sdk'; -import SyntaxHighlight from '../elements/SyntaxHighlight'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; - -class DevtoolsComponent extends React.Component { - static contextTypes = { - roomId: PropTypes.string.isRequired, - }; -} - -class GenericEditor extends DevtoolsComponent { - // static propTypes = {onBack: PropTypes.func.isRequired}; - - constructor(props, context) { - super(props, context); - this._onChange = this._onChange.bind(this); - this.onBack = this.onBack.bind(this); - } - - onBack() { - if (this.state.message) { - this.setState({ message: null }); - } else { - this.props.onBack(); - } - } - - _onChange(e) { - this.setState({[e.target.id]: e.target.type === 'checkbox' ? e.target.checked : e.target.value}); - } - - _buttons() { - return <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - { !this.state.message && <button onClick={this._send}>{ _t('Send') }</button> } - </div>; - } - - textInput(id, label) { - return <div className="mx_DevTools_inputRow"> - <div className="mx_DevTools_inputLabelCell"> - <label htmlFor={id}>{ label }</label> - </div> - <div className="mx_DevTools_inputCell"> - <input id={id} className="mx_TextInputDialog_input" onChange={this._onChange} value={this.state[id]} size="32" /> - </div> - </div>; - } -} - -class SendCustomEvent extends GenericEditor { - static getLabel() { return _t('Send Custom Event'); } - - static propTypes = { - onBack: PropTypes.func.isRequired, - forceStateEvent: PropTypes.bool, - inputs: PropTypes.object, - }; - - constructor(props, context) { - super(props, context); - this._send = this._send.bind(this); - - const {eventType, stateKey, evContent} = Object.assign({ - eventType: '', - stateKey: '', - evContent: '{\n\n}', - }, this.props.inputs); - - this.state = { - isStateEvent: Boolean(this.props.forceStateEvent), - - eventType, - stateKey, - evContent, - }; - } - - send(content) { - const cli = MatrixClientPeg.get(); - if (this.state.isStateEvent) { - return cli.sendStateEvent(this.context.roomId, this.state.eventType, content, this.state.stateKey); - } else { - return cli.sendEvent(this.context.roomId, this.state.eventType, content); - } - } - - async _send() { - if (this.state.eventType === '') { - this.setState({ message: _t('You must specify an event type!') }); - return; - } - - let message; - try { - const content = JSON.parse(this.state.evContent); - await this.send(content); - message = _t('Event sent!'); - } catch (e) { - message = _t('Failed to send custom event.') + ' (' + e.toString() + ')'; - } - this.setState({ message }); - } - - render() { - if (this.state.message) { - return <div> - <div className="mx_Dialog_content"> - { this.state.message } - </div> - { this._buttons() } - </div>; - } - - return <div> - <div className="mx_Dialog_content"> - { this.textInput('eventType', _t('Event Type')) } - { this.state.isStateEvent && this.textInput('stateKey', _t('State Key')) } - - <br /> - - <div className="mx_UserSettings_profileLabelCell"> - <label htmlFor="evContent"> { _t('Event Content') } </label> - </div> - <div> - <textarea id="evContent" onChange={this._onChange} value={this.state.evContent} className="mx_TextInputDialog_input" cols="63" rows="5" /> - </div> - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - { !this.state.message && <button onClick={this._send}>{ _t('Send') }</button> } - { !this.state.message && !this.props.forceStateEvent && <div style={{float: "right"}}> - <input id="isStateEvent" className="mx_DevTools_tgl mx_DevTools_tgl-flip" type="checkbox" onChange={this._onChange} checked={this.state.isStateEvent} /> - <label className="mx_DevTools_tgl-btn" data-tg-off="Event" data-tg-on="State Event" htmlFor="isStateEvent" /> - </div> } - </div> - </div>; - } -} - -class SendAccountData extends GenericEditor { - static getLabel() { return _t('Send Account Data'); } - - static propTypes = { - isRoomAccountData: PropTypes.bool, - forceMode: PropTypes.bool, - inputs: PropTypes.object, - }; - - constructor(props, context) { - super(props, context); - this._send = this._send.bind(this); - - const {eventType, evContent} = Object.assign({ - eventType: '', - evContent: '{\n\n}', - }, this.props.inputs); - - this.state = { - isRoomAccountData: Boolean(this.props.isRoomAccountData), - - eventType, - evContent, - }; - } - - send(content) { - const cli = MatrixClientPeg.get(); - if (this.state.isRoomAccountData) { - return cli.setRoomAccountData(this.context.roomId, this.state.eventType, content); - } - return cli.setAccountData(this.state.eventType, content); - } - - async _send() { - if (this.state.eventType === '') { - this.setState({ message: _t('You must specify an event type!') }); - return; - } - - let message; - try { - const content = JSON.parse(this.state.evContent); - await this.send(content); - message = _t('Event sent!'); - } catch (e) { - message = _t('Failed to send custom event.') + ' (' + e.toString() + ')'; - } - this.setState({ message }); - } - - render() { - if (this.state.message) { - return <div> - <div className="mx_Dialog_content"> - { this.state.message } - </div> - { this._buttons() } - </div>; - } - - return <div> - <div className="mx_Dialog_content"> - { this.textInput('eventType', _t('Event Type')) } - <br /> - - <div className="mx_UserSettings_profileLabelCell"> - <label htmlFor="evContent"> { _t('Event Content') } </label> - </div> - <div> - <textarea id="evContent" onChange={this._onChange} value={this.state.evContent} className="mx_TextInputDialog_input" cols="63" rows="5" /> - </div> - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - { !this.state.message && <button onClick={this._send}>{ _t('Send') }</button> } - { !this.state.message && <div style={{float: "right"}}> - <input id="isRoomAccountData" className="mx_DevTools_tgl mx_DevTools_tgl-flip" type="checkbox" onChange={this._onChange} checked={this.state.isRoomAccountData} disabled={this.props.forceMode} /> - <label className="mx_DevTools_tgl-btn" data-tg-off="Account Data" data-tg-on="Room Data" htmlFor="isRoomAccountData" /> - </div> } - </div> - </div>; - } -} - -class FilteredList extends React.Component { - static propTypes = { - children: PropTypes.any, - query: PropTypes.string, - onChange: PropTypes.func, - }; - - constructor(props, context) { - super(props, context); - this.onQuery = this.onQuery.bind(this); - } - - onQuery(ev) { - if (this.props.onChange) this.props.onChange(ev.target.value); - } - - filterChildren() { - if (this.props.query) { - const lowerQuery = this.props.query.toLowerCase(); - return this.props.children.filter((child) => child.key.toLowerCase().includes(lowerQuery)); - } - return this.props.children; - } - - render() { - return <div> - <input size="64" - onChange={this.onQuery} - value={this.props.query} - placeholder={_t('Filter results')} - className="mx_TextInputDialog_input mx_DevTools_RoomStateExplorer_query" /> - { this.filterChildren() } - </div>; - } -} - -class RoomStateExplorer extends DevtoolsComponent { - static getLabel() { return _t('Explore Room State'); } - - - static propTypes = { - onBack: PropTypes.func.isRequired, - }; - - constructor(props, context) { - super(props, context); - - const room = MatrixClientPeg.get().getRoom(this.context.roomId); - this.roomStateEvents = room.currentState.events; - - this.onBack = this.onBack.bind(this); - this.editEv = this.editEv.bind(this); - this.onQueryEventType = this.onQueryEventType.bind(this); - this.onQueryStateKey = this.onQueryStateKey.bind(this); - - this.state = { - eventType: null, - event: null, - editing: false, - - queryEventType: '', - queryStateKey: '', - }; - } - - browseEventType(eventType) { - return () => { - this.setState({ eventType }); - }; - } - - onViewSourceClick(event) { - return () => { - this.setState({ event }); - }; - } - - onBack() { - if (this.state.editing) { - this.setState({ editing: false }); - } else if (this.state.event) { - this.setState({ event: null }); - } else if (this.state.eventType) { - this.setState({ eventType: null }); - } else { - this.props.onBack(); - } - } - - editEv() { - this.setState({ editing: true }); - } - - onQueryEventType(filterEventType) { - this.setState({ queryEventType: filterEventType }); - } - - onQueryStateKey(filterStateKey) { - this.setState({ queryStateKey: filterStateKey }); - } - - render() { - if (this.state.event) { - if (this.state.editing) { - return <SendCustomEvent forceStateEvent={true} onBack={this.onBack} inputs={{ - eventType: this.state.event.getType(), - evContent: JSON.stringify(this.state.event.getContent(), null, '\t'), - stateKey: this.state.event.getStateKey(), - }} />; - } - - return <div className="mx_ViewSource"> - <div className="mx_Dialog_content"> - <SyntaxHighlight className="json"> - { JSON.stringify(this.state.event.event, null, 2) } - </SyntaxHighlight> - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - <button onClick={this.editEv}>{ _t('Edit') }</button> - </div> - </div>; - } - - let list = null; - - const classes = 'mx_DevTools_RoomStateExplorer_button'; - if (this.state.eventType === null) { - list = <FilteredList query={this.state.queryEventType} onChange={this.onQueryEventType}> - { - Object.keys(this.roomStateEvents).map((evType) => { - const stateGroup = this.roomStateEvents[evType]; - const stateKeys = Object.keys(stateGroup); - - let onClickFn; - if (stateKeys.length > 1) { - onClickFn = this.browseEventType(evType); - } else if (stateKeys.length === 1) { - onClickFn = this.onViewSourceClick(stateGroup[stateKeys[0]]); - } - - return <button className={classes} key={evType} onClick={onClickFn}> - { evType } - </button>; - }) - } - </FilteredList>; - } else { - const stateGroup = this.roomStateEvents[this.state.eventType]; - - list = <FilteredList query={this.state.queryStateKey} onChange={this.onQueryStateKey}> - { - Object.keys(stateGroup).map((stateKey) => { - const ev = stateGroup[stateKey]; - return <button className={classes} key={stateKey} onClick={this.onViewSourceClick(ev)}> - { stateKey } - </button>; - }) - } - </FilteredList>; - } - - return <div> - <div className="mx_Dialog_content"> - { list } - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - </div> - </div>; - } -} - -class AccountDataExplorer extends DevtoolsComponent { - static getLabel() { return _t('Explore Account Data'); } - - static propTypes = { - onBack: PropTypes.func.isRequired, - }; - - constructor(props, context) { - super(props, context); - - this.onBack = this.onBack.bind(this); - this.editEv = this.editEv.bind(this); - this._onChange = this._onChange.bind(this); - this.onQueryEventType = this.onQueryEventType.bind(this); - - this.state = { - isRoomAccountData: false, - event: null, - editing: false, - - queryEventType: '', - }; - } - - getData() { - const cli = MatrixClientPeg.get(); - if (this.state.isRoomAccountData) { - return cli.getRoom(this.context.roomId).accountData; - } - return cli.store.accountData; - } - - onViewSourceClick(event) { - return () => { - this.setState({ event }); - }; - } - - onBack() { - if (this.state.editing) { - this.setState({ editing: false }); - } else if (this.state.event) { - this.setState({ event: null }); - } else { - this.props.onBack(); - } - } - - _onChange(e) { - this.setState({[e.target.id]: e.target.type === 'checkbox' ? e.target.checked : e.target.value}); - } - - editEv() { - this.setState({ editing: true }); - } - - onQueryEventType(queryEventType) { - this.setState({ queryEventType }); - } - - render() { - if (this.state.event) { - if (this.state.editing) { - return <SendAccountData isRoomAccountData={this.state.isRoomAccountData} onBack={this.onBack} inputs={{ - eventType: this.state.event.getType(), - evContent: JSON.stringify(this.state.event.getContent(), null, '\t'), - }} forceMode={true} />; - } - - return <div className="mx_ViewSource"> - <div className="mx_Dialog_content"> - <SyntaxHighlight className="json"> - { JSON.stringify(this.state.event.event, null, 2) } - </SyntaxHighlight> - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - <button onClick={this.editEv}>{ _t('Edit') }</button> - </div> - </div>; - } - - const rows = []; - - const classes = 'mx_DevTools_RoomStateExplorer_button'; - - const data = this.getData(); - Object.keys(data).forEach((evType) => { - const ev = data[evType]; - rows.push(<button className={classes} key={evType} onClick={this.onViewSourceClick(ev)}> - { evType } - </button>); - }); - - return <div> - <div className="mx_Dialog_content"> - <FilteredList query={this.state.queryEventType} onChange={this.onQueryEventType}> - { rows } - </FilteredList> - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onBack}>{ _t('Back') }</button> - { !this.state.message && <div style={{float: "right"}}> - <input id="isRoomAccountData" className="mx_DevTools_tgl mx_DevTools_tgl-flip" type="checkbox" onChange={this._onChange} checked={this.state.isRoomAccountData} /> - <label className="mx_DevTools_tgl-btn" data-tg-off="Account Data" data-tg-on="Room Data" htmlFor="isRoomAccountData" /> - </div> } - </div> - </div>; - } -} - -const Entries = [ - SendCustomEvent, - RoomStateExplorer, - SendAccountData, - AccountDataExplorer, -]; - -export default class DevtoolsDialog extends React.Component { - static childContextTypes = { - roomId: PropTypes.string.isRequired, - // client: PropTypes.instanceOf(MatixClient), - }; - - static propTypes = { - roomId: PropTypes.string.isRequired, - onFinished: PropTypes.func.isRequired, - }; - - constructor(props, context) { - super(props, context); - this.onBack = this.onBack.bind(this); - this.onCancel = this.onCancel.bind(this); - - this.state = { - mode: null, - }; - } - - componentWillUnmount() { - this._unmounted = true; - } - - getChildContext() { - return { roomId: this.props.roomId }; - } - - _setMode(mode) { - return () => { - this.setState({ mode }); - }; - } - - onBack() { - if (this.prevMode) { - this.setState({ mode: this.prevMode }); - this.prevMode = null; - } else { - this.setState({ mode: null }); - } - } - - onCancel() { - this.props.onFinished(false); - } - - render() { - let body; - - if (this.state.mode) { - body = <div> - <div className="mx_DevTools_label_left">{ this.state.mode.getLabel() }</div> - <div className="mx_DevTools_label_right">Room ID: { this.props.roomId }</div> - <div className="mx_DevTools_label_bottom" /> - <this.state.mode onBack={this.onBack} /> - </div>; - } else { - const classes = "mx_DevTools_RoomStateExplorer_button"; - body = <div> - <div> - <div className="mx_DevTools_label_left">{ _t('Toolbox') }</div> - <div className="mx_DevTools_label_right">Room ID: { this.props.roomId }</div> - <div className="mx_DevTools_label_bottom" /> - - <div className="mx_Dialog_content"> - { Entries.map((Entry) => { - const label = Entry.getLabel(); - const onClick = this._setMode(Entry); - return <button className={classes} key={label} onClick={onClick}>{ label }</button>; - }) } - </div> - </div> - <div className="mx_Dialog_buttons"> - <button onClick={this.onCancel}>{ _t('Cancel') }</button> - </div> - </div>; - } - - const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); - return ( - <BaseDialog className="mx_QuestionDialog" onFinished={this.props.onFinished} title={_t('Developer Tools')}> - { body } - </BaseDialog> - ); - } -} diff --git a/src/components/views/dialogs/SetPasswordDialog.js b/src/components/views/dialogs/SetPasswordDialog.js deleted file mode 100644 index b82d0346..00000000 --- a/src/components/views/dialogs/SetPasswordDialog.js +++ /dev/null @@ -1,137 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import sdk from 'matrix-react-sdk'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import Modal from 'matrix-react-sdk/lib/Modal'; - -const WarmFuzzy = function(props) { - const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); - let title = _t('You have successfully set a password!'); - if (props.didSetEmail) { - title = _t('You have successfully set a password and an email address!'); - } - const advice = _t('You can now return to your account after signing out, and sign in on other devices.'); - let extraAdvice = null; - if (!props.didSetEmail) { - extraAdvice = _t('Remember, you can always set an email address in user settings if you change your mind.'); - } - - return <BaseDialog className="mx_SetPasswordDialog" - onFinished={props.onFinished} - title={ title } - > - <div className="mx_Dialog_content"> - <p> - { advice } - </p> - <p> - { extraAdvice } - </p> - </div> - <div className="mx_Dialog_buttons"> - <button - className="mx_Dialog_primary" - autoFocus={true} - onClick={props.onFinished}> - { _t('Continue') } - </button> - </div> - </BaseDialog>; -}; - -/** - * Prompt the user to set a password - * - * On success, `onFinished()` when finished - */ -export default React.createClass({ - displayName: 'SetPasswordDialog', - propTypes: { - onFinished: React.PropTypes.func.isRequired, - }, - - getInitialState: function() { - return { - error: null, - }; - }, - - componentWillMount: function() { - console.info('SetPasswordDialog component will mount'); - }, - - _onPasswordChanged: function(res) { - Modal.createDialog(WarmFuzzy, { - didSetEmail: res.didSetEmail, - onFinished: () => { - this._onContinueClicked(); - }, - }); - }, - - _onContinueClicked: function() { - this.props.onFinished(true); - }, - - _onPasswordChangeError: function(err) { - let errMsg = err.error || ""; - if (err.httpStatus === 403) { - errMsg = _t('Failed to change password. Is your password correct?'); - } else if (err.httpStatus) { - errMsg += ' ' + _t( - '(HTTP status %(httpStatus)s)', - { httpStatus: err.httpStatus }, - ); - } - this.setState({ - error: errMsg, - }); - }, - - render: function() { - const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); - const ChangePassword = sdk.getComponent('views.settings.ChangePassword'); - - return ( - <BaseDialog className="mx_SetPasswordDialog" - onFinished={this.props.onFinished} - title={ _t('Please set a password!') } - > - <div className="mx_Dialog_content"> - <p> - { _t('This will allow you to return to your account after signing out, and sign in on other devices.') } - </p> - <ChangePassword - className="mx_SetPasswordDialog_change_password" - rowClassName="" - rowLabelClassName="" - rowInputClassName="" - buttonClassName="mx_Dialog_primary mx_SetPasswordDialog_change_password_button" - confirm={false} - autoFocusNewPasswordInput={true} - shouldAskForEmail={true} - onError={this._onPasswordChangeError} - onFinished={this._onPasswordChanged} /> - <div className="error"> - { this.state.error } - </div> - </div> - </BaseDialog> - ); - }, -}); diff --git a/src/components/views/directory/NetworkDropdown.js b/src/components/views/directory/NetworkDropdown.js deleted file mode 100644 index 9c19cdbc..00000000 --- a/src/components/views/directory/NetworkDropdown.js +++ /dev/null @@ -1,254 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; -import {instanceForInstanceId} from '../../../utils/DirectoryUtils'; - -const DEFAULT_ICON_URL = "img/network-matrix.svg"; - -export default class NetworkDropdown extends React.Component { - constructor(props) { - super(props); - - this.dropdownRootElement = null; - this.ignoreEvent = null; - - this.onInputClick = this.onInputClick.bind(this); - this.onRootClick = this.onRootClick.bind(this); - this.onDocumentClick = this.onDocumentClick.bind(this); - this.onMenuOptionClick = this.onMenuOptionClick.bind(this); - this.onInputKeyUp = this.onInputKeyUp.bind(this); - this.collectRoot = this.collectRoot.bind(this); - this.collectInputTextBox = this.collectInputTextBox.bind(this); - - this.inputTextBox = null; - - const server = MatrixClientPeg.getHomeServerName(); - this.state = { - expanded: false, - selectedServer: server, - selectedInstance: null, - includeAllNetworks: false, - }; - } - - componentWillMount() { - // Listen for all clicks on the document so we can close the - // menu when the user clicks somewhere else - document.addEventListener('click', this.onDocumentClick, false); - - // fire this now so the defaults can be set up - this.props.onOptionChange(this.state.selectedServer, this.state.selectedInstance, this.state.includeAllNetworks); - } - - componentWillUnmount() { - document.removeEventListener('click', this.onDocumentClick, false); - } - - componentDidUpdate() { - if (this.state.expanded && this.inputTextBox) { - this.inputTextBox.focus(); - } - } - - onDocumentClick(ev) { - // Close the dropdown if the user clicks anywhere that isn't - // within our root element - if (ev !== this.ignoreEvent) { - this.setState({ - expanded: false, - }); - } - } - - onRootClick(ev) { - // This captures any clicks that happen within our elements, - // such that we can then ignore them when they're seen by the - // click listener on the document handler, ie. not close the - // dropdown immediately after opening it. - // NB. We can't just stopPropagation() because then the event - // doesn't reach the React onClick(). - this.ignoreEvent = ev; - } - - onInputClick(ev) { - this.setState({ - expanded: !this.state.expanded, - }); - ev.preventDefault(); - } - - onMenuOptionClick(server, instance, includeAll) { - this.setState({ - expanded: false, - selectedServer: server, - selectedInstanceId: instance ? instance.instance_id : null, - includeAll: includeAll, - }); - this.props.onOptionChange(server, instance ? instance.instance_id : null, includeAll); - } - - onInputKeyUp(e) { - if (e.key == 'Enter') { - this.setState({ - expanded: false, - selectedServer: e.target.value, - selectedNetwork: null, - }); - this.props.onOptionChange(e.target.value, null); - } - } - - collectRoot(e) { - if (this.dropdownRootElement) { - this.dropdownRootElement.removeEventListener('click', this.onRootClick, false); - } - if (e) { - e.addEventListener('click', this.onRootClick, false); - } - this.dropdownRootElement = e; - } - - collectInputTextBox(e) { - this.inputTextBox = e; - } - - _getMenuOptions() { - const options = []; - - let servers = []; - if (this.props.config.servers) { - servers = servers.concat(this.props.config.servers); - } - - if (servers.indexOf(MatrixClientPeg.getHomeServerName()) == -1) { - servers.unshift(MatrixClientPeg.getHomeServerName()); - } - - // For our own HS, we can use the instance_ids given in the third party protocols - // response to get the server to filter the room list by network for us. - // We can't get thirdparty protocols for remote server yet though, so for those - // we can only show the default room list. - for (const server of servers) { - options.push(this._makeMenuOption(server, null, true)); - if (server == MatrixClientPeg.getHomeServerName()) { - options.push(this._makeMenuOption(server, null, false)); - if (this.props.protocols) { - for (const proto of Object.keys(this.props.protocols)) { - if (!this.props.protocols[proto].instances) continue; - - const sortedInstances = this.props.protocols[proto].instances; - sortedInstances.sort(function(x, y) { - const a = x.desc - const b = y.desc - if (a < b) { - return -1; - } else if (a > b) { - return 1; - } else { - return 0; - } - }); - - for (const instance of sortedInstances) { - if (!instance.instance_id) continue; - options.push(this._makeMenuOption(server, instance, false)); - } - } - } - } - } - - return options; - } - - _makeMenuOption(server, instance, includeAll, handleClicks) { - if (handleClicks === undefined) handleClicks = true; - - let icon; - let name; - let span_class; - let key; - - if (!instance && includeAll) { - key = server; - name = server; - span_class = 'mx_NetworkDropdown_menu_all'; - } else if (!instance) { - key = server + '_all'; - name = 'Matrix'; - icon = <img src="img/network-matrix.svg" />; - span_class = 'mx_NetworkDropdown_menu_network'; - } else { - key = server + '_inst_' + instance.instance_id; - const imgUrl = instance.icon ? - MatrixClientPeg.get().mxcUrlToHttp(instance.icon, 25, 25, 'crop', true) : - DEFAULT_ICON_URL; - icon = <img src={imgUrl} />; - name = instance.desc; - span_class = 'mx_NetworkDropdown_menu_network'; - } - - const click_handler = handleClicks ? this.onMenuOptionClick.bind(this, server, instance, includeAll) : null; - - return <div key={key} className="mx_NetworkDropdown_networkoption" onClick={click_handler}> - {icon} - <span className="mx_NetworkDropdown_menu_network">{name}</span> - </div> - } - - render() { - let current_value; - - let menu; - if (this.state.expanded) { - const menu_options = this._getMenuOptions(); - menu = <div className="mx_NetworkDropdown_menu"> - {menu_options} - </div>; - current_value = <input type="text" className="mx_NetworkDropdown_networkoption" - ref={this.collectInputTextBox} onKeyUp={this.onInputKeyUp} - placeholder="matrix.org" // 'matrix.org' as an example of an HS name - /> - } else { - const instance = instanceForInstanceId(this.props.protocols, this.state.selectedInstanceId); - current_value = this._makeMenuOption( - this.state.selectedServer, instance, this.state.includeAll, false - ); - } - - return <div className="mx_NetworkDropdown" ref={this.collectRoot}> - <div className="mx_NetworkDropdown_input" onClick={this.onInputClick}> - {current_value} - <span className="mx_NetworkDropdown_arrow"></span> - {menu} - </div> - </div>; - } -} - -NetworkDropdown.propTypes = { - onOptionChange: React.PropTypes.func.isRequired, - protocols: React.PropTypes.object, - // The room directory config. May have a 'servers' key that is a list of server names to include in the dropdown - config: React.PropTypes.object, -}; - -NetworkDropdown.defaultProps = { - protocols: {}, - config: {}, -}; diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js deleted file mode 100644 index d1a34d02..00000000 --- a/src/components/views/elements/ImageView.js +++ /dev/null @@ -1,205 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); - -var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); - -import {formatDate} from 'matrix-react-sdk/lib/DateUtils'; -var filesize = require('filesize'); -var AccessibleButton = require('matrix-react-sdk/lib/components/views/elements/AccessibleButton'); -const Modal = require('matrix-react-sdk/lib/Modal'); -const sdk = require('matrix-react-sdk'); -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -module.exports = React.createClass({ - displayName: 'ImageView', - - propTypes: { - src: React.PropTypes.string.isRequired, // the source of the image being displayed - name: React.PropTypes.string, // the main title ('name') for the image - link: React.PropTypes.string, // the link (if any) applied to the name of the image - width: React.PropTypes.number, // width of the image src in pixels - height: React.PropTypes.number, // height of the image src in pixels - fileSize: React.PropTypes.number, // size of the image src in bytes - onFinished: React.PropTypes.func.isRequired, // callback when the lightbox is dismissed - - // the event (if any) that the Image is displaying. Used for event-specific stuff like - // redactions, senders, timestamps etc. Other descriptors are taken from the explicit - // properties above, which let us use lightboxes to display images which aren't associated - // with events. - mxEvent: React.PropTypes.object, - }, - - // XXX: keyboard shortcuts for managing dialogs should be done by the modal - // dialog base class somehow, surely... - componentDidMount: function() { - document.addEventListener("keydown", this.onKeyDown); - }, - - componentWillUnmount: function() { - document.removeEventListener("keydown", this.onKeyDown); - }, - - onKeyDown: function(ev) { - if (ev.keyCode == 27) { // escape - ev.stopPropagation(); - ev.preventDefault(); - this.props.onFinished(); - } - }, - - onRedactClick: function() { - const ConfirmRedactDialog = sdk.getComponent("dialogs.ConfirmRedactDialog"); - Modal.createTrackedDialog('Confirm Redact Dialog', 'Image View', ConfirmRedactDialog, { - onFinished: (proceed) => { - if (!proceed) return; - var self = this; - MatrixClientPeg.get().redactEvent( - this.props.mxEvent.getRoomId(), this.props.mxEvent.getId() - ).catch(function(e) { - var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - // display error message stating you couldn't delete this. - var code = e.errcode || e.statusCode; - Modal.createTrackedDialog('You cannot delete this image.', '', ErrorDialog, { - title: _t('Error'), - description: _t('You cannot delete this image. (%(code)s)', {code: code}) - }); - }).done(); - } - }); - }, - - getName: function () { - var name = this.props.name; - if (name && this.props.link) { - name = <a href={ this.props.link } target="_blank" rel="noopener">{ name }</a>; - } - return name; - }, - - render: function() { - -/* - // In theory max-width: 80%, max-height: 80% on the CSS should work - // but in practice, it doesn't, so do it manually: - - var width = this.props.width || 500; - var height = this.props.height || 500; - - var maxWidth = document.documentElement.clientWidth * 0.8; - var maxHeight = document.documentElement.clientHeight * 0.8; - - var widthFrac = width / maxWidth; - var heightFrac = height / maxHeight; - - var displayWidth; - var displayHeight; - if (widthFrac > heightFrac) { - displayWidth = Math.min(width, maxWidth); - displayHeight = (displayWidth / width) * height; - } else { - displayHeight = Math.min(height, maxHeight); - displayWidth = (displayHeight / height) * width; - } - - var style = { - width: displayWidth, - height: displayHeight - }; -*/ - var style, res; - - if (this.props.width && this.props.height) { - style = { - width: this.props.width, - height: this.props.height, - }; - res = style.width + "x" + style.height + "px"; - } - - var size; - if (this.props.fileSize) { - size = filesize(this.props.fileSize); - } - - var size_res; - if (size && res) { - size_res = size + ", " + res; - } - else { - size_res = size || res; - } - - var showEventMeta = !!this.props.mxEvent; - - var eventMeta; - if(showEventMeta) { - // Figure out the sender, defaulting to mxid - let sender = this.props.mxEvent.getSender(); - const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId()); - if (room) { - const member = room.getMember(sender); - if (member) sender = member.name; - } - - eventMeta = (<div className="mx_ImageView_metadata"> - { _t('Uploaded on %(date)s by %(user)s', {date: formatDate(new Date(this.props.mxEvent.getTs())), user: sender}) } - </div>); - } - - var eventRedact; - if(showEventMeta) { - eventRedact = (<div className="mx_ImageView_button" onClick={this.onRedactClick}> - { _t('Remove') } - </div>); - } - - return ( - <div className="mx_ImageView"> - <div className="mx_ImageView_lhs"> - </div> - <div className="mx_ImageView_content"> - <img src={this.props.src} style={style}/> - <div className="mx_ImageView_labelWrapper"> - <div className="mx_ImageView_label"> - <AccessibleButton className="mx_ImageView_cancel" onClick={ this.props.onFinished }><img src="img/cancel-white.svg" width="18" height="18" alt={ _t('Close') }/></AccessibleButton> - <div className="mx_ImageView_shim"> - </div> - <div className="mx_ImageView_name"> - { this.getName() } - </div> - { eventMeta } - <a className="mx_ImageView_link" href={ this.props.src } download={ this.props.name } target="_blank" rel="noopener"> - <div className="mx_ImageView_download"> - { _t('Download this file') }<br/> - <span className="mx_ImageView_size">{ size_res }</span> - </div> - </a> - { eventRedact } - <div className="mx_ImageView_shim"> - </div> - </div> - </div> - </div> - <div className="mx_ImageView_rhs"> - </div> - </div> - ); - } -}); diff --git a/src/components/views/elements/InlineSpinner.js b/src/components/views/elements/InlineSpinner.js deleted file mode 100644 index adb916fc..00000000 --- a/src/components/views/elements/InlineSpinner.js +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2017 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -const React = require('react'); - -module.exports = React.createClass({ - displayName: 'InlineSpinner', - - render: function() { - var w = this.props.w || 16; - var h = this.props.h || 16; - var imgClass = this.props.imgClassName || ""; - - return ( - <div className="mx_InlineSpinner"> - <img src="img/spinner.gif" width={w} height={h} className={imgClass}/> - </div> - ); - } -}); diff --git a/src/components/views/elements/Spinner.js b/src/components/views/elements/Spinner.js deleted file mode 100644 index 2b620f12..00000000 --- a/src/components/views/elements/Spinner.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); - -module.exports = React.createClass({ - displayName: 'Spinner', - - render: function() { - var w = this.props.w || 32; - var h = this.props.h || 32; - var imgClass = this.props.imgClassName || ""; - return ( - <div className="mx_Spinner"> - <img src="img/spinner.gif" width={w} height={h} className={imgClass}/> - </div> - ); - } -}); diff --git a/src/components/views/elements/SyntaxHighlight.js b/src/components/views/elements/SyntaxHighlight.js deleted file mode 100644 index 82b5ae57..00000000 --- a/src/components/views/elements/SyntaxHighlight.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import {highlightBlock} from 'highlight.js'; - -export default class SyntaxHighlight extends React.Component { - static propTypes = { - className: PropTypes.string, - children: PropTypes.node, - }; - - constructor(props, context) { - super(props, context); - - this._ref = this._ref.bind(this); - } - - // componentDidUpdate used here for reusability - // componentWillReceiveProps fires too early to call highlightBlock on. - componentDidUpdate() { - if (this._el) highlightBlock(this._el); - } - - // call componentDidUpdate because _ref is fired on initial render - // which does not fire componentDidUpdate - _ref(el) { - this._el = el; - this.componentDidUpdate(); - } - - render() { - const { className, children } = this.props; - - return <pre className={`${className} mx_SyntaxHighlight`} ref={this._ref}> - <code>{ children }</code> - </pre>; - } -} diff --git a/src/components/views/globals/MatrixToolbar.js b/src/components/views/globals/MatrixToolbar.js deleted file mode 100644 index 06bfa36e..00000000 --- a/src/components/views/globals/MatrixToolbar.js +++ /dev/null @@ -1,46 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import Notifier from 'matrix-react-sdk/lib/Notifier'; -import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton'; - -module.exports = React.createClass({ - displayName: 'MatrixToolbar', - - hideToolbar: function() { - Notifier.setToolbarHidden(true); - }, - - onClick: function() { - Notifier.setEnabled(true); - }, - - render: function() { - return ( - <div className="mx_MatrixToolbar"> - <img className="mx_MatrixToolbar_warning" src="img/warning.svg" width="24" height="23" alt="Warning"/> - <div className="mx_MatrixToolbar_content"> - { _t('You are not receiving desktop notifications') } <a className="mx_MatrixToolbar_link" onClick={ this.onClick }> { _t('Enable them now') }</a> - </div> - <AccessibleButton className="mx_MatrixToolbar_close" onClick={ this.hideToolbar } ><img src="img/cancel.svg" width="18" height="18" /></AccessibleButton> - </div> - ); - }, -}); diff --git a/src/components/views/globals/NewVersionBar.js b/src/components/views/globals/NewVersionBar.js deleted file mode 100644 index 2aedf392..00000000 --- a/src/components/views/globals/NewVersionBar.js +++ /dev/null @@ -1,107 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import sdk from 'matrix-react-sdk'; -import Modal from 'matrix-react-sdk/lib/Modal'; -import PlatformPeg from 'matrix-react-sdk/lib/PlatformPeg'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -/** - * Check a version string is compatible with the Changelog - * dialog ([vectorversion]-react-[react-sdk-version]-js-[js-sdk-version]) - */ -function checkVersion(ver) { - const parts = ver.split('-'); - return parts.length == 5 && parts[1] == 'react' && parts[3] == 'js'; -} - -export default React.createClass({ - propTypes: { - version: React.PropTypes.string.isRequired, - newVersion: React.PropTypes.string.isRequired, - releaseNotes: React.PropTypes.string, - }, - - displayReleaseNotes: function(releaseNotes) { - const QuestionDialog = sdk.getComponent('dialogs.QuestionDialog'); - Modal.createTrackedDialog('Display release notes', '', QuestionDialog, { - title: _t("What's New"), - description: <div className="mx_MatrixToolbar_changelog">{releaseNotes}</div>, - button: _t("Update"), - onFinished: (update) => { - if(update && PlatformPeg.get()) { - PlatformPeg.get().installUpdate(); - } - } - }); - }, - - displayChangelog: function() { - const ChangelogDialog = sdk.getComponent('dialogs.ChangelogDialog'); - Modal.createTrackedDialog('Display Changelog', '', ChangelogDialog, { - version: this.props.version, - newVersion: this.props.newVersion, - onFinished: (update) => { - if(update && PlatformPeg.get()) { - PlatformPeg.get().installUpdate(); - } - } - }); - }, - - onUpdateClicked: function() { - PlatformPeg.get().installUpdate(); - }, - - render: function() { - let action_button; - // If we have release notes to display, we display them. Otherwise, - // we display the Changelog Dialog which takes two versions and - // automatically tells you what's changed (provided the versions - // are in the right format) - if (this.props.releaseNotes) { - action_button = ( - <button className="mx_MatrixToolbar_action" onClick={this.displayReleaseNotes}> - { _t("What's new?") } - </button> - ); - } else if (checkVersion(this.props.version) && checkVersion(this.props.newVersion)) { - action_button = ( - <button className="mx_MatrixToolbar_action" onClick={this.displayChangelog}> - { _t("What's new?") } - </button> - ); - } else if (PlatformPeg.get()) { - action_button = ( - <button className="mx_MatrixToolbar_action" onClick={this.onUpdateClicked}> - { _t("Update") } - </button> - ); - } - return ( - <div className="mx_MatrixToolbar"> - <img className="mx_MatrixToolbar_warning" src="img/warning.svg" width="24" height="23" alt="Warning"/> - <div className="mx_MatrixToolbar_content"> - {_t("A new version of Riot is available.")} - </div> - {action_button} - </div> - ); - } -}); diff --git a/src/components/views/globals/PasswordNagBar.js b/src/components/views/globals/PasswordNagBar.js deleted file mode 100644 index a04d48e0..00000000 --- a/src/components/views/globals/PasswordNagBar.js +++ /dev/null @@ -1,64 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import sdk from 'matrix-react-sdk'; -import Modal from 'matrix-react-sdk/lib/Modal'; -import dis from 'matrix-react-sdk/lib/dispatcher'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; - -export default React.createClass({ - onUpdateClicked: function() { - const SetPasswordDialog = sdk.getComponent('dialogs.SetPasswordDialog'); - Modal.createTrackedDialog('Set Password Dialog', 'Password Nag Bar', SetPasswordDialog, { - onFinished: (passwordChanged) => { - if (!passwordChanged) { - return; - } - // Notify SessionStore that the user's password was changed - dis.dispatch({ - action: 'password_changed', - }); - }, - }); - }, - - render: function() { - const toolbarClasses = "mx_MatrixToolbar mx_MatrixToolbar_clickable"; - return ( - <div className={toolbarClasses} onClick={this.onUpdateClicked}> - <img className="mx_MatrixToolbar_warning" - src="img/warning.svg" - width="24" - height="23" - alt="Warning" - /> - <div className="mx_MatrixToolbar_content"> - { _t( - "To return to your account in future you need to <u>set a password</u>", - {}, - { 'u': (sub) => <u>{ sub }</u> }, - ) } - </div> - <button className="mx_MatrixToolbar_action"> - { _t("Set Password") } - </button> - </div> - ); - }, -}); diff --git a/src/components/views/globals/UpdateCheckBar.js b/src/components/views/globals/UpdateCheckBar.js deleted file mode 100644 index 926ccbcc..00000000 --- a/src/components/views/globals/UpdateCheckBar.js +++ /dev/null @@ -1,85 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import React from 'react'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import PlatformPeg from 'matrix-react-sdk/lib/PlatformPeg'; -import {updateCheckStatusEnum} from '../../../vector/platform/VectorBasePlatform'; -import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton'; - -const doneStatuses = [ - updateCheckStatusEnum.ERROR, - updateCheckStatusEnum.NOTAVAILABLE, -]; - -export default React.createClass({ - propTypes: { - status: React.PropTypes.oneOf(Object.values(updateCheckStatusEnum)).isRequired, - // Currently for error detail but will be usable for download progress - // once that is a thing that squirrel passes through electron. - detail: React.PropTypes.string, - }, - - getDefaultProps: function() { - return { - detail: '', - } - }, - - getStatusText: function() { - switch(this.props.status) { - case updateCheckStatusEnum.ERROR: - return _t('Error encountered (%(errorDetail)s).', { errorDetail: this.props.detail }); - case updateCheckStatusEnum.CHECKING: - return _t('Checking for an update...'); - case updateCheckStatusEnum.NOTAVAILABLE: - return _t('No update available.'); - case updateCheckStatusEnum.DOWNLOADING: - return _t('Downloading update...'); - } - } - , - - hideToolbar: function() { - PlatformPeg.get().stopUpdateCheck(); - }, - - render: function() { - const message = this.getStatusText(); - const warning = _t('Warning'); - - let image; - if (doneStatuses.includes(this.props.status)) { - image = <img className="mx_MatrixToolbar_warning" src="img/warning.svg" width="24" height="23" alt={warning}/>; - } else { - image = <img className="mx_MatrixToolbar_warning" src="img/spinner.gif" width="24" height="23" alt={message}/>; - } - - return ( - <div className="mx_MatrixToolbar"> - {image} - <div className="mx_MatrixToolbar_content"> - {message} - </div> - <AccessibleButton className="mx_MatrixToolbar_close" onClick={this.hideToolbar}> - <img src="img/cancel.svg" width="18" height="18" /> - </AccessibleButton> - </div> - ); - } -}); diff --git a/src/components/views/messages/DateSeparator.js b/src/components/views/messages/DateSeparator.js deleted file mode 100644 index 2e081bc6..00000000 --- a/src/components/views/messages/DateSeparator.js +++ /dev/null @@ -1,61 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2018 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import {formatFullDateNoTime} from 'matrix-react-sdk/lib/DateUtils'; - -function getdaysArray() { - return [ - _t('Sunday'), - _t('Monday'), - _t('Tuesday'), - _t('Wednesday'), - _t('Thursday'), - _t('Friday'), - _t('Saturday'), - ]; -} - -export default class DateSeparator extends React.Component { - static propTypes = { - ts: PropTypes.number.isRequired, - }; - - getLabel() { - const date = new Date(this.props.ts); - const today = new Date(); - const yesterday = new Date(); - const days = getdaysArray(); - yesterday.setDate(today.getDate() - 1); - - if (date.toDateString() === today.toDateString()) { - return _t('Today'); - } else if (date.toDateString() === yesterday.toDateString()) { - return _t('Yesterday'); - } else if (today.getTime() - date.getTime() < 6 * 24 * 60 * 60 * 1000) { - return days[date.getDay()]; - } else { - return formatFullDateNoTime(date); - } - } - - render() { - return <h2 className="mx_DateSeparator">{ this.getLabel() }</h2>; - } -} diff --git a/src/components/views/messages/MessageTimestamp.js b/src/components/views/messages/MessageTimestamp.js deleted file mode 100644 index 6d433067..00000000 --- a/src/components/views/messages/MessageTimestamp.js +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2018 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import PropTypes from 'prop-types'; -import {formatFullDate, formatTime} from 'matrix-react-sdk/lib/DateUtils'; - -export default class MessageTimestamp extends React.Component { - static propTypes = { - ts: PropTypes.number.isRequired, - showTwelveHour: PropTypes.bool, - }; - - render() { - const date = new Date(this.props.ts); - return ( - <span className="mx_MessageTimestamp" title={formatFullDate(date, this.props.showTwelveHour)}> - { formatTime(date, this.props.showTwelveHour) } - </span> - ); - } -} diff --git a/src/components/views/rooms/DNDRoomTile.js b/src/components/views/rooms/DNDRoomTile.js deleted file mode 100644 index d32ecbbb..00000000 --- a/src/components/views/rooms/DNDRoomTile.js +++ /dev/null @@ -1,65 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import { Draggable } from 'react-beautiful-dnd'; -import RoomTile from 'matrix-react-sdk/lib/components/views/rooms/RoomTile'; - -import classNames from 'classnames'; - -export default class DNDRoomTile extends React.PureComponent { - constructor() { - super(); - this.getClassName = this.getClassName.bind(this); - } - - getClassName(isDragging) { - return classNames({ - "mx_DNDRoomTile": true, - "mx_DNDRoomTile_dragging": isDragging, - }); - } - - render() { - const props = this.props; - - return <div> - <Draggable - key={props.room.roomId} - draggableId={props.tagName + '_' + props.room.roomId} - index={props.index} - type="draggable-RoomTile" - > - { (provided, snapshot) => { - return ( - <div> - <div - ref={provided.innerRef} - {...provided.draggableProps} - {...provided.dragHandleProps} - > - <div className={this.getClassName(snapshot.isDragging)}> - <RoomTile {...props} /> - </div> - </div> - { provided.placeholder } - </div> - ); - } } - </Draggable> - </div>; - } -} diff --git a/src/components/views/rooms/RoomDropTarget.js b/src/components/views/rooms/RoomDropTarget.js deleted file mode 100644 index 3cb10630..00000000 --- a/src/components/views/rooms/RoomDropTarget.js +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); - -module.exports = React.createClass({ - displayName: 'RoomDropTarget', - - render: function() { - return ( - <div className="mx_RoomDropTarget_container"> - <div className="mx_RoomDropTarget"> - <div className="mx_RoomDropTarget_label"> - { this.props.label } - </div> - </div> - </div> - ); - } -}); diff --git a/src/components/views/rooms/RoomTooltip.js b/src/components/views/rooms/RoomTooltip.js deleted file mode 100644 index 39d8958d..00000000 --- a/src/components/views/rooms/RoomTooltip.js +++ /dev/null @@ -1,120 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); -var ReactDOM = require('react-dom'); -var dis = require('matrix-react-sdk/lib/dispatcher'); -import classNames from 'classnames'; - -const MIN_TOOLTIP_HEIGHT = 25; - -module.exports = React.createClass({ - displayName: 'RoomTooltip', - - propTypes: { - // Class applied to the element used to position the tooltip - className: React.PropTypes.string.isRequired, - // Class applied to the tooltip itself - tooltipClassName: React.PropTypes.string, - // The tooltip is derived from either the room name or a label - room: React.PropTypes.object, - label: React.PropTypes.node, - }, - - // Create a wrapper for the tooltip outside the parent and attach it to the body element - componentDidMount: function() { - this.tooltipContainer = document.createElement("div"); - this.tooltipContainer.className = "mx_RoomTileTooltip_wrapper"; - document.body.appendChild(this.tooltipContainer); - window.addEventListener('scroll', this._renderTooltip, true); - - this.parent = ReactDOM.findDOMNode(this).parentNode; - - this._renderTooltip(); - }, - - componentDidUpdate: function() { - this._renderTooltip(); - }, - - // Remove the wrapper element, as the tooltip has finished using it - componentWillUnmount: function() { - dis.dispatch({ - action: 'view_tooltip', - tooltip: null, - parent: null, - }); - - ReactDOM.unmountComponentAtNode(this.tooltipContainer); - document.body.removeChild(this.tooltipContainer); - window.removeEventListener('scroll', this._renderTooltip, true); - }, - - _updatePosition(style) { - const parentBox = this.parent.getBoundingClientRect(); - let offset = 0; - if (parentBox.height > MIN_TOOLTIP_HEIGHT) { - offset = Math.floor((parentBox.height - MIN_TOOLTIP_HEIGHT) / 2); - } - style.top = (parentBox.top - 2) + window.pageYOffset + offset; - style.left = 6 + parentBox.right + window.pageXOffset; - return style; - }, - - _renderTooltip: function() { - var label = this.props.room ? this.props.room.name : this.props.label; - - // Add the parent's position to the tooltips, so it's correctly - // positioned, also taking into account any window zoom - // NOTE: The additional 6 pixels for the left position, is to take account of the - // tooltips chevron - var parent = ReactDOM.findDOMNode(this).parentNode; - var style = {}; - style = this._updatePosition(style); - style.display = "block"; - - const tooltipClasses = classNames( - "mx_RoomTooltip", this.props.tooltipClassName, - ); - - var tooltip = ( - <div className={tooltipClasses} style={style} > - <div className="mx_RoomTooltip_chevron"></div> - { label } - </div> - ); - - // Render the tooltip manually, as we wish it not to be rendered within the parent - this.tooltip = ReactDOM.render(tooltip, this.tooltipContainer); - - // Tell the roomlist about us so it can manipulate us if it wishes - dis.dispatch({ - action: 'view_tooltip', - tooltip: this.tooltip, - parent: parent, - }); - }, - - render: function() { - // Render a placeholder - return ( - <div className={this.props.className} > - </div> - ); - }, -}); diff --git a/src/components/views/rooms/SearchBar.js b/src/components/views/rooms/SearchBar.js deleted file mode 100644 index 26bf81e4..00000000 --- a/src/components/views/rooms/SearchBar.js +++ /dev/null @@ -1,71 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); -var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); -var sdk = require('matrix-react-sdk'); -var classNames = require('classnames'); -var AccessibleButton = require('matrix-react-sdk/lib/components/views/elements/AccessibleButton'); -import { _t } from "matrix-react-sdk/lib/languageHandler"; - -module.exports = React.createClass({ - displayName: 'SearchBar', - - getInitialState: function() { - return ({ - scope: 'Room' - }); - }, - - onThisRoomClick: function() { - this.setState({ scope: 'Room' }); - }, - - onAllRoomsClick: function() { - this.setState({ scope: 'All' }); - }, - - onSearchChange: function(e) { - if (e.keyCode === 13) { // on enter... - this.onSearch(); - } - if (e.keyCode === 27) { // escape... - this.props.onCancelClick(); - } - }, - - onSearch: function() { - this.props.onSearch(this.refs.search_term.value, this.state.scope); - }, - - render: function() { - var searchButtonClasses = classNames({ mx_SearchBar_searchButton : true, mx_SearchBar_searching: this.props.searchInProgress }); - var thisRoomClasses = classNames({ mx_SearchBar_button : true, mx_SearchBar_unselected : this.state.scope !== 'Room' }); - var allRoomsClasses = classNames({ mx_SearchBar_button : true, mx_SearchBar_unselected : this.state.scope !== 'All' }); - - return ( - <div className="mx_SearchBar"> - <input ref="search_term" className="mx_SearchBar_input" type="text" autoFocus={true} placeholder={_t("Search…")} onKeyDown={this.onSearchChange}/> - <AccessibleButton className={ searchButtonClasses } onClick={this.onSearch}><img src="img/search-button.svg" width="37" height="37" alt={_t("Search")}/></AccessibleButton> - <AccessibleButton className={ thisRoomClasses } onClick={this.onThisRoomClick}>{_t("This Room")}</AccessibleButton> - <AccessibleButton className={ allRoomsClasses } onClick={this.onAllRoomsClick}>{_t("All Rooms")}</AccessibleButton> - <AccessibleButton className="mx_SearchBar_cancel" onClick={this.props.onCancelClick}><img src="img/cancel.svg" width="18" height="18" /></AccessibleButton> - </div> - ); - } -}); diff --git a/src/components/views/settings/IntegrationsManager.js b/src/components/views/settings/IntegrationsManager.js deleted file mode 100644 index 4a2482f6..00000000 --- a/src/components/views/settings/IntegrationsManager.js +++ /dev/null @@ -1,63 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var React = require('react'); -var sdk = require('matrix-react-sdk'); -var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); -var dis = require('matrix-react-sdk/lib/dispatcher'); - -module.exports = React.createClass({ - displayName: 'IntegrationsManager', - - propTypes: { - src: React.PropTypes.string.isRequired, // the source of the integration manager being embedded - onFinished: React.PropTypes.func.isRequired, // callback when the lightbox is dismissed - }, - - // XXX: keyboard shortcuts for managing dialogs should be done by the modal - // dialog base class somehow, surely... - componentDidMount: function() { - this.dispatcherRef = dis.register(this.onAction); - document.addEventListener("keydown", this.onKeyDown); - }, - - componentWillUnmount: function() { - dis.unregister(this.dispatcherRef); - document.removeEventListener("keydown", this.onKeyDown); - }, - - onKeyDown: function(ev) { - if (ev.keyCode == 27) { // escape - ev.stopPropagation(); - ev.preventDefault(); - this.props.onFinished(); - } - }, - - onAction: function(payload) { - if (payload.action === 'close_scalar') { - this.props.onFinished(); - } - }, - - render: function() { - return ( - <iframe src={ this.props.src }></iframe> - ); - } -}); diff --git a/src/components/views/settings/Notifications.js b/src/components/views/settings/Notifications.js deleted file mode 100644 index be03b4d7..00000000 --- a/src/components/views/settings/Notifications.js +++ /dev/null @@ -1,919 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -import React from 'react'; -import Promise from 'bluebird'; -import sdk from 'matrix-react-sdk'; -import { _t } from 'matrix-react-sdk/lib/languageHandler'; -import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg'; -import UserSettingsStore from 'matrix-react-sdk/lib/UserSettingsStore'; -import SettingsStore, {SettingLevel} from "matrix-react-sdk/lib/settings/SettingsStore"; -import Modal from 'matrix-react-sdk/lib/Modal'; -import { - NotificationUtils, - VectorPushRulesDefinitions, - PushRuleVectorState, - ContentRules -} from '../../../notifications'; - -// TODO: this "view" component still has far too much application logic in it, -// which should be factored out to other files. - -// TODO: this component also does a lot of direct poking into this.state, which -// is VERY NAUGHTY. - - -/** - * Rules that Vector used to set in order to override the actions of default rules. - * These are used to port peoples existing overrides to match the current API. - * These can be removed and forgotten once everyone has moved to the new client. - */ -const LEGACY_RULES = { - "im.vector.rule.contains_display_name": ".m.rule.contains_display_name", - "im.vector.rule.room_one_to_one": ".m.rule.room_one_to_one", - "im.vector.rule.room_message": ".m.rule.message", - "im.vector.rule.invite_for_me": ".m.rule.invite_for_me", - "im.vector.rule.call": ".m.rule.call", - "im.vector.rule.notices": ".m.rule.suppress_notices" -}; - -function portLegacyActions(actions) { - const decoded = NotificationUtils.decodeActions(actions); - if (decoded !== null) { - return NotificationUtils.encodeActions(decoded); - } else { - // We don't recognise one of the actions here, so we don't try to - // canonicalise them. - return actions; - } -} - -module.exports = React.createClass({ - displayName: 'Notifications', - - phases: { - LOADING: "LOADING", // The component is loading or sending data to the hs - DISPLAY: "DISPLAY", // The component is ready and display data - ERROR: "ERROR" // There was an error - }, - - propTypes: { - // The array of threepids from the JS SDK (required for email notifications) - threepids: React.PropTypes.array.isRequired, - // The brand string set when creating an email pusher - brand: React.PropTypes.string, - }, - - getDefaultProps: function() { - return { - threepids: [] - }; - }, - - getInitialState: function() { - return { - phase: this.phases.LOADING, - masterPushRule: undefined, // The master rule ('.m.rule.master') - vectorPushRules: [], // HS default push rules displayed in Vector UI - vectorContentRules: { // Keyword push rules displayed in Vector UI - vectorState: PushRuleVectorState.ON, - rules: [] - }, - externalPushRules: [], // Push rules (except content rule) that have been defined outside Vector UI - externalContentRules: [] // Keyword push rules that have been defined outside Vector UI - }; - }, - - componentWillMount: function() { - this._refreshFromServer(); - }, - - onEnableNotificationsChange: function(event) { - const self = this; - this.setState({ - phase: this.phases.LOADING - }); - - MatrixClientPeg.get().setPushRuleEnabled('global', self.state.masterPushRule.kind, self.state.masterPushRule.rule_id, !event.target.checked).done(function() { - self._refreshFromServer(); - }); - }, - - onEnableDesktopNotificationsChange: function(event) { - SettingsStore.setValue( - "notificationsEnabled", null, - SettingLevel.DEVICE, - event.target.checked, - ).finally(() => { - this.forceUpdate(); - }); - }, - - onEnableDesktopNotificationBodyChange: function(event) { - SettingsStore.setValue( - "notificationBodyEnabled", null, - SettingLevel.DEVICE, - event.target.checked, - ).finally(() => { - this.forceUpdate(); - }); - }, - - onEnableAudioNotificationsChange: function(event) { - SettingsStore.setValue( - "audioNotificationsEnabled", null, - SettingLevel.DEVICE, - event.target.checked, - ).finally(() => { - this.forceUpdate(); - }); - }, - - onEnableEmailNotificationsChange: function(address, event) { - let emailPusherPromise; - if (event.target.checked) { - const data = {} - data['brand'] = this.props.brand || 'Riot'; - emailPusherPromise = UserSettingsStore.addEmailPusher(address, data); - } else { - const emailPusher = UserSettingsStore.getEmailPusher(this.state.pushers, address); - emailPusher.kind = null; - emailPusherPromise = MatrixClientPeg.get().setPusher(emailPusher); - } - emailPusherPromise.done(() => { - this._refreshFromServer(); - }, (error) => { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - Modal.createTrackedDialog('Error saving email notification preferences', '', ErrorDialog, { - title: _t('Error saving email notification preferences'), - description: _t('An error occurred whilst saving your email notification preferences.'), - }); - }); - }, - - onNotifStateButtonClicked: function(event) { - // FIXME: use .bind() rather than className metadata here surely - const vectorRuleId = event.target.className.split("-")[0]; - const newPushRuleVectorState = event.target.className.split("-")[1]; - - if ("_keywords" === vectorRuleId) { - this._setKeywordsPushRuleVectorState(newPushRuleVectorState) - } - else { - const rule = this.getRule(vectorRuleId); - if (rule) { - this._setPushRuleVectorState(rule, newPushRuleVectorState); - } - } - }, - - onKeywordsClicked: function(event) { - const self = this; - - // Compute the keywords list to display - let keywords = []; - for (let i in this.state.vectorContentRules.rules) { - const rule = this.state.vectorContentRules.rules[i]; - keywords.push(rule.pattern); - } - if (keywords.length) { - // As keeping the order of per-word push rules hs side is a bit tricky to code, - // display the keywords in alphabetical order to the user - keywords.sort(); - - keywords = keywords.join(", "); - } - else { - keywords = ""; - } - - const TextInputDialog = sdk.getComponent("dialogs.TextInputDialog"); - Modal.createTrackedDialog('Keywords Dialog', '', TextInputDialog, { - title: _t('Keywords'), - description: _t('Enter keywords separated by a comma:'), - button: _t('OK'), - value: keywords, - onFinished: function onFinished(should_leave, newValue) { - - if (should_leave && newValue !== keywords) { - let newKeywords = newValue.split(','); - for (let i in newKeywords) { - newKeywords[i] = newKeywords[i].trim(); - } - - // Remove duplicates and empty - newKeywords = newKeywords.reduce(function(array, keyword){ - if (keyword !== "" && array.indexOf(keyword) < 0) { - array.push(keyword); - } - return array; - },[]); - - self._setKeywords(newKeywords); - } - } - }); - }, - - getRule: function(vectorRuleId) { - for (let i in this.state.vectorPushRules) { - const rule = this.state.vectorPushRules[i]; - if (rule.vectorRuleId === vectorRuleId) { - return rule; - } - } - }, - - _setPushRuleVectorState: function(rule, newPushRuleVectorState) { - if (rule && rule.vectorState !== newPushRuleVectorState) { - - this.setState({ - phase: this.phases.LOADING - }); - - const self = this; - const cli = MatrixClientPeg.get(); - const deferreds = []; - const ruleDefinition = VectorPushRulesDefinitions[rule.vectorRuleId]; - - if (rule.rule) { - const actions = ruleDefinition.vectorStateToActions[newPushRuleVectorState]; - - if (!actions) { - // The new state corresponds to disabling the rule. - deferreds.push(cli.setPushRuleEnabled('global', rule.rule.kind, rule.rule.rule_id, false)); - } - else { - // The new state corresponds to enabling the rule and setting specific actions - deferreds.push(this._updatePushRuleActions(rule.rule, actions, true)); - } - } - - Promise.all(deferreds).done(function() { - self._refreshFromServer(); - }, function(error) { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - console.error("Failed to change settings: " + error); - Modal.createTrackedDialog('Failed to change settings', '', ErrorDialog, { - title: _t('Failed to change settings'), - description: ((error && error.message) ? error.message : _t('Operation failed')), - onFinished: self._refreshFromServer - }); - }); - } - }, - - _setKeywordsPushRuleVectorState: function(newPushRuleVectorState) { - // Is there really a change? - if (this.state.vectorContentRules.vectorState === newPushRuleVectorState - || this.state.vectorContentRules.rules.length === 0) { - return; - } - - const self = this; - const cli = MatrixClientPeg.get(); - - this.setState({ - phase: this.phases.LOADING - }); - - // Update all rules in self.state.vectorContentRules - const deferreds = []; - for (let i in this.state.vectorContentRules.rules) { - const rule = this.state.vectorContentRules.rules[i]; - - let enabled, actions; - switch (newPushRuleVectorState) { - case PushRuleVectorState.ON: - if (rule.actions.length !== 1) { - actions = PushRuleVectorState.actionsFor(PushRuleVectorState.ON); - } - - if (this.state.vectorContentRules.vectorState === PushRuleVectorState.OFF) { - enabled = true; - } - break; - - case PushRuleVectorState.LOUD: - if (rule.actions.length !== 3) { - actions = PushRuleVectorState.actionsFor(PushRuleVectorState.LOUD); - } - - if (this.state.vectorContentRules.vectorState === PushRuleVectorState.OFF) { - enabled = true; - } - break; - - case PushRuleVectorState.OFF: - enabled = false; - break; - } - - if (actions) { - // Note that the workaround in _updatePushRuleActions will automatically - // enable the rule - deferreds.push(this._updatePushRuleActions(rule, actions, enabled)); - } - else if (enabled != undefined) { - deferreds.push(cli.setPushRuleEnabled('global', rule.kind, rule.rule_id, enabled)); - } - } - - Promise.all(deferreds).done(function(resps) { - self._refreshFromServer(); - }, function(error) { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - console.error("Can't update user notification settings: " + error); - Modal.createTrackedDialog('Can\'t update user notifcation settings', '', ErrorDialog, { - title: _t('Can\'t update user notification settings'), - description: ((error && error.message) ? error.message : _t('Operation failed')), - onFinished: self._refreshFromServer - }); - }); - }, - - _setKeywords: function(newKeywords) { - this.setState({ - phase: this.phases.LOADING - }); - - const self = this; - const cli = MatrixClientPeg.get(); - const removeDeferreds = []; - - // Remove per-word push rules of keywords that are no more in the list - const vectorContentRulesPatterns = []; - for (let i in self.state.vectorContentRules.rules) { - const rule = self.state.vectorContentRules.rules[i]; - - vectorContentRulesPatterns.push(rule.pattern); - - if (newKeywords.indexOf(rule.pattern) < 0) { - removeDeferreds.push(cli.deletePushRule('global', rule.kind, rule.rule_id)); - } - } - - // If the keyword is part of `externalContentRules`, remove the rule - // before recreating it in the right Vector path - for (let i in self.state.externalContentRules) { - const rule = self.state.externalContentRules[i]; - - if (newKeywords.indexOf(rule.pattern) >= 0) { - removeDeferreds.push(cli.deletePushRule('global', rule.kind, rule.rule_id)); - } - } - - const onError = function(error) { - const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - console.error("Failed to update keywords: " + error); - Modal.createTrackedDialog('Failed to update keywords', '', ErrorDialog, { - title: _t('Failed to update keywords'), - description: ((error && error.message) ? error.message : _t('Operation failed')), - onFinished: self._refreshFromServer - }); - } - - // Then, add the new ones - Promise.all(removeDeferreds).done(function(resps) { - const deferreds = []; - - let pushRuleVectorStateKind = self.state.vectorContentRules.vectorState; - if (pushRuleVectorStateKind === PushRuleVectorState.OFF) { - // When the current global keywords rule is OFF, we need to look at - // the flavor of rules in 'vectorContentRules' to apply the same actions - // when creating the new rule. - // Thus, this new rule will join the 'vectorContentRules' set. - if (self.state.vectorContentRules.rules.length) { - pushRuleVectorStateKind = PushRuleVectorState.contentRuleVectorStateKind(self.state.vectorContentRules.rules[0]); - } - else { - // ON is default - pushRuleVectorStateKind = PushRuleVectorState.ON; - } - } - - for (let i in newKeywords) { - const keyword = newKeywords[i]; - - if (vectorContentRulesPatterns.indexOf(keyword) < 0) { - if (self.state.vectorContentRules.vectorState !== PushRuleVectorState.OFF) { - deferreds.push(cli.addPushRule - ('global', 'content', keyword, { - actions: PushRuleVectorState.actionsFor(pushRuleVectorStateKind), - pattern: keyword - })); - } - else { - deferreds.push(self._addDisabledPushRule('global', 'content', keyword, { - actions: PushRuleVectorState.actionsFor(pushRuleVectorStateKind), - pattern: keyword - })); - } - } - } - - Promise.all(deferreds).done(function(resps) { - self._refreshFromServer(); - }, onError); - }, onError); - }, - - // Create a push rule but disabled - _addDisabledPushRule: function(scope, kind, ruleId, body) { - const cli = MatrixClientPeg.get(); - return cli.addPushRule(scope, kind, ruleId, body).then(() => - cli.setPushRuleEnabled(scope, kind, ruleId, false) - ); - }, - - // Check if any legacy im.vector rules need to be ported to the new API - // for overriding the actions of default rules. - _portRulesToNewAPI: function(rulesets) { - const self = this; - const needsUpdate = []; - const cli = MatrixClientPeg.get(); - - for (let kind in rulesets.global) { - const ruleset = rulesets.global[kind]; - for (let i = 0; i < ruleset.length; ++i) { - const rule = ruleset[i]; - if (rule.rule_id in LEGACY_RULES) { - console.log("Porting legacy rule", rule); - needsUpdate.push( function(kind, rule) { - return cli.setPushRuleActions( - 'global', kind, LEGACY_RULES[rule.rule_id], portLegacyActions(rule.actions) - ).then(() => - cli.deletePushRule('global', kind, rule.rule_id) - ).catch( (e) => { - console.warn(`Error when porting legacy rule: ${e}`); - }); - }(kind, rule)); - } - } - } - - if (needsUpdate.length > 0) { - // If some of the rules need to be ported then wait for the porting - // to happen and then fetch the rules again. - return Promise.all(needsUpdate).then(() => - cli.getPushRules() - ); - } else { - // Otherwise return the rules that we already have. - return rulesets; - } - }, - - _refreshFromServer: function() { - const self = this; - const pushRulesPromise = MatrixClientPeg.get().getPushRules().then(self._portRulesToNewAPI).then(function(rulesets) { - - /// XXX seriously? wtf is this? - MatrixClientPeg.get().pushRules = rulesets; - - // Get homeserver default rules and triage them by categories - const rule_categories = { - // The master rule (all notifications disabling) - '.m.rule.master': 'master', - - // The default push rules displayed by Vector UI - '.m.rule.contains_display_name': 'vector', - '.m.rule.contains_user_name': 'vector', - '.m.rule.room_one_to_one': 'vector', - '.m.rule.message': 'vector', - '.m.rule.invite_for_me': 'vector', - //'.m.rule.member_event': 'vector', - '.m.rule.call': 'vector', - '.m.rule.suppress_notices': 'vector' - - // Others go to others - }; - - // HS default rules - const defaultRules = {master: [], vector: {}, others: []}; - - for (let kind in rulesets.global) { - for (let i = 0; i < Object.keys(rulesets.global[kind]).length; ++i) { - const r = rulesets.global[kind][i]; - const cat = rule_categories[r.rule_id]; - r.kind = kind; - - if (r.rule_id[0] === '.') { - if (cat === 'vector') { - defaultRules.vector[r.rule_id] = r; - } - else if (cat === 'master') { - defaultRules.master.push(r); - } - else { - defaultRules['others'].push(r); - } - } - } - } - - // Get the master rule if any defined by the hs - if (defaultRules.master.length > 0) { - self.state.masterPushRule = defaultRules.master[0]; - } - - // parse the keyword rules into our state - const contentRules = ContentRules.parseContentRules(rulesets); - self.state.vectorContentRules = { - vectorState: contentRules.vectorState, - rules: contentRules.rules, - }; - self.state.externalContentRules = contentRules.externalRules; - - // Build the rules displayed in the Vector UI matrix table - self.state.vectorPushRules = []; - self.state.externalPushRules = []; - - const vectorRuleIds = [ - '.m.rule.contains_display_name', - '.m.rule.contains_user_name', - '_keywords', - '.m.rule.room_one_to_one', - '.m.rule.message', - '.m.rule.invite_for_me', - //'im.vector.rule.member_event', - '.m.rule.call', - '.m.rule.suppress_notices' - ]; - for (let i in vectorRuleIds) { - const vectorRuleId = vectorRuleIds[i]; - - if (vectorRuleId === '_keywords') { - // keywords needs a special handling - // For Vector UI, this is a single global push rule but translated in Matrix, - // it corresponds to all content push rules (stored in self.state.vectorContentRule) - self.state.vectorPushRules.push({ - "vectorRuleId": "_keywords", - "description" : ( - <span> - { _t('Messages containing <span>keywords</span>', - {}, - { 'span': (sub) => - <span className="mx_UserNotifSettings_keywords" onClick={ self.onKeywordsClicked }>{sub}</span> - }, - )} - </span> - ), - "vectorState": self.state.vectorContentRules.vectorState - }); - } - else { - const ruleDefinition = VectorPushRulesDefinitions[vectorRuleId]; - const rule = defaultRules.vector[vectorRuleId]; - - const vectorState = ruleDefinition.ruleToVectorState(rule); - - //console.log("Refreshing vectorPushRules for " + vectorRuleId +", "+ ruleDefinition.description +", " + rule +", " + vectorState); - - self.state.vectorPushRules.push({ - "vectorRuleId": vectorRuleId, - "description" : _t(ruleDefinition.description), // Text from VectorPushRulesDefinitions.js - "rule": rule, - "vectorState": vectorState, - }); - - // if there was a rule which we couldn't parse, add it to the external list - if (rule && !vectorState) { - rule.description = ruleDefinition.description; - self.state.externalPushRules.push(rule); - } - } - } - - // Build the rules not managed by Vector UI - const otherRulesDescriptions = { - '.m.rule.message': _t('Notify for all other messages/rooms'), - '.m.rule.fallback': _t('Notify me for anything else'), - }; - - for (let i in defaultRules.others) { - const rule = defaultRules.others[i]; - const ruleDescription = otherRulesDescriptions[rule.rule_id]; - - // Show enabled default rules that was modified by the user - if (ruleDescription && rule.enabled && !rule.default) { - rule.description = ruleDescription; - self.state.externalPushRules.push(rule); - } - } - }); - - const pushersPromise = MatrixClientPeg.get().getPushers().then(function(resp) { - self.setState({pushers: resp.pushers}); - }); - - Promise.all([pushRulesPromise, pushersPromise]).then(function() { - self.setState({ - phase: self.phases.DISPLAY - }); - }, function(error) { - console.error(error); - self.setState({ - phase: self.phases.ERROR - }); - }).finally(() => { - // actually explicitly update our state having been deep-manipulating it - self.setState({ - masterPushRule: self.state.masterPushRule, - vectorContentRules: self.state.vectorContentRules, - vectorPushRules: self.state.vectorPushRules, - externalContentRules: self.state.externalContentRules, - externalPushRules: self.state.externalPushRules, - }); - }).done(); - }, - - _updatePushRuleActions: function(rule, actions, enabled) { - const cli = MatrixClientPeg.get(); - - return cli.setPushRuleActions( - 'global', rule.kind, rule.rule_id, actions - ).then( function() { - // Then, if requested, enabled or disabled the rule - if (undefined != enabled) { - return cli.setPushRuleEnabled( - 'global', rule.kind, rule.rule_id, enabled - ); - } - }); - }, - - renderNotifRulesTableRow: function(title, className, pushRuleVectorState) { - return ( - <tr key={ className }> - <th> - { title } - </th> - - <th> - <input className= {className + "-" + PushRuleVectorState.OFF} - type="radio" - checked={ pushRuleVectorState === PushRuleVectorState.OFF } - onChange={ this.onNotifStateButtonClicked } /> - </th> - - <th> - <input className= {className + "-" + PushRuleVectorState.ON} - type="radio" - checked={ pushRuleVectorState === PushRuleVectorState.ON } - onChange={ this.onNotifStateButtonClicked } /> - </th> - - <th> - <input className= {className + "-" + PushRuleVectorState.LOUD} - type="radio" - checked={ pushRuleVectorState === PushRuleVectorState.LOUD } - onChange={ this.onNotifStateButtonClicked } /> - </th> - </tr> - ); - }, - - renderNotifRulesTableRows: function() { - const rows = []; - for (let i in this.state.vectorPushRules) { - const rule = this.state.vectorPushRules[i]; - //console.log("rendering: " + rule.description + ", " + rule.vectorRuleId + ", " + rule.vectorState); - rows.push(this.renderNotifRulesTableRow(rule.description, rule.vectorRuleId, rule.vectorState)); - } - return rows; - }, - - emailNotificationsRow: function(address, label) { - return (<div className="mx_UserNotifSettings_tableRow"> - <div className="mx_UserNotifSettings_inputCell"> - <input id="enableEmailNotifications_{address}" - ref="enableEmailNotifications_{address}" - type="checkbox" - checked={ UserSettingsStore.hasEmailPusher(this.state.pushers, address) } - onChange={ this.onEnableEmailNotificationsChange.bind(this, address) } - /> - </div> - <div className="mx_UserNotifSettings_labelCell"> - <label htmlFor="enableEmailNotifications_{address}"> - {label} - </label> - </div> - </div>); - }, - - render: function() { - const self = this; - - let spinner; - if (this.state.phase === this.phases.LOADING) { - const Loader = sdk.getComponent("elements.Spinner"); - spinner = <Loader />; - } - - let masterPushRuleDiv; - if (this.state.masterPushRule) { - masterPushRuleDiv = ( - <div className="mx_UserNotifSettings_tableRow"> - <div className="mx_UserNotifSettings_inputCell"> - <input id="enableNotifications" - ref="enableNotifications" - type="checkbox" - checked={ !this.state.masterPushRule.enabled } - onChange={ this.onEnableNotificationsChange } - /> - </div> - <div className="mx_UserNotifSettings_labelCell"> - <label htmlFor="enableNotifications"> - { _t('Enable notifications for this account') } - </label> - </div> - </div> - ); - } - - // When enabled, the master rule inhibits all existing rules - // So do not show all notification settings - if (this.state.masterPushRule && this.state.masterPushRule.enabled) { - return ( - <div> - {masterPushRuleDiv} - - <div className="mx_UserSettings_notifTable"> - { _t('All notifications are currently disabled for all targets.') }. - </div> - </div> - ); - } - - const emailThreepids = this.props.threepids.filter((tp) => tp.medium === "email"); - let emailNotificationsRow; - if (emailThreepids.length === 0) { - emailNotificationsRow = <div> - { _t('Add an email address above to configure email notifications') } - </div>; - } else { - // This only supports the first email address in your profile for now - emailNotificationsRow = this.emailNotificationsRow( - emailThreepids[0].address, - `${_t('Enable email notifications')} (${emailThreepids[0].address})` - ); - } - - // Build external push rules - const externalRules = []; - for (let i in this.state.externalPushRules) { - const rule = this.state.externalPushRules[i]; - externalRules.push(<li>{ _t(rule.description) }</li>); - } - - // Show keywords not displayed by the vector UI as a single external push rule - let externalKeywords = []; - for (let i in this.state.externalContentRules) { - const rule = this.state.externalContentRules[i]; - externalKeywords.push(rule.pattern); - } - if (externalKeywords.length) { - externalKeywords = externalKeywords.join(", "); - externalRules.push(<li>{ _t('Notifications on the following keywords follow rules which can’t be displayed here:') } { externalKeywords }</li>); - } - - let devicesSection; - if (this.state.pushers === undefined) { - devicesSection = <div className="error">{ _t('Unable to fetch notification target list') }</div> - } else if (this.state.pushers.length == 0) { - devicesSection = null; - } else { - // TODO: It would be great to be able to delete pushers from here too, - // and this wouldn't be hard to add. - const rows = []; - for (let i = 0; i < this.state.pushers.length; ++i) { - rows.push(<tr key={ i }> - <td>{this.state.pushers[i].app_display_name}</td> - <td>{this.state.pushers[i].device_display_name}</td> - </tr>); - } - devicesSection = (<table className="mx_UserSettings_devicesTable"> - <tbody> - {rows} - </tbody> - </table>); - } - if (devicesSection) { - devicesSection = (<div> - <h3>{ _t('Notification targets') }</h3> - { devicesSection } - </div>); - } - - let advancedSettings; - if (externalRules.length) { - advancedSettings = ( - <div> - <h3>{ _t('Advanced notification settings') }</h3> - { _t('There are advanced notifications which are not shown here') }.<br/> - { _t('You might have configured them in a client other than Riot. You cannot tune them in Riot but they still apply') }. - <ul> - { externalRules } - </ul> - </div> - ); - } - - return ( - <div> - - {masterPushRuleDiv} - - <div className="mx_UserSettings_notifTable"> - - { spinner } - - <div className="mx_UserNotifSettings_tableRow"> - <div className="mx_UserNotifSettings_inputCell"> - <input id="enableDesktopNotifications" - ref="enableDesktopNotifications" - type="checkbox" - checked={ SettingsStore.getValue("notificationsEnabled") } - onChange={ this.onEnableDesktopNotificationsChange } /> - </div> - <div className="mx_UserNotifSettings_labelCell"> - <label htmlFor="enableDesktopNotifications"> - { _t('Enable desktop notifications') } - </label> - </div> - </div> - - <div className="mx_UserNotifSettings_tableRow"> - <div className="mx_UserNotifSettings_inputCell"> - <input id="enableDesktopNotificationBody" - ref="enableDesktopNotificationBody" - type="checkbox" - checked={ SettingsStore.getValue("notificationBodyEnabled") } - onChange={ this.onEnableDesktopNotificationBodyChange } /> - </div> - <div className="mx_UserNotifSettings_labelCell"> - <label htmlFor="enableDesktopNotificationBody"> - { _t('Show message in desktop notification') } - </label> - </div> - </div> - - <div className="mx_UserNotifSettings_tableRow"> - <div className="mx_UserNotifSettings_inputCell"> - <input id="enableDesktopAudioNotifications" - ref="enableDesktopAudioNotifications" - type="checkbox" - checked={ SettingsStore.getValue("audioNotificationsEnabled") } - onChange={ this.onEnableAudioNotificationsChange } /> - </div> - <div className="mx_UserNotifSettings_labelCell"> - <label htmlFor="enableDesktopAudioNotifications"> - { _t('Enable audible notifications in web client') } - </label> - </div> - </div> - - { emailNotificationsRow } - - <div className="mx_UserNotifSettings_pushRulesTableWrapper"> - <table className="mx_UserNotifSettings_pushRulesTable"> - <thead> - <tr> - <th width="55%"></th> - <th width="15%">{ _t('Off') }</th> - <th width="15%">{ _t('On') }</th> - <th width="15%">{ _t('Noisy') }</th> - </tr> - </thead> - <tbody> - - { this.renderNotifRulesTableRows() } - - </tbody> - </table> - </div> - - { advancedSettings } - - { devicesSection } - - </div> - - </div> - ); - } -}); diff --git a/src/header b/src/header index 6d367b04..e80658c1 100644 --- a/src/header +++ b/src/header @@ -1,5 +1,5 @@ /* -Copyright 2017 New Vector Ltd +Copyright 2018 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/notifications/ContentRules.js b/src/notifications/ContentRules.js deleted file mode 100644 index 25a7bac9..00000000 --- a/src/notifications/ContentRules.js +++ /dev/null @@ -1,125 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var PushRuleVectorState = require('./PushRuleVectorState'); - -module.exports = { - /** - * Extract the keyword rules from a list of rules, and parse them - * into a form which is useful for Vector's UI. - * - * Returns an object containing: - * rules: the primary list of keyword rules - * vectorState: a PushRuleVectorState indicating whether those rules are - * OFF/ON/LOUD - * externalRules: a list of other keyword rules, with states other than - * vectorState - */ - parseContentRules: function(rulesets) { - // first categorise the keyword rules in terms of their actions - var contentRules = this._categoriseContentRules(rulesets); - - // Decide which content rules to display in Vector UI. - // Vector displays a single global rule for a list of keywords - // whereas Matrix has a push rule per keyword. - // Vector can set the unique rule in ON, LOUD or OFF state. - // Matrix has enabled/disabled plus a combination of (highlight, sound) tweaks. - - // The code below determines which set of user's content push rules can be - // displayed by the vector UI. - // Push rules that does not fit, ie defined by another Matrix client, ends - // in externalRules. - // There is priority in the determination of which set will be the displayed one. - // The set with rules that have LOUD tweaks is the first choice. Then, the ones - // with ON tweaks (no tweaks). - - if (contentRules.loud.length) { - return { - vectorState: PushRuleVectorState.LOUD, - rules: contentRules.loud, - externalRules: [].concat(contentRules.loud_but_disabled, contentRules.on, contentRules.on_but_disabled, contentRules.other), - }; - } - else if (contentRules.loud_but_disabled.length) { - return { - vectorState: PushRuleVectorState.OFF, - rules: contentRules.loud_but_disabled, - externalRules: [].concat(contentRules.on, contentRules.on_but_disabled, contentRules.other), - }; - } - else if (contentRules.on.length) { - return { - vectorState: PushRuleVectorState.ON, - rules: contentRules.on, - externalRules: [].concat(contentRules.on_but_disabled, contentRules.other), - }; - } - else if (contentRules.on_but_disabled.length) { - return { - vectorState: PushRuleVectorState.OFF, - rules: contentRules.on_but_disabled, - externalRules: contentRules.other, - } - } else { - return { - vectorState: PushRuleVectorState.ON, - rules: [], - externalRules: contentRules.other, - } - } - }, - - _categoriseContentRules: function(rulesets) { - var contentRules = {on: [], on_but_disabled:[], loud: [], loud_but_disabled: [], other: []}; - for (var kind in rulesets.global) { - for (var i = 0; i < Object.keys(rulesets.global[kind]).length; ++i) { - var r = rulesets.global[kind][i]; - - // check it's not a default rule - if (r.rule_id[0] === '.' || kind !== 'content') { - continue; - } - - r.kind = kind; // is this needed? not sure - - switch (PushRuleVectorState.contentRuleVectorStateKind(r)) { - case PushRuleVectorState.ON: - if (r.enabled) { - contentRules.on.push(r); - } - else { - contentRules.on_but_disabled.push(r); - } - break; - case PushRuleVectorState.LOUD: - if (r.enabled) { - contentRules.loud.push(r); - } - else { - contentRules.loud_but_disabled.push(r); - } - break; - default: - contentRules.other.push(r); - break; - } - } - } - return contentRules; - }, -}; diff --git a/src/notifications/NotificationUtils.js b/src/notifications/NotificationUtils.js deleted file mode 100644 index c8aeb468..00000000 --- a/src/notifications/NotificationUtils.js +++ /dev/null @@ -1,89 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -module.exports = { - // Encodes a dictionary of { - // "notify": true/false, - // "sound": string or undefined, - // "highlight: true/false, - // } - // to a list of push actions. - encodeActions: function(action) { - var notify = action.notify; - var sound = action.sound; - var highlight = action.highlight; - if (notify) { - var actions = ["notify"]; - if (sound) { - actions.push({"set_tweak": "sound", "value": sound}); - } - if (highlight) { - actions.push({"set_tweak": "highlight"}); - } else { - actions.push({"set_tweak": "highlight", "value": false}); - } - return actions; - } else { - return ["dont_notify"]; - } - }, - - // Decode a list of actions to a dictionary of { - // "notify": true/false, - // "sound": string or undefined, - // "highlight: true/false, - // } - // If the actions couldn't be decoded then returns null. - decodeActions: function(actions) { - var notify = false; - var sound = null; - var highlight = false; - - for (var i = 0; i < actions.length; ++i) { - var action = actions[i]; - if (action === "notify") { - notify = true; - } else if (action === "dont_notify") { - notify = false; - } else if (typeof action === 'object') { - if (action.set_tweak === "sound") { - sound = action.value - } else if (action.set_tweak === "highlight") { - highlight = action.value; - } else { - // We don't understand this kind of tweak, so give up. - return null; - } - } else { - // We don't understand this kind of action, so give up. - return null; - } - } - - if (highlight === undefined) { - // If a highlight tweak is missing a value then it defaults to true. - highlight = true; - } - - var result = {notify: notify, highlight: highlight}; - if (sound !== null) { - result.sound = sound; - } - return result; - }, -}; diff --git a/src/notifications/PushRuleVectorState.js b/src/notifications/PushRuleVectorState.js deleted file mode 100644 index c838aa20..00000000 --- a/src/notifications/PushRuleVectorState.js +++ /dev/null @@ -1,94 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var StandardActions = require('./StandardActions'); -var NotificationUtils = require('./NotificationUtils'); - -var states = { - /** The push rule is disabled */ - OFF: "off", - - /** The user will receive push notification for this rule */ - ON: "on", - - /** The user will receive push notification for this rule with sound and - highlight if this is legitimate */ - LOUD: "loud", -}; - - -module.exports = { - /** - * Enum for state of a push rule as defined by the Vector UI. - * @readonly - * @enum {string} - */ - states: states, - - /** - * Convert a PushRuleVectorState to a list of actions - * - * @return [object] list of push-rule actions - */ - actionsFor: function(pushRuleVectorState) { - if (pushRuleVectorState === this.ON) { - return StandardActions.ACTION_NOTIFY; - } - else if (pushRuleVectorState === this.LOUD) { - return StandardActions.ACTION_HIGHLIGHT_DEFAULT_SOUND; - } - }, - - /** - * Convert a pushrule's actions to a PushRuleVectorState. - * - * Determines whether a content rule is in the PushRuleVectorState.ON - * category or in PushRuleVectorState.LOUD, regardless of its enabled - * state. Returns null if it does not match these categories. - */ - contentRuleVectorStateKind: function(rule) { - var decoded = NotificationUtils.decodeActions(rule.actions); - - if (!decoded) { - return null; - } - - // Count tweaks to determine if it is a ON or LOUD rule - var tweaks = 0; - if (decoded.sound) { - tweaks++; - } - if (decoded.highlight) { - tweaks++; - } - var stateKind = null; - switch (tweaks) { - case 0: - stateKind = this.ON; - break; - case 2: - stateKind = this.LOUD; - break; - } - return stateKind; - }, -}; - -for (var k in states) { - module.exports[k] = states[k]; -}; diff --git a/src/notifications/StandardActions.js b/src/notifications/StandardActions.js deleted file mode 100644 index 22a8f1db..00000000 --- a/src/notifications/StandardActions.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -var NotificationUtils = require('./NotificationUtils'); - -var encodeActions = NotificationUtils.encodeActions; - -module.exports = { - ACTION_NOTIFY: encodeActions({notify: true}), - ACTION_NOTIFY_DEFAULT_SOUND: encodeActions({notify: true, sound: "default"}), - ACTION_NOTIFY_RING_SOUND: encodeActions({notify: true, sound: "ring"}), - ACTION_HIGHLIGHT_DEFAULT_SOUND: encodeActions({notify: true, sound: "default", highlight: true}), - ACTION_DONT_NOTIFY: encodeActions({notify: false}), - ACTION_DISABLED: null, -}; diff --git a/src/notifications/VectorPushRulesDefinitions.js b/src/notifications/VectorPushRulesDefinitions.js deleted file mode 100644 index 6f721642..00000000 --- a/src/notifications/VectorPushRulesDefinitions.js +++ /dev/null @@ -1,146 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -import { _td } from 'matrix-react-sdk/lib/languageHandler'; - -var StandardActions = require('./StandardActions'); -var PushRuleVectorState = require('./PushRuleVectorState'); - -class VectorPushRuleDefinition { - constructor(opts) { - this.kind = opts.kind; - this.description = opts.description; - this.vectorStateToActions = opts.vectorStateToActions; - } - - // Translate the rule actions and its enabled value into vector state - ruleToVectorState(rule) { - var enabled = false; - var actions = null; - if (rule) { - enabled = rule.enabled; - actions = rule.actions; - } - - for (var stateKey in PushRuleVectorState.states) { - var state = PushRuleVectorState.states[stateKey]; - var vectorStateToActions = this.vectorStateToActions[state]; - - if (!vectorStateToActions) { - // No defined actions means that this vector state expects a disabled (or absent) rule - if (!enabled) { - return state; - } - } else { - // The actions must match to the ones expected by vector state - if (enabled && JSON.stringify(rule.actions) === JSON.stringify(vectorStateToActions)) { - return state; - } - } - } - - console.error("Cannot translate rule actions into Vector rule state. Rule: " + - JSON.stringify(rule)); - return undefined; - } -}; - -/** - * The descriptions of rules managed by the Vector UI. - */ -module.exports = { - // Messages containing user's display name - ".m.rule.contains_display_name": new VectorPushRuleDefinition({ - kind: "override", - description: _td("Messages containing my display name"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { // The actions for each vector state, or null to disable the rule. - on: StandardActions.ACTION_NOTIFY, - loud: StandardActions.ACTION_HIGHLIGHT_DEFAULT_SOUND, - off: StandardActions.ACTION_DISABLED - } - }), - - // Messages containing user's username (localpart/MXID) - ".m.rule.contains_user_name": new VectorPushRuleDefinition({ - kind: "override", - description: _td("Messages containing my user name"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { // The actions for each vector state, or null to disable the rule. - on: StandardActions.ACTION_NOTIFY, - loud: StandardActions.ACTION_HIGHLIGHT_DEFAULT_SOUND, - off: StandardActions.ACTION_DISABLED - } - }), - - // Messages just sent to the user in a 1:1 room - ".m.rule.room_one_to_one": new VectorPushRuleDefinition({ - kind: "underride", - description: _td("Messages in one-to-one chats"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { - on: StandardActions.ACTION_NOTIFY, - loud: StandardActions.ACTION_NOTIFY_DEFAULT_SOUND, - off: StandardActions.ACTION_DONT_NOTIFY - } - }), - - // Messages just sent to a group chat room - // 1:1 room messages are catched by the .m.rule.room_one_to_one rule if any defined - // By opposition, all other room messages are from group chat rooms. - ".m.rule.message": new VectorPushRuleDefinition({ - kind: "underride", - description: _td("Messages in group chats"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { - on: StandardActions.ACTION_NOTIFY, - loud: StandardActions.ACTION_NOTIFY_DEFAULT_SOUND, - off: StandardActions.ACTION_DONT_NOTIFY - } - }), - - // Invitation for the user - ".m.rule.invite_for_me": new VectorPushRuleDefinition({ - kind: "underride", - description: _td("When I'm invited to a room"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { - on: StandardActions.ACTION_NOTIFY, - loud: StandardActions.ACTION_NOTIFY_DEFAULT_SOUND, - off: StandardActions.ACTION_DISABLED - } - }), - - // Incoming call - ".m.rule.call": new VectorPushRuleDefinition({ - kind: "underride", - description: _td("Call invitation"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { - on: StandardActions.ACTION_NOTIFY, - loud: StandardActions.ACTION_NOTIFY_RING_SOUND, - off: StandardActions.ACTION_DISABLED - } - }), - - // Notifications from bots - ".m.rule.suppress_notices": new VectorPushRuleDefinition({ - kind: "override", - description: _td("Messages sent by bot"), // passed through _t() translation in src/components/views/settings/Notifications.js - vectorStateToActions: { - // .m.rule.suppress_notices is a "negative" rule, we have to invert its enabled value for vector UI - on: StandardActions.ACTION_DISABLED, - loud: StandardActions.ACTION_NOTIFY_DEFAULT_SOUND, - off: StandardActions.ACTION_DONT_NOTIFY, - } - }), -}; diff --git a/src/notifications/index.js b/src/notifications/index.js deleted file mode 100644 index 8ed77e9d..00000000 --- a/src/notifications/index.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -'use strict'; - -module.exports = { - NotificationUtils: require('./NotificationUtils'), - PushRuleVectorState: require('./PushRuleVectorState'), - VectorPushRulesDefinitions: require('./VectorPushRulesDefinitions'), - ContentRules: require('./ContentRules'), -}; diff --git a/src/skins/vector/css/_common.scss b/src/skins/vector/css/_common.scss deleted file mode 100644 index e81c2284..00000000 --- a/src/skins/vector/css/_common.scss +++ /dev/null @@ -1,361 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -html { - /* hack to stop overscroll bounce on OSX and iOS. - N.B. Breaks things when we have legitimate horizontal overscroll */ - height: 100%; - overflow: hidden; -} - -body { - font-family: $font-family; - font-size: 15px; - background-color: $primary-bg-color; - color: $primary-fg-color; - border: 0px; - margin: 0px; - /* This should render the fonts the same accross browsers */ - -webkit-font-smoothing: subpixel-antialiased; -} - -div.error, div.warning { - color: $warning-color; -} - -h2 { - color: $primary-fg-color; - font-weight: 400; - font-size: 18px; - margin-top: 16px; - margin-bottom: 16px; -} - -a:hover, -a:link, -a:visited { - color: $accent-color; -} - -input[type=text], input[type=password], textarea { - background-color: transparent; - color: $primary-fg-color; -} - -input[type=text].error, input[type=password].error { - border: 1px solid $warning-color; -} - -input[type=text]:focus, input[type=password]:focus, textarea:focus { - border: 1px solid $accent-color; - outline: none; - box-shadow: none; -} - -/* Required by Firefox */ -textarea { - font-family: $font-family; -} - -/* Prevent ugly dotted highlight around selected elements in Firefox */ -::-moz-focus-inner { - border: 0; -} - -/* applied to side-panels and messagepanel when in RoomSettings */ -.mx_fadable { - opacity: 1; - transition: opacity 0.2s ease-in-out; -} - -.mx_fadable.mx_fadable_faded { - opacity: 0.3; - pointer-events: none; -} - -/* XXX: critical hack to GeminiScrollbar to allow them to work in FF 42 and Chrome 48. - Stop the scrollbar view from pushing out the container's overall sizing, which causes - flexbox to adapt to the new size and cause the view to keep growing. - */ -.gm-scrollbar-container .gm-scroll-view { - position: absolute; -} - -/* Expand thumbs on hoverover */ -.gm-scrollbar { - border-radius: 5px ! important; -} -.gm-scrollbar.-vertical { - width: 6px; - transition: width 120ms ease-out ! important; -} -.gm-scrollbar.-vertical:hover, -.gm-scrollbar.-vertical:active { - width: 8px; - transition: width 120ms ease-out ! important; -} -.gm-scrollbar.-horizontal { - height: 6px; - transition: height 120ms ease-out ! important; -} -.gm-scrollbar.-horizontal:hover, -.gm-scrollbar.-horizontal:active { - height: 8px; - transition: height 120ms ease-out ! important; -} - -// These are magic constants which are excluded from tinting, to let themes -// (which only have CSS, unlike skins) tell the app what their non-tinted -// colourscheme is by inspecting the stylesheet DOM. -// -// They are not used for layout!! -#mx_theme_accentColor { - color: $accent-color; -} - -#mx_theme_secondaryAccentColor { - color: $secondary-accent-color; -} - -#mx_theme_tertiaryAccentColor { - color: $roomsublist-label-bg-color; -} - -.mx_Dialog_wrapper { - position: fixed; - z-index: 4000; - top: 0; - left: 0; - width: 100%; - height: 100%; - - display: flex; - align-items: center; - justify-content: center; -} - -/* Spinner Dialog overide */ -.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog { - width: auto; - border-radius: 8px; - padding: 0px; - box-shadow: none; -} - -/* View Source Dialog overide */ -.mx_Dialog_wrapper.mx_Dialog_viewsource .mx_Dialog { - padding-left: 10px; - padding-right: 10px; -} - -.mx_Dialog { - background-color: $primary-bg-color; - color: $light-fg-color; - z-index: 4010; - font-weight: 300; - font-size: 15px; - position: relative; - padding-left: 58px; - padding-bottom: 36px; - width: 60%; - max-width: 704px; - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2); - max-height: 80%; - overflow-y: auto; -} - -.mx_Dialog_background { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: $dialog-background-bg-color; - opacity: 0.8; -} - -.mx_Dialog_lightbox .mx_Dialog_background { - opacity: 0.85; - background-color: $lightbox-background-bg-color; -} - -.mx_Dialog_lightbox .mx_Dialog { - border-radius: 0px; - background-color: transparent; - width: 100%; - height: 100%; - max-width: 100%; - max-height: 100%; - pointer-events: none; -} - -.mx_Dialog_cancelButton { - position: absolute; - right: 11px; - top: 13px; - cursor: pointer; -} - -.mx_Dialog_cancelButton object { - pointer-events: none; -} - -.mx_Dialog_content { - margin: 24px 58px 68px 0; - font-size: 14px; - color: $primary-fg-color; - word-wrap: break-word; -} - -.mx_Dialog button, .mx_Dialog input[type="submit"] { - @mixin mx_DialogButton; - margin-left: 0px; - margin-right: 8px; - - // flip colours for the secondary ones - font-weight: 600; - border: 1px solid $accent-color ! important; - color: $accent-color; - background-color: $accent-fg-color; -} - -.mx_Dialog button:hover, .mx_Dialog input[type="submit"]:hover { - @mixin mx_DialogButton_hover; -} - -.mx_Dialog button:focus, .mx_Dialog input[type="submit"]:focus { - filter: brightness($focus-brightness); -} - -.mx_Dialog button.mx_Dialog_primary, .mx_Dialog input[type="submit"].mx_Dialog_primary { - color: $accent-fg-color; - background-color: $accent-color; -} - -.mx_Dialog button.danger, .mx_Dialog input[type="submit"].danger { - background-color: $warning-color; - border: solid 1px $warning-color; -} - -.mx_Dialog button:disabled, .mx_Dialog input[type="submit"]:disabled { - background-color: $light-fg-color; - border: solid 1px $light-fg-color; - opacity: 0.7; -} - -.mx_Dialog_title { - min-height: 16px; - padding-top: 40px; - font-weight: bold; - font-size: 22px; - line-height: 1.4; - color: $primary-fg-color; -} - -.mx_Dialog_title.danger { - color: $warning-color; -} - -.mx_TextInputDialog_label { - text-align: left; - padding-bottom: 12px; -} - -.mx_TextInputDialog_input { - font-size: 15px; - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; -} - -.mx_emojione { - height: 1em; - vertical-align: middle; -} - -::-moz-selection { - background-color: $accent-color; - color: $selection-fg-color; -} - -::selection { - background-color: $accent-color; - color: $selection-fg-color; -} - -.mx_textButton { - @mixin mx_DialogButton_small; -} - -.mx_textButton:hover { - @mixin mx_DialogButton_hover; -} - -.mx_button_row { - margin-top: 69px; -} - -.mx_Beta { - color: red; - margin-right: 10px; - position: relative; - top: -3px; - background-color: white; - padding: 0 4px; - border-radius: 3px; - border: 1px solid darkred; - cursor: help; - transition-duration: 200ms; - font-size: smaller; - filter: opacity(0.5); -} - -.mx_Beta:hover { - color: white; - border: 1px solid gray; - background-color: darkred; -} - -.mx_TintableSvgButton { - position: relative; - display: flex; - flex-direction: row; - justify-content: center; - align-content: center; -} - -.mx_TintableSvgButton object { - margin: 0; - padding: 0; - width: 100%; - height: 100%; - max-width: 100%; - max-height: 100%; -} - -.mx_TintableSvgButton span { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - opacity: 0; - cursor: pointer; -} diff --git a/src/skins/vector/css/_components.scss b/src/skins/vector/css/_components.scss deleted file mode 100644 index 0bcc48c3..00000000 --- a/src/skins/vector/css/_components.scss +++ /dev/null @@ -1,111 +0,0 @@ -// autogenerated by rethemendex.sh -@import "./_common.scss"; -@import "./matrix-react-sdk/structures/_ContextualMenu.scss"; -@import "./matrix-react-sdk/structures/_CreateRoom.scss"; -@import "./matrix-react-sdk/structures/_FilePanel.scss"; -@import "./matrix-react-sdk/structures/_GroupView.scss"; -@import "./matrix-react-sdk/structures/_LoginBox.scss"; -@import "./matrix-react-sdk/structures/_MatrixChat.scss"; -@import "./matrix-react-sdk/structures/_MyGroups.scss"; -@import "./matrix-react-sdk/structures/_NotificationPanel.scss"; -@import "./matrix-react-sdk/structures/_RoomStatusBar.scss"; -@import "./matrix-react-sdk/structures/_RoomView.scss"; -@import "./matrix-react-sdk/structures/_SearchBox.scss"; -@import "./matrix-react-sdk/structures/_TagPanel.scss"; -@import "./matrix-react-sdk/structures/_UploadBar.scss"; -@import "./matrix-react-sdk/structures/_UserSettings.scss"; -@import "./matrix-react-sdk/structures/login/_Login.scss"; -@import "./matrix-react-sdk/views/avatars/_BaseAvatar.scss"; -@import "./matrix-react-sdk/views/avatars/_MemberPresenceAvatar.scss"; -@import "./matrix-react-sdk/views/dialogs/_BugReportDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_ChatCreateOrReuseChatDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_ConfirmUserActionDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_CreateRoomDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_GroupAddressPicker.scss"; -@import "./matrix-react-sdk/views/dialogs/_QuestionDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_SetMxIdDialog.scss"; -@import "./matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss"; -@import "./matrix-react-sdk/views/elements/_AccessibleButton.scss"; -@import "./matrix-react-sdk/views/elements/_AddressSelector.scss"; -@import "./matrix-react-sdk/views/elements/_AddressTile.scss"; -@import "./matrix-react-sdk/views/elements/_DirectorySearchBox.scss"; -@import "./matrix-react-sdk/views/elements/_Dropdown.scss"; -@import "./matrix-react-sdk/views/elements/_EditableItemList.scss"; -@import "./matrix-react-sdk/views/elements/_MemberEventListSummary.scss"; -@import "./matrix-react-sdk/views/elements/_ProgressBar.scss"; -@import "./matrix-react-sdk/views/elements/_Quote.scss"; -@import "./matrix-react-sdk/views/elements/_RichText.scss"; -@import "./matrix-react-sdk/views/elements/_RoleButton.scss"; -@import "./matrix-react-sdk/views/elements/_ToolTipButton.scss"; -@import "./matrix-react-sdk/views/groups/_GroupPublicityToggle.scss"; -@import "./matrix-react-sdk/views/groups/_GroupRoomList.scss"; -@import "./matrix-react-sdk/views/groups/_GroupUserSettings.scss"; -@import "./matrix-react-sdk/views/login/_InteractiveAuthEntryComponents.scss"; -@import "./matrix-react-sdk/views/login/_ServerConfig.scss"; -@import "./matrix-react-sdk/views/messages/_MEmoteBody.scss"; -@import "./matrix-react-sdk/views/messages/_MFileBody.scss"; -@import "./matrix-react-sdk/views/messages/_MImageBody.scss"; -@import "./matrix-react-sdk/views/messages/_MStickerBody.scss"; -@import "./matrix-react-sdk/views/messages/_MNoticeBody.scss"; -@import "./matrix-react-sdk/views/messages/_MTextBody.scss"; -@import "./matrix-react-sdk/views/messages/_RoomAvatarEvent.scss"; -@import "./matrix-react-sdk/views/messages/_TextualEvent.scss"; -@import "./matrix-react-sdk/views/messages/_UnknownBody.scss"; -@import "./matrix-react-sdk/views/rooms/_AppsDrawer.scss"; -@import "./matrix-react-sdk/views/rooms/_Autocomplete.scss"; -@import "./matrix-react-sdk/views/rooms/_EntityTile.scss"; -@import "./matrix-react-sdk/views/rooms/_EventTile.scss"; -@import "./matrix-react-sdk/views/rooms/_LinkPreviewWidget.scss"; -@import "./matrix-react-sdk/views/rooms/_MemberDeviceInfo.scss"; -@import "./matrix-react-sdk/views/rooms/_MemberInfo.scss"; -@import "./matrix-react-sdk/views/rooms/_MemberList.scss"; -@import "./matrix-react-sdk/views/rooms/_MessageComposer.scss"; -@import "./matrix-react-sdk/views/rooms/_Stickers.scss"; -@import "./matrix-react-sdk/views/rooms/_PinnedEventTile.scss"; -@import "./matrix-react-sdk/views/rooms/_PinnedEventsPanel.scss"; -@import "./matrix-react-sdk/views/rooms/_PresenceLabel.scss"; -@import "./matrix-react-sdk/views/rooms/_QuotePreview.scss"; -@import "./matrix-react-sdk/views/rooms/_RoomHeader.scss"; -@import "./matrix-react-sdk/views/rooms/_RoomList.scss"; -@import "./matrix-react-sdk/views/rooms/_RoomPreviewBar.scss"; -@import "./matrix-react-sdk/views/rooms/_RoomSettings.scss"; -@import "./matrix-react-sdk/views/rooms/_RoomTile.scss"; -@import "./matrix-react-sdk/views/rooms/_SearchableEntityList.scss"; -@import "./matrix-react-sdk/views/rooms/_TopUnreadMessagesBar.scss"; -@import "./matrix-react-sdk/views/settings/_DevicesPanel.scss"; -@import "./matrix-react-sdk/views/settings/_IntegrationsManager.scss"; -@import "./matrix-react-sdk/views/voip/_CallView.scss"; -@import "./matrix-react-sdk/views/voip/_IncomingCallbox.scss"; -@import "./matrix-react-sdk/views/voip/_VideoView.scss"; -@import "./vector-web/_fonts.scss"; -@import "./vector-web/structures/_CompatibilityPage.scss"; -@import "./vector-web/structures/_HomePage.scss"; -@import "./vector-web/structures/_LeftPanel.scss"; -@import "./vector-web/structures/_RightPanel.scss"; -@import "./vector-web/structures/_RoomDirectory.scss"; -@import "./vector-web/structures/_RoomSubList.scss"; -@import "./vector-web/structures/_ViewSource.scss"; -@import "./vector-web/views/context_menus/_MessageContextMenu.scss"; -@import "./vector-web/views/context_menus/_PresenceContextMenuOption.scss"; -@import "./vector-web/views/context_menus/_RoomTileContextMenu.scss"; -@import "./vector-web/views/context_menus/_TagTileContextMenu.scss"; -@import "./vector-web/views/dialogs/_ChangelogDialog.scss"; -@import "./vector-web/views/dialogs/_DevtoolsDialog.scss"; -@import "./vector-web/views/dialogs/_SetEmailDialog.scss"; -@import "./vector-web/views/dialogs/_SetPasswordDialog.scss"; -@import "./vector-web/views/directory/_NetworkDropdown.scss"; -@import "./vector-web/views/elements/_ImageView.scss"; -@import "./vector-web/views/elements/_InlineSpinner.scss"; -@import "./vector-web/views/elements/_Spinner.scss"; -@import "./vector-web/views/elements/_SyntaxHighlight.scss"; -@import "./vector-web/views/globals/_MatrixToolbar.scss"; -@import "./vector-web/views/messages/_DateSeparator.scss"; -@import "./vector-web/views/messages/_MessageTimestamp.scss"; -@import "./vector-web/views/messages/_SenderProfile.scss"; -@import "./vector-web/views/rooms/_RoomDropTarget.scss"; -@import "./vector-web/views/rooms/_RoomTooltip.scss"; -@import "./vector-web/views/rooms/_SearchBar.scss"; -@import "./vector-web/views/settings/_Notifications.scss"; diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_ContextualMenu.scss b/src/skins/vector/css/matrix-react-sdk/structures/_ContextualMenu.scss deleted file mode 100644 index a0191b92..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_ContextualMenu.scss +++ /dev/null @@ -1,160 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ContextualMenu_wrapper { - position: fixed; - z-index: 2000; -} - -.mx_ContextualMenu_background { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1.0; - z-index: 2000; -} - -.mx_ContextualMenu { - border: solid 1px $menu-border-color; - border-radius: 4px; - background-color: $menu-bg-color; - color: $primary-fg-color; - position: absolute; - padding: 6px; - font-size: 14px; - z-index: 2001; -} - -.mx_ContextualMenu.mx_ContextualMenu_right { - right: 8px; -} - -.mx_ContextualMenu_chevron_right { - position: absolute; - right: -8px; - top: 0px; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-left: 8px solid $menu-border-color; - border-bottom: 8px solid transparent; -} - -.mx_ContextualMenu_chevron_right:after { - content:''; - width: 0; - height: 0; - border-top: 7px solid transparent; - border-left: 7px solid $menu-bg-color; - border-bottom: 7px solid transparent; - position:absolute; - top: -7px; - right: 1px; -} - -.mx_ContextualMenu.mx_ContextualMenu_left { - left: 8px; -} - -.mx_ContextualMenu_chevron_left { - position: absolute; - left: -8px; - top: 0px; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-right: 8px solid $menu-border-color; - border-bottom: 8px solid transparent; -} - -.mx_ContextualMenu_chevron_left:after{ - content:''; - width: 0; - height: 0; - border-top: 7px solid transparent; - border-right: 7px solid $menu-bg-color; - border-bottom: 7px solid transparent; - position:absolute; - top: -7px; - left: 1px; -} - -.mx_ContextualMenu.mx_ContextualMenu_top { - top: 8px; -} - -.mx_ContextualMenu_chevron_top { - position: absolute; - left: 0px; - top: -8px; - width: 0; - height: 0; - border-left: 8px solid transparent; - border-bottom: 8px solid $menu-border-color; - border-right: 8px solid transparent; -} - -.mx_ContextualMenu_chevron_top:after{ - content:''; - width: 0; - height: 0; - border-left: 7px solid transparent; - border-bottom: 7px solid $menu-bg-color; - border-right: 7px solid transparent; - position:absolute; - left: -7px; - top: 1px; -} - -.mx_ContextualMenu.mx_ContextualMenu_bottom { - bottom: 8px; -} - -.mx_ContextualMenu_chevron_bottom { - position: absolute; - left: 0px; - bottom: -8px; - width: 0; - height: 0; - border-left: 8px solid transparent; - border-top: 8px solid $menu-border-color; - border-right: 8px solid transparent; -} - -.mx_ContextualMenu_chevron_bottom:after{ - content:''; - width: 0; - height: 0; - border-left: 7px solid transparent; - border-top: 7px solid $menu-bg-color; - border-right: 7px solid transparent; - position:absolute; - left: -7px; - bottom: 1px; -} - -.mx_ContextualMenu_field { - padding: 3px 6px 3px 6px; - cursor: pointer; - white-space: nowrap; -} - -.mx_ContextualMenu_spinner { - display: block; - margin: 0 auto; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_CreateRoom.scss b/src/skins/vector/css/matrix-react-sdk/structures/_CreateRoom.scss deleted file mode 100644 index 2be19352..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_CreateRoom.scss +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_CreateRoom { - width: 960px; - margin-left: auto; - margin-right: auto; - color: $primary-fg-color; -} - -.mx_CreateRoom input, -.mx_CreateRoom textarea { - border-radius: 3px; - border: 1px solid $strong-input-border-color; - font-weight: 300; - font-size: 13px; - padding: 9px; - margin-top: 6px; -} - -.mx_CreateRoom_description { - width: 330px; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_FilePanel.scss b/src/skins/vector/css/matrix-react-sdk/structures/_FilePanel.scss deleted file mode 100644 index 58e09064..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_FilePanel.scss +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_FilePanel { - order: 2; - - flex: 1 1 0; - - width: 100%; - - overflow-y: auto; -} - -.mx_FilePanel .mx_RoomView_messageListWrapper { - margin-right: 20px; -} - -.mx_FilePanel .mx_RoomView_MessageList h2 { - display: none; -} - -/* FIXME: rather than having EventTile's default CSS be for MessagePanel, - we should make EventTile a base CSS class and customise it specifically - for usage in {Message,File,Notification}Panel. */ - -.mx_FilePanel .mx_EventTile_avatar { - display: none; -} - -/* Overrides for the attachment body tiles */ - -.mx_FilePanel .mx_EventTile { - word-break: break-word; -} - -.mx_FilePanel .mx_EventTile .mx_MImageBody { - margin-right: 0px; -} - -.mx_FilePanel .mx_EventTile .mx_MImageBody_download { - display: flex; - font-size: 14px; - color: $event-timestamp-color; -} - -.mx_FilePanel .mx_EventTile .mx_MImageBody_downloadLink { - flex: 1 1 auto; - color: $light-fg-color; -} - -.mx_FilePanel .mx_EventTile .mx_MImageBody_size { - flex: 1 0 0; - font-size: 11px; - text-align: right; - white-space: nowrap; -} - -/* Overides for the sender details line */ - -.mx_FilePanel .mx_EventTile_senderDetails { - display: flex; - margin-top: -2px; -} - -.mx_FilePanel .mx_EventTile_senderDetailsLink { - text-decoration: none; -} - -.mx_FilePanel .mx_EventTile .mx_SenderProfile { - flex: 1 1 auto; - line-height: initial; - padding: 0px; - font-size: 11px; - opacity: 1.0; - color: $event-timestamp-color; -} - -.mx_FilePanel .mx_EventTile .mx_MessageTimestamp { - flex: 1 0 0; - text-align: right; - visibility: visible; - position: initial; - font-size: 11px; - opacity: 1.0; - color: $event-timestamp-color; -} - -/* Overrides for the wrappers around the body tile */ - -.mx_FilePanel .mx_EventTile_line { - margin-right: 0px; - padding-left: 0px; -} - -.mx_FilePanel .mx_EventTile:hover .mx_EventTile_line { - background-color: $primary-bg-color; -} - -.mx_FilePanel .mx_EventTile_selected .mx_EventTile_line { - padding-left: 0px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss b/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss deleted file mode 100644 index 02e5a948..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss +++ /dev/null @@ -1,349 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_GroupView { - max-width: 960px; - width: 100%; - margin-left: auto; - margin-right: auto; - display: flex; - flex-direction: column; - overflow: hidden; -} - -.mx_GroupView_error { - margin: auto; -} - -.mx_GroupView_header { - max-width: 960px; - min-height: 70px; - align-items: center; - display: flex; - padding-bottom: 10px; -} - -.mx_GroupView_header_view { - border-bottom: 1px solid $primary-hairline-color; - padding-bottom: 0px; -} - -.mx_GroupView_header_avatar, .mx_GroupView_header_info { - display: table-cell; - vertical-align: middle; -} - -.mx_GroupHeader_button { - margin-left: 12px; - cursor: pointer; -} - -.mx_GroupHeader_button object { - // prevents clicks from being swallowed by svg in 'object' tag - pointer-events: none; -} - -.mx_GroupView_editable { - border-bottom: 1px solid $strong-input-border-color ! important; - min-width: 150px; - cursor: text; -} - -.mx_GroupView_editable:focus { - border-bottom: 1px solid $accent-color ! important; - outline: none; - box-shadow: none; -} - -.mx_GroupView_header_isUserMember .mx_GroupView_header_name:hover div:not(.mx_GroupView_editable) { - color: $accent-color; - cursor: pointer; -} - -.mx_GroupView_avatarPicker { - position: relative; -} - -.mx_GroupView_avatarPicker_edit { - position: absolute; - top: 50px; - left: 15px; -} - -.mx_GroupView_avatarPicker .mx_Spinner { - width: 48px; - height: 48px ! important; -} - -.mx_GroupView_header_leftCol { - flex: 1; - - overflow: hidden; -} - -.mx_GroupView_header_rightCol { - display: flex; - align-items: center; -} - -.mx_GroupView_textButton { - display: inline-block; -} - -.mx_GroupView_header_groupid { - font-weight: normal; - font-size: initial; - padding-left: 10px; -} - -.mx_GroupView_header_name { - vertical-align: middle; - width: 100%; - height: 31px; - overflow: hidden; - color: $primary-fg-color; - font-weight: bold; - font-size: 22px; - padding-left: 19px; - padding-right: 16px; - /* why isn't text-overflow working? */ - text-overflow: ellipsis; - border-bottom: 1px solid transparent; -} - -.mx_GroupView_header_shortDesc { - vertical-align: bottom; - float: left; - max-height: 42px; - color: $settings-grey-fg-color; - font-weight: 300; - font-size: 13px; - padding-left: 19px; - margin-right: 16px; - overflow: hidden; - text-overflow: ellipsis; - border-bottom: 1px solid transparent; -} - -.mx_GroupView_avatarPicker_label { - cursor: pointer; -} - -.mx_GroupView_cancelButton { - padding-left: 8px; -} - -.mx_GroupView_cancelButton img { - position: relative; - top: 5px; -} - -.mx_GroupView input[type='radio'] { - margin: 10px 10px 0px 10px; -} - -.mx_GroupView_label_text { - display: inline-block; - max-width: 80%; - vertical-align: 0.1em; - line-height: 2em; -} - -.mx_GroupView_body { - flex-grow: 1; -} - -.mx_GroupView_rooms { - flex-grow: 1; - display: flex; - flex-direction: column; - min-height: 200px; - user-select: none; -} - -.mx_GroupView h3 { - text-transform: uppercase; - color: $h3-color; - font-weight: 600; - font-size: 13px; - margin-bottom: 10px; -} - -.mx_GroupView_rooms_header .mx_AccessibleButton { - padding-left: 14px; - margin-bottom: 14px; - height: 24px; -} - -.mx_GroupView_group { - border-top: 1px solid $primary-hairline-color; -} - -.mx_GroupView_group_disabled { - opacity: 0.3; - pointer-events: none; -} - -.mx_GroupView_rooms_header_addRow_button { - display: inline-block; -} - -.mx_GroupView_rooms_header_addRow_button object { - pointer-events: none; -} - -.mx_GroupView_rooms_header_addRow_label { - display: inline-block; - vertical-align: top; - line-height: 24px; - padding-left: 28px; - color: $accent-color; -} - -.mx_GroupView_rooms .mx_RoomDetailList { - flex-grow: 1; - border-top: 1px solid $primary-hairline-color; - padding-top: 10px; - word-break: break-word; -} - -.mx_GroupView .mx_RoomView_messageListWrapper { - justify-content: flex-start; -} - -.mx_GroupView_membershipSection { - color: $greyed-fg-color; - margin-top: 10px; -} - -.mx_GroupView_membershipSubSection { - justify-content: space-between; - display: flex; -} - -.mx_GroupView_membershipSubSection .mx_Spinner { - justify-content: flex-end; -} - -.mx_GroupView_membershipSection_description { - /* To match textButton */ - line-height: 34px; -} - -.mx_GroupView_membershipSection_description .mx_BaseAvatar { - margin-right: 10px; -} - -.mx_GroupView_membershipSection .mx_GroupView_textButton { - margin-right: 0px; - margin-top: 0px; - margin-left: 8px; -} - -.mx_GroupView_memberSettings_toggle label { - cursor: pointer; - user-select: none; -} - -.mx_GroupView_memberSettings input { - margin-right: 6px; -} - -.mx_GroupView_featuredThings { - margin-top: 20px; -} - -.mx_GroupView_featuredThings_header { - font-weight: bold; - font-size: 120%; - margin-bottom: 20px; -} - -.mx_GroupView_featuredThings_category { - font-weight: bold; - font-size: 110%; - margin-top: 10px; -} - -.mx_GroupView_featuredThings_container { - display: flex; -} - -.mx_GroupView_featuredThings_addButton, -.mx_GroupView_featuredThing { - display: table-cell; - text-align: center; - - width: 100px; - margin: 0px 20px; -} - -.mx_GroupView_featuredThing { - position: relative; -} - -.mx_GroupView_featuredThing .mx_GroupView_featuredThing_deleteButton { - position: absolute; - top: -7px; - right: 11px; - opacity: 0.4; -} - -.mx_GroupView_featuredThing .mx_BaseAvatar { - /* To prevent misalignment with mx_TintableSvg (in addButton) */ - vertical-align: initial; -} - -.mx_GroupView_featuredThings_addButton object { - pointer-events: none; -} - -.mx_GroupView_featuredThing_name { - word-wrap: break-word; -} - -.mx_GroupView_uploadInput { - display: none; -} - -.mx_GroupView_body .gm-scroll-view > *{ - margin: 11px 50px 0px 68px; -} - -.mx_GroupView_groupDesc textarea { - width: 100%; - max-width: 100%; - height: 150px; -} - -.mx_GroupView_groupDesc_placeholder, -.mx_GroupView_changeDelayWarning { - background-color: $info-plinth-bg-color; - color: $info-plinth-fg-color; - border-radius: 10px; - text-align: center; - - margin: 20px 0px; -} - -.mx_GroupView_groupDesc_placeholder { - padding: 100px 20px; - cursor: pointer; -} - -.mx_GroupView_changeDelayWarning { - padding: 40px 20px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_LoginBox.scss b/src/skins/vector/css/matrix-react-sdk/structures/_LoginBox.scss deleted file mode 100644 index 7f6199c4..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_LoginBox.scss +++ /dev/null @@ -1,47 +0,0 @@ -/* -Copyright 2017 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_LoginBox { - min-height: 24px; - height: unset !important; - padding-top: 13px !important; - padding-bottom: 14px !important; -} - -.mx_LoginBox_loginButton_wrapper { - text-align: center; - width: 100%; -} - -.mx_LoginBox_loginButton, -.mx_LoginBox_registerButton { - margin-top: 3px; - height: 40px; - border: 0px; - border-radius: 40px; - margin-left: 4px; - margin-right: 4px; - min-width: 80px; - - background-color: $accent-color; - color: $primary-bg-color; - - cursor: pointer; - - font-size: 15px; - padding: 0 11px; - word-break: break-word; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_MatrixChat.scss b/src/skins/vector/css/matrix-react-sdk/structures/_MatrixChat.scss deleted file mode 100644 index 156b1709..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_MatrixChat.scss +++ /dev/null @@ -1,104 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MatrixChat_splash { - position: relative; - height: 100%; -} - -.mx_MatrixChat_splashButtons { - text-align: center; - width: 100%; - position: absolute; - bottom: 30px; -} - -.mx_MatrixChat_wrapper { - display: flex; - - flex-direction: column; - - width: 100%; - height: 100%; -} - -.mx_MatrixToolbar { - order: 1; - - height: 40px; -} - -.mx_MatrixChat_toolbarShowing { - height: auto; -} - -.mx_MatrixChat { - width: 100%; - height: 100%; - - display: flex; - - order: 2; - - flex: 1; -} - -.mx_MatrixChat .mx_LeftPanel { - order: 1; - - background-color: $secondary-accent-color; - - flex: 0 0 235px; -} - -.mx_MatrixChat .mx_LeftPanel.collapsed { - flex: 0 0 60px; -} - -.mx_MatrixChat .mx_MatrixChat_middlePanel { - order: 2; - - padding-left: 20px; - padding-right: 22px; - background-color: $primary-bg-color; - - flex: 1; - - /* Experimental fix for https://github.com/vector-im/vector-web/issues/947 - and https://github.com/vector-im/vector-web/issues/946. - Empirically this stops the MessagePanel's width exploding outwards when - gemini is in 'prevented' mode - */ - overflow-x: auto; - - display: flex; - - /* To fix https://github.com/vector-im/riot-web/issues/3298 where Safari - needed height 100% all the way down to the HomePage. Height does not - have to be auto, empirically. - */ - height: 100%; -} - -.mx_MatrixChat .mx_RightPanel { - order: 3; - - flex: 0 0 235px; -} - -.mx_MatrixChat .mx_RightPanel.collapsed { - flex: 0 0 122px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_MyGroups.scss b/src/skins/vector/css/matrix-react-sdk/structures/_MyGroups.scss deleted file mode 100644 index 6d140721..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_MyGroups.scss +++ /dev/null @@ -1,151 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MyGroups { - max-width: 960px; - margin-left: auto; - margin-right: auto; - - display: flex; - flex-direction: column; -} - -.mx_MyGroups .mx_RoomHeader_simpleHeader { - margin-left: 0px; -} - -.mx_MyGroups_header { - /* Keep mid-point of create button aligned with icon in page header */ - margin-left: 2px; - display: flex; - flex-wrap: wrap; -} - -.mx_MyGroups_headerCard { - flex: 1 0 50%; - margin-bottom: 30px; - min-width: 400px; - display: flex; - align-items: center; -} - -.mx_MyGroups_headerCard .mx_MyGroups_headerCard_button { - margin-right: 13px; - height: 50px; -} - -.mx_MyGroups_headerCard_button object { - /* Otherwise the SVG object absorbs clicks and the button doesn't work */ - pointer-events: none; -} - -.mx_MyGroups_headerCard_header { - font-weight: bold; - margin-bottom: 10px; -} - -.mx_MyGroups_headerCard_content { - padding-right: 15px; -} - -/* Until the button is wired up */ -.mx_MyGroups_joinBox { - visibility: hidden; - - /* When joinBox wraps onto its own row, it should take up zero height so - that there isn't an awkward gap between MyGroups_createBox and - MyGroups_content. - */ - height: 0px; - margin: 0px; -} - -.mx_MyGroups_content { - margin-left: 2px; - - flex: 1 0 0; - - display: flex; - flex-direction: column; -} - -.mx_MyGroups_placeholder { - background-color: $info-plinth-bg-color; - color: $info-plinth-fg-color; - line-height: 400px; - border-radius: 10px; - text-align: center; -} - -.mx_MyGroups_joinedGroups { - border-top: 1px solid $primary-hairline-color; - overflow-x: hidden; - - display: flex; - flex-direction: row; - flex-flow: wrap; - align-content: flex-start; -} - -.mx_MyGroups_joinedGroups .mx_GroupTile { - min-width: 300px; - max-width: 33%; - flex: 1 0 300px; - height: 75px; - margin: 10px 0px; - display: flex; - align-items: flex-start; - cursor: pointer; -} - -.mx_GroupTile_avatar { - cursor: grab, -webkit-grab; -} - -.mx_GroupTile_profile { - margin-left: 10px; - display: flex; - flex-direction: column; - justify-content: center; -} - -.mx_GroupTile_profile .mx_GroupTile_name, -.mx_GroupTile_profile .mx_GroupTile_groupId, -.mx_GroupTile_profile .mx_GroupTile_desc { - padding-right: 10px; -} - -.mx_GroupTile_profile .mx_GroupTile_name { - margin: 0px; - font-size: 15px; -} - -.mx_GroupTile_profile .mx_GroupTile_groupId { - font-size: 13px; -} - -.mx_GroupTile_profile .mx_GroupTile_desc { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - font-size: 13px; - max-height: 36px; - overflow: hidden; -} - -.mx_GroupTile_profile .mx_GroupTile_groupId { - opacity: 0.7; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_NotificationPanel.scss b/src/skins/vector/css/matrix-react-sdk/structures/_NotificationPanel.scss deleted file mode 100644 index a899808d..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_NotificationPanel.scss +++ /dev/null @@ -1,100 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_NotificationPanel { - order: 2; - - flex: 1 1 0; - - width: 100%; - - overflow-y: auto; -} - -.mx_NotificationPanel .mx_RoomView_messageListWrapper { - margin-right: 20px; -} - -.mx_NotificationPanel .mx_RoomView_MessageList h2 { - margin-left: 0px; -} - -/* FIXME: rather than having EventTile's default CSS be for MessagePanel, - we should make EventTile a base CSS class and customise it specifically - for usage in {Message,File,Notification}Panel. */ - -.mx_NotificationPanel .mx_EventTile { - word-break: break-word; -} - -.mx_NotificationPanel .mx_EventTile_roomName { - font-weight: bold; - font-size: 14px; -} - -.mx_NotificationPanel .mx_EventTile_roomName a { - color: $primary-fg-color; -} - -.mx_NotificationPanel .mx_EventTile_avatar { - top: 8px; - left: 0px; -} - -.mx_NotificationPanel .mx_EventTile .mx_SenderProfile, -.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp { - color: $primary-fg-color; - font-size: 12px; - display: inline; - padding-left: 0px; -} - -.mx_NotificationPanel .mx_EventTile_senderDetails { - padding-left: 32px; - padding-top: 8px; - position: relative; -} - -.mx_NotificationPanel .mx_EventTile_roomName a, -.mx_NotificationPanel .mx_EventTile_senderDetails a { - text-decoration: none ! important; -} - -.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp { - visibility: visible; - position: initial; - display: inline; -} - -.mx_NotificationPanel .mx_EventTile_line { - margin-right: 0px; - padding-left: 32px; - padding-top: 0px; - padding-bottom: 0px; - padding-right: 0px; -} - -.mx_NotificationPanel .mx_EventTile:hover .mx_EventTile_line { - background-color: $primary-bg-color; -} - -.mx_NotificationPanel .mx_EventTile_selected .mx_EventTile_line { - padding-left: 0px; -} - -.mx_NotificationPanel .mx_EventTile_content { - margin-right: 0px; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_RoomStatusBar.scss b/src/skins/vector/css/matrix-react-sdk/structures/_RoomStatusBar.scss deleted file mode 100644 index ca7431ea..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_RoomStatusBar.scss +++ /dev/null @@ -1,181 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomStatusBar { - margin-left: 65px; - min-height: 50px; -} - -/* position the indicator in the same place horizontally as .mx_EventTile_avatar. */ -.mx_RoomStatusBar_indicator { - padding-left: 17px; - padding-right: 12px; - margin-left: -73px; - margin-top: 15px; - float: left; - width: 24px; - text-align: center; -} - -.mx_RoomStatusBar_callBar { - height: 50px; - line-height: 50px; -} - -.mx_RoomStatusBar_placeholderIndicator span { - color: $primary-fg-color; - opacity: 0.5; - position: relative; - top: -4px; -/* - animation-duration: 1s; - animation-name: bounce; - animation-direction: alternate; - animation-iteration-count: infinite; -*/ -} - -.mx_RoomStatusBar_placeholderIndicator span:nth-child(1) { - animation-delay: 0.3s; -} -.mx_RoomStatusBar_placeholderIndicator span:nth-child(2) { - animation-delay: 0.6s; -} -.mx_RoomStatusBar_placeholderIndicator span:nth-child(3) { - animation-delay: 0.9s; -} - -@keyframes bounce { - from { - opacity: 0.5; - top: 0; - } - - to { - opacity: 0.2; - top: -3px; - } -} - -.mx_RoomStatusBar_typingIndicatorAvatars { - width: 52px; - margin-top: -1px; - text-align: left; -} - -.mx_RoomStatusBar_typingIndicatorAvatars .mx_BaseAvatar_image { - margin-right: -12px; - border: 1px solid $primary-bg-color; -} - -.mx_RoomStatusBar_typingIndicatorAvatars .mx_BaseAvatar_initial { - padding-left: 1px; - padding-top: 1px; -} - -.mx_RoomStatusBar_typingIndicatorRemaining { - display: inline-block; - color: #acacac; - background-color: #ddd; - border: 1px solid $primary-bg-color; - border-radius: 40px; - width: 24px; - height: 24px; - line-height: 24px; - font-size: 0.8em; - vertical-align: top; - text-align: center; - position: absolute; -} - -.mx_RoomStatusBar_scrollDownIndicator { - cursor: pointer; - padding-left: 1px; -} - -.mx_RoomStatusBar_unreadMessagesBar { - padding-top: 10px; - color: $warning-color; - cursor: pointer; -} - -.mx_RoomStatusBar_connectionLostBar { - margin-top: 19px; - min-height: 58px; -} - -.mx_RoomStatusBar_connectionLostBar img { - padding-left: 10px; - padding-right: 22px; - vertical-align: middle; - float: left; -} - -.mx_RoomStatusBar_connectionLostBar_title { - color: $warning-color; -} - -.mx_RoomStatusBar_connectionLostBar_desc { - color: $primary-fg-color; - font-size: 13px; - opacity: 0.5; -} - -.mx_RoomStatusBar_resend_link { - color: $primary-fg-color ! important; - text-decoration: underline ! important; - cursor: pointer; -} - -.mx_RoomStatusBar_typingBar { - height: 50px; - line-height: 50px; - - color: $primary-fg-color; - opacity: 0.5; - overflow-y: hidden; - display: block; -} - -.mx_RoomStatusBar_isAlone { - height: 50px; - line-height: 50px; - - color: $primary-fg-color; - opacity: 0.5; - overflow-y: hidden; - display: block; -} - -.mx_MatrixChat_useCompactLayout { - .mx_RoomStatusBar { - min-height: 40px; - } - - .mx_RoomStatusBar_indicator { - margin-top: 10px; - } - - .mx_RoomStatusBar_callBar { - height: 40px; - line-height: 40px; - } - - .mx_RoomStatusBar_typingBar { - height: 40px; - line-height: 40px; - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss b/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss deleted file mode 100644 index b8e11903..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss +++ /dev/null @@ -1,272 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomView { - word-wrap: break-word; - position: relative; - - display: flex; - width: 100%; - - flex-direction: column; -} - -.mx_RoomView .mx_RoomHeader { - order: 1; - - flex: 0 0 70px; -} - -.mx_RoomView_fileDropTarget { - min-width: 0px; - max-width: 960px; - width: 100%; - font-size: 18px; - text-align: center; - - pointer-events: none; - - padding-left: 12px; - padding-right: 12px; - margin-left: -12px; - - border-top-left-radius: 10px; - border-top-right-radius: 10px; - - background-color: $droptarget-bg-color; - border: 2px #e1dddd solid; - border-bottom: none; - position: absolute; - top: 70px; - bottom: 0px; - z-index: 3000; -} - -.mx_RoomView_fileDropTargetLabel { - top: 50%; - width: 100%; - margin-top: -50px; - position: absolute; -} - -.mx_RoomView_auxPanel { - order: 2; - - min-width: 0px; - max-width: 960px; - width: 100%; - margin: 0px auto; - - overflow: auto; - border-bottom: 1px solid $primary-hairline-color; - - flex: 0 0 auto; -} - -.mx_RoomView_auxPanel_apps { - max-width: 1920px ! important; -} - - -.mx_RoomView_body { - order: 3; - flex: 1 1 0; - flex-direction: column; - display: flex; -} - -.mx_RoomView_body .mx_RoomView_topUnreadMessagesBar { - order: 1; -} - -.mx_RoomView_body .mx_RoomView_messagePanel { - order: 2; -} - -.mx_RoomView_body .mx_RoomView_messagePanelSpinner { - order: 2; - margin: auto; -} - -.mx_RoomView_body .mx_RoomView_statusArea { - order: 3; -} - -.mx_RoomView_body .mx_MessageComposer { - order: 4; -} - -.mx_RoomView_messagePanel { - width: 100%; - overflow-y: auto; -} - -.mx_RoomView_messageListWrapper { - max-width: 960px; - margin: auto; - - min-height: 100%; - - display: flex; - - flex-direction: column; - - justify-content: flex-end; -} - -.mx_RoomView_searchResultsPanel .mx_RoomView_messageListWrapper { - justify-content: flex-start; -} - -.mx_RoomView_empty { - flex: 1 1 auto; - font-size: 13px; - padding-left: 3em; - padding-right: 3em; - margin-right: 20px; - margin-top: 33%; - text-align: center; -} - -.mx_RoomView_MessageList { - width: 100%; - list-style-type: none; - padding: 0px; -} - -.mx_RoomView_MessageList li { - clear: both; -} - -li.mx_RoomView_myReadMarker_container { - height: 0px; - margin: 0px; - padding: 0px; - border: 0px; -} - -hr.mx_RoomView_myReadMarker { - border-top: solid 1px $accent-color; - border-bottom: solid 1px $accent-color; - margin-top: 0px; - position: relative; - top: -1px; - z-index: 1; -} - -.mx_RoomView_statusArea { - width: 100%; - flex: 0 0 auto; - - max-height: 0px; - background-color: $primary-bg-color; - z-index: 1000; - overflow: hidden; - - -webkit-transition: all .2s ease-out; - -moz-transition: all .2s ease-out; - -ms-transition: all .2s ease-out; - -o-transition: all .2s ease-out; -} - -.mx_RoomView_statusArea_expanded { - max-height: 100px; -} - -.mx_RoomView_statusAreaBox { - max-width: 960px; - margin: auto; - min-height: 50px; -} - -.mx_RoomView_statusAreaBox_line { - margin-left: 65px; - border-top: 1px solid $primary-hairline-color; - height: 1px; -} - -.mx_RoomView_callStatusBar .mx_UploadBar_uploadProgressInner { - background-color: $primary-bg-color; -} - -.mx_RoomView_callStatusBar .mx_UploadBar_uploadFilename { - color: $accent-fg-color; - opacity: 1.0; -} - -.mx_RoomView_inCall .mx_RoomView_statusAreaBox_line { - margin-top: 2px; - border: none; - height: 0px; -} - -.mx_RoomView_inCall .mx_MessageComposer_wrapper { - border-top: 2px hidden; - padding-top: 1px; -} - -.mx_RoomView_inCall .mx_RoomView_statusAreaBox { - background-color: $accent-color; - color: $accent-fg-color; - position: relative; -} - -.mx_RoomView_voipChevron { - position: absolute; - bottom: -11px; - right: 11px; -} - -.mx_RoomView_voipButton { - float: right; - margin-right: 13px; - margin-top: 10px; - cursor: pointer; -} - -.mx_RoomView_voipButton object { - pointer-events: none; -} - -.mx_RoomView .mx_MessageComposer { - width: 100%; - flex: 0 0 auto; - margin-right: 2px; -} - -.mx_RoomView_ongoingConfCallNotification { - width: 100%; - text-align: center; - background-color: $warning-color; - color: $accent-fg-color; - font-weight: bold; - padding: 6px 0; - cursor: pointer; -} - -.mx_RoomView_ongoingConfCallNotification a { - color: $accent-fg-color ! important; -} - -.mx_MatrixChat_useCompactLayout { - .mx_RoomView_MessageList { - margin-bottom: 4px; - } - - .mx_RoomView_statusAreaBox { - min-height: 42px; - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_SearchBox.scss b/src/skins/vector/css/matrix-react-sdk/structures/_SearchBox.scss deleted file mode 100644 index 6f08fd47..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_SearchBox.scss +++ /dev/null @@ -1,68 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SearchBox { - height: 24px; - margin-left: 16px; - margin-right: 16px; - padding-top: 24px; - padding-bottom: 22px; - - border-bottom: 1px solid $panel-divider-color; - - display: flex; -} - -.mx_SearchBox_searchButton { - margin-right: 10px; - margin-top: 5px; - pointer-events: none; -} - -.mx_SearchBox_closeButton { - cursor: pointer; - margin-top: -5px; -} - -.mx_SearchBox_search { - flex: 1 1 auto; - width: 0px; - font-family: $font-family; - font-size: 12px; - margin-top: -2px; - height: 24px; - border: 0px ! important; - /* border-bottom: 1px solid rgba(0, 0, 0, 0.1) ! important; */ - border: 0px; -} - -.mx_SearchBox_minimise, -.mx_SearchBox_maximise { - margin-top: 3px; - cursor: pointer; -} - -.mx_SearchBox_minimise { - margin-left: 10px; -} - -.mx_SearchBox_maximise { - margin-left: 9px; -} - -.mx_SearchBox object { - pointer-events: none; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss b/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss deleted file mode 100644 index ab1d4fea..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss +++ /dev/null @@ -1,126 +0,0 @@ -/* -Copyright 2017 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_TagPanel { - flex: 0 0 60px; - background-color: $tertiary-accent-color; - cursor: pointer; - - display: flex; - flex-direction: column; - align-items: center; - justify-content: space-between; -} - -.mx_TagPanel .mx_TagPanel_clearButton { - /* Constant height within flex mx_TagPanel */ - height: 70px; - width: 60px; - - flex: none; - - display: flex; - justify-content: center; - align-items: flex-start; -} - -.mx_TagPanel .mx_TagPanel_clearButton object { - /* Same as .mx_SearchBox padding-top */ - margin-top: 24px; - pointer-events: none; -} - -.mx_TagPanel .mx_TagPanel_divider { - height: 0px; - width: 42px; - border-bottom: 1px solid $panel-divider-color; -} - -.mx_TagPanel .mx_TagPanel_scroller { - flex-grow: 1; -} - -.mx_TagPanel .mx_TagPanel_tagTileContainer { - display: flex; - flex-direction: column; - align-items: center; - - height: 100%; -} - -.mx_TagPanel .mx_TagTile { - padding: 6px 3px; - opacity: 0.5; - position: relative; -} -.mx_TagPanel .mx_TagTile:focus, -.mx_TagPanel .mx_TagTile:hover, -.mx_TagPanel .mx_TagTile.mx_TagTile_selected { - opacity: 1; -} - -.mx_TagPanel .mx_TagTile.mx_TagTile_selected { - /* To offset border of mx_TagTile_avatar */ - padding: 3px 0px; -} - -.mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar .mx_BaseAvatar { - border: 3px solid $accent-color; - background-color: $accent-color; - border-radius: 60px; - - /* In case this is a "initial" avatar */ - display: block; - height: 35px; - width: 35px; -} - -.mx_TagPanel .mx_TagTile.mx_AccessibleButton:focus { - filter: none; -} - -.mx_TagTile_tooltip { - position: relative; - top: -30px; - left: 5px; -} - -.mx_TagTile_context_button { - min-width: 15px; - height: 15px; - position: absolute; - right: -5px; - top: 1px; - border-radius: 8px; - background-color: $neutral-badge-color; - color: #ffffff; - font-weight: 600; - font-size: 10px; - text-align: center; - padding-top: 1px; - padding-left: 4px; - padding-right: 4px; -} - -.mx_TagPanel_groupsButton { - margin-bottom: 17px; - margin-top: 18px; - height: 25px; -} - -.mx_TagPanel_groupsButton object { - pointer-events: none; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_UploadBar.scss b/src/skins/vector/css/matrix-react-sdk/structures/_UploadBar.scss deleted file mode 100644 index d76c8166..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_UploadBar.scss +++ /dev/null @@ -1,61 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_UploadBar { - position: relative; -} - -.mx_UploadBar_uploadProgressOuter { - height: 5px; - margin-left: 63px; - margin-top: -1px; - padding-bottom: 5px; -} - -.mx_UploadBar_uploadProgressInner { - background-color: $accent-color; - height: 5px; -} - -.mx_UploadBar_uploadFilename { - margin-top: 5px; - margin-left: 65px; - opacity: 0.5; - color: $primary-fg-color; -} - -.mx_UploadBar_uploadIcon { - float: left; - margin-top: 5px; - margin-left: 14px; -} - -.mx_UploadBar_uploadCancel { - float: right; - margin-top: 5px; - margin-right: 10px; - position: relative; - opacity: 0.6; - cursor: pointer; - z-index: 1; -} - -.mx_UploadBar_uploadBytes { - float: right; - margin-top: 5px; - margin-right: 30px; - color: $accent-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss b/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss deleted file mode 100644 index 4830814e..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss +++ /dev/null @@ -1,253 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_UserSettings { - max-width: 960px; - width: 100%; - margin-left: auto; - margin-right: auto; - - display: flex; - flex-direction: column; -} - -.mx_UserSettings .mx_RoomHeader { - order: 1; - - flex: 0 0 70px; -} - -.mx_UserSettings_body { - order: 2; - - flex: 1 1 0; - - margin-top: -20px; - overflow-y: auto; -} - -.mx_UserSettings h3 { - clear: both; - margin-left: 63px; - text-transform: uppercase; - color: $h3-color; - font-weight: 600; - font-size: 13px; - margin-top: 26px; - margin-bottom: 10px; -} - -.mx_UserSettings_section h3 { - margin-left: 0px; -} - -.mx_UserSettings_spinner { - display: inline-block; - vertical-align: middle; - margin-right: 12px; - width: 32px; - height: 32px; -} - -.mx_UserSettings_button { - @mixin mx_DialogButton; - display: inline; - margin: auto; -} - -.mx_UserSettings_button:hover { - @mixin mx_DialogButton_hover; -} - -.mx_UserSettings_button.danger { - background-color: $warning-color; -} - -.mx_UserSettings_section { - margin-left: 63px; - margin-top: 28px; - margin-bottom: 28px; -} - -.mx_UserSettings_cryptoSection ul { - display: table; -} -.mx_UserSettings_cryptoSection li { - display: table-row; -} -.mx_UserSettings_cryptoSection label, -.mx_UserSettings_cryptoSection span { - display: table-cell; - padding-right: 1em; -} - -.mx_UserSettings_passwordWarning { - /* To move the "Sign out" button out of the way */ - clear: both; - color: $warning-color; - margin-bottom: 5px; -} - -.mx_UserSettings_importExportButtons { - padding-top: 10px; - padding-left: 40px; -} - -.mx_UserSettings_importExportButtons .mx_UserSettings_button { - margin-right: 1em; -} - -.mx_UserSettings_toggle input { - width: 16px; - margin-right: 8px; - margin-bottom: 8px; -} - -.mx_UserSettings_toggle label { - padding-bottom: 21px; -} - -.mx_UserSettings_accountTable -.mx_UserSettings_notifTable -{ - display: table; -} - -.mx_UserSettings_notifTable .mx_Spinner { - position: absolute; -} - -.mx_UserSettings_language { - width: 200px; -} - -.mx_UserSettings_webRtcDevices_dropdown { - width: 50%; -} - -.mx_UserSettings_profileTable -{ - display: table; - float: left; -} - -.mx_UserSettings_profileTableRow -{ - display: table-row; -} - -.mx_UserSettings_profileLabelCell -{ - padding-bottom: 21px; - display: table-cell; - font-weight: bold; - padding-right: 24px; -} - -.mx_UserSettings_profileInputCell { - display: table-cell; - padding-bottom: 21px; - width: 240px; -} - -.mx_UserSettings_profileInputCell input, -.mx_UserSettings_profileInputCell .mx_EditableText -{ - display: inline-block; - border: 0px; - border-bottom: 1px solid $input-underline-color; - padding: 0px; - width: 240px; - color: $input-fg-color; - font-family: 'Open Sans', Helvetica, Arial, Sans-Serif; - font-size: 16px; -} - -.mx_UserSettings_threepidButton { - display: table-cell; - padding-left: 0.5em; - position: relative; - cursor: pointer; -} - -.mx_UserSettings_phoneSection { - display:table; -} - -.mx_UserSettings_phoneCountry { - width: 70px; - display: table-cell; -} - -input.mx_UserSettings_phoneNumberField { - margin-left: 3px; - width: 172px; - border: 1px solid transparent; -} - -.mx_UserSettings_changePasswordButton { - float: right; - margin-right: 32px; - margin-left: 32px; -} - -.mx_UserSettings_logout { - float: right; - margin-right: 32px; - margin-left: 32px; -} - -.mx_UserSettings_avatarPicker { - margin-left: 32px; - margin-right: 32px; - float: right; - cursor: pointer; -} - -.mx_UserSettings_avatarPicker_img .mx_BaseAvatar_image { - object-fit: cover; -} - -.mx_UserSettings_avatarPicker_edit { - text-align: center; - margin-top: 10px; -} - -.mx_UserSettings_avatarPicker_edit img { - cursor: pointer; -} - -.mx_UserSettings_avatarPicker_edit > input { - display: none; -} - -.mx_UserSettings_avatarPicker_imgContainer { - display: inline-block; -} - -.mx_UserSettings_avatarPicker_remove { - display: inline-block; - float: right; - margin-right: -15px; -} - -.mx_UserSettings_advanced_spoiler, -.mx_UserSettings_link { - cursor: pointer; - color: $accent-color; - word-break: break-all; -} diff --git a/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss b/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss deleted file mode 100644 index 84b8306a..00000000 --- a/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss +++ /dev/null @@ -1,284 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_Login { - width: 100%; - height: 100%; - - display: flex; - align-items: center; - justify-content: center; - - overflow: auto; -} - -.mx_Login h2 { - font-weight: 300; - margin-top: 32px; - margin-bottom: 20px; -} - -.mx_Login_box { - width: 300px; - min-height: 450px; - padding-top: 50px; - padding-bottom: 50px; - margin: auto; -} - -.mx_Login_logo { - text-align: center; - height: 150px; - margin-bottom: 45px; -} - -.mx_Login_logo img { - max-height: 100% -} - -.mx_Login_support { - text-align: center; - font-size: 13px; - margin-top: 0px; - opacity: 0.7; -} - -.mx_Login_field { - width: 280px; - border-radius: 3px; - border: 1px solid $strong-input-border-color; - font-weight: 300; - font-size: 13px; - padding: 9px; - margin-bottom: 14px; -} - -.mx_Login_field_disabled { - opacity: 0.3; -} - -.mx_Login_fieldLabel { - margin-top: -10px; - margin-left: 8px; - margin-bottom: 14px; - font-size: 13px; - opacity: 0.8; -} - -.mx_Login_submit { - @mixin mx_DialogButton; - width: 100%; - margin-top: 35px; - margin-bottom: 24px; -} - -.mx_Login_submit:hover { - @mixin mx_DialogButton_hover; -} - -.mx_Login_submit:disabled { - opacity: 0.3; -} - -.mx_Login_label { - font-size: 13px; - opacity: 0.8; -} - -.mx_Login_checkbox, -.mx_Login_radio { - margin-right: 10px; -} - -.mx_Login_create { - display: block; - text-align: center; - width: 100%; - font-size: 13px; - opacity: 0.8; -} - -.mx_Login_create:link { - color: $primary-fg-color; -} - -.mx_Login_links { - display: block; - text-align: center; - margin-top: 15px; - width: 100%; - font-size: 13px; - opacity: 0.8; -} - -.mx_Login_links a:link { - color: $primary-fg-color; -} - -.mx_Login_prompt { - padding-top: 15px; - padding-bottom: 15px; - font-size: 13px; -} - -.mx_Login_forgot { - font-size: 15px; -} - -.mx_Login_forgot:link { - color: $primary-fg-color; -} - -.mx_Login_loader { - display: inline; - position: relative; - top: 2px; - left: 8px; -} - -.mx_Login_loader .mx_Spinner { - display: inline; -} - -.mx_Login_loader .mx_Spinner img { - width: 16px; - height: 16px; -} - -.mx_Login_error { - color: $warning-color; - font-weight: bold; - text-align: center; -/* - height: 24px; -*/ - margin-top: 12px; - margin-bottom: 12px; -} - -.mx_Login_type_container { - display: flex; - margin-bottom: 14px; -} - -.mx_Login_type_label { - flex-grow: 1; - line-height: 35px; -} - -.mx_Login_type_dropdown { - display: inline-block; - min-width: 170px; - align-self: flex-end; - flex: 1 1 auto; -} - -.mx_Login_field_group { - display: flex; -} - -.mx_Login_field_prefix { - height: 34px; - padding: 0px 5px; - line-height: 33px; - - background-color: #eee; - border: 1px solid #c7c7c7; - border-right: 0px; - border-radius: 3px 0px 0px 3px; - - text-align: center; -} - -.mx_Login_field_suffix { - height: 34px; - padding: 0px 5px; - line-height: 33px; - - background-color: #eee; - border: 1px solid #c7c7c7; - border-left: 0px; - border-radius: 0px 3px 3px 0px; - - text-align: center; - flex-grow: 1; -} - -.mx_Login_username { - height: 16px; - flex-shrink: 1; - min-width: 0px; -} - -.mx_Login_phoneNumberField { - height: 16px; -} - -.mx_Login_field_has_prefix { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; -} - -.mx_Login_field_has_suffix { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; -} - -.mx_Login_phoneSection { - display:flex; -} - -.mx_Login_phoneCountry { - margin-bottom: 14px; - width: 150px; - - /* To override mx_Login_field_prefix */ - text-align: left; - padding: 0px; - background-color: $primary-bg-color; -} - -.mx_Login_field_prefix .mx_Dropdown_input { - /* To use prefix border instead of dropdown border */ - border: 0; -} - -.mx_Login_phoneCountry .mx_Dropdown_option { - /* - To match height of mx_Login_field - 33px + 2px border from mx_Dropdown_option = 35px - */ - height: 33px; - line-height: 33px; -} - -.mx_Login_phoneCountry .mx_Dropdown_option img { - margin: 3px; - vertical-align: top; -} - -.mx_Login_language { - margin-left: auto; - margin-right: auto; - min-width: 60%; -} - -.mx_Login_language_div { - display: flex; - margin-top: 12px; - margin-bottom: 12px; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/avatars/_BaseAvatar.scss b/src/skins/vector/css/matrix-react-sdk/views/avatars/_BaseAvatar.scss deleted file mode 100644 index ee2d9c19..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/avatars/_BaseAvatar.scss +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_BaseAvatar { - position: relative; -} - -.mx_BaseAvatar_initial { - position: absolute; - left: 0px; - color: $avatar-initial-color; - text-align: center; - speak: none; - pointer-events: none; - font-weight: normal; -} - -.mx_BaseAvatar_image { - border-radius: 40px; - vertical-align: top; - background-color: $avatar-bg-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/avatars/_MemberPresenceAvatar.scss b/src/skins/vector/css/matrix-react-sdk/views/avatars/_MemberPresenceAvatar.scss deleted file mode 100644 index a15f8eaa..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/avatars/_MemberPresenceAvatar.scss +++ /dev/null @@ -1,43 +0,0 @@ -/* -Copyright 2017 Travis Ralston - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MemberPresenceAvatar { - display: inline-block; - position: relative; -} - -.mx_MemberPresenceAvatar_status { - display: block; - width: 10px; - height: 10px; - border-radius: 10px; - - position: absolute; - bottom: -2px; - right: -3px; -} - -.mx_MemberPresenceAvatar_status_online { - background-color: $presence-online; -} - -.mx_MemberPresenceAvatar_status_unavailable { - background-color: $presence-unavailable; -} - -.mx_MemberPresenceAvatar_status_offline { - background-color: $presence-offline; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_BugReportDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_BugReportDialog.scss deleted file mode 100644 index e00d446e..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_BugReportDialog.scss +++ /dev/null @@ -1,52 +0,0 @@ -/* -Copyright 2017 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_BugReportDialog_field_container { - display: flex; -} - -.mx_BugReportDialog_field_label { - flex-basis: 150px; - - text-align: right; - - padding-top: 9px; - padding-right: 4px; - - line-height: 18px; -} - -.mx_BugReportDialog_field_input { - flex-grow: 1; - - /* taken from mx_ChatInviteDialog_inputContainer */ - border-radius: 3px; - border: solid 1px $input-border-color; - - font-size: 14px; - - padding-left: 4px; - padding-right: 4px; - padding-top: 7px; - padding-bottom: 7px; - - margin-bottom: 4px; -} - -.mx_BugReportDialog_field_input[type="text" i] { - padding-top: 9px; - padding-bottom: 9px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatCreateOrReuseChatDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatCreateOrReuseChatDialog.scss deleted file mode 100644 index 0f358a58..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatCreateOrReuseChatDialog.scss +++ /dev/null @@ -1,41 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ChatCreateOrReuseDialog .mx_ChatCreateOrReuseDialog_tiles { - margin-top: 24px; -} - -.mx_ChatCreateOrReuseDialog .mx_Dialog_content { - margin-bottom: 24px; - - /* - To stop spinner that mx_ChatCreateOrReuseDialog_profile replaces from causing a - height change - */ - min-height: 100px; -} - -.mx_ChatCreateOrReuseDialog .mx_RoomTile_badge { - display: none; -} - -.mx_ChatCreateOrReuseDialog_profile { - display: flex; -} - -.mx_ChatCreateOrReuseDialog_profile_name { - padding: 14px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss deleted file mode 100644 index 6fc21174..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss +++ /dev/null @@ -1,77 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ChatInviteDialog { - /* XXX: padding-left is on mx_Dialog but padding-right has subsequently - * been added on other dialogs. Surely all our dialogs should have consistent - * right hand padding? - */ - padding-right: 58px; -} - -/* Using a textarea for this element, to circumvent autofill */ -.mx_ChatInviteDialog_input, -.mx_ChatInviteDialog_input:focus -{ - height: 26px; - font-size: 14px; - font-family: $font-family; - padding-left: 12px; - padding-right: 12px; - margin: 0 !important; - border: 0 !important; - outline: 0 !important; - width: 1000%; /* Pretend that this is an "input type=text" */ - resize: none; - overflow: hidden; - vertical-align: middle; - box-sizing: border-box; - word-wrap: nowrap; -} - -.mx_ChatInviteDialog .mx_Dialog_content { - min-height: 50px -} - -.mx_ChatInviteDialog_inputContainer { - border-radius: 3px; - border: solid 1px $input-border-color; - line-height: 36px; - padding-left: 4px; - padding-right: 4px; - padding-top: 1px; - padding-bottom: 1px; - max-height: 150px; - overflow-x: hidden; - overflow-y: auto; -} - -.mx_ChatInviteDialog_error { - margin-top: 10px; - color: $warning-color; -} - -.mx_ChatInviteDialog_cancel { - position: absolute; - right: 11px; - top: 13px; - cursor: pointer; -} - -.mx_ChatInviteDialog_cancel object { - pointer-events: none; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ConfirmUserActionDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ConfirmUserActionDialog.scss deleted file mode 100644 index b859d6bf..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ConfirmUserActionDialog.scss +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ConfirmUserActionDialog .mx_Dialog_content { - min-height: 48px; - margin-bottom: 24px; -} - -.mx_ConfirmUserActionDialog_avatar { - float: left; - margin-right: 20px; - margin-top: -2px; -} - -.mx_ConfirmUserActionDialog_name { - font-size: 18px; -} - -.mx_ConfirmUserActionDialog_userId { - font-size: 13px; -} - -.mx_ConfirmUserActionDialog_reasonField { - font-family: $font-family; - font-size: 14px; - color: $primary-fg-color; - background-color: $primary-bg-color; - - border-radius: 3px; - border: solid 1px $input-border-color; - line-height: 36px; - padding-left: 16px; - padding-right: 16px; - padding-top: 1px; - padding-bottom: 1px; - - margin-bottom: 24px; - - width: 90%; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss deleted file mode 100644 index 500e12ee..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_CreateGroupDialog_inputRow { - margin-top: 10px; - margin-bottom: 10px; -} - -.mx_CreateGroupDialog_label { - text-align: left; - padding-bottom: 12px; -} - -.mx_CreateGroupDialog_input { - font-size: 15px; - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; -} - -.mx_CreateGroupDialog_input_hasPrefixAndSuffix { - border-radius: 0px; -} - -.mx_CreateGroupDialog_input_group { - display: flex; -} - -.mx_CreateGroupDialog_prefix, -.mx_CreateGroupDialog_suffix { - height: 35px; - padding: 0px 5px; - line-height: 37px; - background-color: $input-border-color; - border: 1px solid $input-border-color; - text-align: center; -} - -.mx_CreateGroupDialog_prefix { - border-right: 0px; - border-radius: 3px 0px 0px 3px; -} - -.mx_CreateGroupDialog_suffix { - border-left: 0px; - border-radius: 0px 3px 3px 0px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateRoomDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateRoomDialog.scss deleted file mode 100644 index 888f147d..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateRoomDialog.scss +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_CreateRoomDialog_details_summary { - outline: none; -} - -.mx_CreateRoomDialog_label { - text-align: left; - padding-bottom: 12px; -} - -.mx_CreateRoomDialog_input { - font-size: 15px; - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss deleted file mode 100644 index b4dd3533..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_EncryptedEventDialog .mx_MemberDeviceInfo { - float: right; - padding: 0px; - margin-right: 42px; -} - -.mx_EncryptedEventDialog .mx_MemberDeviceInfo_textButton { - @mixin mx_DialogButton; - background-color: $primary-bg-color; - color: $accent-color; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_GroupAddressPicker.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_GroupAddressPicker.scss deleted file mode 100644 index d6c961c0..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_GroupAddressPicker.scss +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_GroupAddressPicker_checkboxContainer{ - margin-top: 10px; - display: flex; -} - -.mx_GroupAddressPicker_checkboxContainer input[type="checkbox"] { - /* Stop flex from shrinking the checkbox */ - width: 20px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_QuestionDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_QuestionDialog.scss deleted file mode 100644 index 3d47f175..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_QuestionDialog.scss +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2017 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -.mx_QuestionDialog { - padding-right: 58px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_SetMxIdDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_SetMxIdDialog.scss deleted file mode 100644 index f7d8a3d0..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_SetMxIdDialog.scss +++ /dev/null @@ -1,50 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SetMxIdDialog .mx_Dialog_title { - padding-right: 40px; -} - -.mx_SetMxIdDialog_input_group { - display: flex; -} - -.mx_SetMxIdDialog_input { - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; - font-size: 15px; - width: 100%; - max-width: 280px; -} - -.mx_SetMxIdDialog_input.error, -.mx_SetMxIdDialog_input.error:focus { - border: 1px solid $warning-color; -} - -.mx_SetMxIdDialog_input_group .mx_Spinner { - height: 37px; - padding-left: 10px; - justify-content: flex-start; -} - -.mx_SetMxIdDialog .success { - color: $accent-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss deleted file mode 100644 index 3457e50b..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// CSS voodoo to support a gemini-scrollbar for the contents of the dialog -.mx_Dialog_unknownDevice .mx_Dialog { - // ideally we'd shrink the height to fit when needed, but in practice this - // is a pain in the ass. plus might as well make the dialog big given how - // important it is. - height: 100%; - - // position the gemini scrollbar nicely - padding-right: 58px; -} - -.mx_UnknownDeviceDialog { - height: 100%; - display: flex; - flex-direction: column; -} - -.mx_UnknownDeviceDialog .mx_Dialog_content { - margin-bottom: 24px; -} - -.mx_UnknownDeviceDialog .mx_MemberDeviceInfo { - float: right; - clear: both; - padding: 0px; - padding-top: 8px; -} - -.mx_UnknownDeviceDialog .mx_MemberDeviceInfo_textButton { - @mixin mx_DialogButton_small; - background-color: $primary-bg-color; - color: $accent-color; -} - -.mx_UnknownDeviceDialog .mx_UnknownDeviceDialog_deviceList li { - height: 40px; - border-bottom: 1px solid $primary-hairline-color; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_AccessibleButton.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_AccessibleButton.scss deleted file mode 100644 index edf45504..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_AccessibleButton.scss +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_AccessibleButton:focus { - outline: 0; - filter: brightness($focus-brightness); -} - -.mx_AccessibleButton { - cursor: pointer; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_AddressSelector.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_AddressSelector.scss deleted file mode 100644 index 9871a7e8..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_AddressSelector.scss +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_AddressSelector { - position: absolute; - background-color: $primary-bg-color; - width: 485px; - max-height: 116px; - overflow-y: auto; - border-radius: 3px; - background-color: $primary-bg-color; - border: solid 1px $accent-color; - cursor: pointer; -} - -.mx_AddressSelector.mx_AddressSelector_empty { - display: none; -} - -.mx_AddressSelector_addressListElement .mx_AddressTile { - background-color: $primary-bg-color; - border: solid 1px $primary-bg-color; -} - -.mx_AddressSelector_addressListElement.mx_AddressSelector_selected { - background-color: $selected-color; -} - -.mx_AddressSelector_addressListElement.mx_AddressSelector_selected .mx_AddressTile { - background-color: $selected-color; - border: solid 1px $selected-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_AddressTile.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_AddressTile.scss deleted file mode 100644 index 0ecfb17c..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_AddressTile.scss +++ /dev/null @@ -1,138 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_AddressTile { - display: inline-block; - border-radius: 3px; - background-color: rgba(74, 73, 74, 0.1); - border: solid 1px $input-border-color; - line-height: 26px; - color: $primary-fg-color; - font-size: 14px; - font-weight: normal; - margin-right: 4px; -} - -.mx_AddressTile.mx_AddressTile_error { - background-color: rgba(255, 0, 100, 0.1); - color: $warning-color; - border-color: $warning-color; -} - -.mx_AddressTile_network { - display: inline-block; - position: relative; - padding-left: 2px; - padding-right: 4px; - vertical-align: middle; -} - -.mx_AddressTile_avatar { - display: inline-block; - position: relative; - padding-left: 2px; - padding-right: 7px; - vertical-align: middle; -} - -.mx_AddressTile_mx { - display: inline-block; - margin: 0; - border: 0; - padding: 0; -} - -.mx_AddressTile_name { - display: inline-block; - padding-right: 4px; - font-weight: 600; - overflow: hidden; - height: 26px; - vertical-align: middle; -} - -.mx_AddressTile_name.mx_AddressTile_justified { - width: 180px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - vertical-align: middle; -} - -.mx_AddressTile_id { - display: inline-block; - padding-right: 11px; -} - -.mx_AddressTile_id.mx_AddressTile_justified { - width: 200px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - vertical-align: middle; -} - -.mx_AddressTile_unknownMx { - display: inline-block; - font-weight: 600; - padding-right: 11px; -} - -.mx_AddressTile_unknownMxl.mx_AddressTile_justified { - width: 380px; /* name + id width */ - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - vertical-align: middle; -} - -.mx_AddressTile_email { - display: inline-block; - font-weight: 600; - padding-right: 11px; -} - -.mx_AddressTile_email.mx_AddressTile_justified { - width: 200px; /* same as id width */ - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - vertical-align: middle; -} - -.mx_AddressTile_unknown { - display: inline-block; - padding-right: 11px; -} - -.mx_AddressTile_unknown.mx_AddressTile_justified { - width: 380px; /* name + id width */ - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - vertical-align: middle; -} - -.mx_AddressTile_dismiss { - display: inline-block; - padding-right: 11px; - padding-left: 1px; - cursor: pointer; -} - -.mx_AddressTile_dismiss object { - pointer-events: none; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_DirectorySearchBox.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_DirectorySearchBox.scss deleted file mode 100644 index 94a92b23..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_DirectorySearchBox.scss +++ /dev/null @@ -1,70 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_DirectorySearchBox { - position: relative; - border-radius: 3px; - border: 1px solid $strong-input-border-color; -} - -.mx_DirectorySearchBox_container { - display: flex; - padding-left: 9px; - padding-right: 9px; -} - -.mx_DirectorySearchBox_input { - flex-grow: 1; - border: 0; - padding: 0; - font-weight: 300; - font-size: 13px; -} -input[type=text].mx_DirectorySearchBox_input:focus { - border: 0; -} - -.mx_DirectorySearchBox_joinButton { - display: table-cell; - padding: 3px; - padding-left: 10px; - padding-right: 10px; - background-color: $plinth-bg-color; - border-radius: 3px; - background-image: url('../../img/icon-return.svg'); - background-position: 8px 70%; - background-repeat: no-repeat; - text-indent: 18px; - font-weight: 600; - font-size: 12px; - user-select: none; - cursor: pointer; -} - -.mx_DirectorySearchBox_clear_wrapper { - display: table-cell; -} - -.mx_DirectorySearchBox_clear { - display: inline-block; - vertical-align: middle; - background: url('../../img/icon_context_delete.svg'); - background-position: 0 50%; - background-repeat: no-repeat; - width: 15px; - height: 15px; - cursor: pointer; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss deleted file mode 100644 index 69dd1703..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss +++ /dev/null @@ -1,131 +0,0 @@ -/* -Copyright 2017 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_Dropdown { - position: relative; -} - -.mx_Dropdown_disabled { - opacity: 0.3; -} - -.mx_Dropdown_input { - position: relative; - border-radius: 3px; - border: 1px solid $strong-input-border-color; - font-weight: 300; - font-size: 13px; - user-select: none; -} - -.mx_Dropdown_input:focus { - border-color: $accent-color; -} - -/* Disable dropdown highlight on focus */ -.mx_Dropdown_input.mx_AccessibleButton:focus { - filter: none; -} - -.mx_Dropdown_arrow { - border-color: $primary-fg-color transparent transparent; - border-style: solid; - border-width: 5px 5px 0; - display: block; - height: 0; - position: absolute; - right: 10px; - top: 14px; - width: 0 -} - -.mx_Dropdown.left_aligned .mx_Dropdown_arrow { - left: 10px; -} - -.mx_Dropdown_input > .mx_Dropdown_option { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.mx_Dropdown.left_aligned .mx_Dropdown_input > .mx_Dropdown_option { - padding-left: 25px; -} - -.mx_Dropdown_option { - height: 35px; - line-height: 35px; - padding-left: 8px; - padding-right: 8px; -} - -.mx_Dropdown_option div { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.mx_Dropdown_option img { - margin: 5px; - width: 27px; - vertical-align: middle; -} - -input.mx_Dropdown_option, input.mx_Dropdown_option:focus { - border: 0; - padding-top: 0; - padding-bottom: 0; - // XXX: hack to prevent text box being too big and pushing - // its parent out / overlapping the dropdown arrow. Only really - // works in the Country dropdown. - width: 60%; -} - -.mx_Dropdown_menu { - position: absolute; - left: -1px; - right: -1px; - top: 100%; - z-index: 2; - margin: 0; - padding: 0px; - border-radius: 3px; - border: 1px solid $accent-color; - background-color: $primary-bg-color; - max-height: 200px; - overflow-y: auto; -} - -.mx_Dropdown_menu .mx_Dropdown_option { - height: auto; - min-height: 35px; -} - -.mx_Dropdown_menu .mx_Dropdown_option_highlight { - background-color: $focus-bg-color; -} - -.mx_Dropdown_menu { - font-weight: bold; -} - -.mx_Dropdown_searchPrompt { - font-weight: normal; - margin-left: 5px; - margin-bottom: 5px; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_EditableItemList.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_EditableItemList.scss deleted file mode 100644 index 9fbb39aa..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_EditableItemList.scss +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright 2017 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_EditableItemList { - margin-top: 12px; - margin-bottom: 0px; -} - -.mx_EditableItem { - display: flex; - margin-left: 56px; -} - -.mx_EditableItem .mx_EditableItem_editable { - border: 0px; - border-bottom: 1px solid $strong-input-border-color; - padding: 0px; - min-width: 240px; - max-width: 400px; - margin-bottom: 16px; -} - -.mx_EditableItem .mx_EditableItem_editable:focus { - border-bottom: 1px solid $accent-color; - outline: none; - box-shadow: none; -} - -.mx_EditableItem .mx_EditableItem_editablePlaceholder { - color: $settings-grey-fg-color; -} - -.mx_EditableItem .mx_EditableItem_addButton, -.mx_EditableItem .mx_EditableItem_removeButton { - padding-left: 0.5em; - position: relative; - cursor: pointer; - - visibility: hidden; -} - -.mx_EditableItem:hover .mx_EditableItem_addButton, -.mx_EditableItem:hover .mx_EditableItem_removeButton { - visibility: visible; -} - -.mx_EditableItemList_label { - margin-bottom: 8px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_MemberEventListSummary.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_MemberEventListSummary.scss deleted file mode 100644 index 02ecb5d8..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_MemberEventListSummary.scss +++ /dev/null @@ -1,71 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MemberEventListSummary { - position: relative; -} - -.mx_TextualEvent.mx_MemberEventListSummary_summary { - font-size: 14px; - display: inline-flex; -} - -.mx_MemberEventListSummary_avatars { - display: inline-block; - margin-right: 8px; - padding-top: 8px; - line-height: 12px; -} - -.mx_MemberEventListSummary_avatars .mx_BaseAvatar { - margin-right: -4px; - cursor: pointer; -} - -.mx_MemberEventListSummary_toggle { - color: $accent-color; - cursor: pointer; - float: right; - margin-right: 10px; - margin-top: 8px; -} - -.mx_MemberEventListSummary_line { - border-bottom: 1px solid $primary-hairline-color; - margin-left: 63px; - line-height: 30px; -} - -.mx_MatrixChat_useCompactLayout { - .mx_MemberEventListSummary { - font-size: 13px; - .mx_EventTile_line { - line-height: 20px; - } - } - - .mx_MemberEventListSummary_line { - line-height: 22px; - } - - .mx_MemberEventListSummary_toggle { - margin-top: 3px; - } - - .mx_TextualEvent.mx_MemberEventListSummary_summary { - font-size: 13px; - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_ProgressBar.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_ProgressBar.scss deleted file mode 100644 index a3fee232..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_ProgressBar.scss +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ProgressBar { - height: 5px; - border: 1px solid $progressbar-color; -} - -.mx_ProgressBar_fill { - height: 100%; - background-color: $progressbar-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_Quote.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_Quote.scss deleted file mode 100644 index 0af555b5..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_Quote.scss +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_Quote .mx_DateSeparator { - font-size: 1em !important; - margin-bottom: 0; - padding-bottom: 1px; - bottom: -5px; -} - -.mx_Quote_show { - cursor: pointer; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_RichText.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_RichText.scss deleted file mode 100644 index 474a1234..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_RichText.scss +++ /dev/null @@ -1,75 +0,0 @@ -// XXX: bleurgh, what is this? These classes totally break the component -// naming scheme; it's completely unclear where or how they're being used -// --Matthew - -.mx_UserPill, -.mx_RoomPill, -.mx_AtRoomPill { - border-radius: 16px; - display: inline-block; - height: 20px; - line-height: 20px; - padding-left: 5px; -} - -.mx_EventTile_body .mx_UserPill, -.mx_EventTile_body .mx_RoomPill { - cursor: pointer; -} - -/* More specific to override `.markdown-body a` color */ -.mx_EventTile_content .markdown-body a.mx_UserPill, -.mx_UserPill { - color: $primary-fg-color; - background-color: $other-user-pill-bg-color; - padding-right: 5px; -} - -.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me, -.mx_EventTile_content .mx_AtRoomPill, -.mx_MessageComposer_input .mx_AtRoomPill { - color: $accent-fg-color; - background-color: $mention-user-pill-bg-color; - padding-right: 5px; -} - -/* More specific to override `.markdown-body a` color */ -.mx_EventTile_content .markdown-body a.mx_RoomPill, -.mx_RoomPill { - color: $accent-fg-color; - background-color: $rte-room-pill-color; - padding-right: 5px; -} - -.mx_UserPill .mx_BaseAvatar, -.mx_RoomPill .mx_BaseAvatar, -.mx_AtRoomPill .mx_BaseAvatar { - position: relative; - left: -3px; - top: 2px; -} - -.mx_Markdown_BOLD { - font-weight: bold; -} - -.mx_Markdown_ITALIC { - font-style: italic; -} - -.mx_Markdown_CODE { - padding: .2em 0; - margin: 0; - font-size: 85%; - background-color: $rte-code-bg-color; - border-radius: 3px; -} - -.mx_Markdown_HR { - display: block; - background: $rte-bg-color; -} - -.mx_Markdown_STRIKETHROUGH { - text-decoration: line-through; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_RoleButton.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_RoleButton.scss deleted file mode 100644 index 094e0b9b..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_RoleButton.scss +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2107 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoleButton { - margin-left: 4px; - margin-right: 4px; - cursor: pointer; - display: inline-block; -} - -.mx_RoleButton object { - pointer-events: none; -} - -.mx_RoleButton_tooltip { - display: inline-block; - position: relative; - top: -25px; - left: 6px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_ToolTipButton.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_ToolTipButton.scss deleted file mode 100644 index c496e675..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_ToolTipButton.scss +++ /dev/null @@ -1,51 +0,0 @@ -/* -Copyright 2017 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ToolTipButton { - display: inline-block; - width: 11px; - height: 11px; - margin-left: 5px; - - border: 2px solid $neutral-badge-color; - border-radius: 20px; - color: $neutral-badge-color; - - transition: opacity 0.2s ease-in; - opacity: 0.6; - - line-height: 11px; - text-align: center; - - cursor: pointer; -} - -.mx_ToolTipButton:hover { - opacity: 1.0; -} - -.mx_ToolTipButton_container { - position: relative; - top: -18px; - left: 4px; -} - -.mx_ToolTipButton_helpText { - width: 400px; - text-align: start; - line-height: 17px !important; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupPublicityToggle.scss b/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupPublicityToggle.scss deleted file mode 100644 index 3ea4aa07..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupPublicityToggle.scss +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_GroupPublicity_toggle { - display: flex; - align-items: center; - margin: 8px; -} - -.mx_GroupPublicity_toggle > label { - display: flex; - align-items: flex-start; -} - -.mx_GroupPublicity_toggle > label, -.mx_GroupPublicity_toggle .mx_GroupTile { - width: 50%; -} - -.mx_GroupPublicity_toggle input { - margin-right: 8px; - vertical-align: -4px; -} - -.mx_GroupPublicity_toggle .mx_GroupTile { - display: flex; - align-items: flex-start; - cursor: pointer; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupRoomList.scss b/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupRoomList.scss deleted file mode 100644 index fb41ebaa..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupRoomList.scss +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_GroupRoomTile { - position: relative; - color: $primary-fg-color; - cursor: pointer; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupUserSettings.scss b/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupUserSettings.scss deleted file mode 100644 index 0c909b7c..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/groups/_GroupUserSettings.scss +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2017 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_GroupUserSettings_groupPublicity_scrollbox { - height: 200px; - border: 1px solid $primary-hairline-color; - border-radius: 3px; - margin-right: 32px; - overflow: hidden; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/login/_InteractiveAuthEntryComponents.scss b/src/skins/vector/css/matrix-react-sdk/views/login/_InteractiveAuthEntryComponents.scss deleted file mode 100644 index 183b5cd2..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/login/_InteractiveAuthEntryComponents.scss +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_InteractiveAuthEntryComponents_msisdnWrapper { - text-align: center; -} - -.mx_InteractiveAuthEntryComponents_msisdnEntry { - font-size: 200%; - font-weight: bold; - border: 1px solid $strong-input-border-color; - border-radius: 3px; - width: 6em; -} - -.mx_InteractiveAuthEntryComponents_msisdnEntry:focus { - border: 1px solid $accent-color; -} - -.mx_InteractiveAuthEntryComponents_msisdnSubmit { - margin-top: 4px; - margin-bottom: 5px; -} - -// XXX: This should be a common button class -.mx_InteractiveAuthEntryComponents_msisdnSubmit:disabled { - background-color: $light-fg-color; - cursor: default; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/login/_ServerConfig.scss b/src/skins/vector/css/matrix-react-sdk/views/login/_ServerConfig.scss deleted file mode 100644 index 894ce198..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/login/_ServerConfig.scss +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ServerConfig { - margin-top: 7px; -} - -.mx_ServerConfig .mx_Login_field { - margin-top: 4px; - margin-bottom: 5px; -} - -.mx_ServerConfig_help:link { - opacity: 0.8; - font-size: 13px; - font-weight: 300; - color: $primary-fg-color; -} - -.mx_ServerConfig_selector { - text-align: center; - width: 302px; // for fr i18n -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_MEmoteBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_MEmoteBody.scss deleted file mode 100644 index cf722e5a..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_MEmoteBody.scss +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MEmoteBody { - white-space: pre-wrap; -} - -.mx_MEmoteBody_sender { - cursor: pointer; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_MFileBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_MFileBody.scss deleted file mode 100644 index 6cbce687..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_MFileBody.scss +++ /dev/null @@ -1,47 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MFileBody_download { - color: $accent-color; -} - -.mx_MFileBody_download a { - color: $accent-color; - text-decoration: none; - cursor: pointer; -} - -.mx_MFileBody_download object { - margin-left: -16px; - padding-right: 4px; - margin-top: -4px; - vertical-align: middle; - pointer-events: none; -} - -/* Remove the border and padding for iframes for download links. */ -.mx_MFileBody_download iframe { - margin: 0px; - padding: 0px; - border: none; - width: 100%; - /* Set the height of the iframe to be 1 line of text. - * Iframes don't automatically size themselves to fit their content. - * So either we have to fix the height of the iframe using CSS or - * use javascript's cross-origin postMessage API to communicate how - * big the content of the iframe is. */ - height: 1.5em; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_MImageBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_MImageBody.scss deleted file mode 100644 index bf483fed..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_MImageBody.scss +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MImageBody { - display: block; - margin-right: 34px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_MNoticeBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_MNoticeBody.scss deleted file mode 100644 index a88c2086..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_MNoticeBody.scss +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MNoticeBody { - white-space: pre-wrap; - opacity: 0.6; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_MStickerBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_MStickerBody.scss deleted file mode 100644 index 3e6bbe5a..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_MStickerBody.scss +++ /dev/null @@ -1,46 +0,0 @@ -/* -Copyright 2018 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MStickerBody { - display: block; - margin-right: 34px; - min-height: 110px; - padding: 20px 0; -} - -.mx_MStickerBody_image_container { - display: inline-block; - position: relative; -} - -.mx_MStickerBody_image { - max-width: 100%; - opacity: 0; -} - -.mx_MStickerBody_image_visible { - opacity: 1; -} - -.mx_MStickerBody_placeholder { - position: absolute; - opacity: 1; -} - -.mx_MStickerBody_placeholder_invisible { - transition: 500ms; - opacity: 0; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_MTextBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_MTextBody.scss deleted file mode 100644 index fcf397fd..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_MTextBody.scss +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MTextBody { - white-space: pre-wrap; -} - -.mx_MTextBody pre{ - overflow-y: auto; - max-height: 30vh; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_RoomAvatarEvent.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_RoomAvatarEvent.scss deleted file mode 100644 index 9adce42e..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_RoomAvatarEvent.scss +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomAvatarEvent { - opacity: 0.5; - overflow-y: hidden; -} - -.mx_RoomAvatarEvent_avatar { - display: inline; - position: relative; - top: 5px; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_TextualEvent.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_TextualEvent.scss deleted file mode 100644 index be7565b3..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_TextualEvent.scss +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_TextualEvent { - opacity: 0.5; - overflow-y: hidden; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/messages/_UnknownBody.scss b/src/skins/vector/css/matrix-react-sdk/views/messages/_UnknownBody.scss deleted file mode 100644 index 9036e12b..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/messages/_UnknownBody.scss +++ /dev/null @@ -1,16 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_UnknownBody { - white-space: pre-wrap; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss deleted file mode 100644 index 0cf3e7b9..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss +++ /dev/null @@ -1,271 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_AppsDrawer { - margin: 5px; -} - -.mx_AppsDrawer_hidden { - display: none; -} - -.mx_AppsContainer { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; -} - -.mx_AddWidget_button { - order: 2; - cursor: pointer; - padding-right: 12px; - padding: 0; - margin: 5px auto 5px auto; - color: $accent-color; - font-size: 12px; -} - -.mx_AddWidget_button_full_width { - max-width: 960px; -} - -.mx_SetAppURLDialog_input { - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-hairline-color; - background-color: $primary-bg-color; - font-size: 15px; -} - -.mx_AppTile { - max-width: 960px; - width: 50%; - margin-right: 5px; - border: 1px solid $primary-hairline-color; - border-radius: 2px; - background-color: $dialog-background-bg-color; -} - -.mx_AppTile:last-child { - margin-right: 1px; -} - -.mx_AppTileFullWidth { - max-width: 960px; - width: 100%; - height: 100%; - margin: 0; - padding: 0; - border: 1px solid $primary-hairline-color; - border-radius: 2px; -} - -.mx_AppTileMenuBar { - margin: 0; - padding: 2px 10px; - border-bottom: 1px solid $primary-hairline-color; - font-size: 10px; - background-color: $widget-menu-bar-bg-color; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - cursor: pointer; -} - -.mx_AppTileMenuBarTitle { - display: flex; - flex-direction: row; - align-items: center; - pointer-events: none; -} - -.mx_AppTileMenuBarWidgets { - float: right; - display: flex; - flex-direction: row; - align-items: center; -} - -.mx_AppTileMenuBarWidget { - cursor: pointer; - width: 10px; - height: 10px; - padding: 1px; - transition-duration: 500ms; - border: 1px solid transparent; -} - -.mx_AppTileMenuBarWidgetDelete { - filter: none; -} - -.mx_AppTileMenuBarWidget:hover { - border: 1px solid $primary-fg-color; - border-radius: 2px; -} - -.mx_AppTileBody{ - height: 280px; - width: 100%; - overflow: hidden; -} - -.mx_AppTileBody iframe { - width: 100%; - height: 280px; - overflow: hidden; - border: none; - padding: 0; - margin: 0; - display: block; -} - -.mx_AppTileMenuBarWidgetPadding { - margin-right: 5px; -} - -.mx_AppIconTile { - background-color: $lightbox-bg-color; - border: 1px solid rgba(0, 0, 0, 0); - width: 200px; - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); - transition: 0.3s; - border-radius: 3px; - margin: 5px; - display: inline-block; -} - -.mx_AppIconTile.mx_AppIconTile_active { - color: $accent-color; - border-color: $accent-color; -} - -.mx_AppIconTile:hover { - border: 1px solid $accent-color; - box-shadow: 0 0 10px 5px rgba(200,200,200,0.5); -} - -.mx_AppIconTile_content { - padding: 2px 16px; - height: 60px; - overflow: hidden; -} - -.mx_AppIconTile_content h4 { - margin-top: 5px; - margin-bottom: 2px; -} - -.mx_AppIconTile_content p { - margin-top: 0; - margin-bottom: 5px; - font-size: smaller; -} - -.mx_AppIconTile_image { - padding: 10px; - width: 75%; - max-width:100px; - max-height:100px; - width: auto; - height: auto; -} - -.mx_AppIconTile_imageContainer { - text-align: center; - width: 100%; - background-color: white; - border-radius: 3px 3px 0 0; - height: 155px; - display: flex; - justify-content: center; - align-items: center; -} - -form.mx_Custom_Widget_Form div { - margin-top: 10px; - margin-bottom: 10px; -} - -.mx_AppPermissionWarning { - text-align: center; - background-color: $primary-bg-color; - display: flex; - height: 100%; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.mx_AppPermissionWarningImage { - margin: 10px 0; -} - -.mx_AppPermissionWarningImage img { - width: 100px; -} - -.mx_AppPermissionWarningText { - max-width: 400px; - margin: 10px auto 10px auto; - color: $primary-fg-color; -} - -.mx_AppPermissionWarningTextLabel { - font-weight: bold; - display: block; -} - -.mx_AppPermissionWarningTextURL { - color: $accent-color; -} - -.mx_AppPermissionButton { - padding: 5px; - border-radius: 5px; - color: $warning-color; - background-color: $primary-bg-color; -} - -.mx_AppPermissionButton:hover { - background-color: $primary-fg-color; - cursor: pointer; -} - -.mx_AppLoading { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - font-weight: bold; - position: relative; - height: 280px; -} - -.mx_AppLoading .mx_Spinner { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} - -.mx_AppLoading iframe { - display: none; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_Autocomplete.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_Autocomplete.scss deleted file mode 100644 index 732ada08..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_Autocomplete.scss +++ /dev/null @@ -1,93 +0,0 @@ -.mx_Autocomplete { - position: absolute; - bottom: 0; - z-index: 1001; - width: 100%; - border: 1px solid $primary-hairline-color; - background: $primary-bg-color; - border-bottom: none; - border-radius: 4px 4px 0 0; - max-height: 50vh; - overflow: auto -} - -.mx_Autocomplete_ProviderSection { - border-bottom: 1px solid $primary-hairline-color; -} - -.mx_Autocomplete_Completion_container_pill { - margin: 12px; - display: flex; -} - -/* a "block" completion takes up a whole line */ -.mx_Autocomplete_Completion_block { - height: 34px; - display: flex; - padding: 0 12px; - user-select: none; - cursor: pointer; - align-items: center; - color: $primary-fg-color; -} - -.mx_Autocomplete_Completion_block * { - margin: 0 3px; -} - -.mx_Autocomplete_Completion_pill { - border-radius: 17px; - height: 34px; - padding: 0px 5px; - display: flex; - user-select: none; - cursor: pointer; - align-items: center; - color: $primary-fg-color; -} - -.mx_Autocomplete_Completion_pill > * { - margin: 0 3px; -} - -.mx_Autocomplete_Completion_container_truncate { - .mx_Autocomplete_Completion_title, - .mx_Autocomplete_Completion_subtitle, - .mx_Autocomplete_Completion_description { - /* Ellipsis for long names/subtitles/descriptions*/ - max-width: 150px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } -} - -/* container for pill-style completions */ -.mx_Autocomplete_Completion_container_pill { - margin: 12px; - display: flex; - flex-flow: wrap; -} - -.mx_Autocomplete_Completion.selected { - background: $menu-bg-color; - outline: none; -} - -.mx_Autocomplete_provider_name { - margin: 12px; - color: $primary-fg-color; - font-weight: 400; - opacity: 0.4; -} - -/* styling for common completion elements */ -.mx_Autocomplete_Completion_subtitle { - font-style: italic; - flex: 1; -} - -.mx_Autocomplete_Completion_description { - color: gray; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_EntityTile.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_EntityTile.scss deleted file mode 100644 index 031894af..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_EntityTile.scss +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_EntityTile { - display: table-row; - position: relative; - color: $primary-fg-color; - cursor: pointer; -} - -.mx_EntityTile_invite { - display: table-cell; - vertical-align: middle; - margin-left: 10px; - width: 26px; -} - -.mx_EntityTile_avatar, -.mx_GroupRoomTile_avatar { - display: table-cell; - padding-left: 3px; - padding-right: 12px; - padding-top: 4px; - padding-bottom: 4px; - vertical-align: middle; - width: 36px; - height: 36px; - position: relative; -} - -.mx_EntityTile_power { - position: absolute; - width: 16px; - height: 17px; - top: 0px; - right: 6px; -} - -.mx_EntityTile_name, -.mx_GroupRoomTile_name { - display: table-cell; - vertical-align: middle; - overflow: hidden; - font-size: 14px; - text-overflow: ellipsis; - white-space: nowrap; - max-width: 155px; -} - -.mx_EntityTile_details { - display: table-cell; - padding-right: 14px; - vertical-align: middle; -} - -.mx_EntityTile_name_hover { - font-size: 13px; -} - -.mx_EntityTile_chevron { - margin-top: 8px; - margin-right: -4px; - margin-left: 6px; - float: right; -} - -.mx_EntityTile_ellipsis .mx_EntityTile_name { - font-style: italic; - color: $primary-fg-color; -} - -.mx_EntityTile_invitePlaceholder .mx_EntityTile_name { - font-style: italic; - color: $primary-fg-color; -} - -.mx_EntityTile_unavailable .mx_EntityTile_avatar, -.mx_EntityTile_unavailable .mx_EntityTile_name, -.mx_EntityTile_unavailable .mx_EntityTile_name_hover, -.mx_EntityTile_offline_beenactive .mx_EntityTile_avatar, -.mx_EntityTile_offline_beenactive .mx_EntityTile_name, -.mx_EntityTile_offline_beenactive .mx_EntityTile_name_hover -{ - opacity: 0.66; -} - -.mx_EntityTile_offline_neveractive .mx_EntityTile_avatar, -.mx_EntityTile_offline_neveractive .mx_EntityTile_name, -.mx_EntityTile_offline_neveractive .mx_EntityTile_name_hover -{ - opacity: 0.25; -} - -.mx_EntityTile_unknown .mx_EntityTile_avatar, -.mx_EntityTile_unknown .mx_EntityTile_name, -.mx_EntityTile_unknown .mx_EntityTile_name_hover -{ - opacity: 0.25; -} - - diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss deleted file mode 100644 index 4bb81a2e..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss +++ /dev/null @@ -1,530 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_EventTile { - max-width: 100%; - clear: both; - padding-top: 18px; - font-size: 14px; - position: relative; -} - -.mx_EventTile.mx_EventTile_info { - padding-top: 0px; -} - -.mx_EventTile_avatar { - position: absolute; - top: 14px; - left: 8px; - cursor: pointer; - z-index: 2; -} - -.mx_EventTile.mx_EventTile_info .mx_EventTile_avatar { - top: 8px; - left: 65px; -} - -.mx_EventTile_continuation { - padding-top: 0px ! important; -} - -.mx_EventTile .mx_SenderProfile { - color: $primary-fg-color; - font-size: 14px; - display: block; /* anti-zalgo, with overflow hidden */ - overflow-y: hidden; - cursor: pointer; - padding-left: 65px; /* left gutter */ - padding-bottom: 0px; - padding-top: 0px; - margin: 0px; - line-height: 22px; -} - -.mx_EventTile .mx_SenderProfile .mx_SenderProfile_name, -.mx_EventTile .mx_SenderProfile .mx_SenderProfile_aux { - opacity: 0.5; -} - -.mx_EventTile .mx_SenderProfile .mx_Flair { - opacity: 0.7; - margin-left: 5px; -} - -.mx_EventTile .mx_SenderProfile .mx_Flair img { - vertical-align: -2px; - margin-right: 2px; - border-radius: 8px; -} - -.mx_EventTile .mx_MessageTimestamp { - display: block; - visibility: hidden; - white-space: nowrap; - color: $event-timestamp-color; - font-size: 10px; - left: 0px; - width: 46px; /* 8 + 30 (avatar) + 8 */ - text-align: center; - position: absolute; -} - -.mx_EventTile_line { - position: relative; - /* ideally should be 100px, but 95px gives us a max thumbnail size of 800x600, which is nice */ - margin-right: 110px; - padding-left: 65px; /* left gutter */ - padding-top: 4px; - padding-bottom: 2px; - border-radius: 4px; - min-height: 24px; - line-height: 22px; -} - -.mx_EventTile_quote { - margin-right: 10px; -} - -.mx_EventTile_info .mx_EventTile_line { - padding-left: 83px; -} - -/* HACK to override line-height which is already marked important elsewhere */ -.mx_EventTile_bigEmoji.mx_EventTile_bigEmoji { - font-size: 48px ! important; - line-height: 48px ! important; -} - -/* this is used for the tile for the event which is selected via the URL. - * TODO: ultimately we probably want some transition on here. - */ -.mx_EventTile_selected > .mx_EventTile_line { - border-left: $accent-color 5px solid; - padding-left: 60px; - background-color: $event-selected-color; -} - -.mx_EventTile:hover .mx_EventTile_line:not(.mx_EventTile_quote), -.mx_EventTile.menu .mx_EventTile_line -{ - background-color: $event-selected-color; -} - -.mx_EventTile_searchHighlight { - background-color: $accent-color; - color: $accent-fg-color; - border-radius: 5px; - padding-left: 2px; - padding-right: 2px; - cursor: pointer; -} - -.mx_EventTile_searchHighlight a { - background-color: $accent-color; - color: $accent-fg-color; -} - -.mx_EventTile_encrypting { - color: $event-encrypting-color ! important; -} - -.mx_EventTile_sending { - color: $event-sending-color; -} - -.mx_EventTile_sending .mx_UserPill, -.mx_EventTile_sending .mx_RoomPill, -.mx_EventTile_sending .mx_emojione { - opacity: 0.5; -} - -.mx_EventTile_notSent { - color: $event-notsent-color; -} - -.mx_EventTile_redacted .mx_EventTile_line .mx_UnknownBody { - display: block; - width: 100%; - height: 22px; - width: 250px; - border-radius: 11px; - background: repeating-linear-gradient( - -45deg, - $event-redacted-fg-color, - $event-redacted-fg-color 3px, - transparent 3px, - transparent 6px - ); - box-shadow: 0px 0px 3px $event-redacted-border-color inset; -} - -.mx_EventTile_highlight, -.mx_EventTile_highlight .markdown-body - { - color: $warning-color; -} - -.mx_EventTile_contextual { - opacity: 0.4; -} - -.mx_EventTile_msgOption { - float: right; - text-align: right; - z-index: 1; - position: relative; - width: 90px; - - /* Hack to stop the height of this pushing the messages apart. - Replaces margin-top: -6px. This interacts better with a read - marker being in between. Content overflows. */ - height: 1px; - - margin-right: 10px; -} - -.mx_EventTile_msgOption a { - text-decoration: none; -} - -.mx_EventTile_last .mx_MessageTimestamp, -.mx_EventTile:hover .mx_MessageTimestamp, -.mx_EventTile.menu .mx_MessageTimestamp -{ - visibility: visible; -} - -.mx_MessagePanel_alwaysShowTimestamps .mx_MessageTimestamp { - visibility: visible; -} - -.mx_EventTile_selected > div > a > .mx_MessageTimestamp { - left: 3px; - width: auto; -} - -.mx_EventTile_editButton { - position: absolute; - display: inline-block; - visibility: hidden; - cursor: pointer; - top: 6px; - right: 6px; - width: 19px; - height: 19px; - background-image: url($edit-button-url); - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.mx_EventTile:hover .mx_EventTile_editButton, -.mx_EventTile.menu .mx_EventTile_editButton -{ - visibility: visible; -} - -.mx_EventTile.menu .mx_MessageTimestamp { - visibility: visible; -} - -.mx_EventTile_readAvatars { - position: relative; - display: inline-block; - width: 14px; - height: 14px; - top: 29px; -} - -.mx_EventTile_continuation .mx_EventTile_readAvatars, -.mx_EventTile_info .mx_EventTile_readAvatars, -.mx_EventTile_emote .mx_EventTile_readAvatars { - top: 7px; -} - -.mx_EventTile_readAvatars .mx_BaseAvatar { - position: absolute; - display: inline-block; -} - -.mx_EventTile_readAvatarRemainder { - color: $event-timestamp-color; - font-size: 11px; - position: absolute; -} - -/* all the overflow-y: hidden; are to trap Zalgos - - but they introduce an implicit overflow-x: auto. - so make that explicitly hidden too to avoid random - horizontal scrollbars occasionally appearing, like in - https://github.com/vector-im/vector-web/issues/1154 - */ -.mx_EventTile_content { - display: block; - overflow-y: hidden; - overflow-x: hidden; - margin-right: 34px; -} - -/* De-zalgoing */ -.mx_EventTile_body { - overflow-y: hidden; -} - -/* End to end encryption stuff */ - -.mx_EventTile_e2eIcon { - display: block; - position: absolute; - top: 9px; - left: 46px; - z-index: 2; - cursor: pointer; -} - -.mx_EventTile_keyRequestInfo { - font-size: 12px; -} - -.mx_EventTile_keyRequestInfo_text { - opacity: 0.5; -} - -.mx_EventTile_keyRequestInfo_text a { - color: $primary-fg-color; - text-decoration: underline; - cursor: pointer; -} - -.mx_EventTile_keyRequestInfo_tooltip_contents p { - text-align: auto; - margin-left: 3px; - margin-right: 3px; -} - -.mx_EventTile_keyRequestInfo_tooltip_contents p:first-child { - margin-top: 0px; -} - -.mx_EventTile_keyRequestInfo_tooltip_contents p:last-child { - margin-bottom: 0px; -} - -.mx_EventTile_12hr .mx_EventTile_e2eIcon { - padding-left: 5px; -} - -.mx_EventTile:hover.mx_EventTile_verified .mx_EventTile_line, -.mx_EventTile:hover.mx_EventTile_unverified .mx_EventTile_line { - padding-left: 60px; -} - -.mx_EventTile_selected.mx_EventTile_info .mx_EventTile_line, -.mx_EventTile:hover.mx_EventTile_verified.mx_EventTile_info .mx_EventTile_line, -.mx_EventTile:hover.mx_EventTile_unverified.mx_EventTile_info .mx_EventTile_line { - padding-left: 78px; -} - -.mx_EventTile:hover.mx_EventTile_verified .mx_EventTile_line { - border-left: $e2e-verified-color 5px solid; -} -.mx_EventTile:hover.mx_EventTile_unverified .mx_EventTile_line { - border-left: $e2e-unverified-color 5px solid; -} - -.mx_EventTile:hover.mx_EventTile_verified .mx_MessageTimestamp, -.mx_EventTile:hover.mx_EventTile_unverified .mx_MessageTimestamp { - left: 3px; - width: auto; -} - -/* -.mx_EventTile_verified .mx_EventTile_e2eIcon { - display: none; -} -*/ - -.mx_EventTile:hover.mx_EventTile_verified .mx_EventTile_e2eIcon, -.mx_EventTile:hover.mx_EventTile_unverified .mx_EventTile_e2eIcon { - display: block; - left: 41px; -} - -/* Various markdown overrides */ - -.mx_EventTile_content .markdown-body { - font-family: inherit ! important; - white-space: normal ! important; - line-height: inherit ! important; - color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks) - font-size: 14px; -} - -/* have to use overlay rather than auto otherwise Linux and Windows - Chrome gets very confused about vertical spacing: - https://github.com/vector-im/vector-web/issues/754 -*/ -.mx_EventTile_content .markdown-body pre { - overflow-x: overlay; - overflow-y: visible; -} - -.mx_EventTile_content .markdown-body code { - // deliberate constants as we're behind an invert filter - background-color: #f8f8f8; - color: #333; -} - -.mx_EventTile_copyButton { - position: absolute; - display: inline-block; - visibility: hidden; - cursor: pointer; - top: 6px; - right: 6px; - width: 19px; - height: 19px; - background-image: url($copy-button-url); -} - -.mx_EventTile_body pre { - position: relative; - border: 1px solid transparent; -} - -.mx_EventTile:hover .mx_EventTile_body pre -{ - border: 1px solid #e5e5e5; // deliberate constant as we're behind an invert filter -} - -.mx_EventTile_body pre:hover .mx_EventTile_copyButton -{ - visibility: visible; -} - -.mx_EventTile_content .markdown-body h1, -.mx_EventTile_content .markdown-body h2, -.mx_EventTile_content .markdown-body h3, -.mx_EventTile_content .markdown-body h4, -.mx_EventTile_content .markdown-body h5, -.mx_EventTile_content .markdown-body h6 -{ - font-family: inherit ! important; - color: inherit; -} - - -/* Make h1 and h2 the same size as h3. */ -.mx_EventTile_content .markdown-body h1, -.mx_EventTile_content .markdown-body h2 -{ - font-size: 1.5em; -} - -.mx_EventTile_content .markdown-body a { - color: $accent-color; -} - -.mx_EventTile_content .markdown-body .hljs { - display: inline ! important; -} - -/* end of overrides */ - -.mx_MatrixChat_useCompactLayout { - .mx_EventTile { - padding-top: 4px; - } - - .mx_EventTile.mx_EventTile_info { - // same as the padding for non-compact .mx_EventTile.mx_EventTile_info - padding-top: 0px; - font-size: 13px; - .mx_EventTile_line { - line-height: 20px; - } - .mx_EventTile_avatar { - top: 4px; - } - } - - .mx_EventTile .mx_SenderProfile { - font-size: 13px; - } - - .mx_EventTile.mx_EventTile_emote { - // add a bit more space for emotes so that avatars don't collide - padding-top: 8px; - .mx_EventTile_avatar { - top: 2px; - } - .mx_EventTile_line { - padding-top: 0px; - padding-bottom: 1px; - } - } - - .mx_EventTile.mx_EventTile_emote.mx_EventTile_continuation { - padding-top: 0; - .mx_EventTile_line { - padding-top: 0px; - padding-bottom: 0px; - } - } - - .mx_EventTile_line { - padding-top: 0px; - padding-bottom: 0px; - } - - .mx_EventTile_avatar { - top: 2px; - } - - .mx_EventTile_e2eIcon { - top: 7px; - } - - .mx_EventTile_editButton { - top: 3px; - } - - .mx_EventTile_readAvatars { - top: 27px; - } - - .mx_EventTile_continuation .mx_EventTile_readAvatars, - .mx_EventTile_emote .mx_EventTile_readAvatars { - top: 5px; - } - - .mx_EventTile_info .mx_EventTile_readAvatars { - top: 4px; - } - - .mx_RoomView_MessageList h2 { - margin-top: 6px; - } - - .mx_EventTile_content .markdown-body { - p, ul, ol, dl, blockquote, pre, table { - margin-bottom: 4px; // 1/4 of the non-compact margin-bottom - } - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_LinkPreviewWidget.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_LinkPreviewWidget.scss deleted file mode 100644 index 4495b142..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_LinkPreviewWidget.scss +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_LinkPreviewWidget { - margin-top: 15px; - margin-right: 15px; - margin-bottom: 15px; - display: flex; - border-left: 4px solid $preview-widget-bar-color; - color: $preview-widget-fg-color; -} - -.mx_LinkPreviewWidget_image { - flex: 0 0 100px; - margin-left: 15px; - text-align: center; - cursor: pointer; -} - -.mx_LinkPreviewWidget_caption { - margin-left: 15px; - flex: 1 1 auto; -} - -.mx_LinkPreviewWidget_title { - display: inline; - font-weight: bold; - white-space: normal; -} - -.mx_LinkPreviewWidget_siteName { - display: inline; -} - -.mx_LinkPreviewWidget_description { - margin-top: 8px; - white-space: normal; - word-wrap: break-word; -} - -.mx_LinkPreviewWidget_cancel { - visibility: hidden; - cursor: pointer; - flex: 0 0 40px; -} - -.mx_LinkPreviewWidget:hover .mx_LinkPreviewWidget_cancel { - visibility: visible; -} - -.mx_MatrixChat_useCompactLayout { - .mx_LinkPreviewWidget { - margin-top: 6px; - margin-bottom: 6px; - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberDeviceInfo.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberDeviceInfo.scss deleted file mode 100644 index 5888820e..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberDeviceInfo.scss +++ /dev/null @@ -1,74 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MemberDeviceInfo { - padding: 10px 0px; -} - -.mx_MemberDeviceInfo.mx_DeviceVerifyButtons { - padding: 6px 0; - display: flex; - flex-wrap: wrap; - justify-content: space-between; -} - -.mx_MemberDeviceInfo_textButton { - @mixin mx_DialogButton_small; - margin: 2px; - flex: 1; -} - -.mx_MemberDeviceInfo_textButton:hover { - @mixin mx_DialogButton_hover; -} - -.mx_MemberDeviceInfo_deviceId { - font-size: 13px; -} - -.mx_MemberDeviceInfo_deviceInfo { - margin-bottom: 10px; - padding-bottom: 10px; - border-bottom: 1px solid rgba(0,0,0,0.1); -} - -/* "Unblacklist" is too long for a regular button: make it wider and - reduce the padding. */ -.mx_EncryptedEventDialog .mx_MemberDeviceInfo_blacklist, -.mx_EncryptedEventDialog .mx_MemberDeviceInfo_unblacklist { - width: 8em; - padding-left: 1em; - padding-right: 1em; -} - -.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified, -.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified, -.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blacklisted { - float: right; - padding-left: 1em; -} - -.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified { - color: $e2e-verified-color; -} - -.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified { - color: $e2e-unverified-color; -} - -.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blacklisted { - color: $e2e-warning-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberInfo.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberInfo.scss deleted file mode 100644 index 5d47275e..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberInfo.scss +++ /dev/null @@ -1,112 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MemberInfo { - margin-top: 20px; - padding-right: 20px; - height: 100%; - overflow-y: auto; -} - -.mx_MemberInfo h2 { - margin-top: 6px; -} - -.mx_MemberInfo .mx_RoomTile_nameContainer { - width: 154px; -} - -.mx_MemberInfo .mx_RoomTile_badge { - display: none; -} - -.mx_MemberInfo .mx_RoomTile_name { - width: 160px; -} - -.mx_MemberInfo_cancel { - float: right; - margin-right: 10px; - cursor: pointer; -} - -.mx_MemberInfo_avatar { - clear: both; -} - -.mx_MemberInfo_avatar .mx_BaseAvatar { -} - -.mx_MemberInfo_avatar .mx_BaseAvatar.mx_BaseAvatar_image { - cursor: zoom-in; -} - -.mx_MemberInfo_profile { - margin-bottom: 16px; -} - -.mx_MemberInfo h3 { - text-transform: uppercase; - color: $h3-color; - font-weight: 600; - font-size: 13px; - margin-top: 16px; - margin-bottom: 14px; -} - -.mx_MemberInfo_profileField { - font-size: 13px; - position: relative; - background-color: $primary-bg-color; -} - -.mx_MemberInfo_buttons { - margin-bottom: 16px; -} - -.mx_MemberInfo_field { - cursor: pointer; - font-size: 13px; - color: $accent-color; - margin-left: 8px; - line-height: 23px; -} - -.mx_MemberInfo_createRoom { - cursor: pointer; -} - -.mx_MemberInfo_createRoom_label { - width: initial ! important; - cursor: pointer; -} - -.mx_MemberInfo label { - font-size: 13px; -} - -.mx_MemberInfo label .mx_MemberInfo_label_text { - display: inline-block; - max-width: 180px; - vertical-align: text-top; -} - -.mx_MemberInfo input[type="radio"] { - vertical-align: -2px; - margin-right: 5px; - margin-left: 8px; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberList.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberList.scss deleted file mode 100644 index 83fc70ae..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberList.scss +++ /dev/null @@ -1,116 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MemberList, -.mx_GroupMemberList, -.mx_GroupRoomList { - height: 100%; - - margin-top: 12px; - margin-right: 20px; - - flex: 1; - - display: flex; - - flex-direction: column; -} - -.mx_MemberList .mx_Spinner { - flex: 0 0 auto; -} - -.mx_MemberList_chevron { - position: absolute; - right: 35px; - margin-top: -15px; -} - -.mx_MemberList_border { - overflow-y: auto; - - order: 1; - flex: 1 1 0px; -} - -.mx_MemberList_query, -.mx_GroupMemberList_query, -.mx_GroupRoomList_query { - font-family: $font-family; - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; - margin-left: 3px; - font-size: 14px; - margin-bottom: 8px; - width: 189px; -} - -.mx_MemberList_query::-moz-placeholder, -.mx_GroupMemberList_query::-moz-placeholder, -.mx_GroupRoomList_query::-moz-placeholder { - color: $primary-fg-color; - opacity: 0.5; - font-size: 14px; -} - -.mx_MemberList_query::-webkit-input-placeholder, -.mx_GroupMemberList_query::-webkit-input-placeholder, -.mx_GroupRoomList_query::-webkit-input-placeholder { - color: $primary-fg-color; - opacity: 0.5; - font-size: 14px; -} - -.mx_MemberList_joined { - order: 2; - flex: 1 0 0; - - overflow-y: auto; -} - -/* -.mx_MemberList_invited { - order: 3; - flex: 0 0 100px; - overflow-y: auto; -} -*/ - -.mx_GroupMemberList_invited h2, -.mx_MemberList_invited h2 { - text-transform: uppercase; - color: $h3-color; - font-weight: 600; - font-size: 13px; - padding-left: 3px; - padding-right: 12px; - margin-top: 8px; - margin-bottom: 4px; -} - -/* we have to have display: table in order for the horizontal wrapping to work */ -.mx_MemberList_wrapper { - display: table; - table-layout: fixed; - width: 100%; -} - -.mx_MemberList_outerWrapper { - height: 0px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss deleted file mode 100644 index 2e8f07b7..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss +++ /dev/null @@ -1,246 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MessageComposer_wrapper { - max-width: 960px; - vertical-align: middle; - margin: auto; - border-top: 1px solid $primary-hairline-color; - position: relative; -} - -.mx_MessageComposer_autocomplete_wrapper { - position: relative; - height: 0; -} - -.mx_MessageComposer_row { - display: flex; - flex-direction: row; - align-items: center; - width: 100%; -} - -.mx_MessageComposer_row div:last-child{ - padding-right: 0; -} - -.mx_MessageComposer .mx_MessageComposer_avatar { - padding-left: 10px; - padding-right: 28px; -} - -.mx_MessageComposer .mx_MessageComposer_avatar .mx_BaseAvatar { - display: block; -} - -.mx_MessageComposer_composecontrols { - width: 100%; -} - -.mx_MessageComposer_e2eIcon { - position: absolute; - left: 44px; -} - -.mx_MessageComposer_noperm_error { - width: 100%; - height: 60px; - font-style: italic; - color: $greyed-fg-color; - display: flex; - align-items: center; - justify-content: center; -} - -.mx_MessageComposer_input_wrapper { - flex: 1; - display: flex; - flex-direction: column; -} - -.mx_MessageComposer_input { - flex: 1; - vertical-align: middle; - display: flex; - flex-direction: column; - min-height: 60px; - justify-content: center; - align-items: flex-start; - font-size: 14px; - margin-right: 6px; -} - -@keyframes visualbell -{ - from { background-color: #faa } - to { background-color: $primary-bg-color } -} - -.mx_MessageComposer_input_error { - animation: 0.2s visualbell; -} - -.mx_MessageComposer_input_empty .public-DraftEditorPlaceholder-root { - display: none; -} - -.mx_MessageComposer_input .DraftEditor-root { - width: 100%; - flex: 1; - word-break: break-word; - max-height: 120px; - min-height: 21px; - overflow: auto; -} - -.mx_MessageComposer_input .DraftEditor-root .DraftEditor-editorContainer { - /* Ensure mx_UserPill and mx_RoomPill (see _RichText) are not obscured from the top */ - padding-top: 2px; -} - -.mx_MessageComposer .public-DraftStyleDefault-block { - overflow-x: hidden; -} - -.mx_MessageComposer_input blockquote { - color: $blockquote-fg-color; - margin: 0 0 16px; - padding: 0 15px; - border-left: 4px solid $blockquote-bar-color; -} - -.mx_MessageComposer_input pre.public-DraftStyleDefault-pre pre { - background-color: $rte-code-bg-color; - border-radius: 3px; - padding: 10px; -} - -.mx_MessageComposer_input textarea { - display: block; - width: 100%; - padding: 0px; - margin-top: 6px; - margin-bottom: 6px; - border: 0px; - resize: none; - outline: none; - box-shadow: none; - color: $primary-fg-color; - background-color: $primary-bg-color; - font-size: 14px; - max-height: 120px; - overflow: auto; - /* needed for FF */ - font-family: $font-family; -} - -/* hack for FF as vertical alignment of custom placeholder text is broken */ -.mx_MessageComposer_input textarea::-moz-placeholder { - line-height: 100%; - color: $accent-color; - opacity: 1.0; -} -.mx_MessageComposer_input textarea::-webkit-input-placeholder { - color: $accent-color; -} - -.mx_MessageComposer_upload, -.mx_MessageComposer_hangup, -.mx_MessageComposer_voicecall, -.mx_MessageComposer_videocall, -.mx_MessageComposer_apps, -.mx_MessageComposer_stickers { - /*display: table-cell;*/ - /*vertical-align: middle;*/ - /*padding-left: 10px;*/ - padding-right: 5px; - cursor: pointer; - padding-top: 4px; -} - -.mx_MessageComposer_upload object, -.mx_MessageComposer_hangup object, -.mx_MessageComposer_voicecall object, -.mx_MessageComposer_videocall object, -.mx_MessageComposer_apps object, -.mx_MessageComposer_stickers object { - pointer-events: none; -} - -.mx_MessageComposer_formatting { - cursor: pointer; - margin: 0 11px; - width: 24px; - height: 18px; -} - -.mx_MessageComposer_formatbar_wrapper { - width: 100%; - background-color: $menu-bg-color; - box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.08); -} - -.mx_MessageComposer_formatbar { - margin: auto; - max-width: 960px; - display: flex; - - height: 30px; - - box-sizing: border-box; - padding-left: 62px; - - flex-direction: row; - align-items: center; - font-size: 10px; - color: $greyed-fg-color; -} - -.mx_MessageComposer_formatbar * { - margin-right: 4px; -} - -.mx_MessageComposer_format_button, -.mx_MessageComposer_formatbar_cancel, -.mx_MessageComposer_formatbar_markdown { - cursor: pointer; -} - -.mx_MessageComposer_formatbar_cancel { - margin-right: 22px; -} - -.mx_MessageComposer_formatbar_markdown { - margin-right: 64px; -} - -.mx_MessageComposer_input_markdownIndicator { - cursor: pointer; - height: 10px; - padding: 4px 4px 4px 0; - opacity: 0.8; -} - -.mx_MatrixChat_useCompactLayout { - .mx_MessageComposer_input { - min-height: 50px; - } - - .mx_MessageComposer_noperm_error { - height: 50px; - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_PinnedEventTile.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_PinnedEventTile.scss deleted file mode 100644 index ca790ef8..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_PinnedEventTile.scss +++ /dev/null @@ -1,67 +0,0 @@ -/* -Copyright 2017 Travis Ralston - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_PinnedEventTile { - min-height: 40px; - margin-bottom: 5px; - width: 100%; - border-radius: 5px; // for the hover -} - -.mx_PinnedEventTile:hover { - background-color: $event-selected-color; -} - -.mx_PinnedEventTile .mx_PinnedEventTile_sender { - color: #868686; - font-size: 0.8em; - vertical-align: top; - display: block; - padding-bottom: 3px; -} - -.mx_PinnedEventTile .mx_EventTile_content { - margin-left: 50px; - position: relative; - top: 0; - left: 0; -} - -.mx_PinnedEventTile .mx_BaseAvatar { - float: left; - margin-right: 10px; -} - -.mx_PinnedEventTile:hover .mx_PinnedEventTile_actions { - display: block; -} - -.mx_PinnedEventTile_actions { - float: right; - margin-right: 10px; - display: none; -} - -.mx_PinnedEventTile_unpinButton { - display: inline-block; - cursor: pointer; - margin-left: 10px; -} - -.mx_PinnedEventTile_gotoButton { - display: inline-block; - font-size: 0.8em; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_PinnedEventsPanel.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_PinnedEventsPanel.scss deleted file mode 100644 index 663d5bdf..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_PinnedEventsPanel.scss +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2017 Travis Ralston - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_PinnedEventsPanel { - border-top: 1px solid $primary-hairline-color; -} - -.mx_PinnedEventsPanel_body { - max-height: 300px; - overflow-y: auto; - padding-bottom: 15px; -} - -.mx_PinnedEventsPanel_header { - margin: 0; - padding-top: 8px; - padding-bottom: 15px; -} - -.mx_PinnedEventsPanel_cancel { - margin: 12px; - float: right; - display: inline-block; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_PresenceLabel.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_PresenceLabel.scss deleted file mode 100644 index 682c849c..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_PresenceLabel.scss +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_PresenceLabel { - font-size: 11px; - opacity: 0.5; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_QuotePreview.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_QuotePreview.scss deleted file mode 100644 index 86fd79d4..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_QuotePreview.scss +++ /dev/null @@ -1,36 +0,0 @@ -.mx_QuotePreview { - position: absolute; - bottom: 0; - z-index: 1000; - width: 100%; - border: 1px solid $primary-hairline-color; - background: $primary-bg-color; - border-bottom: none; - border-radius: 4px 4px 0 0; - max-height: 50vh; - overflow: auto -} - -.mx_QuotePreview_section { - border-bottom: 1px solid $primary-hairline-color; -} - -.mx_QuotePreview_header { - margin: 12px; - color: $primary-fg-color; - font-weight: 400; - opacity: 0.4; -} - -.mx_QuotePreview_title { - float: left; -} - -.mx_QuotePreview_cancel { - float: right; - cursor: pointer; -} - -.mx_QuotePreview_clear { - clear: both; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss deleted file mode 100644 index 9c1349ad..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss +++ /dev/null @@ -1,245 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -/* add 20px to the height of the header when editing */ -.mx_RoomHeader_editing { - flex: 0 0 93px ! important; -} - -.mx_RoomHeader_wrapper { - max-width: 960px; - margin: auto; - height: 70px; - align-items: center; - display: flex; -} - -.mx_RoomHeader_leftRow { - margin-left: -2px; - order: 1; - flex: 1; - overflow: hidden; -} - -.mx_RoomHeader_spinner { - height: 36px; - order: 2; - padding-left: 12px; - padding-right: 12px; -} - -.mx_RoomHeader_textButton { - @mixin mx_DialogButton; - margin-right: 8px; - margin-top: -5px; - order: 2; -} - -.mx_RoomHeader_textButton:hover { - @mixin mx_DialogButton_hover; -} - -.mx_RoomHeader_textButton_danger { - background-color: $warning-color; -} - -.mx_RoomHeader_cancelButton { - order: 2; - cursor: pointer; - padding-left: 12px; - padding-right: 12px; -} - -.mx_RoomHeader_rightRow { - margin-top: 4px; - background-color: $primary-bg-color; - display: flex; - align-items: center; - order: 3; -} - -.mx_RoomHeader_info { - display: table-cell; - width: 100%; - vertical-align: middle; -} - -.mx_RoomHeader_simpleHeader { - line-height: 70px; - color: $primary-fg-color; - font-size: 22px; - font-weight: bold; - overflow: hidden; - margin-left: 63px; - text-overflow: ellipsis; - width: 100%; -} - -.mx_RoomHeader_simpleHeader .mx_RoomHeader_cancelButton { - float: right; -} - -.mx_RoomHeader_simpleHeader .mx_RoomHeader_icon { - margin-left: 14px; - margin-right: 24px; - vertical-align: -4px; -} - -.mx_RoomHeader_name { - vertical-align: middle; - width: 100%; - height: 31px; - overflow: hidden; - color: $primary-fg-color; - font-weight: bold; - font-size: 22px; - padding-left: 19px; - padding-right: 16px; - /* why isn't text-overflow working? */ - text-overflow: ellipsis; - border-bottom: 1px solid transparent; -} - -.mx_RoomHeader_nametext { - display: inline-block; -} - -.mx_RoomHeader_settingsHint { - color: $settings-grey-fg-color ! important; -} - -.mx_RoomHeader_searchStatus { - display: inline-block; - font-weight: normal; - opacity: 0.6; -} - -.mx_RoomHeader_settingsButton object { - pointer-events: none; -} - -.mx_RoomHeader_name, -.mx_RoomHeader_avatar, -.mx_RoomHeader_avatarPicker, -.mx_RoomHeader_avatarPicker_edit, -.mx_RoomHeader_avatarPicker_remove { - cursor: pointer; -} - -.mx_RoomHeader_avatarPicker_remove { - position: absolute; - top: -11px; - right: -9px; -} - -.mx_RoomHeader_name:hover div:not(.mx_RoomHeader_editable) { - color: $accent-color; -} - -.mx_RoomHeader_placeholder { - color: $settings-grey-fg-color ! important; -} - -.mx_RoomHeader_editable { - border-bottom: 1px solid $strong-input-border-color ! important; - min-width: 150px; - cursor: text; -} - -.mx_RoomHeader_editable:focus { - border-bottom: 1px solid $accent-color ! important; - outline: none; - box-shadow: none; -} - -.mx_RoomHeader_topic { - vertical-align: bottom; - float: left; - max-height: 38px; - color: $settings-grey-fg-color; - font-weight: 300; - font-size: 13px; - margin-left: 19px; - margin-right: 16px; - overflow: hidden; - text-overflow: ellipsis; - border-bottom: 1px solid transparent; - column-width: 960px; -} - -.mx_RoomHeader_avatar { - display: table-cell; - width: 48px; - height: 50px; - vertical-align: middle; -} - -.mx_RoomHeader_avatar .mx_BaseAvatar_image { - object-fit: cover; -} - -.mx_RoomHeader_avatarPicker { - margin-top: 23px; - position: relative; -} - -.mx_RoomHeader_avatarPicker_edit { - margin-left: 16px; - margin-top: 4px; -} - -.mx_RoomHeader_avatarPicker_edit > label { - cursor: pointer; -} - -.mx_RoomHeader_avatarPicker_edit > input { - display: none; -} - -.mx_RoomHeader_button { - margin-left: 12px; - cursor: pointer; -} - -.mx_RoomHeader_button object { - pointer-events: none; -} - -.mx_RoomHeader_voipButton { - display: table-cell; -} - -.mx_RoomHeader_voipButtons { - margin-top: 18px; -} - -.mx_RoomHeader_pinnedButton { - position: relative; -} - -.mx_RoomHeader_pinsIndicator { - position: absolute; - right: 0; - bottom: 4px; - width: 8px; - height: 8px; - border-radius: 8px; - background-color: $pinned-color; -} - -.mx_RoomHeader_pinsIndicatorUnread { - background-color: $pinned-unread-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomList.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomList.scss deleted file mode 100644 index 581016d5..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomList.scss +++ /dev/null @@ -1,67 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2107 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomList { - padding-bottom: 12px; - min-height: 400px; -} - -.mx_RoomList_expandButton { - margin-left: 8px; - cursor: pointer; - padding-left: 12px; - padding-right: 12px; -} - -/* Evil hacky override until Chrome fixes drop and drag table cells - and we can correctly fix horizontal wrapping in the sidebar again */ -.mx_RoomList_scrollbar .gm-scroll-view { - overflow-x: hidden ! important; - overflow-y: scroll ! important; -} - -/* Make sure the scrollbar is above the sticky headers from RoomList */ -.mx_RoomList_scrollbar .gm-scrollbar.-vertical { - z-index: 6; -} - -.mx_RoomList_emptySubListTip_container { - background-color: $secondary-accent-color; - padding-left: 18px; - padding-right: 18px; - padding-top: 8px; - padding-bottom: 7px; -} - -.mx_RoomList_emptySubListTip { - font-size: 13px; - padding: 5px; - border: 1px dashed $accent-color; - color: $primary-fg-color; - background-color: $droptarget-bg-color; - border-radius: 4px; - line-height: 16px; -} - -.mx_RoomList_emptySubListTip .mx_RoleButton { - vertical-align: -2px; -} - -.mx_RoomList_headerButtons { - position: absolute; - right: 60px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss deleted file mode 100644 index 331eb582..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss +++ /dev/null @@ -1,58 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomPreviewBar { - text-align: center; - height: 176px; - background-color: $event-selected-color; - align-items: center; - flex-direction: column; - justify-content: center; - display: flex; - background-color: $preview-bar-bg-color; - -webkit-align-items: center; -} - -.mx_RoomPreviewBar_wrapper { -} - -.mx_RoomPreviewBar_invite_text { - color: $primary-fg-color; -} - -.mx_RoomPreviewBar_join_text { - color: $warning-color; -} - -.mx_RoomPreviewBar_preview_text { - margin-top: 25px; - color: $settings-grey-fg-color; -} - -.mx_RoomPreviewBar_join_text a { - text-decoration: underline; - cursor: pointer; -} - -.mx_RoomPreviewBar_warning { - display: flex; - align-items: center; - padding: 8px; -} - -.mx_RoomPreviewBar_warningIcon { - padding: 12px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomSettings.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomSettings.scss deleted file mode 100644 index 4013af4c..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomSettings.scss +++ /dev/null @@ -1,247 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomSettings { - margin-left: 65px; - margin-bottom: 20px; -} - -.mx_RoomSettings_leaveButton, -.mx_RoomSettings_unbanButton { - @mixin mx_DialogButton; - position: relative; - margin-right: 8px; -} - -.mx_RoomSettings_leaveButton:hover, -.mx_RoomSettings_unbanButton:hover { - @mixin mx_DialogButton_hover; -} - -.mx_RoomSettings_integrationsButton_error { - position: relative; - cursor: not-allowed; -} -.mx_RoomSettings_integrationsButton_error img { - position: absolute; - right: -5px; - top: -5px; -} -.mx_RoomSettings_leaveButton, -.mx_RoomSettings_integrationsButton_error { - float: right; -} -.mx_RoomSettings_integrationsButton_error .mx_RoomSettings_integrationsButton_errorPopup { - display: none; -} -.mx_RoomSettings_integrationsButton_error:hover .mx_RoomSettings_integrationsButton_errorPopup { - display: inline; -} -.mx_RoomSettings_integrationsButton_errorPopup { - position: absolute; - top: 110%; - left: -125%; - width: 348%; - padding: 2%; - font-size: 10pt; - line-height: 1.5em; - border-radius: 5px; - background-color: $accent-color; - color: $accent-fg-color; - text-align: center; -} -.mx_RoomSettings_unbanButton { - display: inline; -} - -.mx_RoomSettings_e2eIcon { - padding-left: 4px; - padding-right: 7px; -} - -.mx_RoomSettings_leaveButton { - margin-right: 32px; -} - -.mx_RoomSettings_powerLevels { - display: table; -} - -.mx_RoomSettings_powerLevel { - display: table-row; -} - -.mx_RoomSettings_powerLevelKey, -.mx_RoomSettings_powerLevel .mx_PowerSelector { - display: table-cell; - padding-bottom: 5px; -} - -.mx_RoomSettings_powerLevelKey { - text-align: right; - padding-right: 0.3em; -} - -.mx_RoomSettings h3 { - text-transform: uppercase; - color: $h3-color; - font-weight: 600; - font-size: 13px; - margin-top: 36px; - margin-bottom: 10px; -} - -.mx_RoomSettings .mx_RoomSettings_toggles label { - margin-bottom: 8px; - display: block; -} - -.mx_RoomSettings .mx_RoomSettings_toggles input[type="checkbox"], -.mx_RoomSettings .mx_RoomSettings_toggles input[type="radio"] { - margin-right: 7px; -} - -.mx_RoomSettings .mx_RoomSettings_tags input[type="checkbox"] { - margin-left: 1em; - margin-right: 7px; -} - -.mx_RoomSettings .mx_RoomSettings_tags { - margin-bottom: 8px; -} - -.mx_RoomSettings .mx_RoomSettings_roomColor { - display: inline-block; - position: relative; - width: 37px; - height: 37px; - border: 1px solid #979797; - margin-right: 13px; - cursor: pointer; -} - -.mx_RoomSettings .mx_RoomSettings_roomColor_selected { - position: absolute; - left: 10px; - top: 4px; - cursor: default ! important; -} - -.mx_RoomSettings .mx_RoomSettings_roomColorPrimary { - height: 10px; - position: absolute; - bottom: 0px; - width: 100%; -} - -.mx_RoomSettings .mx_RoomSettings_aliasLabel { - margin-bottom: 8px; -} - -.mx_RoomSettings .mx_RoomSettings_aliasesTable { - margin-top: 12px; - margin-bottom: 0px; - margin-left: 56px; - display: table; -} - -.mx_RoomSettings .mx_RoomSettings_aliasesTableRow { - display: table-row; - margin-bottom: 16px; -} - -.mx_RoomSettings .mx_RoomSettings_alias { - max-width: 400px; - margin-bottom: 16px; - /* - commented out so margin applies - display: table-cell; */ -} - -.mx_RoomSettings .mx_RoomSettings_addAlias, -.mx_RoomSettings .mx_RoomSettings_deleteAlias { - display: table-cell; - padding-left: 0.5em; - position: relative; - cursor: pointer; -} - -.mx_RoomSettings .mx_RoomSettings_addAlias img, -.mx_RoomSettings .mx_RoomSettings_deleteAlias img { - visibility: hidden; -} - -.mx_RoomSettings .mx_RoomSettings_aliasesTableRow:hover .mx_RoomSettings_addAlias img, -.mx_RoomSettings .mx_RoomSettings_aliasesTableRow:hover .mx_RoomSettings_deleteAlias img { - visibility: visible; -} - -.mx_RoomSettings_warning { - color: $warning-color; - font-weight: bold; - margin-top: 8px; - margin-bottom: 8px; -} - -.mx_RoomSettings_editable { - border: 0px; - border-bottom: 1px solid $strong-input-border-color; - padding: 0px; - min-width: 240px; -} - -.mx_RoomSettings_editable:focus { - border-bottom: 1px solid $accent-color; - outline: none; - box-shadow: none; -} - -.mx_RoomSettings_deleteAlias, -.mx_RoomSettings_addAlias { - display: table-cell; - visibility: visible; -} - -.mx_RoomSettings_deleteAlias:hover, -.mx_RoomSettings_addAlias:hover { - visibility: visible; -} - -.mx_RoomSettings_aliasPlaceholder { - color: $settings-grey-fg-color; -} - -.mx_RoomSettings_buttons { - text-align: right; - margin-bottom: 16px; -} - -.mx_RoomSettings_button { - display: inline; - border: 0px; - height: 36px; - border-radius: 36px; - font-weight: 400; - font-size: 15px; - color: $accent-fg-color; - background-color: $accent-color; - width: auto; - margin: auto; - padding: 6px; - padding-left: 1em; - padding-right: 1em; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomTile.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomTile.scss deleted file mode 100644 index ccd3afe2..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomTile.scss +++ /dev/null @@ -1,190 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomTile { - position: relative; - cursor: pointer; - font-size: 13px; - display: block; - height: 34px; - - background-color: $secondary-accent-color; -} - -.mx_RoomTile_tooltip { - display: inline-block; - position: relative; - top: -54px; - left: -12px; -} - - -.mx_RoomTile_nameContainer { - display: inline-block; - width: 180px; - height: 24px; -} - -.mx_RoomTile_avatar_container { - position: relative; -} - -.mx_RoomTile_avatar { - display: inline-block; - padding-top: 5px; - padding-bottom: 5px; - padding-left: 16px; - padding-right: 6px; - width: 24px; - height: 24px; - vertical-align: middle; -} - -.mx_RoomTile_dm { - display: block; - position: absolute; - bottom: 0; - right: -5px; - z-index: 2; -} - -.mx_RoomTile_name { - display: inline-block; - position: relative; - width: 165px; - vertical-align: middle; - padding-left: 6px; - padding-right: 6px; - padding-top: 2px; - padding-bottom: 3px; - color: $roomtile-name-color; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.mx_RoomTile_invite { -/* color: rgba(69, 69, 69, 0.5); */ -} - -.collapsed .mx_RoomTile_nameContainer { - width: 60px; /* colapsed panel width */ -} - -.collapsed .mx_RoomTile_name { - display: none; -} - -.collapsed .mx_RoomTile_badge { - top: 0px; - min-width: 12px; - border-radius: 16px; - padding: 0px 4px 0px 4px; - z-index: 3; -} - -/* Hide the bottom of speech bubble */ -.collapsed .mx_RoomTile_highlight .mx_RoomTile_badge:after { - display: none; -} - -/* This is the bottom of the speech bubble */ -.mx_RoomTile_highlight .mx_RoomTile_badge:after { - content: ""; - position: absolute; - display: block; - width: 0; - height: 0; - margin-left: 5px; - border-top: 5px solid $warning-color; - border-right: 7px solid transparent; -} - -.mx_RoomTile_badge { - display: inline-block; - min-width: 15px; - height: 15px; - position: absolute; - right: 8px; /*gutter */ - top: 9px; - border-radius: 8px; - color: $accent-fg-color; - font-weight: 600; - font-size: 10px; - text-align: center; - padding-top: 1px; - padding-left: 4px; - padding-right: 4px; -} - -.mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton, -.mx_RoomTile.mx_RoomTile_menuDisplayed .mx_RoomTile_badge { - letter-spacing: 0.1em; - opacity: 1; -} - -.mx_RoomTile.mx_RoomTile_noBadges .mx_RoomTile_badge.mx_RoomTile_badgeButton, -.mx_RoomTile.mx_RoomTile_menuDisplayed.mx_RoomTile_noBadges .mx_RoomTile_badge { - background-color: $neutral-badge-color; -} - -.mx_RoomTile_unreadNotify .mx_RoomTile_badge { - background-color: $accent-color; -} - -.mx_RoomTile_highlight .mx_RoomTile_badge { - background-color: $warning-color; -} - -.mx_RoomTile_unread, .mx_RoomTile_highlight { - font-weight: 800; -} - -.mx_RoomTile_selected { - background-color: $roomtile-selected-bg-color; -} - -.mx_DNDRoomTile { - transform: none; - transition: transform 0.2s; -} - -.mx_DNDRoomTile_dragging { - transform: scale(1.05, 1.05); -} - -.mx_RoomTile:focus { - filter: none ! important; - background-color: $roomtile-focused-bg-color; -} - -.mx_RoomTile .mx_RoomTile_name.mx_RoomTile_badgeShown { - width: 140px; -} - -.mx_RoomTile_arrow { - position: absolute; - right: 0px; -} - -.mx_RoomTile.mx_RoomTile_transparent { - background-color: transparent; -} - -.mx_RoomTile.mx_RoomTile_transparent:focus { - background-color: $roomtile-transparent-focused-color; -} - diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_SearchableEntityList.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_SearchableEntityList.scss deleted file mode 100644 index 37a66312..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_SearchableEntityList.scss +++ /dev/null @@ -1,77 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SearchableEntityList { - display: flex; - - flex-direction: column; -} - -.mx_SearchableEntityList_query { - font-family: $font-family; - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; - margin-left: 3px; - font-size: 15px; - margin-bottom: 8px; - width: 189px; -} - -.mx_SearchableEntityList_query::-moz-placeholder { - color: $primary-fg-color; - opacity: 0.5; - font-size: 12px; -} - -.mx_SearchableEntityList_query::-webkit-input-placeholder { - color: $primary-fg-color; - opacity: 0.5; - font-size: 12px; -} - -.mx_SearchableEntityList_listWrapper { - flex: 1; - - overflow-y: auto; -} - -.mx_SearchableEntityList_list { - display: table; - table-layout: fixed; - width: 100%; -} - -.mx_SearchableEntityList_list .mx_EntityTile_chevron { - display: none; -} - -.mx_SearchableEntityList_hrWrapper { - width: 100%; - flex: 0 0 auto; -} - -.mx_SearchableEntityList hr { - height: 1px; - border: 0px; - color: $primary-fg-color; - background-color: $primary-fg-color; - margin-right: 15px; - margin-top: 11px; - margin-bottom: 11px; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_Stickers.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_Stickers.scss deleted file mode 100644 index 669ca135..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_Stickers.scss +++ /dev/null @@ -1,35 +0,0 @@ -.mx_Stickers_content { - overflow: hidden; -} - -.mx_Stickers_content_container { - overflow: hidden; - height: 300px; -} - -.mx_Stickers_content .mx_AppTileFullWidth { - border: none; -} - -.mx_Stickers_contentPlaceholder { - display: flex; - flex-grow: 1; - flex-direction: column; - align-items: center; - justify-content: center; - text-align: center; -} - -.mx_Stickers_contentPlaceholder p { - max-width: 200px; -} - -.mx_Stickers_addLink { - display: inline; - cursor: pointer; - text-decoration: underline; -} - -.mx_Stickers_hideStickers { - z-index: 2001; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_TopUnreadMessagesBar.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_TopUnreadMessagesBar.scss deleted file mode 100644 index 1ee56d95..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_TopUnreadMessagesBar.scss +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_TopUnreadMessagesBar { - margin: auto; /* centre horizontally */ - max-width: 960px; - padding-top: 10px; - padding-bottom: 10px; - border-bottom: 1px solid $primary-hairline-color; -} - -.mx_TopUnreadMessagesBar_scrollUp { - display: inline; - cursor: pointer; - text-decoration: underline; -} - -.mx_TopUnreadMessagesBar_scrollUp img { - padding-left: 10px; - padding-right: 31px; - vertical-align: middle; -} - -.mx_TopUnreadMessagesBar_scrollUp span { - opacity: 0.5; -} - -.mx_TopUnreadMessagesBar_close { - float: right; - padding-right: 14px; - padding-top: 3px; - cursor: pointer; -} - -.mx_MatrixChat_useCompactLayout { - .mx_TopUnreadMessagesBar { - padding-top: 4px; - padding-bottom: 4px; - } -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/settings/_DevicesPanel.scss b/src/skins/vector/css/matrix-react-sdk/views/settings/_DevicesPanel.scss deleted file mode 100644 index e4856531..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/settings/_DevicesPanel.scss +++ /dev/null @@ -1,51 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_DevicesPanel { - display: table; - table-layout: fixed; - width: 880px; - border-spacing: 2px; -} - -.mx_DevicesPanel_header { - display: table-header-group; - font-weight: bold; -} - -.mx_DevicesPanel_header > div { - display: table-cell; -} - -.mx_DevicesPanel_header .mx_DevicesPanel_deviceLastSeen { - width: 30%; -} - -.mx_DevicesPanel_header .mx_DevicesPanel_deviceButtons { - width: 20%; -} - -.mx_DevicesPanel_device { - display: table-row; -} - -.mx_DevicesPanel_device > div { - display: table-cell; -} - -.mx_DevicesPanel_myDevice { - font-weight: bold; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/settings/_IntegrationsManager.scss b/src/skins/vector/css/matrix-react-sdk/views/settings/_IntegrationsManager.scss deleted file mode 100644 index 93ee0e20..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/settings/_IntegrationsManager.scss +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_IntegrationsManager .mx_Dialog { - width: 60%; - height: 70%; - overflow: hidden; - padding: 0px; - max-width: initial; - max-height: initial; -} - -.mx_IntegrationsManager iframe { - background-color: #fff; - border: 0px; - width: 100%; - height: 100%; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/voip/_CallView.scss b/src/skins/vector/css/matrix-react-sdk/views/voip/_CallView.scss deleted file mode 100644 index deb89a83..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/voip/_CallView.scss +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_CallView_voice { - background-color: $accent-color; - color: $accent-fg-color; - cursor: pointer; - text-align: center; - padding: 6px; - font-weight: bold; - font-size: 13px; -} \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/voip/_IncomingCallbox.scss b/src/skins/vector/css/matrix-react-sdk/views/voip/_IncomingCallbox.scss deleted file mode 100644 index 64eac25d..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/voip/_IncomingCallbox.scss +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_IncomingCallBox { - text-align: center; - border: 1px solid #a4a4a4; - border-radius: 8px; - background-color: $primary-bg-color; - position: fixed; - z-index: 1000; - padding: 6px; - margin-top: -3px; - margin-left: -20px; - width: 200px; -} - -.mx_IncomingCallBox_chevron { - padding: 12px; - position: absolute; - left: -21px; - top: 0px; -} - -.mx_IncomingCallBox_title { - padding: 6px; - font-weight: bold; -} - -.mx_IncomingCallBox_buttons { - display: flex; -} - -.mx_IncomingCallBox_buttons_cell { - vertical-align: middle; - padding: 6px; - flex: 1; -} - -.mx_IncomingCallBox_buttons_decline, -.mx_IncomingCallBox_buttons_accept { - vertical-align: middle; - width: 80px; - height: 36px; - line-height: 36px; - border-radius: 36px; - color: $accent-fg-color; - margin: auto; -} - -.mx_IncomingCallBox_buttons_decline { - background-color: $voip-decline-color; -} - -.mx_IncomingCallBox_buttons_accept { - background-color: $voip-accept-color; -} diff --git a/src/skins/vector/css/matrix-react-sdk/views/voip/_VideoView.scss b/src/skins/vector/css/matrix-react-sdk/views/voip/_VideoView.scss deleted file mode 100644 index feb60f47..00000000 --- a/src/skins/vector/css/matrix-react-sdk/views/voip/_VideoView.scss +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_VideoView { - width: 100%; - position: relative; - z-index: 30; -} - -.mx_VideoView video { - width: 100%; -} - -.mx_VideoView_remoteVideoFeed { - width: 100%; - background-color: #000; - z-index: 50; -} - -.mx_VideoView_localVideoFeed { - width: 25%; - height: 25%; - position: absolute; - left: 10px; - bottom: 10px; - z-index: 100; -} - -.mx_VideoView_localVideoFeed video { - width: auto; - height: 100%; -} - -.mx_VideoView_localVideoFeed.mx_VideoView_localVideoFeed_flipped video { - transform: scale(-1, 1); -} diff --git a/src/skins/vector/css/rethemendex.sh b/src/skins/vector/css/rethemendex.sh deleted file mode 100755 index a7d9a657..00000000 --- a/src/skins/vector/css/rethemendex.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -cd `dirname $0` - -{ - echo "// autogenerated by rethemendex.sh" - - find . \! \( -path ./themes -prune \) -iname _\*.scss | - fgrep -v _components.scss | LC_ALL=C sort | - while read i; do - echo "@import \"$i\";" - done -} > _components.scss diff --git a/src/skins/vector/css/themes/_base.scss b/src/skins/vector/css/themes/_base.scss deleted file mode 100644 index 51d2f70f..00000000 --- a/src/skins/vector/css/themes/_base.scss +++ /dev/null @@ -1,182 +0,0 @@ -/* Open Sans lacks combining diacritics, so these will fall through - to the next font. Helevetica's diacritics however do not combine - nicely with Open Sans (on OSX, at least) and result in a huge - horizontal mess. Arial empirically gets it right, hence prioritising - Arial here. */ -$font-family: 'Open Sans', Arial, Helvetica, Sans-Serif; - -// typical text (dark-on-white in light skin) -$primary-fg-color: #454545; -$primary-bg-color: #ffffff; - -// used for dialog box text -$light-fg-color: #747474; - -// used for focusing form controls -$focus-bg-color: #dddddd; - -// button UI (white-on-green in light skin) -$accent-fg-color: #ffffff; -$accent-color: #76CFA6; - -$selection-fg-color: $primary-bg-color; - -$focus-brightness: 125%; - -// red warning colour -$warning-color: #ff0064; -$mention-user-pill-bg-color: #ff0064; -$other-user-pill-bg-color: rgba(0, 0, 0, 0.1); - -// pinned events indicator -$pinned-unread-color: #ff0064; // $warning-color -$pinned-color: #888; - -// informational plinth -$info-plinth-bg-color: #f7f7f7; -$info-plinth-fg-color: #888; - -$preview-bar-bg-color: #f7f7f7; - -// left-panel style muted accent color -$secondary-accent-color: #eaf5f0; -$tertiary-accent-color: #d3efe1; - -// used by RoomDirectory permissions -$plinth-bg-color: $secondary-accent-color; - -// used by RoomDropTarget -$droptarget-bg-color: rgba(255,255,255,0.5); - -// used by AddressSelector -$selected-color: $secondary-accent-color; - -// selected for hoverover & selected event tiles -$event-selected-color: #f7f7f7; - -// used for the hairline dividers in RoomView -$primary-hairline-color: #e5e5e5; - -// used for the border of input text fields -$input-border-color: #f0f0f0; - -// apart from login forms, which have stronger border -$strong-input-border-color: #c7c7c7; - -// used for UserSettings EditableText -$input-underline-color: rgba(151, 151, 151, 0.5); -$input-fg-color: rgba(74, 74, 74, 0.9); - -// context menus -$menu-border-color: rgba(187, 187, 187, 0.5); -$menu-bg-color: #f6f6f6; - -$avatar-initial-color: #ffffff; -$avatar-bg-color: #ffffff; - -$h3-color: #3d3b39; - -$dialog-background-bg-color: #e9e9e9; -$lightbox-background-bg-color: #000; - -$greyed-fg-color: #888; - -$neutral-badge-color: #dbdbdb; - -$preview-widget-bar-color: #ddd; -$preview-widget-fg-color: $greyed-fg-color; - -$blockquote-bar-color: #ddd; -$blockquote-fg-color: #777; - -$settings-grey-fg-color: #a2a2a2; - -$voip-decline-color: #f48080; -$voip-accept-color: #80f480; - -$rte-bg-color: #e9e9e9; -$rte-code-bg-color: rgba(0, 0, 0, 0.04); -$rte-room-pill-color: #aaa; - -// ******************** - -$roomtile-name-color: rgba(69, 69, 69, 0.8); -$roomtile-selected-bg-color: rgba(255, 255, 255, 0.8); -$roomtile-focused-bg-color: rgba(255, 255, 255, 0.9); - -$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1); - -$roomsublist-background: rgba(0, 0, 0, 0.05); -$roomsublist-label-fg-color: $h3-color; -$roomsublist-label-bg-color: $tertiary-accent-color; -$roomsublist-chevron-color: $accent-color; - -$panel-divider-color: rgba(118, 207, 166, 0.2); - -// ******************** - -$widget-menu-bar-bg-color: $tertiary-accent-color; - -// ******************** - -// event tile lifecycle -$event-encrypting-color: #abddbc; -$event-sending-color: #ddd; -$event-notsent-color: #f44; - -// event redaction -$event-redacted-fg-color: #e2e2e2; -$event-redacted-border-color: #cccccc; - -// event timestamp -$event-timestamp-color: #acacac; - -$edit-button-url: "../../img/icon_context_message.svg"; -$copy-button-url: "../../img/icon_copy_message.svg"; - -// e2e -$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color -$e2e-unverified-color: #e8bf37; -$e2e-warning-color: #ba6363; - -// presence -$presence-online: #60de00; -$presence-unavailable: #deb800; -$presence-offline: #b7b7b7; - -/*** ImageView ***/ -$lightbox-bg-color: #454545; -$lightbox-fg-color: #ffffff; -$lightbox-border-color: #ffffff; - -// unused? -$progressbar-color: #000; - -// ***** Mixins! ***** - -@define-mixin mx_DialogButton { - /* align images in buttons (eg spinners) */ - vertical-align: middle; - border: 0px; - border-radius: 36px; - font-family: $font-family; - font-size: 14px; - color: $accent-fg-color; - background-color: $accent-color; - width: auto; - padding: 7px; - padding-left: 1.5em; - padding-right: 1.5em; - cursor: pointer; - display: inline-block; - outline: none; -} - -@define-mixin mx_DialogButton_hover { -} - -@define-mixin mx_DialogButton_small { - @mixin mx_DialogButton; - font-size: 15px; - padding: 0px 1.5em 0px 1.5em; -} diff --git a/src/skins/vector/css/themes/_dark.scss b/src/skins/vector/css/themes/_dark.scss deleted file mode 100644 index 31773ebd..00000000 --- a/src/skins/vector/css/themes/_dark.scss +++ /dev/null @@ -1,204 +0,0 @@ - -// typical text (dark-on-white in light skin) -$primary-fg-color: #dddddd; -$primary-bg-color: #2d2d2d; - -// used for focusing form controls -$focus-bg-color: #101010; - -// used for dialog box text -$light-fg-color: #747474; - -// button UI (white-on-green in light skin) -$accent-fg-color: $primary-bg-color; -$accent-color: #76CFA6; - -$selection-fg-color: $primary-fg-color; - -$focus-brightness: 200%; - -// red warning colour -$warning-color: #ff0064; - -// groups -$info-plinth-bg-color: #454545; - -$other-user-pill-bg-color: rgba(255, 255, 255, 0.1); - -$preview-bar-bg-color: #333; - -// left-panel style muted accent color -$secondary-accent-color: $primary-bg-color; -$tertiary-accent-color: #454545; - -// stop the tinter trying to change the secondary accent color -// by overriding the key to something untintable -// XXX: this is a bit of a hack. -#mx_theme_secondaryAccentColor { - color: #c0ffee ! important; -} - -#mx_theme_tertiaryAccentColor { - color: #c0ffee ! important; -} - -// used by RoomDirectory permissions -$plinth-bg-color: #474747; - -// used by RoomDropTarget -$droptarget-bg-color: rgba(45,45,45,0.5); - -// used by AddressSelector -$selected-color: #000000; - -// selected for hoverover & selected event tiles -$event-selected-color: #353535; - -// used for the hairline dividers in RoomView -$primary-hairline-color: #474747; - -// used for the border of input text fields -$input-border-color: #3a3a3a; - -// apart from login forms, which have stronger border -$strong-input-border-color: #656565; - -// used for UserSettings EditableText -$input-underline-color: $primary-fg-color; -$input-fg-color: $primary-fg-color; - -// context menus -$menu-border-color: rgba(187, 187, 187, 0.5); -$menu-bg-color: #373737; - -$avatar-initial-color: #2d2d2d; -$avatar-bg-color: #ffffff; - -$h3-color: $primary-fg-color; - -$dialog-background-bg-color: #000; -$lightbox-background-bg-color: #000; - -$greyed-fg-color: #888; - -$neutral-badge-color: #888; - -$preview-widget-bar-color: $menu-bg-color; -$preview-widget-fg-color: $greyed-fg-color; - -$blockquote-bar-color: #ddd; -$blockquote-fg-color: #777; - -$settings-grey-fg-color: #a2a2a2; - -$voip-decline-color: #f48080; -$voip-accept-color: #80f480; - -$rte-bg-color: #353535; -$rte-code-bg-color: #000; - -// ******************** - -$roomtile-name-color: rgba(186, 186, 186, 0.8); -$roomtile-selected-bg-color: #333; -$roomtile-focused-bg-color: rgba(255, 255, 255, 0.2); - -$roomsublist-background: rgba(0, 0, 0, 0.2); -$roomsublist-label-fg-color: $h3-color; -$roomsublist-label-bg-color: $tertiary-accent-color; -$roomsublist-chevron-color: $accent-color; - -$panel-divider-color: rgba(118, 207, 166, 0.2); - -// ******************** - -$widget-menu-bar-bg-color: $tertiary-accent-color; - -// ******************** - -// event tile lifecycle -$event-encrypting-color: rgba(171, 221, 188, 0.4); -$event-sending-color: #888; -$event-notsent-color: #f44; - -// event redaction -$event-redacted-fg-color: #606060; -$event-redacted-border-color: #000000; - -// event timestamp -$event-timestamp-color: #acacac; - -$edit-button-url: "../../img/icon_context_message_dark.svg"; -$copy-button-url: "../../img/icon_copy_message_dark.svg"; - -// e2e -$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color -$e2e-unverified-color: #e8bf37; -$e2e-warning-color: #ba6363; - -/*** ImageView ***/ -$lightbox-bg-color: #454545; -$lightbox-fg-color: #ffffff; -$lightbox-border-color: #ffffff; - -// unused? -$progressbar-color: #000; - -// XXX: copypasted from _base in order to pick up the right FG color... -@define-mixin mx_DialogButton { - /* align images in buttons (eg spinners) */ - vertical-align: middle; - border: 0px; - border-radius: 36px; - font-family: $font-family; - font-size: 14px; - color: $accent-fg-color; - background-color: $accent-color; - width: auto; - padding: 7px; - padding-left: 1.5em; - padding-right: 1.5em; - cursor: pointer; - display: inline-block; - outline: none; -} - -// Nasty hacks to apply a filter to arbitrary monochrome artwork to make it -// better match the theme. Typically applied to dark grey 'off' buttons or -// light grey 'on' buttons. -.mx_filterFlipColor { - filter: invert(1); -} - -.gm-scrollbar .thumb { - filter: invert(1); -} - -// markdown overrides: -.mx_EventTile_content .markdown-body pre:hover { - border-color: #808080 !important; // inverted due to rules below -} -.mx_EventTile_content .markdown-body { - pre, code { - filter: invert(1); - } - - pre code { - filter: none; - } - - table { - tr { - background-color: #000000; - } - - tr:nth-child(2n) { - background-color: #080808; - } - } -} - -// Add a line to the right side of the left panel to distinguish it from the middle panel -.mx_LeftPanel { - border-right: 1px solid $tertiary-accent-color; -} diff --git a/src/skins/vector/css/themes/dark.scss b/src/skins/vector/css/themes/dark.scss deleted file mode 100644 index 5a37d036..00000000 --- a/src/skins/vector/css/themes/dark.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import "_base.scss"; -@import "_dark.scss"; -@import "../_components.scss"; diff --git a/src/skins/vector/css/themes/light.scss b/src/skins/vector/css/themes/light.scss deleted file mode 100644 index ea0f93d5..00000000 --- a/src/skins/vector/css/themes/light.scss +++ /dev/null @@ -1,2 +0,0 @@ -@import "_base.scss"; -@import "../_components.scss"; \ No newline at end of file diff --git a/src/skins/vector/css/vector-web/_fonts.scss b/src/skins/vector/css/vector-web/_fonts.scss deleted file mode 100644 index 52ac95b5..00000000 --- a/src/skins/vector/css/vector-web/_fonts.scss +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Open Sans - * Includes extended Latin, Greek, Cyrillic and Vietnamese character sets - */ - -/* the 'src' links are relative to the bundle.css, which is in a subdirectory. - */ -@font-face { - font-family: 'Open Sans'; - src: url('../../fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../../fonts/Open_Sans/OpenSans-Italic.ttf') format('truetype'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../../fonts/Open_Sans/OpenSans-Semibold.ttf') format('truetype'); - font-weight: 600; - font-style: normal; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../../fonts/Open_Sans/OpenSans-SemiboldItalic.ttf') format('truetype'); - font-weight: 600; - font-style: italic; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../../fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: 'Open Sans'; - src: url('../../fonts/Open_Sans/OpenSans-BoldItalic.ttf') format('truetype'); - font-weight: 700; - font-style: italic; -} - -/* - * Fira Mono - * Used for monospace copy, i.e. code - */ - -@font-face { - font-family: 'Fira Mono'; - src: url('../../fonts/Fira_Mono/FiraMono-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Fira Mono'; - src: url('../../fonts/Fira_Mono/FiraMono-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; -} diff --git a/src/skins/vector/css/vector-web/structures/_CompatibilityPage.scss b/src/skins/vector/css/vector-web/structures/_CompatibilityPage.scss deleted file mode 100644 index f3f032c9..00000000 --- a/src/skins/vector/css/vector-web/structures/_CompatibilityPage.scss +++ /dev/null @@ -1,19 +0,0 @@ -.mx_CompatibilityPage { - width: 100%; - height: 100%; - background-color: #e55; -} - -.mx_CompatibilityPage_box { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - margin: auto; - width: 500px; - height: 300px; - border: 1px solid; - padding: 10px; - background-color: #fcc; -} \ No newline at end of file diff --git a/src/skins/vector/css/vector-web/structures/_HomePage.scss b/src/skins/vector/css/vector-web/structures/_HomePage.scss deleted file mode 100644 index cdac1bcc..00000000 --- a/src/skins/vector/css/vector-web/structures/_HomePage.scss +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2016 OpenMarket Ltd -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_HomePage { - max-width: 960px; - width: 100%; - height: 100%; - margin-left: auto; - margin-right: auto; -} - -.mx_HomePage iframe { - display: block; - width: 100%; - height: 100%; - border: 0px; -} - -.mx_HomePage_body { -// margin-left: 63px; -} diff --git a/src/skins/vector/css/vector-web/structures/_LeftPanel.scss b/src/skins/vector/css/vector-web/structures/_LeftPanel.scss deleted file mode 100644 index 96ed5878..00000000 --- a/src/skins/vector/css/vector-web/structures/_LeftPanel.scss +++ /dev/null @@ -1,129 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_LeftPanel { - position: relative; - - display: flex; - flex-direction: column; -} - -.mx_LeftPanel_container { - display: flex; - /* LeftPanel 235px */ - flex: 0 0 235px; -} - -.mx_LeftPanel_container.mx_LeftPanel_container_hasTagPanel { - /* TagPanel 60px + LeftPanel 235px */ - flex: 0 0 295px; -} - -.mx_LeftPanel_container_collapsed { - /* Collapsed LeftPanel 60px */ - flex: 0 0 60px; -} - -.mx_LeftPanel_container_collapsed.mx_LeftPanel_container_hasTagPanel { - /* TagPanel 60px + Collapsed LeftPanel 60px */ - flex: 0 0 120px; -} - -.mx_LeftPanel_hideButton { - position: absolute; - top: 10px; - right: 0px; - padding: 8px; - cursor: pointer; -} - -.mx_LeftPanel_callView { - -} - -.mx_LeftPanel .mx_RoomList_scrollbar { - order: 1; - - flex: 1 1 0; - - overflow-y: auto; - z-index: 6; -} - -.mx_LeftPanel.collapsed .mx_BottomLeftMenu { - flex: 0 0 160px; - margin-bottom: 9px; -} - -.mx_LeftPanel .mx_BottomLeftMenu { - order: 3; - - border-top: 1px solid $panel-divider-color; - margin-left: 16px; /* gutter */ - margin-right: 16px; /* gutter */ - flex: 0 0 60px; - z-index: 1; -} - -.mx_LeftPanel .mx_BottomLeftMenu_options { - margin-top: 18px; -} - -.mx_BottomLeftMenu_options object { - pointer-events: none; -} - -.collapsed .mx_RoleButton { - margin-right: 0px ! important; - padding-top: 3px ! important; - padding-bottom: 3px ! important; -} - -.mx_BottomLeftMenu_options > div { - display: inline-block; -} - -.mx_BottomLeftMenu_options .mx_RoleButton { - margin-left: 0px; - margin-right: 10px; - height: 30px; -} - -.mx_BottomLeftMenu_options .mx_BottomLeftMenu_settings { - float: right; -} - -.mx_BottomLeftMenu_options .mx_BottomLeftMenu_settings .mx_RoleButton { - margin-right: 0px; -} - -.mx_LeftPanel.collapsed .mx_BottomLeftMenu_settings { - float: none; -} - -.mx_MatrixChat_useCompactLayout { - .mx_LeftPanel .mx_BottomLeftMenu { - flex: 0 0 50px; - } - - .mx_LeftPanel.collapsed .mx_BottomLeftMenu { - flex: 0 0 160px; - } - - .mx_LeftPanel .mx_BottomLeftMenu_options { - margin-top: 12px; - } -} diff --git a/src/skins/vector/css/vector-web/structures/_RightPanel.scss b/src/skins/vector/css/vector-web/structures/_RightPanel.scss deleted file mode 100644 index b4dff612..00000000 --- a/src/skins/vector/css/vector-web/structures/_RightPanel.scss +++ /dev/null @@ -1,133 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RightPanel { - position: relative; - - display: flex; - flex-direction: column; -} - -.mx_RightPanel_header { - order: 1; - - border-bottom: 1px solid $primary-hairline-color; - margin-right: 20px; - - flex: 0 0 70px; -} - -/** Fixme - factor this out with the main header **/ - -.mx_RightPanel_headerButtonGroup { - margin-top: 6px; - display: flex; - width: 100%; - background-color: $primary-bg-color; - margin-left: 0px; -} - -.mx_RightPanel_headerButton { - cursor: pointer; - flex: 0 0 auto; - vertical-align: top; - padding-left: 4px; - padding-right: 5px; - text-align: center; - position: relative; -} - -.mx_RightPanel_headerButton object { - pointer-events: none; - padding-bottom: 3px; -} - -.mx_RightPanel_headerButton_highlight { - width: 25px; - height: 5px; - border-radius: 5px; - background-color: $accent-color; - opacity: 0.2; -} - -.mx_RightPanel_headerButton_badge { - font-size: 11px; - color: $accent-color; - font-weight: bold; - padding-bottom: 2px; -} - -.mx_RightPanel_collapsebutton { - flex: 1; - text-align: right; - margin-top: 20px; -} - -.mx_RightPanel .mx_MemberList, -.mx_RightPanel .mx_MemberInfo, -.mx_RightPanel .mx_GroupRoomList, -.mx_RightPanel_blank { - order: 2; - flex: 1 1 0; -} - -.mx_RightPanel .mx_RoomView_messagePanelSpinner { - order: 2; - margin: auto; -} - -.mx_RightPanel_footer { - order: 3; - - border-top: 1px solid $primary-hairline-color; - margin-right: 20px; - - flex: 0 0 60px; -} - -.mx_RightPanel_footer .mx_RightPanel_invite { - font-size: 14px; - color: $primary-fg-color; - padding-top: 13px; - padding-left: 5px; - cursor: pointer; - display: flex; - align-items: center; -} - -.collapsed .mx_RightPanel_footer .mx_RightPanel_invite { - display: none; -} - -.mx_RightPanel_invite .mx_RightPanel_icon object { - pointer-events: none; -} - -.mx_RightPanel_invite .mx_RightPanel_message { - padding-left: 10px; - line-height: 18px; -} - -.mx_MatrixChat_useCompactLayout { - .mx_RightPanel_footer { - flex: 0 0 50px; - } - - .mx_RightPanel_footer .mx_RightPanel_invite { - line-height: 25px; - padding-top: 8px; - } -} diff --git a/src/skins/vector/css/vector-web/structures/_RoomDirectory.scss b/src/skins/vector/css/vector-web/structures/_RoomDirectory.scss deleted file mode 100644 index 9cd3e728..00000000 --- a/src/skins/vector/css/vector-web/structures/_RoomDirectory.scss +++ /dev/null @@ -1,131 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomDirectory { - max-width: 960px; - width: 100%; - margin-left: auto; - margin-right: auto; - margin-bottom: 12px; - color: $primary-fg-color; - word-break: break-word; - - display: flex; - - flex-direction: column; -} - -.mx_RoomDirectory .mx_RoomHeader_simpleHeader { - margin-left: 0px; -} - -.mx_RoomDirectory_list { - flex: 1; - - display: flex; - - flex-direction: column; -} - -.mx_RoomDirectory_list .mx_RoomView_messageListWrapper { - justify-content: flex-start; -} - -.mx_RoomDirectory_listheader { - display: table; - table-layout: fixed; - width: 100%; - margin-top: 12px; - margin-bottom: 12px; - border-spacing: 5px; -} - -.mx_RoomDirectory_searchbox { - display: table-cell; - vertical-align: middle; -} - -.mx_RoomDirectory_listheader .mx_NetworkDropdown { - display: table-cell; - width: 200px; -} - -.mx_RoomDirectory_tableWrapper { - overflow-y: auto; - flex: 1 1 0; -} - -.mx_RoomDirectory_table { - font-size: 14px; - color: $primary-fg-color; - width: 100%; - text-align: left; - table-layout: fixed; -} - -.mx_RoomDirectory_roomAvatar { - width: 24px; - padding-left: 12px; - padding-right: 24px; - vertical-align: top; -} - -.mx_RoomDirectory_roomDescription { - padding-bottom: 16px; -} - -.mx_RoomDirectory_name { - display: inline-block; - font-weight: 600; -} - -.mx_RoomDirectory_perms { - display: inline-block; -} - -.mx_RoomDirectory_perm { - display: inline; - padding-left: 5px; - padding-right: 5px; - margin-right: 5px; - height: 15px; - border-radius: 11px; - background-color: $plinth-bg-color; - text-transform: uppercase; - font-weight: 600; - font-size: 11px; - color: $accent-color; -} - -.mx_RoomDirectory_topic { - cursor: initial; -} - -.mx_RoomDirectory_alias { - font-size: 12px; - color: $settings-grey-fg-color; -} - -.mx_RoomDirectory_roomMemberCount { - text-align: right; - width: 100px; - padding-right: 10px; -} - -.mx_RoomDirectory_table tr { - padding-bottom: 10px; - cursor: pointer; -} diff --git a/src/skins/vector/css/vector-web/structures/_RoomSubList.scss b/src/skins/vector/css/vector-web/structures/_RoomSubList.scss deleted file mode 100644 index a2863460..00000000 --- a/src/skins/vector/css/vector-web/structures/_RoomSubList.scss +++ /dev/null @@ -1,244 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomSubList { - display: table; - table-layout: fixed; - width: 100%; - - background-color: $roomsublist-background; -} - -.mx_RoomSubList_labelContainer { - height: 31px; /* mx_RoomSubList_label height including border */ - width: 235px; /* LHS Panel width */ - position: relative; -} - -.mx_RoomSubList_label { - position: relative; - text-transform: uppercase; - color: $roomsublist-label-fg-color; - font-weight: 600; - font-size: 12px; - width: 203px; /* padding + width = LHS Panel width */ - height: 19px; /* height + padding = 31px = mx_RoomSubList_label height */ - padding-left: 16px; /* gutter */ - padding-right: 16px; /* gutter */ - padding-top: 6px; - padding-bottom: 6px; - cursor: pointer; - background-color: $secondary-accent-color; -} - -.mx_RoomSubList_label.mx_RoomSubList_fixed { - position: fixed; - top: 0; - z-index: 5; - /* pointer-events: none; */ -} - -.collapsed .mx_RoomSubList_label { - height: 17px; - width: 28px; /* collapsed LHS Panel width */ -} - -.collapsed .mx_RoomSubList_labelContainer { - width: 28px; /* collapsed LHS Panel width */ -} - -.mx_RoomSubList_roomCount { - display: inline-block; - font-size: 12px; - font-weight: normal; - color: $accent-color; - padding-left: 5px; - text-transform: none; -} - -.collapsed .mx_RoomSubList_roomCount { - display: none; -} - -.mx_RoomSubList_badge { - display: inline-block; - min-width: 15px; - height: 15px; - position: absolute; - right: 8px; /*gutter */ - top: 7px; - border-radius: 8px; - color: $accent-fg-color; - font-weight: 600; - font-size: 10px; - text-align: center; - padding-top: 1px; - padding-left: 4px; - padding-right: 4px; - background-color: $accent-color; -} - -/* -.collapsed .mx_RoomSubList_badge { - display: none; -} -*/ - -.mx_RoomSubList_badgeHighlight { - background-color: $warning-color; -} - -/* This is the bottom of the speech bubble */ -.mx_RoomSubList_badgeHighlight:after { - content: ""; - position: absolute; - display: block; - width: 0; - height: 0; - margin-left: 5px; - border-top: 5px solid $warning-color; - border-right: 7px solid transparent; -} - -/* Hide the bottom of speech bubble */ -.collapsed .mx_RoomSubList_badgeHighlight:after { - display: none; -} - -.mx_RoomSubList_chevron { - pointer-events: none; - position: absolute; - right: 41px; - top: 11px; -} - -.mx_RoomSubList_chevronDown { - width: 0; - height: 0; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-top: 6px solid $roomsublist-chevron-color; -} - -.mx_RoomSubList_chevronUp { - width: 0; - height: 0; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - border-bottom: 6px solid $roomsublist-chevron-color; -} - -.mx_RoomSubList_chevronRight { - width: 0; - height: 0; - border-top: 5px solid transparent; - border-left: 6px solid $roomsublist-chevron-color; - border-bottom: 5px solid transparent; -} - -/* The overflow section */ -.mx_RoomSubList_ellipsis { - display: block; - line-height: 11px; - height: 18px; - position: relative; - cursor: pointer; - font-size: 13px; - - background-color: $secondary-accent-color; -} - -.collapsed .mx_RoomSubList_ellipsis { - height: 20px; -} - -.mx_RoomSubList_line { - display: inline-block; - width: 159px; - border-top: dotted 2px $accent-color; - vertical-align: middle; -} - -.collapsed .mx_RoomSubList_line { - display: none; -} - -.mx_RoomSubList_more { - display: inline-block; - text-transform: uppercase; - font-size: 10px; - font-weight: 600; - text-align: left; - color: $accent-color; - padding-left: 7px; - padding-right: 7px; - padding-left: 7px; - vertical-align: middle; -} - -.collapsed .mx_RoomSubList_more { - display: none; -} - -.mx_RoomSubList_moreBadge { - display: inline-block; - min-width: 15px; - height: 13px; - position: absolute; - right: 8px; /*gutter */ - top: -2px; - border-radius: 8px; - border: solid 1px $accent-color; - color: $accent-fg-color; - font-weight: 600; - font-size: 10px; - text-align: center; - padding-top: 1px; - padding-left: 3px; - padding-right: 3px; - background-color: $primary-bg-color; - vertical-align: middle; -} - -.mx_RoomSubList_moreBadge.mx_RoomSubList_moreBadgeNotify { - background-color: $accent-color; - border: 0; - padding-top: 3px; - padding-left: 4px; - padding-right: 4px; -} - -.mx_RoomSubList_moreBadge.mx_RoomSubList_moreBadgeHighlight { - background-color: $warning-color; - border: 0; - padding-top: 3px; - padding-left: 4px; - padding-right: 4px; -} - -.collapsed .mx_RoomSubList_moreBadge { - position: static; - margin-left: 16px; - margin-top: 2px; -} - -.mx_RoomSubList_ellipsis .mx_RoomSubList_chevronDown { - position: relative; - top: 4px; - left: 2px; -} - - diff --git a/src/skins/vector/css/vector-web/structures/_ViewSource.scss b/src/skins/vector/css/vector-web/structures/_ViewSource.scss deleted file mode 100644 index a4c7dcf5..00000000 --- a/src/skins/vector/css/vector-web/structures/_ViewSource.scss +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ViewSource pre { - text-align: left; - font-size: 12px; - padding: 0.5em 1em 0.5em 1em; - word-wrap: break-word; - white-space: pre-wrap; -} diff --git a/src/skins/vector/css/vector-web/views/context_menus/_MessageContextMenu.scss b/src/skins/vector/css/vector-web/views/context_menus/_MessageContextMenu.scss deleted file mode 100644 index 85e8080c..00000000 --- a/src/skins/vector/css/vector-web/views/context_menus/_MessageContextMenu.scss +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MessageContextMenu_field { - padding: 3px 6px 3px 6px; - cursor: pointer; - white-space: nowrap; -} - -.mx_MessageContextMenu_field.mx_MessageContextMenu_fieldSet { - font-weight: bold; -} diff --git a/src/skins/vector/css/vector-web/views/context_menus/_PresenceContextMenuOption.scss b/src/skins/vector/css/vector-web/views/context_menus/_PresenceContextMenuOption.scss deleted file mode 100644 index bfe81125..00000000 --- a/src/skins/vector/css/vector-web/views/context_menus/_PresenceContextMenuOption.scss +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2017 Travis Ralston - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -.mx_PresenceContextMenuOption_indicator { - width: 10px; - height: 10px; - border-radius: 10px; - display: inline-block; - margin-right: 5px; -} - -.mx_PresenceContextMenuOption_indicator.mx_PresenceContextMenuOption_indicator_online { - background-color: $presence-online; -} - -.mx_PresenceContextMenuOption_indicator.mx_PresenceContextMenuOption_indicator_unavailable { - background-color: $presence-unavailable; -} - -.mx_PresenceContextMenuOption_indicator.mx_PresenceContextMenuOption_indicator_offline { - background-color: $presence-offline; -} - -.mx_PresenceContextMenuOption { - padding: 2px; -} - -.mx_PresenceContextMenuOption.mx_PresenceContextMenuOption_current { - font-weight: 700; -} diff --git a/src/skins/vector/css/vector-web/views/context_menus/_RoomTileContextMenu.scss b/src/skins/vector/css/vector-web/views/context_menus/_RoomTileContextMenu.scss deleted file mode 100644 index 598f8ac2..00000000 --- a/src/skins/vector/css/vector-web/views/context_menus/_RoomTileContextMenu.scss +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomTileContextMenu_tag_field, .mx_RoomTileContextMenu_leave { - padding-top: 8px; - padding-right: 20px; - padding-bottom: 8px; - cursor: pointer; - white-space: nowrap; - display: flex; - align-items: center; - line-height: 16px; -} - -.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet { - font-weight: bold; -} - -.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet .mx_RoomTileContextMenu_tag_icon { - display: none; -} - -.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet .mx_RoomTileContextMenu_tag_icon_set { - display: inline-block; -} - -.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldDisabled { - color: rgba(0, 0, 0, 0.2); -} - -.mx_RoomTileContextMenu_tag_icon { - padding-right: 8px; - padding-left: 4px; - display: inline-block -} - -.mx_RoomTileContextMenu_tag_icon_set { - padding-right: 8px; - padding-left: 4px; - display: none; -} - -.mx_RoomTileContextMenu_separator { - margin-top: 0; - margin-bottom: 0; - border-bottom-style: none; - border-left-style: none; - border-right-style: none; - border-top-style: solid; - border-top-width: 1px; - border-color: $menu-border-color; -} - -.mx_RoomTileContextMenu_leave { - color: $warning-color; -} - -.mx_RoomTileContextMenu_tag_fieldSet .mx_RoomTileContextMenu_tag_icon { - /* Something to indicate that the icon is the set tag */ -} - -.mx_RoomTileContextMenu_notif_picker { - position: absolute; - top: 16px; - left: 5px; -} - -.mx_RoomTileContextMenu_notif_field { - padding-top: 4px; - padding-right: 6px; - padding-bottom: 10px; - padding-left: 8px; /* 20px */ - cursor: pointer; - white-space: nowrap; - display: flex; - align-items: center; -} - -.mx_RoomTileContextMenu_notif_field.mx_RoomTileContextMenu_notif_fieldSet { - font-weight: bold; -} - -.mx_RoomTileContextMenu_notif_field.mx_RoomTileContextMenu_notif_fieldDisabled { - color: rgba(0, 0, 0, 0.2); -} - -.mx_RoomTileContextMenu_notif_icon { - padding-right: 4px; - padding-left: 4px; -} - -.mx_RoomTileContextMenu_notif_activeIcon { - display: inline-block; - opacity: 0; - position: relative; - left: -5px; -} - -.mx_RoomTileContextMenu_notif_fieldSet .mx_RoomTileContextMenu_notif_activeIcon { - opacity: 1; -} diff --git a/src/skins/vector/css/vector-web/views/context_menus/_TagTileContextMenu.scss b/src/skins/vector/css/vector-web/views/context_menus/_TagTileContextMenu.scss deleted file mode 100644 index 759b92bd..00000000 --- a/src/skins/vector/css/vector-web/views/context_menus/_TagTileContextMenu.scss +++ /dev/null @@ -1,44 +0,0 @@ -/* -Copyright 2018 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_TagTileContextMenu_item { - padding-top: 8px; - padding-right: 20px; - padding-bottom: 8px; - cursor: pointer; - white-space: nowrap; - display: flex; - align-items: center; - line-height: 16px; -} - - -.mx_TagTileContextMenu_item_icon { - padding-right: 8px; - padding-left: 4px; - display: inline-block -} - -.mx_TagTileContextMenu_separator { - margin-top: 0; - margin-bottom: 0; - border-bottom-style: none; - border-left-style: none; - border-right-style: none; - border-top-style: solid; - border-top-width: 1px; - border-color: $menu-border-color; -} diff --git a/src/skins/vector/css/vector-web/views/dialogs/_ChangelogDialog.scss b/src/skins/vector/css/vector-web/views/dialogs/_ChangelogDialog.scss deleted file mode 100644 index 460a5f94..00000000 --- a/src/skins/vector/css/vector-web/views/dialogs/_ChangelogDialog.scss +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2016 Aviral Dasgupta - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_ChangelogDialog_content { - max-height: 300px; - overflow: auto; -} - -.mx_ChangelogDialog_li { - padding: 0.2em; -} diff --git a/src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss b/src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss deleted file mode 100644 index 8918373e..00000000 --- a/src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss +++ /dev/null @@ -1,166 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_DevTools_RoomStateExplorer_button, .mx_DevTools_RoomStateExplorer_query { - margin-bottom: 10px; -} - -.mx_DevTools_label_left { - float: left; -} - -.mx_DevTools_label_right { - float: right; -} - -.mx_DevTools_label_bottom { - clear: both; - border-bottom: 1px solid #e5e5e5; -} - -.mx_DevTools_inputRow -{ - display: table-row; -} - -.mx_DevTools_inputLabelCell -{ - padding-bottom: 21px; - display: table-cell; - font-weight: bold; - padding-right: 24px; -} - -.mx_DevTools_inputCell { - display: table-cell; - padding-bottom: 21px; - width: 240px; -} - -.mx_DevTools_inputCell input -{ - display: inline-block; - border: 0; - border-bottom: 1px solid $input-underline-color; - padding: 0; - width: 240px; - color: $input-fg-color; - font-family: 'Open Sans', Helvetica, Arial, Sans-Serif; - font-size: 16px; -} - -.mx_DevTools_tgl { - display: none; - - // add default box-sizing for this scope - &, - &:after, - &:before, - & *, - & *:after, - & *:before, - & + .mx_DevTools_tgl-btn { - box-sizing: border-box; - &::selection { - background: none; - } - } - - + .mx_DevTools_tgl-btn { - outline: 0; - display: block; - width: 7em; - height: 2em; - position: relative; - cursor: pointer; - user-select: none; - &:after, - &:before { - position: relative; - display: block; - content: ""; - width: 50%; - height: 100%; - } - - &:after { - left: 0; - } - - &:before { - display: none; - } - } - - &:checked + .mx_DevTools_tgl-btn:after { - left: 50%; - } -} - -.mx_DevTools_tgl-flip { - + .mx_DevTools_tgl-btn { - padding: 2px; - transition: all .2s ease; - font-family: sans-serif; - perspective: 100px; - &:after, - &:before { - display: inline-block; - transition: all .4s ease; - width: 100%; - text-align: center; - position: absolute; - line-height: 2em; - font-weight: bold; - color: #fff; - top: 0; - left: 0; - backface-visibility: hidden; - border-radius: 4px; - } - - &:after { - content: attr(data-tg-on); - background: #02C66F; - transform: rotateY(-180deg); - } - - &:before { - background: #FF3A19; - content: attr(data-tg-off); - } - - &:active:before { - transform: rotateY(-20deg); - } - } - - &:checked + .mx_DevTools_tgl-btn { - &:before { - transform: rotateY(180deg); - } - - &:after { - transform: rotateY(0); - left: 0; - background: #7FC6A6; - } - - &:active:after { - transform: rotateY(20deg); - } - } -} diff --git a/src/skins/vector/css/vector-web/views/dialogs/_SetEmailDialog.scss b/src/skins/vector/css/vector-web/views/dialogs/_SetEmailDialog.scss deleted file mode 100644 index 588f10c9..00000000 --- a/src/skins/vector/css/vector-web/views/dialogs/_SetEmailDialog.scss +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SetEmailDialog_email_input { - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $input-fg-color; - background-color: $primary-bg-color; - font-size: 15px; - width: 100%; - max-width: 280px; - margin-bottom: 10px; -} - -.mx_SetEmailDialog_email_input:focus { - outline: none; - box-shadow: none; - border: 1px solid $accent-color; -} - -.mx_SetEmailDialog_email_input_placeholder { -} diff --git a/src/skins/vector/css/vector-web/views/dialogs/_SetPasswordDialog.scss b/src/skins/vector/css/vector-web/views/dialogs/_SetPasswordDialog.scss deleted file mode 100644 index 28a8b7c9..00000000 --- a/src/skins/vector/css/vector-web/views/dialogs/_SetPasswordDialog.scss +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SetPasswordDialog_change_password input { - border-radius: 3px; - border: 1px solid $input-border-color; - padding: 9px; - color: $primary-fg-color; - background-color: $primary-bg-color; - font-size: 15px; - width: 100%; - max-width: 280px; - margin-bottom: 10px; -} - -.mx_SetPasswordDialog_change_password_button { - margin-top: 68px; -} - -.mx_SetPasswordDialog .mx_Dialog_content { - margin-bottom: 0px; -} diff --git a/src/skins/vector/css/vector-web/views/directory/_NetworkDropdown.scss b/src/skins/vector/css/vector-web/views/directory/_NetworkDropdown.scss deleted file mode 100644 index 98503795..00000000 --- a/src/skins/vector/css/vector-web/views/directory/_NetworkDropdown.scss +++ /dev/null @@ -1,84 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_NetworkDropdown { - position: relative; -} - -.mx_NetworkDropdown_input { - position: relative; - border-radius: 3px; - border: 1px solid $strong-input-border-color; - font-weight: 300; - font-size: 13px; - user-select: none; -} - -.mx_NetworkDropdown_arrow { - border-color: $primary-fg-color transparent transparent; - border-style: solid; - border-width: 5px 5px 0; - display: block; - height: 0; - position: absolute; - right: 10px; - top: 14px; - width: 0 -} - -.mx_NetworkDropdown_networkoption { - height: 35px; - line-height: 35px; - padding-left: 8px; - padding-right: 8px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -.mx_NetworkDropdown_networkoption img { - margin: 5px; - width: 25px; - vertical-align: middle; -} - -input.mx_NetworkDropdown_networkoption, input.mx_NetworkDropdown_networkoption:focus { - border: 0; - padding-top: 0; - padding-bottom: 0; -} - -.mx_NetworkDropdown_menu { - position: absolute; - left: -1px; - right: -1px; - top: 100%; - z-index: 2; - margin: 0; - padding: 0px; - border-radius: 3px; - border: 1px solid $accent-color; - background-color: $primary-bg-color; -} - -.mx_NetworkDropdown_menu .mx_NetworkDropdown_networkoption:hover { - background-color: $focus-bg-color; -} - -.mx_NetworkDropdown_menu_network { - font-weight: bold; -} - diff --git a/src/skins/vector/css/vector-web/views/elements/_ImageView.scss b/src/skins/vector/css/vector-web/views/elements/_ImageView.scss deleted file mode 100644 index 8ed0698a..00000000 --- a/src/skins/vector/css/vector-web/views/elements/_ImageView.scss +++ /dev/null @@ -1,134 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -/* This has got to be the most fragile piece of CSS ever written. - But empirically it works on Chrome/FF/Safari - */ - -.mx_ImageView { - display: flex; - width: 100%; - height: 100%; - align-items: center; -} - -.mx_ImageView_lhs { - order: 1; - flex: 1 1 10%; - min-width: 60px; - // background-color: #080; - // height: 20px; -} - -.mx_ImageView_content { - order: 2; - /* min-width hack needed for FF */ - min-width: 0px; - height: 90%; - flex: 15 15 0; - display: flex; - align-items: center; - justify-content: center; -} - -.mx_ImageView_content img { - max-width: 100%; - /* XXX: max-height interacts badly with flex on Chrome and doesn't relayout properly until you refresh */ - max-height: 100%; - /* object-fit hack needed for Chrome due to Chrome not re-laying-out until you refresh */ - object-fit: contain; - /* background-image: url('../../img/trans.png'); */ - pointer-events: all; -} - -.mx_ImageView_labelWrapper { - position: absolute; - top: 0px; - right: 0px; - height: 100%; - overflow: auto; - pointer-events: all; -} - -.mx_ImageView_label { - text-align: left; - display: flex; - justify-content: center; - flex-direction: column; - padding-left: 30px; - padding-right: 30px; - min-height: 100%; - max-width: 240px; - color: $lightbox-fg-color; -} - -.mx_ImageView_cancel { - position: absolute; - top: 0px; - right: 0px; - padding: 35px; - cursor: pointer; -} - -.mx_ImageView_name { - font-size: 18px; - margin-bottom: 6px; - word-wrap: break-word; -} - -.mx_ImageView_metadata { - font-size: 15px; - opacity: 0.5; -} - -.mx_ImageView_download { - display: table; - margin-top: 24px; - margin-bottom: 6px; - border-radius: 5px; - background-color: $lightbox-bg-color; - font-size: 14px; - padding: 9px; - border: 1px solid $lightbox-border-color; -} - -.mx_ImageView_size { - font-size: 11px; -} - -.mx_ImageView_link { - color: $lightbox-fg-color ! important; - text-decoration: none ! important; -} - -.mx_ImageView_button { - font-size: 15px; - opacity: 0.5; - margin-top: 18px; - cursor: pointer; -} - -.mx_ImageView_shim { - height: 30px; -} - -.mx_ImageView_rhs { - order: 3; - flex: 1 1 10%; - min-width: 300px; - // background-color: #800; - // height: 20px; -} diff --git a/src/skins/vector/css/vector-web/views/elements/_InlineSpinner.scss b/src/skins/vector/css/vector-web/views/elements/_InlineSpinner.scss deleted file mode 100644 index 612b6209..00000000 --- a/src/skins/vector/css/vector-web/views/elements/_InlineSpinner.scss +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2017 New Vector Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_InlineSpinner { - display: inline; -} - -.mx_InlineSpinner img { - margin: 0px 6px; - vertical-align: -3px; -} diff --git a/src/skins/vector/css/vector-web/views/elements/_Spinner.scss b/src/skins/vector/css/vector-web/views/elements/_Spinner.scss deleted file mode 100644 index aea57379..00000000 --- a/src/skins/vector/css/vector-web/views/elements/_Spinner.scss +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_Spinner { - display: flex; - align-items: center; - justify-content: center; - width: 100%; - height: 100%; - flex: 1; -} - -.mx_MatrixChat_middlePanel .mx_Spinner { - height: auto; -} \ No newline at end of file diff --git a/src/skins/vector/css/vector-web/views/elements/_SyntaxHighlight.scss b/src/skins/vector/css/vector-web/views/elements/_SyntaxHighlight.scss deleted file mode 100644 index e97401a1..00000000 --- a/src/skins/vector/css/vector-web/views/elements/_SyntaxHighlight.scss +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SyntaxHighlight { - /* inhibit hljs styling */ - background: none !important; - color: $light-fg-color !important; -} diff --git a/src/skins/vector/css/vector-web/views/globals/_MatrixToolbar.scss b/src/skins/vector/css/vector-web/views/globals/_MatrixToolbar.scss deleted file mode 100644 index be69b15f..00000000 --- a/src/skins/vector/css/vector-web/views/globals/_MatrixToolbar.scss +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MatrixToolbar { - background-color: $accent-color; - color: $accent-fg-color; - - display: flex; - align-items: center; -} - -.mx_MatrixToolbar_warning { - margin-left: 16px; - margin-right: 8px; - margin-top: -2px; -} - -.mx_MatrixToolbar_content { - flex: 1; -} - -.mx_MatrixToolbar_link -{ - color: $accent-fg-color ! important; - text-decoration: underline ! important; - cursor: pointer; -} - -.mx_MatrixToolbar_clickable { - cursor: pointer; -} - -.mx_MatrixToolbar_close { - cursor: pointer; -} - -.mx_MatrixToolbar_close img { - display: block; - float: right; - margin-right: 10px; -} - -.mx_MatrixToolbar_action { - margin-right: 16px; -} - -.mx_MatrixToolbar_changelog { - white-space: pre; -} \ No newline at end of file diff --git a/src/skins/vector/css/vector-web/views/messages/_DateSeparator.scss b/src/skins/vector/css/vector-web/views/messages/_DateSeparator.scss deleted file mode 100644 index f676d24b..00000000 --- a/src/skins/vector/css/vector-web/views/messages/_DateSeparator.scss +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2017 Vector Creations Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_DateSeparator { - clear: both; - margin-top: 32px; - margin-bottom: 8px; - margin-left: 63px; - padding-bottom: 6px; - border-bottom: 1px solid $primary-hairline-color; -} - diff --git a/src/skins/vector/css/vector-web/views/messages/_MessageTimestamp.scss b/src/skins/vector/css/vector-web/views/messages/_MessageTimestamp.scss deleted file mode 100644 index e21189c5..00000000 --- a/src/skins/vector/css/vector-web/views/messages/_MessageTimestamp.scss +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_MessageTimestamp { -} diff --git a/src/skins/vector/css/vector-web/views/messages/_SenderProfile.scss b/src/skins/vector/css/vector-web/views/messages/_SenderProfile.scss deleted file mode 100644 index 060709b8..00000000 --- a/src/skins/vector/css/vector-web/views/messages/_SenderProfile.scss +++ /dev/null @@ -1,15 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ diff --git a/src/skins/vector/css/vector-web/views/rooms/_RoomDropTarget.scss b/src/skins/vector/css/vector-web/views/rooms/_RoomDropTarget.scss deleted file mode 100644 index 1076a056..00000000 --- a/src/skins/vector/css/vector-web/views/rooms/_RoomDropTarget.scss +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomDropTarget_container { - background-color: $secondary-accent-color; - padding-left: 18px; - padding-right: 18px; - padding-top: 8px; - padding-bottom: 7px; -} - -.collapsed .mx_RoomDropTarget_container { - padding-right: 10px; - padding-left: 10px; -} - -.mx_RoomDropTarget { - font-size: 13px; - padding-top: 5px; - padding-bottom: 5px; - border: 1px dashed $accent-color; - color: $primary-fg-color; - background-color: $droptarget-bg-color; - border-radius: 4px; -} - - -.mx_RoomDropTarget_label { - position: relative; - margin-top: 3px; - line-height: 21px; - z-index: 1; - text-align: center; -} - -.collapsed .mx_RoomDropTarget_avatar { - float: none; -} - -.collapsed .mx_RoomDropTarget_label { - display: none; -} diff --git a/src/skins/vector/css/vector-web/views/rooms/_RoomTooltip.scss b/src/skins/vector/css/vector-web/views/rooms/_RoomTooltip.scss deleted file mode 100644 index 9988425b..00000000 --- a/src/skins/vector/css/vector-web/views/rooms/_RoomTooltip.scss +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_RoomTooltip_chevron { - position: absolute; - left: -8px; - top: 4px; - width: 0; - height: 0; - border-top: 8px solid transparent; - border-right: 8px solid $menu-border-color; - border-bottom: 8px solid transparent; -} - -.mx_RoomTooltip_chevron:after { - content:''; - width: 0; - height: 0; - border-top: 7px solid transparent; - border-right: 7px solid $primary-bg-color; - border-bottom: 7px solid transparent; - position:absolute; - top: -7px; - left: 1px; -} - -.mx_RoomTooltip { - display: none; - position: fixed; - border: 1px solid $menu-border-color; - border-radius: 5px; - background-color: $primary-bg-color; - z-index: 2000; - padding: 5px; - pointer-events: none; - line-height: 14px; - font-size: 13px; - color: $primary-fg-color; - max-width: 600px; - margin-right: 50px; -} diff --git a/src/skins/vector/css/vector-web/views/rooms/_SearchBar.scss b/src/skins/vector/css/vector-web/views/rooms/_SearchBar.scss deleted file mode 100644 index 079ea16c..00000000 --- a/src/skins/vector/css/vector-web/views/rooms/_SearchBar.scss +++ /dev/null @@ -1,83 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_SearchBar { - padding-top: 5px; - padding-bottom: 5px; - display: flex; - align-items: center; -} - -.mx_SearchBar_input { - display: inline block; - border-radius: 3px 0px 0px 3px; - border: 1px solid $input-border-color; - font-size: 15px; - padding: 9px; - padding-left: 11px; - width: auto; - flex: 1 1 0; -} - -.mx_SearchBar_searchButton { - cursor: pointer; - margin-right: 10px; - width: 37px; - height: 37px; - border-radius: 0px 3px 3px 0px; - background-color: $accent-color; -} - -@keyframes pulsate { - 0% { opacity: 1.0; } - 50% { opacity: 0.1; } - 100% { opacity: 1.0; } -} - -.mx_SearchBar_searching img { - animation: pulsate 0.5s ease-out; - animation-iteration-count: infinite; -} - -.mx_SearchBar_button { - display: inline; - border: 0px; - border-radius: 36px; - font-weight: 400; - font-size: 15px; - color: $accent-fg-color; - background-color: $accent-color; - width: auto; - margin: auto; - margin-left: 7px; - padding-top: 6px; - padding-bottom: 4px; - padding-left: 24px; - padding-right: 24px; - cursor: pointer; -} - -.mx_SearchBar_unselected { - background-color: $primary-bg-color; - color: $accent-color; - border: $accent-color 1px solid; -} - -.mx_SearchBar_cancel { - padding-left: 14px; - padding-right: 14px; - cursor: pointer; -} diff --git a/src/skins/vector/css/vector-web/views/settings/_Notifications.scss b/src/skins/vector/css/vector-web/views/settings/_Notifications.scss deleted file mode 100644 index 4c88e449..00000000 --- a/src/skins/vector/css/vector-web/views/settings/_Notifications.scss +++ /dev/null @@ -1,70 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_UserNotifSettings_tableRow -{ - display: table-row; -} - -.mx_UserNotifSettings_inputCell { - display: table-cell; - padding-bottom: 8px; - padding-right: 8px; - width: 16px; -} - -.mx_UserNotifSettings_labelCell -{ - padding-bottom: 8px; - width: 400px; - display: table-cell; -} - -.mx_UserNotifSettings_pushRulesTableWrapper { - padding-bottom: 8px; -} - -.mx_UserNotifSettings_pushRulesTable { - width: 100%; - table-layout: fixed; -} - -.mx_UserNotifSettings_pushRulesTable thead { - font-weight: bold; - font-size: 15px; -} - -.mx_UserNotifSettings_pushRulesTable tbody th { - font-weight: 400; - font-size: 15px; -} - -.mx_UserNotifSettings_pushRulesTable tbody th:first-child { - text-align: left; -} - -.mx_UserNotifSettings_keywords { - cursor: pointer; - color: $accent-color; -} - -.mx_UserSettings_devicesTable td { - padding-left: 20px; - padding-right: 20px; -} -.mx_UserSettings_devicesTable_nodevices { - font-style: italic; -} diff --git a/src/skins/vector/fonts/Fira_Mono/FiraMono-Bold.ttf b/src/skins/vector/fonts/Fira_Mono/FiraMono-Bold.ttf deleted file mode 100755 index 4b8b1cfb..00000000 Binary files a/src/skins/vector/fonts/Fira_Mono/FiraMono-Bold.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Fira_Mono/FiraMono-Regular.ttf b/src/skins/vector/fonts/Fira_Mono/FiraMono-Regular.ttf deleted file mode 100755 index 5238c09e..00000000 Binary files a/src/skins/vector/fonts/Fira_Mono/FiraMono-Regular.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Fira_Mono/OFL.txt b/src/skins/vector/fonts/Fira_Mono/OFL.txt deleted file mode 100755 index ba853c04..00000000 --- a/src/skins/vector/fonts/Fira_Mono/OFL.txt +++ /dev/null @@ -1,92 +0,0 @@ -Copyright (c) 2012-2013, The Mozilla Corporation and Telefonica S.A. -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/src/skins/vector/fonts/Open_Sans/LICENSE.txt b/src/skins/vector/fonts/Open_Sans/LICENSE.txt deleted file mode 100755 index 75b52484..00000000 --- a/src/skins/vector/fonts/Open_Sans/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/src/skins/vector/fonts/Open_Sans/OpenSans-Bold.ttf b/src/skins/vector/fonts/Open_Sans/OpenSans-Bold.ttf deleted file mode 100755 index fd79d43b..00000000 Binary files a/src/skins/vector/fonts/Open_Sans/OpenSans-Bold.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Open_Sans/OpenSans-BoldItalic.ttf b/src/skins/vector/fonts/Open_Sans/OpenSans-BoldItalic.ttf deleted file mode 100755 index 9bc80095..00000000 Binary files a/src/skins/vector/fonts/Open_Sans/OpenSans-BoldItalic.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Open_Sans/OpenSans-Italic.ttf b/src/skins/vector/fonts/Open_Sans/OpenSans-Italic.ttf deleted file mode 100755 index c90da48f..00000000 Binary files a/src/skins/vector/fonts/Open_Sans/OpenSans-Italic.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Open_Sans/OpenSans-Regular.ttf b/src/skins/vector/fonts/Open_Sans/OpenSans-Regular.ttf deleted file mode 100755 index db433349..00000000 Binary files a/src/skins/vector/fonts/Open_Sans/OpenSans-Regular.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Open_Sans/OpenSans-Semibold.ttf b/src/skins/vector/fonts/Open_Sans/OpenSans-Semibold.ttf deleted file mode 100755 index 1a7679e3..00000000 Binary files a/src/skins/vector/fonts/Open_Sans/OpenSans-Semibold.ttf and /dev/null differ diff --git a/src/skins/vector/fonts/Open_Sans/OpenSans-SemiboldItalic.ttf b/src/skins/vector/fonts/Open_Sans/OpenSans-SemiboldItalic.ttf deleted file mode 100755 index 59b6d16b..00000000 Binary files a/src/skins/vector/fonts/Open_Sans/OpenSans-SemiboldItalic.ttf and /dev/null differ diff --git a/src/skins/vector/img/50e2c2.png b/src/skins/vector/img/50e2c2.png deleted file mode 100644 index ee0f8558..00000000 Binary files a/src/skins/vector/img/50e2c2.png and /dev/null differ diff --git a/src/skins/vector/img/76cfa6.png b/src/skins/vector/img/76cfa6.png deleted file mode 100644 index de1ea60d..00000000 Binary files a/src/skins/vector/img/76cfa6.png and /dev/null differ diff --git a/src/skins/vector/img/80cef4.png b/src/skins/vector/img/80cef4.png deleted file mode 100644 index 637d03f6..00000000 Binary files a/src/skins/vector/img/80cef4.png and /dev/null differ diff --git a/src/skins/vector/img/admin.svg b/src/skins/vector/img/admin.svg deleted file mode 100644 index 7ea74593..00000000 --- a/src/skins/vector/img/admin.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="16px" height="17px" viewBox="-1 -1 15 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4.4 (395) - http://www.bohemiancoding.com/sketch --> - <title>icons_owner</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_19-Room-contextual-menu-hover" sketch:type="MSArtboardGroup" transform="translate(-1000.000000, -128.000000)"> - <g id="people_open" sketch:type="MSLayerGroup" transform="translate(966.000000, 59.000000)"> - <g id="icons_owner" transform="translate(35.000000, 70.000000)" sketch:type="MSShapeGroup"> - <path d="M0.441894529,1.80537109 C2.59277353,3.03442388 4.25305977,2.17675781 5.9832796,0.805371094 C8.01666135,2.17675787 9.50756797,3.12670903 11.6293941,1.80537109 C11.6293941,7.01538067 11.9379879,12.2253912 5.9832796,12.2253906 C0.0285712975,12.2253901 0.441894531,7.01538067 0.441894529,1.80537109 Z" id="Path-2-Copy" stroke="#FFFFFF" fill="#F6A623"></path> - <polygon id="Star-1" fill="#FFFFFF" points="6 8.8 3.88397309 9.91246118 4.28809827 7.55623059 2.57619654 5.88753882 4.94198655 5.54376941 6 3.4 7.05801345 5.54376941 9.42380346 5.88753882 7.71190173 7.55623059 8.11602691 9.91246118 "></polygon> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/attach.png b/src/skins/vector/img/attach.png deleted file mode 100644 index 1bcb7004..00000000 Binary files a/src/skins/vector/img/attach.png and /dev/null differ diff --git a/src/skins/vector/img/avatar-error.svg b/src/skins/vector/img/avatar-error.svg deleted file mode 100644 index c5e16894..00000000 --- a/src/skins/vector/img/avatar-error.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>5EF602F6-A36C-41EE-BAEC-50801DFD5492</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="1:1-chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Chat-People-2c-Invite-modal-ERROR" transform="translate(-611.000000, -358.000000)"> - <g id="avatar_error" transform="translate(611.000000, 358.000000)"> - <circle id="Oval-2" fill="#FF0064" cx="12.5" cy="12.5" r="12.5"></circle> - <path d="M11.2470703,15.0292969 C11.2470703,14.5901671 11.2733559,14.2082536 11.3259277,13.8835449 C11.3784996,13.5588363 11.4650873,13.2619642 11.5856934,12.9929199 C11.7062994,12.7238756 11.8624665,12.4687512 12.0541992,12.2275391 C12.2459319,11.9863269 12.4809556,11.7296563 12.7592773,11.4575195 C12.9695649,11.2534169 13.1659333,11.0601409 13.3483887,10.8776855 C13.530844,10.6952302 13.6916497,10.508139 13.8308105,10.3164062 C13.9699714,10.1246735 14.0797522,9.920574 14.1601562,9.70410156 C14.2405603,9.48762913 14.2807617,9.2464206 14.2807617,8.98046875 C14.2807617,8.39908563 14.1369643,7.9553238 13.8493652,7.64916992 C13.5617661,7.34301605 13.1396512,7.18994141 12.5830078,7.18994141 C12.3603504,7.18994141 12.1438813,7.22086558 11.9335938,7.28271484 C11.7233062,7.34456411 11.5346688,7.44352146 11.3676758,7.57958984 C11.2006828,7.71565823 11.0661626,7.88883358 10.9641113,8.09912109 C10.86206,8.3094086 10.8110352,8.5629868 10.8110352,8.85986328 L8.55664062,8.85986328 C8.56282555,8.27848017 8.66951394,7.76668515 8.87670898,7.32446289 C9.08390403,6.88224063 9.36840639,6.51115059 9.73022461,6.21118164 C10.0920428,5.91121269 10.515704,5.68546625 11.0012207,5.53393555 C11.4867375,5.38240484 12.0139946,5.30664062 12.5830078,5.30664062 C13.2076854,5.30664062 13.7643205,5.38704347 14.2529297,5.54785156 C14.7415389,5.70865966 15.1559228,5.94368335 15.4960938,6.25292969 C15.8362647,6.56217603 16.0944815,6.9394509 16.270752,7.38476562 C16.4470224,7.83008035 16.5351562,8.33414432 16.5351562,8.89697266 C16.5351562,9.30517782 16.4702155,9.68554511 16.340332,10.0380859 C16.2104486,10.3906268 16.0372732,10.7215154 15.8208008,11.0307617 C15.6043283,11.3400081 15.356935,11.6368801 15.0786133,11.9213867 C14.8002916,12.2058933 14.5126968,12.4873033 14.2158203,12.765625 C13.8756493,13.0748713 13.6483567,13.413491 13.5339355,13.7814941 C13.4195144,14.1494973 13.3592123,14.5654274 13.3530273,15.0292969 L11.2470703,15.0292969 Z M11.0893555,17.9145508 C11.0893555,17.7413728 11.1171872,17.5805671 11.1728516,17.4321289 C11.2285159,17.2836907 11.310465,17.1538092 11.4187012,17.0424805 C11.5269374,16.9311518 11.6599113,16.8445641 11.817627,16.7827148 C11.9753426,16.7208656 12.156249,16.6899414 12.3603516,16.6899414 C12.5644541,16.6899414 12.7453605,16.7208656 12.9030762,16.7827148 C13.0607918,16.8445641 13.1937657,16.9311518 13.302002,17.0424805 C13.4102382,17.1538092 13.4937334,17.2836907 13.5524902,17.4321289 C13.611247,17.5805671 13.640625,17.7413728 13.640625,17.9145508 C13.640625,18.2547218 13.529298,18.5392241 13.3066406,18.7680664 C13.0839833,18.9969087 12.7685567,19.1113281 12.3603516,19.1113281 C11.9521464,19.1113281 11.6382661,18.9969087 11.4187012,18.7680664 C11.1991363,18.5392241 11.0893555,18.2547218 11.0893555,17.9145508 L11.0893555,17.9145508 Z" id="?" fill="#FFFFFF"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/button-md-false.png b/src/skins/vector/img/button-md-false.png deleted file mode 100644 index 6debbccc..00000000 Binary files a/src/skins/vector/img/button-md-false.png and /dev/null differ diff --git a/src/skins/vector/img/button-md-false.svg b/src/skins/vector/img/button-md-false.svg deleted file mode 100644 index 6414933d..00000000 --- a/src/skins/vector/img/button-md-false.svg +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="23px" height="15px" viewBox="0 0 23 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>D335F9E8-C813-47D7-B1BE-C8DEF2C8214F</title> - <desc>Created with sketchtool.</desc> - <defs> - <text id="text-1" font-family="markdown" font-size="14" font-weight="normal" fill="#DDDDDD"> - <tspan x="829.125" y="759"></tspan> - </text> - <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-2"> - <feOffset dx="1" dy="1" in="SourceAlpha" result="shadowOffsetInner1"></feOffset> - <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite> - <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0526494565 0" type="matrix" in="shadowInnerInner1"></feColorMatrix> - </filter> - <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-3"> - <feOffset dx="1" dy="1" in="SourceAlpha" result="shadowOffsetInner1"></feOffset> - <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite> - <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0526494565 0" type="matrix" in="shadowInnerInner1"></feColorMatrix> - </filter> - </defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" fill-opacity="1"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-829.000000, -745.000000)" fill="#DDDDDD"> - <g id="button_md_off"> - <use filter="url(#filter-2)" xlink:href="#text-1"></use> - <use filter="url(#filter-3)" xlink:href="#text-1"></use> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-md-false@2x.png b/src/skins/vector/img/button-md-false@2x.png deleted file mode 100644 index 497f5385..00000000 Binary files a/src/skins/vector/img/button-md-false@2x.png and /dev/null differ diff --git a/src/skins/vector/img/button-md-false@3x.png b/src/skins/vector/img/button-md-false@3x.png deleted file mode 100644 index 1184e6b3..00000000 Binary files a/src/skins/vector/img/button-md-false@3x.png and /dev/null differ diff --git a/src/skins/vector/img/button-md-true.png b/src/skins/vector/img/button-md-true.png deleted file mode 100644 index 2e39c55e..00000000 Binary files a/src/skins/vector/img/button-md-true.png and /dev/null differ diff --git a/src/skins/vector/img/button-md-true.svg b/src/skins/vector/img/button-md-true.svg deleted file mode 100644 index 2acc4f67..00000000 --- a/src/skins/vector/img/button-md-true.svg +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="23px" height="15px" viewBox="0 0 23 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>2A63B135-4281-4FBB-A88C-012AE22E9594</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" font-size="14" font-family="markdown" font-weight="normal"> - <g id="02_x-Chat-text-input-markdown-panel-MD_on" transform="translate(-829.000000, -745.000000)" fill="#4A4A4A"> - <text id="button_markdown_on"> - <tspan x="829.125" y="759"></tspan> - </text> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-md-true@2x.png b/src/skins/vector/img/button-md-true@2x.png deleted file mode 100644 index ad9067f3..00000000 Binary files a/src/skins/vector/img/button-md-true@2x.png and /dev/null differ diff --git a/src/skins/vector/img/button-md-true@3x.png b/src/skins/vector/img/button-md-true@3x.png deleted file mode 100644 index d615867d..00000000 Binary files a/src/skins/vector/img/button-md-true@3x.png and /dev/null differ diff --git a/src/skins/vector/img/button-text-bold-o-n.svg b/src/skins/vector/img/button-text-bold-o-n.svg deleted file mode 100644 index 161e740e..00000000 --- a/src/skins/vector/img/button-text-bold-o-n.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>01F3F9B2-8F38-4BAF-A345-AECAC3D88E79</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-294.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_bold_ON"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M10.9882812,3.92523872 L13.4321289,3.92523872 C14.5457412,3.92523872 15.3540828,4.0836844 15.8571777,4.40058051 C16.3602727,4.71747663 16.6118164,5.22145922 16.6118164,5.9125434 C16.6118164,6.38162127 16.5017101,6.76654581 16.2814941,7.06732856 C16.0612782,7.36811131 15.7685565,7.54893633 15.4033203,7.60980903 L15.4033203,7.66351997 C15.9010442,7.77452312 16.2600087,7.98220334 16.4802246,8.28656684 C16.7004406,8.59093034 16.8105469,8.99554869 16.8105469,9.50043403 C16.8105469,10.2165834 16.5518418,10.7751716 16.0344238,11.1762153 C15.5170059,11.5772589 14.8142948,11.7777778 13.9262695,11.7777778 L10.9882812,11.7777778 L10.9882812,3.92523872 Z M12.6533203,7.035102 L13.6201172,7.035102 C14.0712913,7.035102 14.3980296,6.96527848 14.6003418,6.82562934 C14.802654,6.6859802 14.9038086,6.45502548 14.9038086,6.13275825 C14.9038086,5.83197549 14.7937023,5.61623872 14.5734863,5.48554145 C14.3532704,5.35484418 14.005048,5.28949653 13.5288086,5.28949653 L12.6533203,5.28949653 L12.6533203,7.035102 Z M12.6533203,8.35639106 L12.6533203,10.4027778 L13.7382812,10.4027778 C14.1966169,10.4027778 14.5349924,10.3150508 14.753418,10.1395942 C14.9718435,9.96413758 15.0810547,9.69558558 15.0810547,9.33393012 C15.0810547,8.68223415 14.6155646,8.35639106 13.6845703,8.35639106 L12.6533203,8.35639106 Z" id="B" fill="#FFFFFF"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-bold.svg b/src/skins/vector/img/button-text-bold.svg deleted file mode 100644 index 0fd0baa0..00000000 --- a/src/skins/vector/img/button-text-bold.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>9BC64A5B-F157-43FF-BCC4-02D30CDF520B</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off" transform="translate(-294.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_bold"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M10.9882812,3.92523872 L13.4321289,3.92523872 C14.5457412,3.92523872 15.3540828,4.0836844 15.8571777,4.40058051 C16.3602727,4.71747663 16.6118164,5.22145922 16.6118164,5.9125434 C16.6118164,6.38162127 16.5017101,6.76654581 16.2814941,7.06732856 C16.0612782,7.36811131 15.7685565,7.54893633 15.4033203,7.60980903 L15.4033203,7.66351997 C15.9010442,7.77452312 16.2600087,7.98220334 16.4802246,8.28656684 C16.7004406,8.59093034 16.8105469,8.99554869 16.8105469,9.50043403 C16.8105469,10.2165834 16.5518418,10.7751716 16.0344238,11.1762153 C15.5170059,11.5772589 14.8142948,11.7777778 13.9262695,11.7777778 L10.9882812,11.7777778 L10.9882812,3.92523872 Z M12.6533203,7.035102 L13.6201172,7.035102 C14.0712913,7.035102 14.3980296,6.96527848 14.6003418,6.82562934 C14.802654,6.6859802 14.9038086,6.45502548 14.9038086,6.13275825 C14.9038086,5.83197549 14.7937023,5.61623872 14.5734863,5.48554145 C14.3532704,5.35484418 14.005048,5.28949653 13.5288086,5.28949653 L12.6533203,5.28949653 L12.6533203,7.035102 Z M12.6533203,8.35639106 L12.6533203,10.4027778 L13.7382812,10.4027778 C14.1966169,10.4027778 14.5349924,10.3150508 14.753418,10.1395942 C14.9718435,9.96413758 15.0810547,9.69558558 15.0810547,9.33393012 C15.0810547,8.68223415 14.6155646,8.35639106 13.6845703,8.35639106 L12.6533203,8.35639106 Z" id="B" fill="#4A4A4A"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-bullet-o-n.svg b/src/skins/vector/img/button-text-bullet-o-n.svg deleted file mode 100644 index d4a40e88..00000000 --- a/src/skins/vector/img/button-text-bullet-o-n.svg +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>654917CF-20A4-49B6-B0A1-9875D7B733C8</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-422.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_bullet_ON" transform="translate(128.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M5.57421875,5.39496528 C5.57421875,4.79339977 5.71874855,4.33344343 6.0078125,4.01508247 C6.29687645,3.6967215 6.71288791,3.5375434 7.25585938,3.5375434 C7.7910183,3.5375434 8.20507666,3.69769805 8.49804688,4.01801215 C8.79101709,4.33832625 8.9375,4.79730604 8.9375,5.39496528 C8.9375,5.98871825 8.79004054,6.44769803 8.49511719,6.7719184 C8.20019384,7.09613877 7.78711203,7.25824653 7.25585938,7.25824653 C6.71679418,7.25824653 6.30175927,7.09613877 6.01074219,6.7719184 C5.71972511,6.44769803 5.57421875,5.98871825 5.57421875,5.39496528 L5.57421875,5.39496528 Z" id="•" fill="#FFFFFF"></path> - <path d="M11.5,5.5 L19.5,5.5" id="Line" stroke="#FFFFFF" stroke-linecap="round"></path> - <path d="M11.5,8.5 L19.5,8.5" id="Line-Copy" stroke="#FFFFFF" stroke-linecap="round"></path> - <path d="M11.5,11.5 L19.5,11.5" id="Line-Copy-3" stroke="#FFFFFF" stroke-linecap="round"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-bullet.svg b/src/skins/vector/img/button-text-bullet.svg deleted file mode 100644 index ae3e640d..00000000 --- a/src/skins/vector/img/button-text-bullet.svg +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>B7D94619-44BC-4184-A60A-DBC5BB54E5F9</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off" transform="translate(-422.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_bullet" transform="translate(128.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M5.57421875,5.39496528 C5.57421875,4.79339977 5.71874855,4.33344343 6.0078125,4.01508247 C6.29687645,3.6967215 6.71288791,3.5375434 7.25585938,3.5375434 C7.7910183,3.5375434 8.20507666,3.69769805 8.49804688,4.01801215 C8.79101709,4.33832625 8.9375,4.79730604 8.9375,5.39496528 C8.9375,5.98871825 8.79004054,6.44769803 8.49511719,6.7719184 C8.20019384,7.09613877 7.78711203,7.25824653 7.25585938,7.25824653 C6.71679418,7.25824653 6.30175927,7.09613877 6.01074219,6.7719184 C5.71972511,6.44769803 5.57421875,5.98871825 5.57421875,5.39496528 L5.57421875,5.39496528 Z" id="•" fill="#4A4A4A"></path> - <path d="M11.5,5.5 L19.5,5.5" id="Line" stroke="#4A4A4A" stroke-linecap="round"></path> - <path d="M11.5,8.5 L19.5,8.5" id="Line-Copy" stroke="#4A4A4A" stroke-linecap="round"></path> - <path d="M11.5,11.5 L19.5,11.5" id="Line-Copy-3" stroke="#4A4A4A" stroke-linecap="round"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-code-o-n.svg b/src/skins/vector/img/button-text-code-o-n.svg deleted file mode 100644 index 8d1439c9..00000000 --- a/src/skins/vector/img/button-text-code-o-n.svg +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>B76754AB-42E6-48D2-9443-80CBC0DE02ED</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-422.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_code_ON" transform="translate(128.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <polygon id="/" fill="#FFFFFF" points="15.9262695 4.14746094 12.9990234 12 12.1074219 12 15.034668 4.14746094"></polygon> - <g id="Group-5" opacity="0.5" transform="translate(17.000000, 5.000000)" stroke="#FFFFFF" stroke-linecap="round"> - <path d="M0.5,0.5 L2.97487373,2.97487373" id="Line"></path> - <path d="M0.5,3.02512627 L2.97487373,5.5" id="Line-Copy-4" transform="translate(1.737437, 4.262563) scale(1, -1) translate(-1.737437, -4.262563) "></path> - </g> - <g id="Group-5-Copy" opacity="0.5" transform="translate(9.500000, 8.000000) scale(-1, 1) translate(-9.500000, -8.000000) translate(8.000000, 5.000000)" stroke="#FFFFFF" stroke-linecap="round"> - <path d="M0.5,0.5 L2.97487373,2.97487373" id="Line"></path> - <path d="M0.5,3.02512627 L2.97487373,5.5" id="Line-Copy-4" transform="translate(1.737437, 4.262563) scale(1, -1) translate(-1.737437, -4.262563) "></path> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-code.svg b/src/skins/vector/img/button-text-code.svg deleted file mode 100644 index 24026cb7..00000000 --- a/src/skins/vector/img/button-text-code.svg +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>4CAFF494-61AE-4916-AFE8-D1E62F7CF0DE</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_on" transform="translate(-422.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_code" transform="translate(128.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <polygon id="/" fill-opacity="0.7" fill="#000000" points="15.9262695 4.14746094 12.9990234 12 12.1074219 12 15.034668 4.14746094"></polygon> - <g id="Group-5" opacity="0.5" transform="translate(17.000000, 5.000000)" stroke="#4A4A4A" stroke-linecap="round"> - <path d="M0.5,0.5 L2.97487373,2.97487373" id="Line"></path> - <path d="M0.5,3.02512627 L2.97487373,5.5" id="Line-Copy-4" transform="translate(1.737437, 4.262563) scale(1, -1) translate(-1.737437, -4.262563) "></path> - </g> - <g id="Group-5-Copy" opacity="0.5" transform="translate(9.500000, 8.000000) scale(-1, 1) translate(-9.500000, -8.000000) translate(8.000000, 5.000000)" stroke="#4A4A4A" stroke-linecap="round"> - <path d="M0.5,0.5 L2.97487373,2.97487373" id="Line"></path> - <path d="M0.5,3.02512627 L2.97487373,5.5" id="Line-Copy-4" transform="translate(1.737437, 4.262563) scale(1, -1) translate(-1.737437, -4.262563) "></path> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-formatting.svg b/src/skins/vector/img/button-text-formatting.svg deleted file mode 100644 index d697010d..00000000 --- a/src/skins/vector/img/button-text-formatting.svg +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 24 18" style="enable-background:new 0 0 24 18;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:#F6F6F6;} - .st1{enable-background:new ;} - .st2{fill:#4A4A4A;} -</style> -<path id="Rectangle-111" class="st0" d="M9,0h6c5,0,9,4,9,9l0,0c0,5-4,9-9,9H9c-5,0-9-4-9-9l0,0C0,4,4,0,9,0z"/> -<g class="st1"> - <path class="st2" d="M11.3,13l-0.6-2H7.6L7,13H5l3-8.6h2.2l3,8.6H11.3z M10.3,9.4c-0.6-1.8-0.9-2.9-1-3.1S9.2,5.9,9.1,5.7 - C9,6.2,8.6,7.5,8,9.4H10.3z"/> -</g> -<g class="st1"> - <path class="st2" d="M15.8,6.5c0.4,0,0.7,0.1,1,0.3s0.5,0.5,0.7,0.8h0.1l0.4-1h0.7L17.3,13h-0.8l0.2-1.2h0 - c-0.7,0.9-1.4,1.3-2.2,1.3c-0.5,0-1-0.2-1.3-0.6s-0.5-0.9-0.5-1.6c0-0.8,0.1-1.6,0.4-2.3s0.7-1.2,1.1-1.6S15.2,6.5,15.8,6.5z - M14.7,12.3c0.4,0,0.8-0.2,1.1-0.5s0.7-0.8,0.9-1.4s0.4-1.2,0.4-1.7c0-0.4-0.1-0.7-0.3-1s-0.5-0.4-0.9-0.4c-0.4,0-0.8,0.2-1.1,0.5 - S14.2,8.6,14,9.2s-0.3,1.2-0.3,1.8c0,0.4,0.1,0.8,0.3,1S14.4,12.3,14.7,12.3z"/> -</g> -</svg> diff --git a/src/skins/vector/img/button-text-italic-o-n.svg b/src/skins/vector/img/button-text-italic-o-n.svg deleted file mode 100644 index 15fe5885..00000000 --- a/src/skins/vector/img/button-text-italic-o-n.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>116426C2-0B55-480E-92B3-57D4B3ABAB90</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-326.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_italic_ON" transform="translate(32.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <polygon id="I" fill="#FFFFFF" points="12.4619141 11.7777778 14.1323242 3.92523872 15.034668 3.92523872 13.3642578 11.7777778"></polygon> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-italic.svg b/src/skins/vector/img/button-text-italic.svg deleted file mode 100644 index b5722e82..00000000 --- a/src/skins/vector/img/button-text-italic.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>9FBC844D-96CF-4DCB-B545-FCD23727218B</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off" transform="translate(-326.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_italic" transform="translate(32.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <polygon id="I" fill="#4A4A4A" points="12.4619141 11.7777778 14.1323242 3.92523872 15.034668 3.92523872 13.3642578 11.7777778"></polygon> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-numbullet-o-n.svg b/src/skins/vector/img/button-text-numbullet-o-n.svg deleted file mode 100644 index 869a2c2c..00000000 --- a/src/skins/vector/img/button-text-numbullet-o-n.svg +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>294F929B-31AA-4D0C-98B3-9CA96764060D</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-454.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_numbullet_ON" transform="translate(160.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M8.3046875,8.77777778 L7.09765625,8.77777778 L7.09765625,5.47309028 L7.109375,4.93012153 L7.12890625,4.33637153 C6.92838441,4.53689336 6.78906289,4.66840247 6.7109375,4.73090278 L6.0546875,5.25824653 L5.47265625,4.53168403 L7.3125,3.06684028 L8.3046875,3.06684028 L8.3046875,8.77777778 Z" id="1" fill="#FFFFFF"></path> - <path d="M11.5,5.5 L19.5,5.5" id="Line" stroke="#FFFFFF" stroke-linecap="round"></path> - <path d="M11.5,8.5 L19.5,8.5" id="Line-Copy" stroke="#FFFFFF" stroke-linecap="round"></path> - <path d="M11.5,11.5 L19.5,11.5" id="Line-Copy-3" stroke="#FFFFFF" stroke-linecap="round"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-numbullet.svg b/src/skins/vector/img/button-text-numbullet.svg deleted file mode 100644 index 8e5b8b87..00000000 --- a/src/skins/vector/img/button-text-numbullet.svg +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>F0F58459-A13A-48C5-9332-ABFB96726F05</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off" transform="translate(-454.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_numbullet" transform="translate(160.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M8.3046875,8.77777778 L7.09765625,8.77777778 L7.09765625,5.47309028 L7.109375,4.93012153 L7.12890625,4.33637153 C6.92838441,4.53689336 6.78906289,4.66840247 6.7109375,4.73090278 L6.0546875,5.25824653 L5.47265625,4.53168403 L7.3125,3.06684028 L8.3046875,3.06684028 L8.3046875,8.77777778 Z" id="1" fill="#4A4A4A"></path> - <path d="M11.5,5.5 L19.5,5.5" id="Line" stroke="#4A4A4A" stroke-linecap="round"></path> - <path d="M11.5,8.5 L19.5,8.5" id="Line-Copy" stroke="#4A4A4A" stroke-linecap="round"></path> - <path d="M11.5,11.5 L19.5,11.5" id="Line-Copy-3" stroke="#4A4A4A" stroke-linecap="round"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-quote-o-n.svg b/src/skins/vector/img/button-text-quote-o-n.svg deleted file mode 100644 index f8a86125..00000000 --- a/src/skins/vector/img/button-text-quote-o-n.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>3B24B8C7-64BE-4B3E-A748-94DB72E1210F</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-390.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_quote_ON" transform="translate(96.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M13.6762695,4.58734809 C13.2019833,4.85981039 12.8185236,5.09442718 12.5258789,5.29120551 C12.2332342,5.48798384 11.9355484,5.74782825 11.6328125,6.07074653 C11.350259,6.37348242 11.1333015,6.69135033 10.9819336,7.02435981 C10.8305656,7.35736929 10.7246097,7.7862387 10.6640625,8.3109809 L11.390625,8.3109809 C12.0162792,8.3109809 12.5082176,8.46486934 12.8664551,8.77265082 C13.2246925,9.08043231 13.4038086,9.53200657 13.4038086,10.1273872 C13.4038086,10.5512174 13.2448746,10.9472909 12.927002,11.3156196 C12.6091293,11.6839482 12.1726916,11.8681098 11.6176758,11.8681098 C10.7498329,11.8681098 10.1292336,11.5830378 9.75585938,11.0128852 C9.38248511,10.4427326 9.19580078,9.69347252 9.19580078,8.76508247 C9.19580078,8.10915471 9.33707541,7.51126029 9.61962891,6.97138129 C9.9021824,6.43150229 10.2452779,5.9496549 10.6489258,5.52582465 C11.0626648,5.09190321 11.5016253,4.72358007 11.9658203,4.42084418 C12.4300153,4.1181083 12.8185206,3.87087769 13.1313477,3.67914497 L13.6762695,4.58734809 Z M19.2768555,4.58734809 C18.8025692,4.85981039 18.4191095,5.09442718 18.1264648,5.29120551 C17.8338202,5.48798384 17.5361343,5.74782825 17.2333984,6.07074653 C16.9407537,6.38357361 16.7212735,6.70396429 16.5749512,7.03192817 C16.4286288,7.35989205 16.3251956,7.7862387 16.2646484,8.3109809 L16.9912109,8.3109809 C17.6168651,8.3109809 18.1088035,8.46486934 18.467041,8.77265082 C18.8252785,9.08043231 19.0043945,9.53200657 19.0043945,10.1273872 C19.0043945,10.5512174 18.8454606,10.9472909 18.5275879,11.3156196 C18.2097152,11.6839482 17.7732775,11.8681098 17.2182617,11.8681098 C16.3504188,11.8681098 15.7298196,11.5830378 15.3564453,11.0128852 C14.983071,10.4427326 14.7963867,9.69347252 14.7963867,8.76508247 C14.7963867,8.10915471 14.9376613,7.51126029 15.2202148,6.97138129 C15.5027683,6.43150229 15.8458639,5.9496549 16.2495117,5.52582465 C16.6632508,5.09190321 17.1022112,4.72358007 17.5664062,4.42084418 C18.0306013,4.1181083 18.4191065,3.87087769 18.7319336,3.67914497 L19.2768555,4.58734809 Z" id="“" fill="#FFFFFF"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-quote.svg b/src/skins/vector/img/button-text-quote.svg deleted file mode 100644 index d70c261f..00000000 --- a/src/skins/vector/img/button-text-quote.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>BFC0418B-9081-4789-A231-B75953157748</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off" transform="translate(-390.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_quote" transform="translate(96.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M13.6762695,4.58734809 C13.2019833,4.85981039 12.8185236,5.09442718 12.5258789,5.29120551 C12.2332342,5.48798384 11.9355484,5.74782825 11.6328125,6.07074653 C11.350259,6.37348242 11.1333015,6.69135033 10.9819336,7.02435981 C10.8305656,7.35736929 10.7246097,7.7862387 10.6640625,8.3109809 L11.390625,8.3109809 C12.0162792,8.3109809 12.5082176,8.46486934 12.8664551,8.77265082 C13.2246925,9.08043231 13.4038086,9.53200657 13.4038086,10.1273872 C13.4038086,10.5512174 13.2448746,10.9472909 12.927002,11.3156196 C12.6091293,11.6839482 12.1726916,11.8681098 11.6176758,11.8681098 C10.7498329,11.8681098 10.1292336,11.5830378 9.75585938,11.0128852 C9.38248511,10.4427326 9.19580078,9.69347252 9.19580078,8.76508247 C9.19580078,8.10915471 9.33707541,7.51126029 9.61962891,6.97138129 C9.9021824,6.43150229 10.2452779,5.9496549 10.6489258,5.52582465 C11.0626648,5.09190321 11.5016253,4.72358007 11.9658203,4.42084418 C12.4300153,4.1181083 12.8185206,3.87087769 13.1313477,3.67914497 L13.6762695,4.58734809 Z M19.2768555,4.58734809 C18.8025692,4.85981039 18.4191095,5.09442718 18.1264648,5.29120551 C17.8338202,5.48798384 17.5361343,5.74782825 17.2333984,6.07074653 C16.9407537,6.38357361 16.7212735,6.70396429 16.5749512,7.03192817 C16.4286288,7.35989205 16.3251956,7.7862387 16.2646484,8.3109809 L16.9912109,8.3109809 C17.6168651,8.3109809 18.1088035,8.46486934 18.467041,8.77265082 C18.8252785,9.08043231 19.0043945,9.53200657 19.0043945,10.1273872 C19.0043945,10.5512174 18.8454606,10.9472909 18.5275879,11.3156196 C18.2097152,11.6839482 17.7732775,11.8681098 17.2182617,11.8681098 C16.3504188,11.8681098 15.7298196,11.5830378 15.3564453,11.0128852 C14.983071,10.4427326 14.7963867,9.69347252 14.7963867,8.76508247 C14.7963867,8.10915471 14.9376613,7.51126029 15.2202148,6.97138129 C15.5027683,6.43150229 15.8458639,5.9496549 16.2495117,5.52582465 C16.6632508,5.09190321 17.1022112,4.72358007 17.5664062,4.42084418 C18.0306013,4.1181083 18.4191065,3.87087769 18.7319336,3.67914497 L19.2768555,4.58734809 Z" id="“" fill="#4A4A4A"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-strike-o-n.svg b/src/skins/vector/img/button-text-strike-o-n.svg deleted file mode 100644 index 2914fcab..00000000 --- a/src/skins/vector/img/button-text-strike-o-n.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>69B11088-0F3A-4E14-BD9F-4FEF4115E99B</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-358.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_strike_ON" transform="translate(64.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M16.5107422,9.68842231 C16.5107422,10.3795065 16.2600937,10.9184008 15.7587891,11.3051215 C15.2574845,11.6918422 14.5771527,11.8851997 13.7177734,11.8851997 C12.7867792,11.8851997 12.0706405,11.7652464 11.5693359,11.5253364 L11.5693359,10.644477 C11.8916032,10.7805454 12.2425111,10.8879662 12.6220703,10.9667426 C13.0016295,11.0455191 13.3776023,11.0849067 13.75,11.0849067 C14.358727,11.0849067 14.8170558,10.9694293 15.125,10.7384711 C15.4329442,10.507513 15.5869141,10.1861457 15.5869141,9.77435981 C15.5869141,9.50222303 15.5323085,9.27932487 15.4230957,9.10565864 C15.3138829,8.9319924 15.1312676,8.77175638 14.8752441,8.62494575 C14.6192207,8.47813512 14.2298203,8.31163288 13.7070312,8.12543403 C12.9765588,7.86403949 12.4546728,7.55430952 12.1413574,7.19623481 C11.8280421,6.8381601 11.6713867,6.37087962 11.6713867,5.79437934 C11.6713867,5.18923309 11.8987607,4.70762983 12.3535156,4.34955512 C12.8082705,3.99148041 13.409827,3.81244575 14.1582031,3.81244575 C14.938806,3.81244575 15.656735,3.95567348 16.3120117,4.24213325 L16.0273438,5.03705512 C15.3792285,4.76491834 14.7490265,4.628852 14.1367188,4.628852 C13.6533179,4.628852 13.2755547,4.7326921 13.003418,4.94037543 C12.7312812,5.14805876 12.5952148,5.43630458 12.5952148,5.80512153 C12.5952148,6.07725831 12.6453446,6.30015647 12.7456055,6.4738227 C12.8458664,6.64748893 13.0150541,6.80682979 13.2531738,6.95185004 C13.4912935,7.0968703 13.8556291,7.25710633 14.3461914,7.43256293 C15.1697632,7.72618419 15.736408,8.04128521 16.0461426,8.37787543 C16.3558772,8.71446566 16.5107422,9.15131025 16.5107422,9.68842231 L16.5107422,9.68842231 Z" id="S-" fill="#FFFFFF"></path> - <path d="M9.5,8.5 L18.7195444,7.5" id="Line" stroke="#FFFFFF" stroke-linecap="round" opacity="0.5" transform="translate(14.109772, 8.000000) scale(1, -1) translate(-14.109772, -8.000000) "></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-strike.svg b/src/skins/vector/img/button-text-strike.svg deleted file mode 100644 index 5f262dc3..00000000 --- a/src/skins/vector/img/button-text-strike.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>A34F2223-34C6-46AE-AA47-38EC8984E9B3</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off" transform="translate(-358.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_strike" transform="translate(64.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M16.5107422,9.68842231 C16.5107422,10.3795065 16.2600937,10.9184008 15.7587891,11.3051215 C15.2574845,11.6918422 14.5771527,11.8851997 13.7177734,11.8851997 C12.7867792,11.8851997 12.0706405,11.7652464 11.5693359,11.5253364 L11.5693359,10.644477 C11.8916032,10.7805454 12.2425111,10.8879662 12.6220703,10.9667426 C13.0016295,11.0455191 13.3776023,11.0849067 13.75,11.0849067 C14.358727,11.0849067 14.8170558,10.9694293 15.125,10.7384711 C15.4329442,10.507513 15.5869141,10.1861457 15.5869141,9.77435981 C15.5869141,9.50222303 15.5323085,9.27932487 15.4230957,9.10565864 C15.3138829,8.9319924 15.1312676,8.77175638 14.8752441,8.62494575 C14.6192207,8.47813512 14.2298203,8.31163288 13.7070312,8.12543403 C12.9765588,7.86403949 12.4546728,7.55430952 12.1413574,7.19623481 C11.8280421,6.8381601 11.6713867,6.37087962 11.6713867,5.79437934 C11.6713867,5.18923309 11.8987607,4.70762983 12.3535156,4.34955512 C12.8082705,3.99148041 13.409827,3.81244575 14.1582031,3.81244575 C14.938806,3.81244575 15.656735,3.95567348 16.3120117,4.24213325 L16.0273438,5.03705512 C15.3792285,4.76491834 14.7490265,4.628852 14.1367188,4.628852 C13.6533179,4.628852 13.2755547,4.7326921 13.003418,4.94037543 C12.7312812,5.14805876 12.5952148,5.43630458 12.5952148,5.80512153 C12.5952148,6.07725831 12.6453446,6.30015647 12.7456055,6.4738227 C12.8458664,6.64748893 13.0150541,6.80682979 13.2531738,6.95185004 C13.4912935,7.0968703 13.8556291,7.25710633 14.3461914,7.43256293 C15.1697632,7.72618419 15.736408,8.04128521 16.0461426,8.37787543 C16.3558772,8.71446566 16.5107422,9.15131025 16.5107422,9.68842231 L16.5107422,9.68842231 Z" id="S-" fill="#4A4A4A"></path> - <path d="M9.5,8.5 L18.7195444,7.5" id="Line" stroke="#4A4A4A" stroke-linecap="round" opacity="0.5" transform="translate(14.109772, 8.000000) scale(1, -1) translate(-14.109772, -8.000000) "></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-underline-o-n.svg b/src/skins/vector/img/button-text-underline-o-n.svg deleted file mode 100644 index 870be3ce..00000000 --- a/src/skins/vector/img/button-text-underline-o-n.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>FD84FF7C-43E4-4312-90AB-5A59AD018377</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_off-BUTTONS-ON" transform="translate(-390.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_underline_ON" transform="translate(96.000000, 0.000000)"> - <rect id="Rectangle-108" fill="#4A4A4A" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M17.0092773,4.14746094 L17.0092773,9.22851562 C17.0092773,10.1237024 16.738935,10.8273086 16.1982422,11.3393555 C15.6575494,11.8514023 14.9145555,12.1074219 13.9692383,12.1074219 C13.0239211,12.1074219 12.2925644,11.849612 11.7751465,11.3339844 C11.2577285,10.8183568 10.9990234,10.1093795 10.9990234,9.20703125 L10.9990234,4.14746094 L11.9121094,4.14746094 L11.9121094,9.27148438 C11.9121094,9.92676109 12.091144,10.4298485 12.4492188,10.7807617 C12.8072935,11.1316749 13.3336554,11.3071289 14.0283203,11.3071289 C14.6907585,11.3071289 15.2010073,11.1307798 15.559082,10.7780762 C15.9171567,10.4253726 16.0961914,9.91959965 16.0961914,9.26074219 L16.0961914,4.14746094 L17.0092773,4.14746094 Z" id="U" fill="#FFFFFF"></path> - <path d="M9.5,13.5 L18.7195444,13.5" id="Line" stroke="#4A4A4A" stroke-linecap="round" opacity="0.5" transform="translate(14.109772, 13.500000) scale(1, -1) translate(-14.109772, -13.500000) "></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/button-text-underline.svg b/src/skins/vector/img/button-text-underline.svg deleted file mode 100644 index 26f44853..00000000 --- a/src/skins/vector/img/button-text-underline.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="28px" height="16px" viewBox="0 0 28 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>13E7EE68-9B16-4A3D-8F9F-31E4BAB7E438</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="02_x-Chat-text-input-markdown-panel-MD_on" transform="translate(-390.000000, -745.000000)"> - <g id="format-buttons-A-Copy" transform="translate(294.000000, 745.000000)"> - <g id="button_text_underline" transform="translate(96.000000, 0.000000)"> - <rect id="Rectangle-108" fill-opacity="0.1" fill="#000000" x="0" y="0" width="28" height="16" rx="8"></rect> - <path d="M17.0092773,4.14746094 L17.0092773,9.22851562 C17.0092773,10.1237024 16.738935,10.8273086 16.1982422,11.3393555 C15.6575494,11.8514023 14.9145555,12.1074219 13.9692383,12.1074219 C13.0239211,12.1074219 12.2925644,11.849612 11.7751465,11.3339844 C11.2577285,10.8183568 10.9990234,10.1093795 10.9990234,9.20703125 L10.9990234,4.14746094 L11.9121094,4.14746094 L11.9121094,9.27148438 C11.9121094,9.92676109 12.091144,10.4298485 12.4492188,10.7807617 C12.8072935,11.1316749 13.3336554,11.3071289 14.0283203,11.3071289 C14.6907585,11.3071289 15.2010073,11.1307798 15.559082,10.7780762 C15.9171567,10.4253726 16.0961914,9.91959965 16.0961914,9.26074219 L16.0961914,4.14746094 L17.0092773,4.14746094 Z" id="U" fill-opacity="0.7" fill="#000000"></path> - <path d="M9.5,13.5 L18.7195444,13.5" id="Line" stroke="#4A4A4A" stroke-linecap="round" opacity="0.5" transform="translate(14.109772, 13.500000) scale(1, -1) translate(-14.109772, -13.500000) "></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/call.png b/src/skins/vector/img/call.png deleted file mode 100644 index a7805e05..00000000 Binary files a/src/skins/vector/img/call.png and /dev/null differ diff --git a/src/skins/vector/img/call.svg b/src/skins/vector/img/call.svg deleted file mode 100644 index f528f9a2..00000000 --- a/src/skins/vector/img/call.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="30px" height="22px" viewBox="-1 -1 30 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: bin/sketchtool 1.4 (305) - http://www.bohemiancoding.com/sketch --> - <title>icons_video</title> - <desc>Created with bin/sketchtool.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_13-Chat-member-profile" sketch:type="MSArtboardGroup" transform="translate(-910.000000, -723.000000)" stroke="#76CFA6"> - <g id="icons_video" sketch:type="MSLayerGroup" transform="translate(910.000000, 722.000000)"> - <g id="Rectangle-20-+-Path-16" transform="translate(0.000000, 0.464286)" sketch:type="MSShapeGroup"> - <rect id="Rectangle-20" fill="#FFFFFF" x="0" y="0.535714286" width="20" height="20" rx="4"></rect> - <path d="M20.75,10.6964286 C20.75,14.0446429 24.188247,15.7371974 24.188247,15.7371974 C25.5057636,16.651593 26.5738219,16.0843085 26.5738219,14.4868066 L26.5738219,6.90605053 C26.5738219,5.30108314 25.4784055,4.70120148 24.188247,5.65565975 C24.188247,5.65565975 20.75,7.34821429 20.75,10.6964286 Z" id="Path-16"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/camera.svg b/src/skins/vector/img/camera.svg deleted file mode 100644 index 6519496f..00000000 --- a/src/skins/vector/img/camera.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="17px" height="15px" viewBox="-1 -1 16 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>icon_camera</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="06a-Room-settings" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="06_4-Room-settings-admin" sketch:type="MSArtboardGroup" transform="translate(-248.000000, -71.000000)" fill="#454545"> - <path d="M255.5,76.25 C256.119795,76.25 256.649737,76.4700499 257.089844,76.9101562 C257.52995,77.3502626 257.75,77.8802052 257.75,78.5 C257.75,79.1197948 257.52995,79.6497374 257.089844,80.0898438 C256.649737,80.5299501 256.119795,80.75 255.5,80.75 C254.880205,80.75 254.350263,80.5299501 253.910156,80.0898438 C253.47005,79.6497374 253.25,79.1197948 253.25,78.5 C253.25,77.8802052 253.47005,77.3502626 253.910156,76.9101562 C254.350263,76.4700499 254.880205,76.25 255.5,76.25 L255.5,76.25 Z M261,73 C261.552086,73 262.023436,73.1953105 262.414062,73.5859375 C262.804689,73.9765645 263,74.4479139 263,75 L263,82 C263,82.5520861 262.804689,83.0234355 262.414062,83.4140625 C262.023436,83.8046895 261.552086,84 261,84 L250,84 C249.447914,84 248.976564,83.8046895 248.585938,83.4140625 C248.195311,83.0234355 248,82.5520861 248,82 L248,75 C248,74.4479139 248.195311,73.9765645 248.585938,73.5859375 C248.976564,73.1953105 249.447914,73 250,73 L251.75,73 L252.148438,71.9375 C252.247396,71.6822904 252.428384,71.4622405 252.691406,71.2773438 C252.954428,71.092447 253.223957,71 253.5,71 L257.5,71 C257.776043,71 258.045572,71.092447 258.308594,71.2773438 C258.571616,71.4622405 258.752604,71.6822904 258.851562,71.9375 L259.25,73 L261,73 Z M255.5,82 C256.463546,82 257.287757,81.6575555 257.972656,80.9726562 C258.657556,80.287757 259,79.4635465 259,78.5 C259,77.5364535 258.657556,76.712243 257.972656,76.0273438 C257.287757,75.3424445 256.463546,75 255.5,75 C254.536454,75 253.712243,75.3424445 253.027344,76.0273438 C252.342444,76.712243 252,77.5364535 252,78.5 C252,79.4635465 252.342444,80.287757 253.027344,80.9726562 C253.712243,81.6575555 254.536454,82 255.5,82 L255.5,82 Z" id="icon_camera" sketch:type="MSShapeGroup"></path> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/camera_green.svg b/src/skins/vector/img/camera_green.svg deleted file mode 100644 index 5aae5502..00000000 --- a/src/skins/vector/img/camera_green.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="2048px" height="1792px" viewBox="0 0 2048 1792" enable-background="new 0 0 2048 1792" xml:space="preserve"> -<path fill="#76CFA6" d="M1024,672c79.333,0,147.166,28.167,203.5,84.5c56.333,56.334,84.5,124.167,84.5,203.5 - c0,79.334-28.167,147.167-84.5,203.5c-56.334,56.334-124.167,84.5-203.5,84.5c-79.334,0-147.167-28.166-203.5-84.5 - C764.166,1107.167,736,1039.334,736,960c0-79.333,28.166-147.166,84.5-203.5C876.833,700.167,944.666,672,1024,672z M1728,256 - c70.666,0,131,25,181,75s75,110.334,75,181v896c0,70.667-25,131-75,181s-110.334,75-181,75H320c-70.667,0-131-25-181-75 - s-75-110.333-75-181V512c0-70.666,25-131,75-181s110.333-75,181-75h224l51-136c12.666-32.666,35.833-60.833,69.5-84.5 - C698.166,11.834,732.666,0,768,0h512c35.333,0,69.833,11.834,103.5,35.5c33.666,23.667,56.833,51.834,69.5,84.5l51,136H1728z - M1024,1408c123.333,0,228.833-43.833,316.5-131.5c87.666-87.666,131.5-193.166,131.5-316.5c0-123.333-43.834-228.833-131.5-316.5 - C1252.833,555.834,1147.333,512,1024,512c-123.334,0-228.834,43.834-316.5,131.5C619.833,731.167,576,836.667,576,960 - c0,123.334,43.833,228.834,131.5,316.5C795.166,1364.167,900.666,1408,1024,1408z"/> -</svg> diff --git a/src/skins/vector/img/cancel-black.png b/src/skins/vector/img/cancel-black.png deleted file mode 100644 index 87dcfd41..00000000 Binary files a/src/skins/vector/img/cancel-black.png and /dev/null differ diff --git a/src/skins/vector/img/cancel-black2.png b/src/skins/vector/img/cancel-black2.png deleted file mode 100644 index a928c61b..00000000 Binary files a/src/skins/vector/img/cancel-black2.png and /dev/null differ diff --git a/src/skins/vector/img/cancel-red.svg b/src/skins/vector/img/cancel-red.svg deleted file mode 100644 index a72a970b..00000000 --- a/src/skins/vector/img/cancel-red.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> - <title>Slice 1</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <path d="M9.74464309,-3.02908503 L8.14106175,-3.02908503 L8.14106175,8.19448443 L-3.03028759,8.19448443 L-3.03028759,9.7978515 L8.14106175,9.7978515 L8.14106175,20.9685098 L9.74464309,20.9685098 L9.74464309,9.7978515 L20.9697124,9.7978515 L20.9697124,8.19448443 L9.74464309,8.19448443 L9.74464309,-3.02908503" id="Fill-108" opacity="0.9" fill="#ff0064" sketch:type="MSShapeGroup" transform="translate(8.969712, 8.969712) rotate(-315.000000) translate(-8.969712, -8.969712) "></path> - </g> -</svg> diff --git a/src/skins/vector/img/cancel-small.svg b/src/skins/vector/img/cancel-small.svg deleted file mode 100644 index e4c8cafc..00000000 --- a/src/skins/vector/img/cancel-small.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="14px" height="14px" viewBox="-1 -1 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>Line + Line</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="Line-+-Line" sketch:type="MSLayerGroup" transform="translate(2.000000, 2.000000)" stroke="#4A4A4A" stroke-width="2.82" stroke-linecap="square"> - <path d="M8,0 L0,8" id="Line" sketch:type="MSShapeGroup"></path> - <path d="M0,0 L8,8" id="Line" sketch:type="MSShapeGroup"></path> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/cancel-white.svg b/src/skins/vector/img/cancel-white.svg deleted file mode 100644 index 65e14c2f..00000000 --- a/src/skins/vector/img/cancel-white.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> - <title>Slice 1</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <path d="M9.74464309,-3.02908503 L8.14106175,-3.02908503 L8.14106175,8.19448443 L-3.03028759,8.19448443 L-3.03028759,9.7978515 L8.14106175,9.7978515 L8.14106175,20.9685098 L9.74464309,20.9685098 L9.74464309,9.7978515 L20.9697124,9.7978515 L20.9697124,8.19448443 L9.74464309,8.19448443 L9.74464309,-3.02908503" id="Fill-108" opacity="0.9" fill="#ffffff" sketch:type="MSShapeGroup" transform="translate(8.969712, 8.969712) rotate(-315.000000) translate(-8.969712, -8.969712) "></path> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/cancel.png b/src/skins/vector/img/cancel.png deleted file mode 100644 index 2bda8ff5..00000000 Binary files a/src/skins/vector/img/cancel.png and /dev/null differ diff --git a/src/skins/vector/img/cancel.svg b/src/skins/vector/img/cancel.svg deleted file mode 100644 index e3206002..00000000 --- a/src/skins/vector/img/cancel.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> - <title>Slice 1</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <path d="M9.74464309,-3.02908503 L8.14106175,-3.02908503 L8.14106175,8.19448443 L-3.03028759,8.19448443 L-3.03028759,9.7978515 L8.14106175,9.7978515 L8.14106175,20.9685098 L9.74464309,20.9685098 L9.74464309,9.7978515 L20.9697124,9.7978515 L20.9697124,8.19448443 L9.74464309,8.19448443 L9.74464309,-3.02908503" id="Fill-108" opacity="0.9" fill="#454545" sketch:type="MSShapeGroup" transform="translate(8.969712, 8.969712) rotate(-315.000000) translate(-8.969712, -8.969712) "></path> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/cancel_green.svg b/src/skins/vector/img/cancel_green.svg deleted file mode 100644 index 2e3d759b..00000000 --- a/src/skins/vector/img/cancel_green.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> - <title>Slice 1</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <path d="M9.74464309,-3.02908503 L8.14106175,-3.02908503 L8.14106175,8.19448443 L-3.03028759,8.19448443 L-3.03028759,9.7978515 L8.14106175,9.7978515 L8.14106175,20.9685098 L9.74464309,20.9685098 L9.74464309,9.7978515 L20.9697124,9.7978515 L20.9697124,8.19448443 L9.74464309,8.19448443 L9.74464309,-3.02908503" id="Fill-108" opacity="0.9" fill="#76CFA6" sketch:type="MSShapeGroup" transform="translate(8.969712, 8.969712) rotate(-315.000000) translate(-8.969712, -8.969712) "></path> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/chevron-left.png b/src/skins/vector/img/chevron-left.png deleted file mode 100644 index efb0065d..00000000 Binary files a/src/skins/vector/img/chevron-left.png and /dev/null differ diff --git a/src/skins/vector/img/chevron-right.png b/src/skins/vector/img/chevron-right.png deleted file mode 100644 index 18a4684e..00000000 Binary files a/src/skins/vector/img/chevron-right.png and /dev/null differ diff --git a/src/skins/vector/img/chevron.png b/src/skins/vector/img/chevron.png deleted file mode 100644 index 81236f91..00000000 Binary files a/src/skins/vector/img/chevron.png and /dev/null differ diff --git a/src/skins/vector/img/close-white.png b/src/skins/vector/img/close-white.png deleted file mode 100644 index d8752ed9..00000000 Binary files a/src/skins/vector/img/close-white.png and /dev/null differ diff --git a/src/skins/vector/img/create-big.png b/src/skins/vector/img/create-big.png deleted file mode 100644 index b7307a11..00000000 Binary files a/src/skins/vector/img/create-big.png and /dev/null differ diff --git a/src/skins/vector/img/create-big.svg b/src/skins/vector/img/create-big.svg deleted file mode 100644 index 2450542b..00000000 --- a/src/skins/vector/img/create-big.svg +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="26px" height="26px" viewBox="-1 -1 26 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4 (381) - http://www.bohemiancoding.com/sketch --> - <title>icons_create_room</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="01-Sign-up" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="01_2-Sign-up-2" sketch:type="MSArtboardGroup" transform="translate(-14.000000, -653.000000)"> - <g id="Left-panel" sketch:type="MSLayerGroup" transform="translate(-4.000000, 0.000000)"> - <g id="right_bottom" transform="translate(0.000000, 626.000000)" sketch:type="MSShapeGroup"> - <g id="Group-Copy-29" transform="translate(18.000000, 27.000000)"> - <g id="Group-Copy-15"> - <g id="icons_create_room"> - <g id="Oval-1-Copy-7-+-Group-Copy-5-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy" fill="#454545"> - <circle id="Oval-1-Copy-7" cx="12" cy="12" r="12"></circle> - </g> - <path d="M7,12 L17,12" id="Line" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"></path> - <path d="M12,7 L12,17" id="Line" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"></path> - </g> - </g> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/create.png b/src/skins/vector/img/create.png deleted file mode 100644 index 2d6107ac..00000000 Binary files a/src/skins/vector/img/create.png and /dev/null differ diff --git a/src/skins/vector/img/delete.png b/src/skins/vector/img/delete.png deleted file mode 100644 index 8ff20a11..00000000 Binary files a/src/skins/vector/img/delete.png and /dev/null differ diff --git a/src/skins/vector/img/directory-big.png b/src/skins/vector/img/directory-big.png deleted file mode 100644 index 03cab69c..00000000 Binary files a/src/skins/vector/img/directory-big.png and /dev/null differ diff --git a/src/skins/vector/img/directory-big.svg b/src/skins/vector/img/directory-big.svg deleted file mode 100644 index 5631a2ae..00000000 --- a/src/skins/vector/img/directory-big.svg +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="26px" height="26px" viewBox="-1 -2 26 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4 (381) - http://www.bohemiancoding.com/sketch --> - <title>icons_directory</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="01-Sign-up" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="01_2-Sign-up-2" sketch:type="MSArtboardGroup" transform="translate(-14.000000, -689.000000)" fill="#454545"> - <g id="Left-panel" sketch:type="MSLayerGroup" transform="translate(-4.000000, 0.000000)"> - <g id="right_bottom" transform="translate(0.000000, 626.000000)" sketch:type="MSShapeGroup"> - <g id="Group-Copy-29" transform="translate(18.000000, 27.000000)"> - <g id="icons_directory" transform="translate(0.000000, 36.000000)"> - <path d="M8.74940618,2.46971496 C8.58491686,2.46971496 8.47565321,2.15795724 8.32719715,1.68349169 C8.11698337,1.01306413 7.80106888,0 6.69002375,0 L1.38182898,0 C0.63064133,0 0.0243467933,0.589073634 0.00118764846,1.35391924 L0,19.6264846 C0,20.3895487 0.620546318,21.0095012 1.38182898,21.0095012 L22.6187648,21.0095012 C23.3800475,21.0095012 24,20.3895487 24,19.6264846 L24,3.85213777 C24,3.08966746 23.3800475,2.46971496 22.6187648,2.46971496 L8.74940618,2.46971496 Z M23.1086698,19.5068597 C23.1086698,19.7757653 22.8889549,19.9946556 22.6187648,19.9946556 L1.38182898,19.9946556 C1.11163895,19.9946556 0.890736342,19.7757653 0.890736342,19.5068597 L0.89192399,6.49465558 L23.1086698,6.49465558 L23.1086698,19.5068597 L23.1086698,19.5068597 Z M23.1086698,5.60391924 L0.89192399,5.60391924 L0.89192399,1.36698337 C0.90023753,1.09976247 1.11579572,0.890736342 1.38182898,0.890736342 L6.69002375,0.890736342 C7.10273159,0.890736342 7.24643705,1.2131829 7.47624703,1.94893112 C7.66270784,2.54453682 7.91805226,3.36045131 8.74940618,3.36045131 L22.6187648,3.36045131 C22.8889549,3.36045131 23.1086698,3.5807601 23.1086698,3.85213777 L23.1086698,5.60391924 L23.1086698,5.60391924 Z" id="Fill-137"></path> - <path d="M23.1086698,19.5068597 C23.1086698,19.7757653 22.8889549,19.9946556 22.6187648,19.9946556 L1.38182898,19.9946556 C1.11163895,19.9946556 0.890736342,19.7757653 0.890736342,19.5068597 L0.89192399,6.49465558 L23.1086698,6.49465558 L23.1086698,19.5068597 L23.1086698,19.5068597 Z" id="Path-Copy-2" fill-opacity="0.1"></path> - <path d="M0.89192399,5.60391924 L0.89192399,1.36698337 C0.90023753,1.09976247 1.11579572,0.890736342 1.38182898,0.890736342 L6.69002375,0.890736342 C7.10273159,0.890736342 7.24643705,1.2131829 7.47624703,1.94893112 C7.66270784,2.54453682 7.91805226,3.36045131 8.74940618,3.36045131 L22.6187648,3.36045131 C22.8889549,3.36045131 23.1086698,3.5807601 23.1086698,3.85213777 L23.1086698,5.60391924 L0.89192399,5.60391924 Z" id="Path-Copy" fill-opacity="0.1"></path> - </g> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/download.png b/src/skins/vector/img/download.png deleted file mode 100644 index 1999ebf7..00000000 Binary files a/src/skins/vector/img/download.png and /dev/null differ diff --git a/src/skins/vector/img/download.svg b/src/skins/vector/img/download.svg deleted file mode 100644 index d0ea090d..00000000 --- a/src/skins/vector/img/download.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="12px" height="14px" viewBox="-1 -1 12 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>Fill 75</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_x-Chat-MAX" sketch:type="MSArtboardGroup" transform="translate(-280.000000, -546.000000)" fill="#76CFA6"> - <g id="Group" sketch:type="MSLayerGroup" transform="translate(243.000000, 58.000000)"> - <g id="Group-Copy-13-+-Matrix-HQ-Copy-17-+-Bitmap" transform="translate(1.000000, 181.000000)" sketch:type="MSShapeGroup"> - <g id="Group-Copy-13"> - <path d="M45.3400426,312.526774 C45.4870048,312.526774 45.633967,312.470898 45.7464849,312.35838 C45.9699899,312.134109 45.9699899,311.771296 45.7464849,311.547026 L41.3659396,307.168011 C41.1424345,306.943741 40.7788562,306.944506 40.5545857,307.167246 L36.1686823,311.540137 C35.9444119,311.764408 35.9436465,312.127986 36.1671515,312.352256 C36.3906565,312.577292 36.7542349,312.577292 36.9785053,312.353787 L40.3915495,308.950694 L40.3930804,318.425929 C40.3930804,318.742816 40.6510296,319 40.9671515,319 C41.2848042,319 41.5412226,318.742816 41.5412226,318.425929 L41.5396917,308.965237 L44.9343656,312.35838 C45.0461182,312.470898 45.1930804,312.526774 45.3400426,312.526774 L45.3400426,312.526774 Z" id="Fill-75" transform="translate(40.957057, 313.000000) rotate(-180.000000) translate(-40.957057, -313.000000) "></path> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/e2e-blocked.svg b/src/skins/vector/img/e2e-blocked.svg deleted file mode 100644 index 0ab2c6ef..00000000 --- a/src/skins/vector/img/e2e-blocked.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>2805649B-D39D-43EA-A357-659EF9B97BA4</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Typing-Indicator" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="typing-indicator" transform="translate(-301.000000, -328.000000)" fill="#BA6363"> - <path d="M307,340 C310.313708,340 313,337.313708 313,334 C313,330.686292 310.313708,328 307,328 C303.686292,328 301,330.686292 301,334 C301,337.313708 303.686292,340 307,340 Z M304,333 L310,333 L310,335 L304,335 L304,333 Z" id="blocked_icon"></path> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/e2e-unencrypted.svg b/src/skins/vector/img/e2e-unencrypted.svg deleted file mode 100644 index 14672236..00000000 --- a/src/skins/vector/img/e2e-unencrypted.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="14px" height="12px" viewBox="0 0 14 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>16F5F38E-A6A3-472A-BC13-13F0F12876CF</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Typing-Indicator" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.200000003"> - <g id="typing-indicator" transform="translate(-301.000000, -141.000000)" fill="#000000"> - <g id="unencrypted_icon" transform="translate(301.000000, 141.000000)"> - <g id="Lock-Copy" transform="translate(0.000000, 4.000000)"> - <g id="Layer_1"> - <polygon id="Shape" points="1.33333333 0.666666667 0 0.666666667 0 8 5 8 10 8 10 0.666666667 8.66666667 0.666666667"></polygon> - </g> - </g> - <g id="Lock-Copy-2" transform="translate(6.000000, 0.000000)"> - <g id="Layer_1"> - <path d="M7.66666667,3.66666667 C7.66666667,1.63333333 6.03333333,0 4,0 C1.96666667,0 0.333333333,1.63333333 0.333333333,3.66666667 L0.333333333,4.66666667 L7.66666667,4.66666667 L7.66666667,3.66666667 Z M1.66666667,4.66666667 L1.66666667,3.66666667 C1.66666667,2.36666667 2.7,1.33333333 4,1.33333333 C5.3,1.33333333 6.33333333,2.36666667 6.33333333,3.66666667 L6.33333333,4.66666667 L4,4.66666667 L1.66666667,4.66666667 Z" id="Shape"></path> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/e2e-verified.svg b/src/skins/vector/img/e2e-verified.svg deleted file mode 100644 index b65f50b2..00000000 --- a/src/skins/vector/img/e2e-verified.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="10px" height="12px" viewBox="0 0 10 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>48BF5D32-306C-4B20-88EB-24B1F743CAC9</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Typing-Indicator" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="typing-indicator" transform="translate(-301.000000, -172.000000)" fill="#76CFA6"> - <path d="M309.666667,175.666667 C309.666667,173.633333 308.033333,172 306,172 C303.966667,172 302.333333,173.633333 302.333333,175.666667 L302.333333,176.666667 L301,176.666667 L301,184 L306,184 L311,184 L311,176.666667 L309.666667,176.666667 L309.666667,175.666667 Z M306,176.666667 L303.666667,176.666667 L303.666667,175.666667 C303.666667,174.366667 304.7,173.333333 306,173.333333 C307.3,173.333333 308.333333,174.366667 308.333333,175.666667 L308.333333,176.666667 L306,176.666667 L306,176.666667 Z" id="verified_icon"></path> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/e2e-warning.svg b/src/skins/vector/img/e2e-warning.svg deleted file mode 100644 index 8a55f199..00000000 --- a/src/skins/vector/img/e2e-warning.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="15px" height="12px" viewBox="0 0 15 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>CCDDE6F6-B552-48FD-AD54-6939841CA2DD</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Typing-Indicator" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="typing-indicator" transform="translate(-299.000000, -294.000000)" fill="#E9BF37"> - <path d="M313.568455,304.982113 L306.898576,294.310305 C306.776309,294.117108 306.563606,294 306.334971,294 C306.106335,294 305.893632,294.117108 305.771366,294.310305 L299.101486,304.982113 C298.971497,305.189962 298.966004,305.452367 299.087182,305.665474 C299.20836,305.87858 299.436676,306.008036 299.681766,306.002604 L313.021525,306.002604 C313.260642,305.995965 313.477893,305.861783 313.590891,305.650946 C313.703889,305.440108 313.695328,305.184904 313.568455,304.982113 L313.568455,304.982113 Z M307.018633,304.00164 L305.684657,304.00164 L305.684657,302.667664 L307.018633,302.667664 L307.018633,304.00164 Z M307.018633,301.333689 L305.684657,301.333689 L305.684657,297.998749 L307.018633,297.998749 L307.018633,301.333689 Z" id="unverified_icon"></path> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/edit.png b/src/skins/vector/img/edit.png deleted file mode 100644 index 6f373d3f..00000000 Binary files a/src/skins/vector/img/edit.png and /dev/null differ diff --git a/src/skins/vector/img/edit.svg b/src/skins/vector/img/edit.svg deleted file mode 100644 index 9ba00607..00000000 --- a/src/skins/vector/img/edit.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="512px" height="512px" viewBox="0 0 512 512" xml:space="preserve"> - <g> - <rect fill="#000000" x="167.664" y="69.108" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 219.262 633.2606)" width="146.238" height="404.224"/> - <path fill="#000000" d="M502.05,64.887L447.116,9.952c-13.386-13.385-36.032-12.44-50.585,2.113l-51.609,51.61L448.328,167.08l51.609-51.608 - C514.486,100.918,515.434,78.271,502.05,64.887z"/> - <polygon fill="#000000" points="36.56,378.704 0,512 133.283,475.439"/> - </g> -</svg> diff --git a/src/skins/vector/img/edit_green.svg b/src/skins/vector/img/edit_green.svg deleted file mode 100644 index f7f4c7ad..00000000 --- a/src/skins/vector/img/edit_green.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="512px" height="512px" viewBox="0 0 512 512" xml:space="preserve"> - <g> - <rect fill="#76CFA6" x="167.664" y="69.108" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 219.262 633.2606)" width="146.238" height="404.224"/> - <path fill="#76CFA6" d="M502.05,64.887L447.116,9.952c-13.386-13.385-36.032-12.44-50.585,2.113l-51.609,51.61L448.328,167.08l51.609-51.608 - C514.486,100.918,515.434,78.271,502.05,64.887z"/> - <polygon fill="#76CFA6" points="36.56,378.704 0,512 133.283,475.439"/> - </g> -</svg> diff --git a/src/skins/vector/img/ellipsis.svg b/src/skins/vector/img/ellipsis.svg deleted file mode 100644 index d60c8440..00000000 --- a/src/skins/vector/img/ellipsis.svg +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>icons_archive</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="ellipsis" sketch:type="MSLayerGroup"> - <g id="03-Input" sketch:type="MSShapeGroup"> - <g id="03_3-Input-filled"> - <g id="right_default"> - <g id="right_middle"> - <g id="Left-panel"> - <g id="icons_archive"> - <rect id="Rectangle-1" fill="#ECECEC" x="0" y="0" width="24" height="24"></rect> - <path d="M7.338,13.154 C7.842,13.154 8.164,12.776 8.164,12.272 C8.164,11.754 7.842,11.39 7.338,11.39 C6.848,11.39 6.512,11.754 6.512,12.272 C6.498,12.776 6.848,13.154 7.338,13.154 L7.338,13.154 L7.338,13.154 Z M12,13.154 C12.504,13.154 12.84,12.776 12.84,12.272 C12.826,11.754 12.504,11.39 12.014,11.39 C11.524,11.39 11.174,11.754 11.174,12.272 C11.16,12.776 11.51,13.154 12,13.154 L12,13.154 L12,13.154 Z M16.662,13.154 C17.18,13.154 17.502,12.776 17.502,12.272 C17.502,11.754 17.166,11.39 16.676,11.39 C16.186,11.39 15.836,11.754 15.836,12.272 C15.836,12.776 16.172,13.154 16.662,13.154 L16.662,13.154 L16.662,13.154 Z" id="Matrix-HQ-Copy-15" fill="#454545"></path> - </g> - </g> - </g> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/eol.svg b/src/skins/vector/img/eol.svg deleted file mode 100644 index 02d1946c..00000000 --- a/src/skins/vector/img/eol.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="22px" height="16px" viewBox="-1 -1 22 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4 (381) - http://www.bohemiancoding.com/sketch --> - <title>icon_eol</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="03-Input" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="03_2-Mentions-autocomplete" sketch:type="MSArtboardGroup" transform="translate(-772.000000, -670.000000)"> - <g id="icon_eol" sketch:type="MSLayerGroup" transform="translate(772.000000, 670.000000)"> - <path d="M0,7.5 L17,7.5" id="Path-118" stroke="#76CFA6" sketch:type="MSShapeGroup"></path> - <path d="M13,2 L18,7.38056399 L13,12.761128" id="Path-119" stroke="#76CFA6" sketch:type="MSShapeGroup"></path> - <path d="M19.5,0 L19.5,14" id="Path-120" stroke="#76CFA6" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/f4c371.png b/src/skins/vector/img/f4c371.png deleted file mode 100644 index ad3b8f16..00000000 Binary files a/src/skins/vector/img/f4c371.png and /dev/null differ diff --git a/src/skins/vector/img/file.png b/src/skins/vector/img/file.png deleted file mode 100644 index 5904ea82..00000000 Binary files a/src/skins/vector/img/file.png and /dev/null differ diff --git a/src/skins/vector/img/filegrid.png b/src/skins/vector/img/filegrid.png deleted file mode 100644 index c2c2799f..00000000 Binary files a/src/skins/vector/img/filegrid.png and /dev/null differ diff --git a/src/skins/vector/img/fileicon.png b/src/skins/vector/img/fileicon.png deleted file mode 100644 index af018efa..00000000 Binary files a/src/skins/vector/img/fileicon.png and /dev/null differ diff --git a/src/skins/vector/img/filelist.png b/src/skins/vector/img/filelist.png deleted file mode 100644 index 3cf6cb49..00000000 Binary files a/src/skins/vector/img/filelist.png and /dev/null differ diff --git a/src/skins/vector/img/files.png b/src/skins/vector/img/files.png deleted file mode 100644 index 83932267..00000000 Binary files a/src/skins/vector/img/files.png and /dev/null differ diff --git a/src/skins/vector/img/files.svg b/src/skins/vector/img/files.svg deleted file mode 100644 index 20aba851..00000000 --- a/src/skins/vector/img/files.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="17px" height="22px" viewBox="0 0 17 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: bin/sketchtool 1.4 (305) - http://www.bohemiancoding.com/sketch --> - <title>icons_browse_files</title> - <desc>Created with bin/sketchtool.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_13-Chat-member-profile" sketch:type="MSArtboardGroup" transform="translate(-1025.000000, -33.000000)"> - <g id="icons_browse_files" sketch:type="MSLayerGroup" transform="translate(1025.000000, 32.000000)"> - <g id="Rectangle-5-+-Rectangle-6-Copy" transform="translate(0.000000, 1.000000)" sketch:type="MSShapeGroup"> - <path d="M0,4.00955791 C0,1.79514022 1.78163126,0 3.99825563,0 L9.59161955,0 C9.59161955,0 16.3225806,6.49234232 16.3225806,6.49234232 L16.3225806,18.0063928 C16.3225806,20.2120012 14.5290874,22 12.3296282,22 L3.99295243,22 C1.7877057,22 0,20.1996477 0,17.9904421 L0,4.00955791 Z" id="Rectangle-5" stroke="#76CFA6"></path> - <path d="M15.6804916,7.49527496 L11.5273266,7.49527496 C10.3308881,7.49527496 9.3609831,6.52527676 9.3609831,5.3289315 L9.3609831,1.88544393 L15.6804916,7.49527496 Z" id="Rectangle-6-Copy" fill="#FFFFFF"></path> - <path d="M16.3225806,7.09677419 L11.4129801,7.09677419 C10.2050375,7.09677419 9.22580645,6.11744908 9.22580645,4.90960051 L9.22580645,0" id="Rectangle-6" stroke="#76CFA6"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/fullscreen.svg b/src/skins/vector/img/fullscreen.svg deleted file mode 100644 index e333abb6..00000000 --- a/src/skins/vector/img/fullscreen.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="29px" height="22px" viewBox="-1 -1 29 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>Zoom</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-824.000000, -667.000000)"> - <g id="Zoom" sketch:type="MSLayerGroup" transform="translate(824.000000, 667.000000)"> - <rect id="Rectangle-20" stroke="#FFFFFF" sketch:type="MSShapeGroup" x="0" y="0" width="27" height="20" rx="4"></rect> - <rect id="Rectangle-20" stroke="#FFFFFF" sketch:type="MSShapeGroup" x="6" y="2" width="15" height="11" rx="4"></rect> - <g id="Line-+-Triangle-3" transform="translate(4.474874, 15.181981) rotate(-45.000000) translate(-4.474874, -15.181981) translate(0.974874, 13.181981)" sketch:type="MSShapeGroup"> - <path d="M6.53553391,2 L3,2" id="Line" stroke="#FFFFFF" stroke-linecap="square"></path> - <path d="M3.26960678,3.51960678 L0.269606781,2.01960678 L3.26960678,0.519606781 L3.26960678,3.51960678 Z" id="Triangle-3" fill="#FFFFFF"></path> - </g> - <g id="Line-+-Triangle-3-Copy" transform="translate(22.681981, 15.181981) scale(-1, 1) rotate(-45.000000) translate(-22.681981, -15.181981) translate(19.181981, 13.181981)" sketch:type="MSShapeGroup"> - <path d="M6.53553391,2 L3,2" id="Line" stroke="#FFFFFF" stroke-linecap="square"></path> - <path d="M3.375,0.5 L3.375,3.5 L0.375,2 L3.375,0.5 Z" id="Triangle-3" fill="#FFFFFF"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/hangup.svg b/src/skins/vector/img/hangup.svg deleted file mode 100644 index be038d2b..00000000 --- a/src/skins/vector/img/hangup.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="26px" viewBox="-1 -1 25 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.3 (16618) - http://www.bohemiancoding.com/sketch --> - <title>Fill 72 + Path 98</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-910.000000, -719.000000)" stroke="#FF0064"> - <g id="Fill-72-+-Path-98" sketch:type="MSLayerGroup" transform="translate(910.000000, 719.000000)"> - <path d="M17.8404444,24 C15.8137778,24 10.8875556,21.408 6.75022222,15.8448889 C2.88088889,10.6413333 1,6.88222222 1,4.35244444 C1,2.36088889 2.37511111,1.41022222 3.11422222,0.9 L3.29644444,0.772888889 C4.11288889,0.188888889 5.38222222,0 5.86888889,0 C6.72222222,0 7.08177778,0.499555556 7.29955556,0.935111111 C7.48488889,1.30311111 9.01777778,4.59511111 9.17288889,5.00444444 C9.41111111,5.63377778 9.33288889,6.55111111 8.596,7.07822222 L8.46622222,7.16844444 C8.10044444,7.42222222 7.42,7.89333333 7.32577778,8.46622222 C7.28,8.74488889 7.37333333,9.03644444 7.61111111,9.35688889 C8.79777778,10.956 12.5862222,15.6506667 13.2693333,16.2884444 C13.8044444,16.7884444 14.4826667,16.8595556 14.9444444,16.4702222 C15.4222222,16.0675556 15.6342222,15.8297778 15.6364444,15.8271111 L15.6857778,15.7795556 C15.7257778,15.7457778 16.0991111,15.4497778 16.7093333,15.4497778 C17.1497778,15.4497778 17.5973333,15.6017778 18.04,15.9008889 C19.1884444,16.6768889 21.7808889,18.4106667 21.7808889,18.4106667 L21.8226667,18.4426667 C22.1542222,18.7266667 22.6333333,19.5453333 22.0751111,20.6106667 C21.496,21.7168889 19.6986667,24 17.8404444,24 L17.8404444,24 Z" id="Fill-72" sketch:type="MSShapeGroup"></path> - <path d="M19.8035085,4 L0,22.8035085" id="Path-98" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/hide.png b/src/skins/vector/img/hide.png deleted file mode 100644 index c5aaf0dd..00000000 Binary files a/src/skins/vector/img/hide.png and /dev/null differ diff --git a/src/skins/vector/img/icon-address-delete.svg b/src/skins/vector/img/icon-address-delete.svg deleted file mode 100644 index 1289d5aa..00000000 --- a/src/skins/vector/img/icon-address-delete.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="11px" height="9px" viewBox="0 0 11 9" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>943783E9-DBD7-4D4E-BAC9-35437C17C2C4</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="1:1-chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round"> - <g id="Chat-People-2b-Invite-modal" transform="translate(-579.000000, -346.000000)" stroke="#FF0064"> - <g id="icon_context_delete-copy" transform="translate(580.000000, 346.000000)"> - <path d="M0.45,0.45 L8.55,8.55" id="Line"></path> - <path d="M0.45,0.45 L8.55,8.55" id="Line-Copy-2" transform="translate(4.500000, 4.500000) scale(-1, 1) translate(-4.500000, -4.500000) "></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-call.svg b/src/skins/vector/img/icon-call.svg deleted file mode 100644 index 0ca5c29e..00000000 --- a/src/skins/vector/img/icon-call.svg +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="35" height="35" viewBox="0, 0, 35, 35"> - <g id="Symbols"> - <path d="M17.5,35 C27.165,35 35,27.165 35,17.5 C35,7.835 27.165,0 17.5,0 C7.835,0 0,7.835 0,17.5 C0,27.165 7.835,35 17.5,35 z" fill="#76CFA6" opacity="0.15" id="Oval-109"/> - <path d="M23,28 C21.195,28 16.807,25.624 13.122,20.524 C9.675,15.755 8,12.309 8,9.99 C8,8.164 9.225,7.293 9.883,6.825 L10.045,6.708 C10.773,6.173 11.903,6 12.337,6 C13.097,6 13.417,6.458 13.611,6.857 C13.776,7.195 15.141,10.212 15.28,10.587 C15.492,11.164 15.422,12.005 14.766,12.488 L14.65,12.571 C14.324,12.804 13.718,13.236 13.634,13.761 C13.594,14.016 13.677,14.283 13.889,14.577 C14.946,16.043 18.32,20.346 18.928,20.931 C19.405,21.389 20.009,21.455 20.42,21.098 C20.846,20.729 21.035,20.511 21.037,20.508 L21.081,20.465 C21.116,20.434 21.449,20.162 21.992,20.162 C22.385,20.162 22.783,20.302 23.178,20.576 C24.201,21.287 26.51,22.876 26.51,22.876 L26.547,22.906 C26.842,23.166 27.269,23.917 26.772,24.893 C26.256,25.907 24.655,28 23,28 L23,28 z" fill-opacity="0" stroke="#76CFA6" stroke-width="1" id="path-1"/> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-delete.svg b/src/skins/vector/img/icon-context-delete.svg deleted file mode 100644 index fba9fa11..00000000 --- a/src/skins/vector/img/icon-context-delete.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="15" height="15" viewBox="0, 0, 15, 15"> - <g id="Extra-icons"> - <g> - <path d="M3.45,3.45 L11.55,11.55" fill-opacity="0" stroke="#FF0064" stroke-width="1" stroke-linecap="round" id="Line"/> - <path d="M11.55,3.45 L3.45,11.55" fill-opacity="0" stroke="#FF0064" stroke-width="1" stroke-linecap="round" id="Line-Copy-2"/> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-fave-on.svg b/src/skins/vector/img/icon-context-fave-on.svg deleted file mode 100644 index 2ae172d8..00000000 --- a/src/skins/vector/img/icon-context-fave-on.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>DAE17B64-40B5-478A-8E8D-97AD1A6E25C8</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Extra-icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Extra-icons-sheet" transform="translate(-93.000000, -313.000000)"> - <g id="icon_context_fave_on" transform="translate(92.000000, 312.000000)"> - <rect id="Rectangle" fill-opacity="0" fill="#D8D8D8" x="0" y="0" width="15" height="15"></rect> - <polygon id="Star-1" stroke="#4A4A4A" stroke-linejoin="round" fill="#4A4A4A" points="7.5 10.75 3.67939586 12.7586105 4.40906632 8.50430523 1.31813264 5.49138954 5.58969793 4.87069477 7.5 1 9.41030207 4.87069477 13.6818674 5.49138954 10.5909337 8.50430523 11.3206041 12.7586105"></polygon> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-fave.svg b/src/skins/vector/img/icon-context-fave.svg deleted file mode 100644 index 451e1849..00000000 --- a/src/skins/vector/img/icon-context-fave.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>8A6E1837-F0F1-432E-A0DA-6F3741F71EBF</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Extra-icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.2"> - <g id="Extra-icons-sheet" transform="translate(-63.000000, -313.000000)"> - <g id="icon_context_fave" transform="translate(62.000000, 312.000000)"> - <rect id="Rectangle" fill-opacity="0" fill="#D8D8D8" x="0" y="0" width="15" height="15"></rect> - <polygon id="Star-1" stroke="#000000" stroke-linejoin="round" points="7.5 10.75 3.67939586 12.7586105 4.40906632 8.50430523 1.31813264 5.49138954 5.58969793 4.87069477 7.5 1 9.41030207 4.87069477 13.6818674 5.49138954 10.5909337 8.50430523 11.3206041 12.7586105"></polygon> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-low-on.svg b/src/skins/vector/img/icon-context-low-on.svg deleted file mode 100644 index 7578c633..00000000 --- a/src/skins/vector/img/icon-context-low-on.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>CD51482C-F2D4-4F63-AF9E-86513F9AF87F</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Extra-icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Extra-icons-sheet" transform="translate(-93.000000, -338.000000)"> - <g id="icon_context_low_on" transform="translate(92.000000, 337.000000)"> - <rect id="Rectangle-Copy" fill-opacity="0" fill="#D8D8D8" x="0" y="0" width="15" height="15"></rect> - <path d="M12.7604081,8 C13.2413214,8 13.3067421,8.25679316 12.9190465,8.57356358 L8.20351162,12.4264364 C7.81340686,12.7451752 7.18723719,12.7432068 6.79954156,12.4264364 L2.08400668,8.57356358 C1.69390193,8.25482476 1.76733588,8 2.24264506,8 L4.46666667,8 L4.46666667,3.00292933 C4.46666667,2.44902676 4.84616384,2 5.33587209,2 L9.66412791,2 C10.1441768,2 10.5333333,2.43788135 10.5333333,3.00292933 L10.5333333,8 L12.7604081,8 Z" id="Combined-Shape" stroke="#4A4A4A" stroke-linejoin="round" fill="#4A4A4A"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-low.svg b/src/skins/vector/img/icon-context-low.svg deleted file mode 100644 index 663f3ca9..00000000 --- a/src/skins/vector/img/icon-context-low.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>B160345F-40D3-4BE6-A860-6D04BF223EF7</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Extra-icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Extra-icons-sheet" transform="translate(-63.000000, -338.000000)"> - <g id="icon_context_low" transform="translate(62.000000, 337.000000)"> - <rect id="Rectangle" fill-opacity="0" fill="#D8D8D8" x="0" y="0" width="15" height="15"></rect> - <path d="M12.7604081,8 C13.2413214,8 13.3067421,8.25679316 12.9190465,8.57356358 L8.20351162,12.4264364 C7.81340686,12.7451752 7.18723719,12.7432068 6.79954156,12.4264364 L2.08400668,8.57356358 C1.69390193,8.25482476 1.76733588,8 2.24264506,8 L4.46666667,8 L4.46666667,3.00292933 C4.46666667,2.44902676 4.84616384,2 5.33587209,2 L9.66412791,2 C10.1441768,2 10.5333333,2.43788135 10.5333333,3.00292933 L10.5333333,8 L12.7604081,8 Z" id="Combined-Shape" stroke="#000000" stroke-linejoin="round" opacity="0.2"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-mute-mentions.svg b/src/skins/vector/img/icon-context-mute-mentions.svg deleted file mode 100644 index 3693b7a8..00000000 --- a/src/skins/vector/img/icon-context-mute-mentions.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="16" height="12" viewBox="0, 0, 16, 12"> - <g id="Screens-revised" opacity="0.2"> - <g> - <path d="M7.142,0.009 C7.687,0.152 7.921,0.47 8,1 L8,11 C8,11.866 6.974,12.323 6.33,11.743 L3.288,9 L1,9 C0.448,9 0,8.552 0,8 L0,4 C0,3.448 0.448,3 1,3 L3.278,3 L6.332,0.256 C6.744,-0.016 6.487,0.101 7.142,0.009 z M7,1 L3.661,4 L1,4 L1,8 L3.672,8 L7,11 L7,1 z" fill="#000000" id="path-1"/> - <path d="M13,3.928 C13,4.757 12.328,5.428 11.5,5.428 C10.672,5.428 10,4.757 10,3.928 C10,3.1 10.672,2.428 11.5,2.428 C12.328,2.428 13,3.1 13,3.928 z" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" id="path-3"/> - <path d="M14,9.5 C14,6.84 12.881,6 11.5,6 C10.119,6 9,6.884 9,9.5 L14,9.5 z" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" id="path-5"/> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-mute-off-copy.svg b/src/skins/vector/img/icon-context-mute-off-copy.svg deleted file mode 100644 index 861f2975..00000000 --- a/src/skins/vector/img/icon-context-mute-off-copy.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="16" height="12" viewBox="0, 0, 16, 12"> - <g id="Screens-revised" opacity="0.2"> - <path d="M7.142,0.009 C7.687,0.152 7.921,0.47 8,1 L8,11 C8,11.866 6.974,12.323 6.33,11.743 L3.288,9 L1,9 C0.448,9 0,8.552 0,8 L0,4 C0,3.448 0.448,3 1,3 L3.278,3 L6.332,0.256 C6.744,-0.016 6.487,0.101 7.142,0.009 z M7,1 L3.661,4 L1,4 L1,8 L3.672,8 L7,11 L7,1 z" fill="#000000" id="path-1"/> - <path d="M9.878,7.667 C10.82,7.667 11.584,6.92 11.584,6 C11.584,5.08 10.82,4.333 9.878,4.333" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Oval-50"/> - <path d="M10.055,9.333 C11.939,9.333 13.466,7.841 13.466,6 C13.466,4.159 11.939,2.667 10.055,2.667" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Oval-50-Copy"/> - <path d="M10.055,11 C12.881,11 15.172,8.761 15.172,6 C15.172,3.239 12.881,1 10.055,1" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Oval-50-Copy-2"/> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-mute-off.svg b/src/skins/vector/img/icon-context-mute-off.svg deleted file mode 100644 index d801823b..00000000 --- a/src/skins/vector/img/icon-context-mute-off.svg +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="16" height="12" viewBox="0, 0, 16, 12"> - <g id="Screens-revised" opacity="0.2"> - <path d="M7.142,0.009 C7.687,0.152 7.921,0.47 8,1 L8,11 C8,11.866 6.974,12.323 6.33,11.743 L3.288,9 L1,9 C0.448,9 0,8.552 0,8 L0,4 C0,3.448 0.448,3 1,3 L3.278,3 L6.332,0.256 C6.744,-0.016 6.487,0.101 7.142,0.009 z M7,1 L3.661,4 L1,4 L1,8 L3.672,8 L7,11 L7,1 z" fill="#000000" id="path-1"/> - <path d="M10,8 C11.105,8 12,7.105 12,6 C12,4.895 11.105,4 10,4" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Oval-50"/> - <path d="M10.207,10 C12.416,10 14.207,8.209 14.207,6 C14.207,3.791 12.416,2 10.207,2" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Oval-50-Copy"/> - </g> -</svg> diff --git a/src/skins/vector/img/icon-context-mute.svg b/src/skins/vector/img/icon-context-mute.svg deleted file mode 100644 index f53b868a..00000000 --- a/src/skins/vector/img/icon-context-mute.svg +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="16" height="12" viewBox="0, 0, 16, 12"> - <g id="Screens-revised" opacity="0.2"> - <path d="M7.142,0.009 C7.687,0.152 7.921,0.47 8,1 L8,11 C8,11.866 6.974,12.323 6.33,11.743 L3.288,9 L1,9 C0.448,9 0,8.552 0,8 L0,4 C0,3.448 0.448,3 1,3 L3.278,3 L6.332,0.256 C6.744,-0.016 6.487,0.101 7.142,0.009 z M7,1 L3.661,4 L1,4 L1,8 L3.672,8 L7,11 L7,1 z" fill="#000000" id="path-1"/> - <path d="M12.55,4.45 L9.722,7.278" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Line-Copy-2"/> - <path d="M12.55,7.278 L9.722,4.45" fill-opacity="0" stroke="#000000" stroke-width="1" stroke-linecap="round" id="Line-Copy-5"/> - </g> -</svg> diff --git a/src/skins/vector/img/icon-delete-pink.svg b/src/skins/vector/img/icon-delete-pink.svg deleted file mode 100644 index aafa87f1..00000000 --- a/src/skins/vector/img/icon-delete-pink.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="512px" height="533px" viewBox="0 -11.5 512 533" xml:space="preserve"> -<g> - <g> - <path fill="#FF0064" d="M142.423,517.05c-34.347,0-62.29-27.886-62.29-62.161V128.225c0-3.038,2.462-5.5,5.5-5.5h340.733 - c3.037,0,5.5,2.462,5.5,5.5v326.664c0,34.275-27.942,62.161-62.287,62.161H142.423z M43.042,91.133c-3.038,0-5.5-2.462-5.5-5.5 - V43.041c0-3.038,2.462-5.5,5.5-5.5h103.91L180.956-3.08c1.045-1.249,2.589-1.97,4.217-1.97h141.655 - c1.628,0,3.173,0.721,4.218,1.97l34.001,40.622h103.911c3.037,0,5.5,2.462,5.5,5.5v42.591c0,3.038-2.463,5.5-5.5,5.5H43.042z"/> - <path fill="#000000" d="M326.828,0.45l35.65,42.592h106.479v42.591H43.042V43.041h106.479L185.173,0.45H326.828 M426.366,128.225 - v326.664c0,31.168-25.553,56.661-56.787,56.661H142.423c-31.237,0-56.79-25.493-56.79-56.661V128.225H426.366 M326.828-10.55 - H185.173c-3.256,0-6.345,1.442-8.435,3.939l-32.354,38.651H43.042c-6.075,0-11,4.925-11,11v42.592c0,6.075,4.925,11,11,11h425.916 - c6.075,0,11-4.925,11-11V43.042c0-6.075-4.925-11-11-11H367.616L335.264-6.61C333.173-9.107,330.084-10.55,326.828-10.55 - L326.828-10.55z M426.366,117.225H85.633c-6.075,0-11,4.925-11,11v326.664c0,37.309,30.411,67.661,67.79,67.661h227.156 - c37.378,0,67.787-30.353,67.787-67.661V128.225C437.366,122.15,432.441,117.225,426.366,117.225L426.366,117.225z"/> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icon-email-user.svg b/src/skins/vector/img/icon-email-user.svg deleted file mode 100644 index 2d41e06f..00000000 --- a/src/skins/vector/img/icon-email-user.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>6F488856-F8EF-479C-9747-AB6E0945C7DE</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Create-group" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Chat-Group-5a-Invite-modal" transform="translate(-611.000000, -366.000000)"> - <g id="Group-6" transform="translate(604.000000, 364.000000)"> - <g id="icon_email_user" transform="translate(7.000000, 2.000000)"> - <circle id="Oval-2" fill="#D8D8D8" cx="12.5" cy="12.5" r="12.5"></circle> - <path d="M19.3007812,12.2265625 C19.3007812,12.9713579 19.1835949,13.6523407 18.9492188,14.2695312 C18.7148426,14.8867218 18.3854188,15.3671858 17.9609375,15.7109375 C17.5364562,16.0546892 17.0455757,16.2265625 16.4882812,16.2265625 C16.0768209,16.2265625 15.7200536,16.1171886 15.4179688,15.8984375 C15.1158839,15.6796864 14.9127609,15.3828144 14.8085938,15.0078125 L14.7148438,15.0078125 C14.4596341,15.4140645 14.1445331,15.718749 13.7695312,15.921875 C13.3945294,16.125001 12.9726586,16.2265625 12.5039062,16.2265625 C11.6549437,16.2265625 10.9869816,15.9531277 10.5,15.40625 C10.0130184,14.8593723 9.76953125,14.1197963 9.76953125,13.1875 C9.76953125,12.114578 10.0924447,11.2434929 10.7382812,10.5742188 C11.3841178,9.90494457 12.2512966,9.5703125 13.3398438,9.5703125 C13.7356791,9.5703125 14.1744768,9.6054684 14.65625,9.67578125 C15.1380232,9.7460941 15.5664044,9.84374937 15.9414062,9.96875 L15.7695312,13.6015625 L15.7695312,13.7890625 C15.7695312,14.6224 16.0403619,15.0390625 16.5820312,15.0390625 C16.9934916,15.0390625 17.3203113,14.7734402 17.5625,14.2421875 C17.8046887,13.7109348 17.9257812,13.0338583 17.9257812,12.2109375 C17.9257812,11.320308 17.7434914,10.5377638 17.3789062,9.86328125 C17.0143211,9.18879871 16.4960971,8.66927266 15.8242188,8.3046875 C15.1523404,7.94010234 14.3815148,7.7578125 13.5117188,7.7578125 C12.4023382,7.7578125 11.4375041,7.98697687 10.6171875,8.4453125 C9.7968709,8.90364813 9.17057508,9.55858949 8.73828125,10.4101562 C8.30598742,11.261723 8.08984375,12.2499944 8.08984375,13.375 C8.08984375,14.8854242 8.49348555,16.0468709 9.30078125,16.859375 C10.108077,17.6718791 11.2669195,18.078125 12.7773438,18.078125 C13.9283912,18.078125 15.1289,17.8437523 16.3789062,17.375 L16.3789062,18.65625 C15.2851508,19.1041689 14.0950585,19.328125 12.8085938,19.328125 C10.8815008,19.328125 9.37891164,18.8085989 8.30078125,17.7695312 C7.22265086,16.7304636 6.68359375,15.2812593 6.68359375,13.421875 C6.68359375,12.0624932 6.9752575,10.8528699 7.55859375,9.79296875 C8.14193,8.73306762 8.95051566,7.92187781 9.984375,7.359375 C11.0182343,6.79687219 12.1887955,6.515625 13.4960938,6.515625 C14.6263077,6.515625 15.6328081,6.74999766 16.515625,7.21875 C17.3984419,7.68750234 18.0833309,8.35546441 18.5703125,9.22265625 C19.0572941,10.0898481 19.3007812,11.0911402 19.3007812,12.2265625 L19.3007812,12.2265625 Z M11.2695312,13.21875 C11.2695312,14.4322977 11.746089,15.0390625 12.6992188,15.0390625 C13.7044321,15.0390625 14.2539058,14.2760493 14.3476562,12.75 L14.4414062,10.8828125 C14.1132796,10.7942704 13.7617206,10.75 13.3867188,10.75 C12.7200488,10.75 12.2005227,10.971352 11.828125,11.4140625 C11.4557273,11.856773 11.2695312,12.4583295 11.2695312,13.21875 L11.2695312,13.21875 Z" id="@" fill="#FFFFFF"></path> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-invite-people.svg b/src/skins/vector/img/icon-invite-people.svg deleted file mode 100644 index f13a03ed..00000000 --- a/src/skins/vector/img/icon-invite-people.svg +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>9BA71BF4-DC4F-42D2-B2D0-9EAE0F7F8D45</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Right-panel/Footer" transform="translate(-26.000000, -34.000000)"> - <g id="icon_invite_people" transform="translate(26.000000, 34.000000)"> - <path d="M17.5,35 C27.1649831,35 35,27.1649831 35,17.5 C35,7.83501688 27.1649831,0 17.5,0 C7.83501688,0 0,7.83501688 0,17.5 C0,27.1649831 7.83501688,35 17.5,35 Z" id="Oval" fill="#76CFA6"></path> - <g id="Group-5" transform="translate(8.000000, 9.000000)" stroke="#FFFFFF"> - <g id="Group-3" opacity="0.8" transform="translate(14.437500, 3.937500)" stroke-linecap="round"> - <path d="M0,3.28125 L6.5625,3.28125" id="Line"></path> - <path d="M3.28125,0 L3.28125,6.5625" id="Line"></path> - </g> - <g id="icons_people_svg"> - <path d="M13.78125,15.75 C13.78125,12.1256313 13.7812503,9.1875 7.21875,9.1875 C0.656249741,9.1875 0.65625,12.1256313 0.65625,15.75 C5.21807306,15.75 7.96856689,15.75 13.78125,15.75 Z" id="Oval-40" stroke-linecap="round" stroke-linejoin="round"></path> - <circle id="Oval" cx="7.21875" cy="3.609375" r="3.609375"></circle> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon-mx-user.svg b/src/skins/vector/img/icon-mx-user.svg deleted file mode 100644 index 5780277f..00000000 --- a/src/skins/vector/img/icon-mx-user.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 113 144" style="enable-background:new 0 0 113 144;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:#7BC9A4;} - .st1{fill:#B47BB5;} -</style> -<path class="st0" d="M61.6,0H20.8c-0.1,0-0.2,0-0.3,0C9.2,0,0,9.2,0,20.6v102.9C0,134.8,9.2,144,20.6,144c11.3,0,20.6-9.2,20.6-20.6 - v-20.6h20.5c28.3,0,51.4-23.1,51.4-51.4S90,0,61.6,0"/> -<path class="st1" d="M37.4,8.8c6.5,9.3,4.3,22.1-5,28.7c-9.3,6.5-22.1,4.3-28.6-5.1c-6.5-9.3-4.3-22.1,5-28.7 - C18.1-2.8,30.9-0.5,37.4,8.8"/> -<path class="st1" d="M109.3,111.6c6.5,9.3,4.3,22.1-5,28.7c-9.3,6.5-22.1,4.3-28.6-5.1l-30.8-44c-6.5-9.3-4.3-22.1,5-28.7 - c9.3-6.5,22.1-4.3,28.6,5.1L109.3,111.6z"/> -</svg> diff --git a/src/skins/vector/img/icon-return.svg b/src/skins/vector/img/icon-return.svg deleted file mode 100644 index 80da0f82..00000000 --- a/src/skins/vector/img/icon-return.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="12px" height="11px" viewBox="0 0 12 11" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>B542A09B-DBBF-41D4-A5FD-D05EE1E6BBC4</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Create-group" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Chat-Directory-search-result-ID" transform="translate(-553.000000, -97.000000)" stroke="#4A4A4A"> - <g id="icon_return" transform="translate(554.000000, 97.000000)"> - <polyline id="Rectangle" points="7.5 0.5 10.5 0.5 10.5 6.5 0 6.5"></polyline> - <g id="Group" transform="translate(0.000000, 1.954545)" stroke-linecap="square"> - <path d="M0.227272727,4.40909091 L4.25946916,0.376894528" id="Line"></path> - <path d="M0.227272727,8.44128729 L4.25946916,4.40909091" id="Line-Copy-7" transform="translate(2.243371, 6.425189) scale(1, -1) translate(-2.243371, -6.425189) "></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/icon-text-cancel.svg b/src/skins/vector/img/icon-text-cancel.svg deleted file mode 100644 index ce28d128..00000000 --- a/src/skins/vector/img/icon-text-cancel.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="11px" height="9px" viewBox="0 0 11 9" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39 (31667) - http://www.bohemiancoding.com/sketch --> - <title>28D80248-63BA-4A5F-9216-4CFE72784BAC</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round"> - <g id="02_x-Chat-text-input-markdown-panel-MD_on" transform="translate(-915.000000, -749.000000)" stroke="#000000"> - <g id="icon_text_cancel" transform="translate(916.000000, 749.000000)"> - <path d="M0.45,0.45 L8.55,8.55" id="Line"></path> - <path d="M0.45,0.45 L8.55,8.55" id="Line-Copy-2" transform="translate(4.500000, 4.500000) scale(-1, 1) translate(-4.500000, -4.500000) "></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/icon_context_delete.svg b/src/skins/vector/img/icon_context_delete.svg deleted file mode 100644 index 896b94ad..00000000 --- a/src/skins/vector/img/icon_context_delete.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> - <g transform="matrix(1,0,0,1,-0,-80)"> - <g id="icon_context_delete" transform="matrix(0.600982,0,0,0.600982,0,80)"> - <g transform="matrix(1.66394,0,0,1.66394,0,-133.116)"> - <path d="M7.508,86.728C8.739,85.523 9.979,84.326 11.196,83.109C11.277,83.034 11.364,82.99 11.472,82.968C11.512,82.964 11.549,82.962 11.589,82.964C11.668,82.973 11.743,82.994 11.811,83.036C11.994,83.148 12.086,83.371 12.036,83.579C12.017,83.657 11.98,83.724 11.93,83.787C10.749,85.064 9.524,86.299 8.285,87.52C9.489,88.752 10.686,89.991 11.904,91.209C11.958,91.267 12.001,91.331 12.026,91.408C12.042,91.458 12.05,91.51 12.05,91.562C12.05,91.82 11.846,92.041 11.589,92.061C11.454,92.071 11.33,92.025 11.225,91.942C9.948,90.762 8.713,89.536 7.492,88.297C6.261,89.501 5.021,90.698 3.804,91.916C3.745,91.97 3.681,92.013 3.605,92.038C3.555,92.054 3.502,92.062 3.45,92.062C3.192,92.062 2.972,91.858 2.952,91.602C2.941,91.466 2.987,91.342 3.07,91.238C4.251,89.96 5.476,88.726 6.715,87.505C5.511,86.273 4.314,85.034 3.096,83.816C3.042,83.757 2.999,83.693 2.974,83.617C2.908,83.413 2.983,83.184 3.156,83.058C3.221,83.01 3.294,82.984 3.372,82.968C3.412,82.964 3.449,82.962 3.489,82.964C3.598,82.977 3.689,83.014 3.775,83.082C5.052,84.263 6.287,85.488 7.508,86.728Z" style="fill:rgb(255,0,100);"/> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_fave.svg b/src/skins/vector/img/icon_context_fave.svg deleted file mode 100644 index da7b14a1..00000000 --- a/src/skins/vector/img/icon_context_fave.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> - <g transform="matrix(1,0,0,1,-0,-40)"> - <g id="icon_context_fave" transform="matrix(0.600982,0,0,0.600982,0,40)"> - <g transform="matrix(1.66394,0,0,1.66394,1.66394,2.71716)"> - <rect x="0" y="0" width="13" height="13" style="fill:rgb(224,223,224);fill-opacity:0;fill-rule:nonzero;"/> - <path d="M6.572,-0.495C6.614,-0.486 6.625,-0.486 6.666,-0.472C6.793,-0.427 6.884,-0.337 6.948,-0.221L8.742,3.414L12.754,3.997L12.801,4.006C12.88,4.029 12.951,4.062 13.013,4.117C13.161,4.248 13.218,4.459 13.157,4.646C13.132,4.725 13.087,4.789 13.031,4.849L10.128,7.679L10.813,11.674L10.819,11.722C10.821,11.804 10.812,11.882 10.779,11.958C10.7,12.139 10.517,12.259 10.32,12.259C10.237,12.259 10.162,12.236 10.088,12.201L6.5,10.315L2.912,12.201L2.868,12.222C2.791,12.249 2.714,12.264 2.631,12.256C2.435,12.237 2.265,12.1 2.204,11.913C2.178,11.834 2.177,11.756 2.187,11.674L2.872,7.679L-0.031,4.849L-0.064,4.814C-0.114,4.749 -0.152,4.681 -0.17,4.599C-0.213,4.407 -0.135,4.202 0.024,4.087C0.092,4.038 0.166,4.012 0.246,3.997L4.258,3.414L6.052,-0.221L6.075,-0.264C6.099,-0.299 6.104,-0.309 6.134,-0.34C6.211,-0.423 6.316,-0.478 6.428,-0.495C6.477,-0.502 6.523,-0.499 6.572,-0.495ZM5.038,4.092C5.017,4.13 5.013,4.14 4.987,4.174C4.928,4.251 4.847,4.31 4.755,4.342C4.715,4.357 4.704,4.357 4.662,4.365L1.393,4.841L3.758,7.146L3.791,7.182C3.817,7.216 3.825,7.224 3.846,7.261C3.903,7.364 3.916,7.474 3.902,7.589L3.343,10.845L6.267,9.307L6.311,9.287C6.42,9.249 6.531,9.237 6.643,9.271C6.684,9.283 6.694,9.289 6.733,9.307L9.657,10.845L9.098,7.589L9.092,7.541C9.089,7.425 9.113,7.317 9.18,7.22C9.204,7.185 9.213,7.178 9.242,7.146L11.607,4.841L8.338,4.365L8.291,4.356C8.25,4.344 8.239,4.342 8.2,4.324C8.093,4.275 8.018,4.193 7.962,4.092L6.5,1.13C6.013,2.117 5.525,3.105 5.038,4.092Z" style="fill:rgb(205,205,205);fill-rule:nonzero;"/> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_fave_on.svg b/src/skins/vector/img/icon_context_fave_on.svg deleted file mode 100644 index e22e92d3..00000000 --- a/src/skins/vector/img/icon_context_fave_on.svg +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> - <g transform="matrix(1,0,0,1,-20,-40)"> - <g id="icon_context_fave_on" transform="matrix(0.600982,0,0,0.600982,20,40)"> - <g transform="matrix(1.66394,0,0,1.66394,-14.9755,2.71716)"> - <g transform="matrix(1,0,0,1,10.0123,0)"> - <clipPath id="_clip1"> - <rect x="-1" y="-1" width="15" height="15"/> - </clipPath> - <g clip-path="url(#_clip1)"> - <g transform="matrix(0.575972,0,0,0.576771,2.73925,2.16505)"> - <rect x="-6" y="-6" width="25" height="25" style="fill:rgb(216,216,216);fill-opacity:0;fill-rule:nonzero;"/> - </g> - <clipPath id="_clip2"> - <path d="M6.5,9.75L2.679,11.759L3.409,7.504L0.318,4.491L4.59,3.871L6.5,0L8.41,3.871L12.682,4.491L9.591,7.504L10.321,11.759L6.5,9.75Z"/> - </clipPath> - <g clip-path="url(#_clip2)"> - <path d="M-0.682,-1L13.682,-1L13.682,12.759L-0.682,12.759L-0.682,-1Z" style="fill:rgb(74,74,74);fill-rule:nonzero;"/> - </g> - </g> - </g> - <g transform="matrix(1,0,0,1,10.0123,0)"> - <path d="M6.572,-0.495C6.614,-0.486 6.625,-0.486 6.666,-0.472C6.793,-0.427 6.884,-0.337 6.948,-0.221L8.742,3.414L12.754,3.997L12.801,4.006C12.88,4.029 12.951,4.062 13.013,4.117C13.161,4.248 13.218,4.459 13.157,4.646C13.132,4.725 13.087,4.789 13.031,4.849L10.128,7.679L10.813,11.674L10.819,11.722C10.821,11.804 10.812,11.882 10.779,11.958C10.7,12.139 10.517,12.259 10.32,12.259C10.237,12.259 10.162,12.236 10.088,12.201L6.5,10.315L2.912,12.201L2.868,12.222C2.791,12.249 2.714,12.264 2.631,12.256C2.435,12.237 2.265,12.1 2.204,11.913C2.178,11.834 2.177,11.756 2.187,11.674L2.872,7.679L-0.031,4.849L-0.064,4.814C-0.114,4.749 -0.152,4.681 -0.17,4.599C-0.213,4.407 -0.135,4.202 0.024,4.087C0.092,4.038 0.166,4.012 0.246,3.997L4.258,3.414L6.052,-0.221L6.075,-0.264C6.15,-0.372 6.25,-0.453 6.38,-0.485C6.422,-0.496 6.433,-0.495 6.476,-0.499C6.524,-0.499 6.524,-0.499 6.572,-0.495ZM5.038,4.092C5.017,4.13 5.013,4.14 4.987,4.174C4.928,4.251 4.847,4.31 4.755,4.342C4.715,4.357 4.704,4.357 4.662,4.365L1.393,4.841L3.758,7.146L3.791,7.182C3.861,7.273 3.906,7.375 3.909,7.492C3.91,7.536 3.907,7.546 3.902,7.589L3.343,10.845L6.267,9.307L6.311,9.287C6.42,9.249 6.531,9.237 6.643,9.271C6.684,9.283 6.694,9.289 6.733,9.307L9.657,10.845L9.098,7.589L9.092,7.541C9.091,7.498 9.089,7.487 9.095,7.444C9.109,7.328 9.163,7.231 9.242,7.146L11.607,4.841L8.338,4.365L8.291,4.356C8.18,4.323 8.084,4.267 8.013,4.174C7.987,4.14 7.983,4.13 7.962,4.092L6.5,1.13C6.013,2.117 5.525,3.105 5.038,4.092Z" style="fill:rgb(74,74,74);fill-rule:nonzero;"/> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_low.svg b/src/skins/vector/img/icon_context_low.svg deleted file mode 100644 index ea579ef4..00000000 --- a/src/skins/vector/img/icon_context_low.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> - <g transform="matrix(1,0,0,1,-0,-60)"> - <g id="icon_context_fave" transform="matrix(0.600982,0,0,0.600982,0,60)"> - <g transform="matrix(1.66394,0,0,1.66394,1.66394,1.96327)"> - <path d="M8.737,0.502C8.882,0.514 9.02,0.542 9.155,0.598C9.544,0.759 9.832,1.105 9.958,1.503C10.008,1.664 10.03,1.829 10.033,1.998L10.033,6.5C10.63,6.5 11.226,6.491 11.822,6.501C11.882,6.504 11.882,6.504 11.942,6.51C12.067,6.527 12.188,6.556 12.301,6.614C12.494,6.715 12.636,6.904 12.665,7.122C12.682,7.246 12.662,7.376 12.613,7.492C12.541,7.662 12.419,7.799 12.282,7.921C10.713,9.244 9.104,10.519 7.515,11.818C7.423,11.889 7.328,11.952 7.223,12.003C6.836,12.19 6.376,12.215 5.969,12.079C5.814,12.028 5.673,11.951 5.539,11.857C3.901,10.585 2.306,9.258 0.72,7.921C0.583,7.798 0.46,7.66 0.389,7.488C0.284,7.235 0.332,6.938 0.528,6.743C0.596,6.676 0.678,6.622 0.766,6.585C0.915,6.521 1.077,6.503 1.238,6.5L2.967,6.5L2.967,1.998C2.968,1.927 2.968,1.928 2.973,1.858C2.991,1.692 3.025,1.532 3.088,1.378C3.229,1.035 3.495,0.744 3.84,0.6C3.975,0.543 4.116,0.515 4.262,0.502C5.753,0.459 7.246,0.46 8.737,0.502ZM4.343,1.5C4.313,1.501 4.285,1.503 4.256,1.511C4.096,1.559 4.003,1.732 3.977,1.886C3.972,1.915 3.969,1.944 3.967,1.973C3.932,3.648 3.967,5.324 3.967,7C3.964,7.063 3.956,7.122 3.933,7.181C3.877,7.326 3.753,7.438 3.603,7.481C3.558,7.494 3.514,7.498 3.467,7.5L1.784,7.5C3.234,8.685 4.656,9.904 6.134,11.053C6.16,11.071 6.187,11.087 6.215,11.102C6.433,11.202 6.7,11.184 6.892,11.035L11.219,7.5L9.533,7.5L9.487,7.498C9.441,7.491 9.397,7.483 9.353,7.466C9.223,7.416 9.118,7.311 9.067,7.181C9.05,7.137 9.042,7.093 9.035,7.046C8.957,5.357 9.069,3.663 9.033,1.972C9.021,1.793 8.941,1.581 8.757,1.516C8.732,1.507 8.707,1.503 8.68,1.501C7.235,1.46 5.789,1.5 4.343,1.5Z" style="fill:rgb(206,206,206);fill-rule:nonzero;"/> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_low_on.svg b/src/skins/vector/img/icon_context_low_on.svg deleted file mode 100644 index 28300f9a..00000000 --- a/src/skins/vector/img/icon_context_low_on.svg +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> - <g transform="matrix(1,0,0,1,-20,-60)"> - <g id="icon_context_fave_on" transform="matrix(0.600982,0,0,0.600982,20,60)"> - <clipPath id="_clip1"> - <rect x="0" y="0" width="25" height="25"/> - </clipPath> - <g clip-path="url(#_clip1)"> - <g transform="matrix(1.66394,0,0,1.66394,1.68116,1.96327)"> - <clipPath id="_clip2"> - <rect x="-1" y="-1" width="15" height="15"/> - </clipPath> - <g clip-path="url(#_clip2)"> - <rect x="-6" y="-6" width="25" height="25" style="fill:rgb(74,74,74);fill-opacity:0;fill-rule:nonzero;"/> - <clipPath id="_clip3"> - <path d="M11.76,7C12.241,7 12.307,7.257 11.919,7.574L7.204,11.426C6.813,11.745 6.187,11.743 5.8,11.426L1.084,7.574C0.694,7.255 0.767,7 1.243,7L3.467,7L3.467,2.003C3.467,1.449 3.846,1 4.336,1L8.664,1C9.144,1 9.533,1.438 9.533,2.003L9.533,7L11.76,7Z"/> - </clipPath> - <g clip-path="url(#_clip3)"> - <rect x="-4.167" y="-4" width="21.338" height="20.665" style="fill:rgb(74,74,74);fill-rule:nonzero;"/> - </g> - </g> - </g> - <g transform="matrix(1.66394,0,0,1.66394,1.68116,1.96327)"> - <path d="M8.737,0.502C8.882,0.514 9.02,0.542 9.155,0.598C9.544,0.759 9.832,1.105 9.958,1.503C10.008,1.664 10.03,1.829 10.033,1.998L10.033,6.5C10.63,6.5 11.226,6.491 11.822,6.501C11.882,6.504 11.882,6.504 11.942,6.51C12.067,6.527 12.188,6.556 12.301,6.614C12.494,6.715 12.636,6.904 12.665,7.122C12.682,7.246 12.662,7.376 12.613,7.492C12.541,7.662 12.419,7.799 12.282,7.921C10.713,9.244 9.104,10.519 7.515,11.818C7.423,11.889 7.328,11.952 7.223,12.003C6.836,12.19 6.376,12.215 5.969,12.079C5.814,12.028 5.673,11.951 5.539,11.857C3.901,10.585 2.306,9.258 0.72,7.921C0.583,7.798 0.46,7.66 0.389,7.488C0.284,7.235 0.332,6.938 0.528,6.743C0.596,6.676 0.678,6.622 0.766,6.585C0.915,6.521 1.077,6.503 1.238,6.5L2.967,6.5L2.967,1.998C2.968,1.927 2.968,1.928 2.973,1.858C2.991,1.692 3.025,1.532 3.088,1.378C3.229,1.035 3.495,0.744 3.84,0.6C3.975,0.543 4.116,0.515 4.262,0.502C5.753,0.459 7.246,0.46 8.737,0.502ZM4.343,1.5C4.313,1.501 4.285,1.503 4.256,1.511C4.096,1.559 4.003,1.732 3.977,1.886C3.972,1.915 3.969,1.944 3.967,1.973C3.932,3.648 3.967,5.324 3.967,7C3.964,7.047 3.96,7.091 3.948,7.137C3.905,7.286 3.792,7.41 3.647,7.466C3.588,7.489 3.529,7.497 3.467,7.5L1.784,7.5C3.234,8.685 4.656,9.904 6.134,11.053C6.16,11.071 6.187,11.087 6.215,11.102C6.433,11.202 6.7,11.184 6.892,11.035L11.219,7.5L9.533,7.5L9.487,7.498C9.441,7.491 9.397,7.483 9.353,7.466C9.223,7.416 9.118,7.311 9.067,7.181C9.05,7.137 9.042,7.093 9.035,7.046C8.957,5.357 9.069,3.663 9.033,1.972C9.021,1.793 8.941,1.581 8.757,1.516C8.732,1.507 8.707,1.503 8.68,1.501C7.235,1.46 5.789,1.5 4.343,1.5Z" style="fill:rgb(74,74,74);fill-rule:nonzero;"/> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_message.svg b/src/skins/vector/img/icon_context_message.svg deleted file mode 100644 index f2ceccfa..00000000 --- a/src/skins/vector/img/icon_context_message.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>ED5D3E59-2561-4AC1-9B43-82FBC51767FC</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="icon_context"> - <g> - <path d="M9.5,19 C14.7467051,19 19,14.7467051 19,9.5 C19,4.25329488 14.7467051,0 9.5,0 C4.25329488,0 0,4.25329488 0,9.5 C0,14.7467051 4.25329488,19 9.5,19 Z" id="Oval-69" fill="#ECECEC"></path> - <path d="M4.5,9.50063771 C4.5,9.13148623 4.59887838,8.85242947 4.7966381,8.66345907 C4.99439782,8.47448867 5.28224377,8.38000488 5.66018457,8.38000488 C6.0249414,8.38000488 6.3072941,8.47668596 6.50725115,8.67005103 C6.70720821,8.86341609 6.80718523,9.14027555 6.80718523,9.50063771 C6.80718523,9.84781589 6.70610956,10.1213794 6.50395517,10.3213365 C6.30180079,10.5212935 6.02054674,10.6212705 5.66018457,10.6212705 C5.29103309,10.6212705 5.00538444,10.5234908 4.80323006,10.3279284 C4.60107568,10.132366 4.5,9.85660521 4.5,9.50063771 L4.5,9.50063771 Z M8.3431114,9.50063771 C8.3431114,9.13148623 8.44198978,8.85242947 8.63974951,8.66345907 C8.83750923,8.47448867 9.12755247,8.38000488 9.50988794,8.38000488 C9.87464476,8.38000488 10.1569975,8.47668596 10.3569545,8.67005103 C10.5569116,8.86341609 10.6568886,9.14027555 10.6568886,9.50063771 C10.6568886,9.84781589 10.5558129,10.1213794 10.3536585,10.3213365 C10.1515042,10.5212935 9.8702501,10.6212705 9.50988794,10.6212705 C9.13634179,10.6212705 8.84849585,10.5234908 8.64634146,10.3279284 C8.44418708,10.132366 8.3431114,9.85660521 8.3431114,9.50063771 L8.3431114,9.50063771 Z M12.1928148,9.50063771 C12.1928148,9.13148623 12.2916931,8.85242947 12.4894529,8.66345907 C12.6872126,8.47448867 12.9750585,8.38000488 13.3529993,8.38000488 C13.7177562,8.38000488 14.0001089,8.47668596 14.2000659,8.67005103 C14.400023,8.86341609 14.5,9.14027555 14.5,9.50063771 C14.5,9.84781589 14.3989243,10.1213794 14.1967699,10.3213365 C13.9946156,10.5212935 13.7133615,10.6212705 13.3529993,10.6212705 C12.9838479,10.6212705 12.6981992,10.5234908 12.4960448,10.3279284 C12.2938904,10.132366 12.1928148,9.85660521 12.1928148,9.50063771 L12.1928148,9.50063771 Z" id="…" fill="#9B9B9B"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_message_dark.svg b/src/skins/vector/img/icon_context_message_dark.svg deleted file mode 100644 index b4336cc3..00000000 --- a/src/skins/vector/img/icon_context_message_dark.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>ED5D3E59-2561-4AC1-9B43-82FBC51767FC</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="icon_context"> - <g> - <path d="M9.5,19 C14.7467051,19 19,14.7467051 19,9.5 C19,4.25329488 14.7467051,0 9.5,0 C4.25329488,0 0,4.25329488 0,9.5 C0,14.7467051 4.25329488,19 9.5,19 Z" id="Oval-69" fill="#000" opacity="0.2"></path> - <path d="M4.5,9.50063771 C4.5,9.13148623 4.59887838,8.85242947 4.7966381,8.66345907 C4.99439782,8.47448867 5.28224377,8.38000488 5.66018457,8.38000488 C6.0249414,8.38000488 6.3072941,8.47668596 6.50725115,8.67005103 C6.70720821,8.86341609 6.80718523,9.14027555 6.80718523,9.50063771 C6.80718523,9.84781589 6.70610956,10.1213794 6.50395517,10.3213365 C6.30180079,10.5212935 6.02054674,10.6212705 5.66018457,10.6212705 C5.29103309,10.6212705 5.00538444,10.5234908 4.80323006,10.3279284 C4.60107568,10.132366 4.5,9.85660521 4.5,9.50063771 L4.5,9.50063771 Z M8.3431114,9.50063771 C8.3431114,9.13148623 8.44198978,8.85242947 8.63974951,8.66345907 C8.83750923,8.47448867 9.12755247,8.38000488 9.50988794,8.38000488 C9.87464476,8.38000488 10.1569975,8.47668596 10.3569545,8.67005103 C10.5569116,8.86341609 10.6568886,9.14027555 10.6568886,9.50063771 C10.6568886,9.84781589 10.5558129,10.1213794 10.3536585,10.3213365 C10.1515042,10.5212935 9.8702501,10.6212705 9.50988794,10.6212705 C9.13634179,10.6212705 8.84849585,10.5234908 8.64634146,10.3279284 C8.44418708,10.132366 8.3431114,9.85660521 8.3431114,9.50063771 L8.3431114,9.50063771 Z M12.1928148,9.50063771 C12.1928148,9.13148623 12.2916931,8.85242947 12.4894529,8.66345907 C12.6872126,8.47448867 12.9750585,8.38000488 13.3529993,8.38000488 C13.7177562,8.38000488 14.0001089,8.47668596 14.2000659,8.67005103 C14.400023,8.86341609 14.5,9.14027555 14.5,9.50063771 C14.5,9.84781589 14.3989243,10.1213794 14.1967699,10.3213365 C13.9946156,10.5212935 13.7133615,10.6212705 13.3529993,10.6212705 C12.9838479,10.6212705 12.6981992,10.5234908 12.4960448,10.3279284 C12.2938904,10.132366 12.1928148,9.85660521 12.1928148,9.50063771 L12.1928148,9.50063771 Z" id="…" fill="#FFF" opacity="0.6"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_person.svg b/src/skins/vector/img/icon_context_person.svg deleted file mode 100644 index fff019d3..00000000 --- a/src/skins/vector/img/icon_context_person.svg +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="11.000464" - height="13" - viewBox="0 0 11.000464 13" - version="1.1" - id="svg4500" - inkscape:version="0.91 r13725" - sodipodi:docname="icon_context_person.svg"> - <metadata - id="metadata4520"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title>81230A28-D944-4572-B5DB-C03CAA2B1FCA</dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1013" - inkscape:window-height="777" - id="namedview4518" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:zoom="24.48" - inkscape:cx="4.9078557" - inkscape:cy="9.7756405" - inkscape:window-x="495" - inkscape:window-y="175" - inkscape:window-maximized="0" - inkscape:current-layer="icons_people_svg" /> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title - id="title4502">81230A28-D944-4572-B5DB-C03CAA2B1FCA</title> - <desc - id="desc4504">Created with sketchtool.</desc> - <defs - id="defs4506" /> - <g - style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1" - id="g4511" - transform="translate(-56.999768,-730.5)"> - <g - transform="translate(50,725)" - id="icons_people"> - <g - style="stroke:#00000f;stroke-opacity:0.94117647" - transform="translate(7,6)" - id="icons_people_svg"> - <path - style="stroke:#cecece;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" - inkscape:connector-curvature="0" - id="Oval-40" - d="m 10.5,12 c 0,-2.7614237 0,-5 -5,-5 -5.0000002,0 -5,2.2385763 -5,5 3.4756747,0 5.5712891,0 10,0 z" /> - <circle - r="2.75" - cy="2.75" - cx="5.5" - id="Oval" - style="stroke:#cecece;stroke-opacity:1" /> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_context_person_on.svg b/src/skins/vector/img/icon_context_person_on.svg deleted file mode 100644 index 36294433..00000000 --- a/src/skins/vector/img/icon_context_person_on.svg +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="11.000464" - height="13" - viewBox="0 0 11.000464 13" - version="1.1" - id="svg4500" - inkscape:version="0.91 r13725" - sodipodi:docname="icon_context_person_on.svg"> - <metadata - id="metadata4520"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title>81230A28-D944-4572-B5DB-C03CAA2B1FCA</dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1013" - inkscape:window-height="777" - id="namedview4518" - showgrid="false" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:zoom="24.48" - inkscape:cx="4.9078557" - inkscape:cy="9.7756405" - inkscape:window-x="495" - inkscape:window-y="175" - inkscape:window-maximized="0" - inkscape:current-layer="icons_people_svg" /> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title - id="title4502">81230A28-D944-4572-B5DB-C03CAA2B1FCA</title> - <desc - id="desc4504">Created with sketchtool.</desc> - <defs - id="defs4506" /> - <g - style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1" - id="g4511" - transform="translate(-56.999768,-730.5)"> - <g - transform="translate(50,725)" - id="icons_people"> - <g - style="stroke:#00000f;stroke-opacity:0.94117647" - transform="translate(7,6)" - id="icons_people_svg"> - <path - style="stroke:#4a4a4a;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill:#4a4a4a;fill-opacity:1" - inkscape:connector-curvature="0" - id="Oval-40" - d="m 10.5,12 c 0,-2.7614237 0,-5 -5,-5 -5.0000002,0 -5,2.2385763 -5,5 3.4756747,0 5.5712891,0 10,0 z" /> - <circle - r="2.75" - cy="2.75" - cx="5.5" - id="Oval" - style="stroke:#4a4a4a;stroke-opacity:1;fill:#4a4a4a;fill-opacity:1" /> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_copy_message.svg b/src/skins/vector/img/icon_copy_message.svg deleted file mode 100644 index 8d8887bb..00000000 --- a/src/skins/vector/img/icon_copy_message.svg +++ /dev/null @@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="19px" - height="19px" - viewBox="0 0 19 19" - version="1.1" - id="svg3734" - sodipodi:docname="icon_copy_message.svg" - inkscape:version="0.92.1 r"> - <metadata - id="metadata3738"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title>ED5D3E59-2561-4AC1-9B43-82FBC51767FC</dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1596" - inkscape:window-height="846" - id="namedview3736" - showgrid="false" - inkscape:zoom="12.421053" - inkscape:cx="3.4935767" - inkscape:cy="2.469644" - inkscape:window-x="0" - inkscape:window-y="0" - inkscape:window-maximized="1" - inkscape:current-layer="Symbols" /> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title - id="title3722">ED5D3E59-2561-4AC1-9B43-82FBC51767FC</title> - <desc - id="desc3724">Created with sketchtool.</desc> - <defs - id="defs3726" /> - <g - id="Symbols" - stroke="none" - stroke-width="1" - fill="none" - fill-rule="evenodd"> - <path - d="M 9.5,19 C 14.746705,19 19,14.746705 19,9.5 19,4.2532949 14.746705,0 9.5,0 4.2532949,0 0,4.2532949 0,9.5 0,14.746705 4.2532949,19 9.5,19 Z" - id="Oval-69" - inkscape:connector-curvature="0" - style="fill:#ececec" /> - <g - id="g4632" - transform="translate(-2.3841858e-7,-1)"> - <rect - style="stroke:#9b9b9b;stroke-width:0.91585475;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - y="4.3017478" - x="4.6289611" - height="10.396504" - width="7.7420783" - id="rect3745-3" /> - <rect - style="fill:#ececec;fill-opacity:1;stroke:#9b9b9b;stroke-width:0.91585475;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - y="6.3017478" - x="6.6289611" - height="10.396504" - width="7.7420783" - id="rect3745" /> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icon_copy_message_dark.svg b/src/skins/vector/img/icon_copy_message_dark.svg deleted file mode 100644 index b81e617d..00000000 --- a/src/skins/vector/img/icon_copy_message_dark.svg +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="19px" - height="19px" - viewBox="0 0 19 19" - version="1.1" - id="svg3734" - sodipodi:docname="icon_copy_message_dark.svg" - inkscape:version="0.92.1 r" - enable-background="new"> - <metadata - id="metadata3738"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title>ED5D3E59-2561-4AC1-9B43-82FBC51767FC</dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1596" - inkscape:window-height="846" - id="namedview3736" - showgrid="false" - inkscape:zoom="12.421053" - inkscape:cx="3.4935767" - inkscape:cy="2.469644" - inkscape:window-x="0" - inkscape:window-y="0" - inkscape:window-maximized="1" - inkscape:current-layer="svg3734" /> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title - id="title3722">ED5D3E59-2561-4AC1-9B43-82FBC51767FC</title> - <desc - id="desc3724">Created with sketchtool.</desc> - <defs - id="defs3726" /> - <path - style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1" - inkscape:connector-curvature="0" - id="Oval-69" - d="M 9.5,19 C 14.746705,19 19,14.746705 19,9.5 19,4.2532949 14.746705,0 9.5,0 4.2532949,0 0,4.2532949 0,9.5 0,14.746705 4.2532949,19 9.5,19 Z" /> - <g - id="g4675" - style="stroke:#ffffff;stroke-opacity:1;opacity:0.6"> - <path - id="rect3745-3" - d="M 4.6289062 3.3007812 L 4.6289062 13.699219 L 6.6289062 13.699219 L 6.6289062 5.3007812 L 12.371094 5.3007812 L 12.371094 3.3007812 L 4.6289062 3.3007812 z " - style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.91585475;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <rect - id="rect3745-7" - width="7.7420783" - height="10.396504" - x="6.6289062" - y="5.3007812" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.91585475;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - </g> -</svg> diff --git a/src/skins/vector/img/icon_person.svg b/src/skins/vector/img/icon_person.svg deleted file mode 100644 index 4be70df0..00000000 --- a/src/skins/vector/img/icon_person.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="11px" height="13px" viewBox="0 0 11 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>815EF7DE-169A-4322-AE2A-B65CBE91DCED</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Left-menu" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Left-menu-option-B" transform="translate(-33.000000, -223.000000)" fill="#FFFFFF" stroke="#76CFA6"> - <g id="Left-panel"> - <g id="Room-list" transform="translate(0.000000, 69.000000)"> - <g id="Group-3" transform="translate(16.000000, 144.000000)"> - <g id="icon_person" transform="translate(18.000000, 11.000000)"> - <g> - <path d="M5.34291667,5.8555 C5.51425,5.86608333 5.68525,5.88091667 5.85566667,5.90108333 C5.987,5.91666667 6.118,5.93533333 6.24825,5.95783333 C6.96516667,6.08175 7.69391667,6.32633333 8.23175,6.83591667 C8.32116667,6.92058333 8.40433333,7.01166667 8.48041667,7.1085 C8.59608333,7.25566667 8.69475,7.41583333 8.77633333,7.58425 C8.92233333,7.8855 9.0125,8.21083333 9.06841667,8.54008333 C9.13758333,8.9475 9.15758333,9.36266667 9.1635,9.77533333 C9.1685,10.1279167 9.167,10.4805833 9.16725,10.8331667 L8.33333344e-05,10.8331667 C0.000250000001,10.4805833 -0.00125,10.1279167 0.00375,9.77533333 C0.00916666667,9.39616667 0.0268333333,9.01533333 0.083,8.63991667 C0.134833333,8.29291667 0.221666667,7.94891667 0.369333333,7.62966667 C0.44775,7.46033333 0.543,7.29875 0.65525,7.14958333 C0.729,7.05166667 0.809833333,6.95925 0.897,6.87308333 C1.41916667,6.35725 2.13533333,6.10216667 2.84408333,5.97125 C2.97233333,5.94758333 3.10125,5.92775 3.23058333,5.91108333 C3.39841667,5.8895 3.56683333,5.87333333 3.73558333,5.86133333 C3.95191667,5.846 4.16858333,5.8385 4.38533333,5.83458333 C4.48475,5.8335 4.58408333,5.83316667 4.6835,5.8335 C4.9035,5.83583333 5.12333333,5.84183333 5.34291667,5.8555 Z" id="Fill-1" stroke-linejoin="round"></path> - <path d="M4.99558333,0.031 C5.28133333,0.0745833333 5.55966667,0.1645 5.81691667,0.29625 C6.32075,0.554333333 6.7375,0.971 6.9955,1.47483333 C7.11691667,1.712 7.20291667,1.967 7.24975,2.22916667 C7.30216667,2.52283333 7.30583333,2.82525 7.26083333,3.12008333 C7.2205,3.38416667 7.14066667,3.642 7.02475,3.88266667 C6.88325,4.17633333 6.68833333,4.44375 6.45233333,4.66866667 C6.21591667,4.89408333 5.93891667,5.07633333 5.638,5.20358333 C5.30525,5.34433333 4.94491667,5.4165 4.58366667,5.4165 C4.22233333,5.4165 3.86208333,5.34433333 3.52925,5.20358333 C3.22833333,5.07633333 2.95133333,4.89408333 2.71491667,4.66866667 C2.479,4.44375 2.284,4.17633333 2.1425,3.88266667 C2.02658333,3.642 1.94675,3.38416667 1.90641667,3.12008333 C1.86141667,2.82525 1.86508333,2.52291667 1.91758333,2.22925 C1.96433333,1.967 2.05033333,1.712 2.17175,1.47483333 C2.42975,0.971 2.8465,0.554333333 3.35033333,0.29625 C3.60758333,0.1645 3.88591667,0.0745833333 4.17166667,0.031 C4.28525,0.0136666667 4.39916667,0.005 4.51391667,0.000666666667 C4.58391667,-0.000166666667 4.58366667,-0.000166666667 4.65333333,0.000666666667 C4.76808333,0.005 4.882,0.0136666667 4.99558333,0.031 Z" id="Fill-2"></path> - </g> - </g> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-apps-active.svg b/src/skins/vector/img/icons-apps-active.svg deleted file mode 100644 index ea222d05..00000000 --- a/src/skins/vector/img/icons-apps-active.svg +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" - height="35px" viewBox="0 0 35 35" enable-background="new 0 0 35 35" xml:space="preserve"> -<g id="Layer_1"> - <path id="Oval-109-Copy" fill="#76CFA6" enable-background="new " d="M17.5,35C27.165,35,35,27.165,35,17.5S27.165,0,17.5,0 - S0,7.835,0,17.5S7.835,35,17.5,35z"/> - <g id="Icon"> - <g> - <path fill="none" stroke="#FFFFFF" d="M7.5,12.5h5v-5h-5V12.5z M15,27.5h5v-5h-5V27.5z M7.5,27.5h5v-5h-5V27.5z M7.5,20h5v-5h-5 - V20z M15,20h5v-5h-5V20z M22.5,7.5v5h5v-5H22.5z M15,12.5h5v-5h-5V12.5z M22.5,20h5v-5h-5V20z M22.5,27.5h5v-5h-5V27.5z"/> - </g> - </g> -</g> -<g id="Layer_2"> - <g id="Icon_1_" opacity="0.15"> - <g> - <path fill="none" stroke="#76CFA6" d="M7.5,12.5h5v-5h-5V12.5z M15,27.5h5v-5h-5V27.5z M7.5,27.5h5v-5h-5V27.5z M7.5,20h5v-5h-5 - V20z M15,20h5v-5h-5V20z M22.5,7.5v5h5v-5H22.5z M15,12.5h5v-5h-5V12.5z M22.5,20h5v-5h-5V20z M22.5,27.5h5v-5h-5V27.5z"/> - </g> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icons-apps.svg b/src/skins/vector/img/icons-apps.svg deleted file mode 100644 index affd8e64..00000000 --- a/src/skins/vector/img/icons-apps.svg +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="35px" height="35px" viewBox="0 0 35 35" enable-background="new 0 0 35 35" xml:space="preserve"> -<path id="Oval-109-Copy" opacity="0.15" fill="#76CFA6" enable-background="new " d="M17.5,35C27.165,35,35,27.165,35,17.5 - S27.165,0,17.5,0S0,7.835,0,17.5S7.835,35,17.5,35z"/> -<g id="Icon"> - <g> - <path fill="none" stroke="#76CFA6" d="M7.5,12.5h5v-5h-5V12.5z M15,27.5h5v-5h-5V27.5z M7.5,27.5h5v-5h-5V27.5z M7.5,20h5v-5h-5 - V20z M15,20h5v-5h-5V20z M22.5,7.5v5h5v-5H22.5z M15,12.5h5v-5h-5V12.5z M22.5,20h5v-5h-5V20z M22.5,27.5h5v-5h-5V27.5z"/> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icons-close-button.svg b/src/skins/vector/img/icons-close-button.svg deleted file mode 100644 index f960d73a..00000000 --- a/src/skins/vector/img/icons-close-button.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>206C270A-EB00-48E4-8CC3-5D403C59177C</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="1:1-chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Chat-People-2-Invite-modal-(similar-to-chat-group-5)" transform="translate(-909.000000, -263.000000)"> - <g id="icons_close" transform="translate(909.000000, 263.000000)"> - <path d="M17.5,35 C27.1649831,35 35,27.1649831 35,17.5 C35,7.83501688 27.1649831,0 17.5,0 C7.83501688,0 0,7.83501688 0,17.5 C0,27.1649831 7.83501688,35 17.5,35 Z" id="Oval-1-Copy-7" fill="#76CFA6" opacity="0.15"></path> - <polyline id="icon_close" fill="#76CFA6" opacity="0.9" transform="translate(17.468897, 17.470577) rotate(-315.000000) translate(-17.468897, -17.470577) " points="18.2115394 5.97057742 16.674774 5.97057742 16.674774 16.7275762 5.9688975 16.7275762 5.9688975 18.2642903 16.674774 18.2642903 16.674774 28.9705774 18.2115394 28.9705774 18.2115394 18.2642903 28.9688975 18.2642903 28.9688975 16.7275762 18.2115394 16.7275762 18.2115394 5.97057742"></polyline> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-close.svg b/src/skins/vector/img/icons-close.svg deleted file mode 100644 index 453b5108..00000000 --- a/src/skins/vector/img/icons-close.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" - xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-11 13 24 24" xml:space="preserve"> -<style type="text/css"> - .st1{fill:none;stroke-width:2;stroke-linecap:round;} -</style> -<title>icons_create_room</title> -<desc>Created with sketchtool.</desc> -<g id="_x30_3-Input" sketch:type="MSPage"> - <g id="_x30_3_x5F_4-Uploading" transform="translate(-20.000000, -726.000000)" sketch:type="MSArtboardGroup"> - <g id="Room-list" sketch:type="MSLayerGroup"> - <g id="Room-list_x2F_Footer" transform="translate(0.000000, 708.000000)" sketch:type="MSShapeGroup"> - <g id="icons_create_room" transform="translate(20.000000, 18.000000)"> - <circle id="Oval-1-Copy-7" fill="#76CFA6" cx="1" cy="25" r="12"/> - <path id="Line" class="st1" stroke="#FFFFFF" d="M-2.5,28.5l7.1-7.1"/> - <path id="Line_1_" class="st1" stroke="#FFFFFF" d="M-2.5,21.5l7.1,7.1"/> - </g> - </g> - </g> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icons-create-room.svg b/src/skins/vector/img/icons-create-room.svg deleted file mode 100644 index 252bd2df..00000000 --- a/src/skins/vector/img/icons-create-room.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 3.8.3 (29802) - http://www.bohemiancoding.com/sketch --> - <title>0F9BCC43-B3A7-4C9F-8E34-1F38194362C2</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Room-list-Copy-3" transform="translate(-21.000000, -726.000000)"> - <g id="icons_create_room" transform="translate(21.000000, 726.000000)"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7" fill="#76CFA6"></path> - <g id="Group-3" opacity="0.8" transform="translate(6.000000, 6.000000)" stroke="#FFFFFF" stroke-linecap="round"> - <path d="M0,6.5 L13,6.5" id="Line"></path> - <path d="M6.5,0 L6.5,13" id="Line"></path> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-directory.svg b/src/skins/vector/img/icons-directory.svg deleted file mode 100644 index 2688b847..00000000 --- a/src/skins/vector/img/icons-directory.svg +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch --> - <title>icons_directory</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Left-panel" transform="translate(-83.000000, -726.000000)"> - <g id="icons_directory"> - <g transform="translate(83.000000, 726.000000)"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7" fill="#76CFA6"></path> - <g id="Lines" transform="translate(6.000000, 7.000000)" stroke="#FFFFFF" stroke-linecap="round"> - <path d="M4,5.5 L9,5.5" id="Line"></path> - <path d="M4,1.5 L13,1.5" id="Line-Copy-4"></path> - <path d="M0,1.5 L2,1.5" id="Line" opacity="0.6"></path> - <path d="M0,5.5 L2,5.5" id="Line" opacity="0.6"></path> - <path d="M4,9.5 L11,9.5" id="Line-Copy-6"></path> - <path d="M0,9.5 L2,9.5" id="Line-Copy-3" opacity="0.6"></path> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/icons-files.svg b/src/skins/vector/img/icons-files.svg deleted file mode 100644 index 97ba4228..00000000 --- a/src/skins/vector/img/icons-files.svg +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>7C98C075-AB4D-45A3-85F9-CCD46F84DA7F</title> - <desc>Created with sketchtool.</desc> - <defs> - <path d="M0,2.00276013 C0,0.896666251 0.889186576,0 1.99983124,0 L4.84793814,0 C4.84793814,0 9.25,4.54127763 9.25,4.54127763 L9.25,10.9954009 C9.25,12.1025104 8.36307111,13 7.24288777,13 L2.00711223,13 C0.898614756,13 0,12.1064574 0,10.9972399 L0,2.00276013 Z" id="path-1"></path> - <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="9.25" height="13" fill="white"> - <use xlink:href="#path-1"></use> - </mask> - <path d="M9.28225806,5 L5.82322134,5 C4.97217082,5 4.28225806,4.31002094 4.28225806,3.45903672 L4.28225806,0" id="path-3"></path> - <mask id="mask-4" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="5" height="5" fill="white"> - <use xlink:href="#path-3"></use> - </mask> - </defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Right-panel/Header" transform="translate(-66.000000, -23.000000)"> - <g id="icons_files" transform="translate(66.000000, 23.000000)"> - <g id="Group-5-Copy-2" fill="#76CFA6"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7"></path> - </g> - <g id="Rectangle-5-+-Rectangle-6-Copy-2" transform="translate(8.000000, 6.000000)" stroke="#FFFFFF" stroke-width="2"> - <use id="Rectangle-5" mask="url(#mask-2)" opacity="0.8" xlink:href="#path-1"></use> - <use id="Rectangle-6" mask="url(#mask-4)" xlink:href="#path-3"></use> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/icons-groups.svg b/src/skins/vector/img/icons-groups.svg deleted file mode 100644 index 8f89ba83..00000000 --- a/src/skins/vector/img/icons-groups.svg +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 25 25" style="enable-background:new 0 0 25 25;" xml:space="preserve"> -<style type="text/css"> - .st4{fill:none;stroke-miterlimit:10;} -</style> -<g id="icons_people" transform="translate(50.000000, 725.000000)"> - <path id="Oval-1-Copy-7" fill="#76CFA6" d="M-37.5-700c6.9,0,12.5-5.6,12.5-12.5S-30.6-725-37.5-725S-50-719.4-50-712.5 - S-44.4-700-37.5-700z"/> - <g id="g4240_1_" transform="translate(6.945774,9.0366549)"> - <path id="path4242_1_" class="st4" stroke="#FFFFFF" d="M-38.8-714.1c0-3.2,0-5.7-5.7-5.7s-5.7,2.5-5.7,5.7C-46.2-714.1-43.8-714.1-38.8-714.1z"/> - <circle id="circle4244_1_" class="st4" stroke="#FFFFFF" cx="-44.5" cy="-724.7" r="3.2"/> - </g> - <g> - <path fill="#FFFFFF" d="M-45.8-708.7c0-2.5,0.3-4,4.5-4c0.3,0,0.6,0,0.8,0c-0.3-0.3-0.6-0.6-0.8-1c0,0,0,0-0.1,0 - c-5.5,0-5.5,2.7-5.5,5.5v0.5h2.7c0.1-0.3,0.1-0.7,0.2-1H-45.8z"/> - <path fill="#FFFFFF" d="M-43.6-717.4c0-1.3,1-2.3,2.3-2.3c0.6,0,1.1,0.2,1.5,0.5c0.3-0.2,0.6-0.3,1-0.5c-0.6-0.7-1.5-1.1-2.4-1.1 - c-1.8,0-3.3,1.5-3.3,3.3c0,1.8,1.4,3.2,3.2,3.3c-0.1-0.3-0.2-0.7-0.3-1C-42.8-715.3-43.6-716.2-43.6-717.4z"/> - <path fill="#FFFFFF" d="M-27.8-708.2c0-2.8,0-5.5-5.5-5.5c-0.2,0-0.3,0-0.5,0c-0.2,0.4-0.5,0.7-0.8,1c0.4,0,0.8-0.1,1.3-0.1 - c4.2,0,4.5,1.5,4.5,4h-2.4c0.1,0.3,0.2,0.7,0.2,1h3.1V-708.2z"/> - <path fill="#FFFFFF" d="M-33.3-719.7c1.3,0,2.3,1,2.3,2.3c0,1.3-1,2.3-2.3,2.3c0,0,0,0,0,0c0,0.3-0.1,0.7-0.3,1c0.1,0,0.2,0,0.3,0 - c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3c-1,0-1.9,0.5-2.5,1.2c0.3,0.1,0.6,0.3,0.9,0.5C-34.6-719.4-34-719.7-33.3-719.7z"/> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icons-hide-apps.svg b/src/skins/vector/img/icons-hide-apps.svg deleted file mode 100644 index b622e97f..00000000 --- a/src/skins/vector/img/icons-hide-apps.svg +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 35 35" style="enable-background:new 0 0 35 35;" xml:space="preserve"> -<style type="text/css"> - .st1{opacity:0.85;} - .st2{fill:none;stroke:#FFFFFF;stroke-width:1;stroke-linecap:round;stroke-miterlimit:10;} - .st3{fill:#FFFFFF;} - .st4{fill:none;stroke:#FFFFFF;stroke-linejoin:round;stroke-miterlimit:10;} -</style> -<g id="Layer_1_1_"> - <path id="Oval-109-Copy" fill="#76CFA6" d="M17.5,35C27.2,35,35,27.2,35,17.5S27.2,0,17.5,0S0,7.8,0,17.5S7.8,35,17.5,35z"/> -</g> -<g id="frame" class="st1"> - <g id="Layer_3"> - <g> - <g> - <line class="st2" x1="17.5" y1="21" x2="17.5" y2="26"/> - <g> - <polygon class="st3" points="15.5,21.8 17.5,18.3 19.5,21.8 "/> - </g> - </g> - </g> - </g> - <rect x="6.7" y="6.7" class="st4" width="21.6" height="21.6"/> - <line class="st4" x1="6.7" y1="16.7" x2="28.2" y2="16.7"/> - <path class="st3" d="M13.3,13.3v-3.1c0-0.1-0.1-0.3-0.3-0.3H9.9c-0.1,0-0.3,0.1-0.3,0.3v3.1c0,0.1,0.1,0.3,0.3,0.3H13 - C13.2,13.5,13.3,13.4,13.3,13.3z"/> - <path class="st3" d="M19.3,13.3v-3.1c0-0.1-0.1-0.3-0.3-0.3h-3.1c-0.1,0-0.3,0.1-0.3,0.3v3.1c0,0.1,0.1,0.3,0.3,0.3H19 - C19.2,13.5,19.3,13.4,19.3,13.3z"/> - <path class="st3" d="M25.3,13.3v-3.1c0-0.1-0.1-0.3-0.3-0.3h-3.1c-0.1,0-0.3,0.1-0.3,0.3v3.1c0,0.1,0.1,0.3,0.3,0.3H25 - C25.2,13.5,25.3,13.4,25.3,13.3z"/> -</g> -</svg> diff --git a/src/skins/vector/img/icons-hide-stickers.svg b/src/skins/vector/img/icons-hide-stickers.svg deleted file mode 100644 index f28e8646..00000000 --- a/src/skins/vector/img/icons-hide-stickers.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve"> -<g id="Layer_1_1_" opacity="0.4"> - <path id="Oval-109-Copy" fill="#76CFA6" d="M250,500c138.571,0,250-111.43,250-250C500,111.429,388.571,0,250,0 - C111.429,0,0,111.429,0,250C0,388.57,111.429,500,250,500z"/> -</g> -<path fill="none" stroke="#FFFFFF" stroke-width="12" stroke-miterlimit="10" d="M250,430c-98.996,0-180-81.003-180-180 - c0-98.998,81.005-180,180-180c98.994,0,180,81.002,180,180C430,348.997,348.995,430,250,430z M322.8,229.2 - c17.686,0,31.201-13.519,31.201-31.2c0-17.683-13.519-31.2-31.201-31.2c-17.682,0-31.2,13.518-31.2,31.2S305.118,229.2,322.8,229.2z - M177.2,229.2c17.682,0,31.2-13.519,31.2-31.2c0-17.683-13.519-31.2-31.2-31.2c-17.683,0-31.201,13.518-31.201,31.2 - S159.518,229.2,177.2,229.2z M250,364.4c48.883,0,89.436-30.164,106.081-72.801H143.919C160.564,334.236,201.117,364.4,250,364.4z" - /> -</svg> diff --git a/src/skins/vector/img/icons-home.svg b/src/skins/vector/img/icons-home.svg deleted file mode 100644 index eb5484c8..00000000 --- a/src/skins/vector/img/icons-home.svg +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 25 25" style="enable-background:new 0 0 25 25;" xml:space="preserve"> -<style type="text/css"> - .st1{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} -</style> -<g id="Layer_1"> - <title>81230A28-D944-4572-B5DB-C03CAA2B1FCA</title> - <desc>Created with sketchtool.</desc> - <g id="Symbols"> - <g id="Left-nav-default" transform="translate(-50.000000, -725.000000)"> - <g id="Left-panel"> - <g> - <g id="icons_people" transform="translate(50.000000, 725.000000)"> - <path id="Oval-1-Copy-7" fill="#76cfa6" d="M12.5,25C19.4,25,25,19.4,25,12.5S19.4,0,12.5,0S0,5.6,0,12.5S5.6,25,12.5,25z"/> - </g> - </g> - </g> - </g> - </g> -</g> -<g id="Layer_2"> - <rect x="7.8" y="10.7" class="st1" stroke="#ffffff" width="9.4" height="7.4"/> - <polygon class="st1" stroke="#ffffff" points="12.5,6 6.2,10.7 18.8,10.7 "/> -</g> -</svg> diff --git a/src/skins/vector/img/icons-notifications.svg b/src/skins/vector/img/icons-notifications.svg deleted file mode 100644 index 66a49d6c..00000000 --- a/src/skins/vector/img/icons-notifications.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>5E723325-BD0B-454D-BE25-638AF09A97AC</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Right-panel/Header" transform="translate(-100.000000, -23.000000)"> - <g id="icons_notifications" transform="translate(100.000000, 23.000000)"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7" fill="#76CFA6"></path> - <g id="Group-8" opacity="0.8" transform="translate(7.000000, 4.000000)"> - <path d="M5.41666667,16.7222222 C6.38316498,16.7222222 7.16666667,15.9387205 7.16666667,14.9722222 C7.16666667,14.0057239 6.38316498,13.2222222 5.41666667,13.2222222 C4.45016835,13.2222222 3.66666667,14.0057239 3.66666667,14.9722222 C3.66666667,15.9387205 4.45016835,16.7222222 5.41666667,16.7222222 Z" id="Oval-49" stroke="#FFFFFF"></path> - <path d="M1,12.4488669 C1,12.4468729 10.0044225,12.4444444 10.0044225,12.4444444 C10.0024284,12.4444444 10,7.94444444 10,7.94444444 C10,5.46303559 7.98297457,3.44444444 5.5,3.44444444 C3.01859115,3.44444444 1,5.46146988 1,7.94444444 L1,12.4488669 Z M5.5,2.44444444 C8.53756612,2.44444444 11,4.91305916 11,7.94444444 L11,12.4488669 C11,12.9987092 10.555163,13.4444444 10.0044225,13.4444444 L0.995577499,13.4444444 C0.445735229,13.4444444 0,12.9996075 0,12.4488669 L0,7.94444444 C0,4.90687832 2.46861471,2.44444444 5.5,2.44444444 Z" id="Rectangle-15" fill="#FFFFFF"></path> - <path d="M4.27777778,1.83333333 L6.72222222,1.83333333" id="Line" stroke="#FFFFFF" stroke-linecap="round"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/icons-people.svg b/src/skins/vector/img/icons-people.svg deleted file mode 100644 index 88545061..00000000 --- a/src/skins/vector/img/icons-people.svg +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>81230A28-D944-4572-B5DB-C03CAA2B1FCA</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Left-nav-default" transform="translate(-50.000000, -725.000000)"> - <g id="Left-panel"> - <g> - <g id="icons_people" transform="translate(50.000000, 725.000000)"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7" fill="#76CFA6"></path> - <g id="icons_people_svg" transform="translate(7.000000, 6.000000)" stroke="#FFFFFF"> - <path d="M10.5,12 C10.5,9.23857625 10.5000002,7 5.5,7 C0.499999803,7 0.5,9.23857625 0.5,12 C3.97567472,12 6.07128906,12 10.5,12 Z" id="Oval-40" stroke-linecap="round" stroke-linejoin="round"></path> - <circle id="Oval" cx="5.5" cy="2.75" r="2.75"></circle> - </g> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-pin.svg b/src/skins/vector/img/icons-pin.svg deleted file mode 100644 index a6fbf13b..00000000 --- a/src/skins/vector/img/icons-pin.svg +++ /dev/null @@ -1,7 +0,0 @@ -<svg width="16px" height="16px" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> - <g transform="scale(0.03125)"> - <path id="svg_2" fill="none" stroke="#76cfa6" stroke-width="40" stroke-linecap="round" stroke-linejoin="round" d="m315.802,402.338c12.73,-33.537 13.503,-69.629 3.623,-102.697l93.245,-103.107l7.831,7.831c10.411,10.409 27.283,10.409 37.691,0c10.41,-10.408 10.41,-27.281 0.001,-37.69l-112.869,-112.867c-10.407,-10.409 -27.279,-10.41 -37.689,-0.001c-10.408,10.41 -10.409,27.283 0.001,37.693l7.833,7.833l-103.107,93.243c-33.069,-9.878 -69.163,-9.107 -102.697,3.626c-4.7,1.785 -8.001,5.646 -9.059,10.604c-1.175,5.473 0.627,11.402 4.697,15.472l184.42,184.421c4.069,4.07 10,5.871 15.472,4.695c4.959,-1.055 8.82,-4.357 10.607,-9.056z"/> - <polyline id="svg_3" fill="none" stroke="#76cfa6" stroke-width="40" stroke-linecap="round" stroke-linejoin="round" points=" 180.951,297.927 46,466 215.319,332.295 "/> - <!--<line id="svg_4" fill="none" stroke="#76cfa6" stroke-width="40" stroke-linecap="round" stroke-linejoin="round" y2="219.549" y1="138.166" x2="255.531" x1="336.915"/>--> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/icons-room-add.svg b/src/skins/vector/img/icons-room-add.svg deleted file mode 100644 index fc0ab750..00000000 --- a/src/skins/vector/img/icons-room-add.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" - id="svg4196" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 25 25" - style="enable-background:new 0 0 25 25;" xml:space="preserve"> -<style type="text/css"> - .st1{opacity:0.7;} - .st2{fill:none;stroke-linecap:round;} -</style> -<g id="icons_people" transform="translate(50.000000, 725.000000)"> - <path id="Oval-1-Copy-7" fill="#76CFA6" d="M-37.5-700c6.9,0,12.5-5.6,12.5-12.5S-30.6-725-37.5-725S-50-719.4-50-712.5 - S-44.4-700-37.5-700z"/> - <g id="text3879" transform="matrix(1.0243293,0,0,0.97624855,-24.996028,0.15844144)"> - <g id="Group-3" transform="translate(14.4375,3.9375)" class="st1"> - <path id="Line" class="st2" stroke="#ffffff" d="M-23.2-733.8h4.6"/> - <path id="path3142" class="st2" stroke="#ffffff" d="M-20.9-736.2v4.8"/> - </g> - <path id="path3002" fill="#ffffff" d="M-11.4-731.3l-0.5,2.6h2.2v1h-2.4l-0.7,3.3h-1.1l0.7-3.3 - h-2.3l-0.6,3.3h-1.1l0.6-3.3h-2v-1h2.2l0.5-2.6H-18v-1h2.3l0.6-3.4h1.1l-0.6,3.4h2.4l0.7-3.4h1l-0.7,3.4h2v1H-11.4 M-15.3-728.7 - h2.3l0.5-2.6h-2.3L-15.3-728.7"/> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icons-room.svg b/src/skins/vector/img/icons-room.svg deleted file mode 100644 index d2abb213..00000000 --- a/src/skins/vector/img/icons-room.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 25 25" style="enable-background:new 0 0 25 25;" xml:space="preserve"> -<g id="icons_people"> - <path id="Oval-1-Copy-7" fill="#76CFA6" d="M12.5,25C19.4,25,25,19.4,25,12.5S19.4,0,12.5,0S0,5.6,0,12.5S5.6,25,12.5,25z"/> - <g id="text3879" transform="scale(1.0243293,0.97624855)"> - <path id="path3002" fill="#ffffff" d="M15.3,11.1l-0.6,3.3h2.8v1.3h-3l-0.8,4.2h-1.3l0.8-4.2h-3l-0.8,4.2H8.1l0.8-4.2H6.3v-1.3h2.8 - l0.7-3.3H7.1V9.9H10l0.8-4.3h1.4l-0.8,4.3h3l0.8-4.3h1.3l-0.8,4.3h2.6v1.2H15.3 M10.4,14.5h3l0.6-3.3h-3L10.4,14.5"/> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/icons-search-copy.svg b/src/skins/vector/img/icons-search-copy.svg deleted file mode 100644 index b026718b..00000000 --- a/src/skins/vector/img/icons-search-copy.svg +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="13" height="13" viewBox="0, 0, 13, 13"> - <g id="Symbols"> - <g> - <path d="M10.229,5.547 C10.229,8.133 8.133,10.229 5.547,10.229 C2.961,10.229 0.865,8.133 0.865,5.547 C0.865,2.961 2.961,0.865 5.547,0.865 C8.133,0.865 10.229,2.961 10.229,5.547 z" fill-opacity="0" stroke="#76CFA6" stroke-width="1" stroke-linecap="round" id="path-1" opacity="0.7"/> - <path d="M8.824,8.824 L12.135,12.135" fill-opacity="0" stroke="#76CFA6" stroke-width="1" stroke-linecap="round" id="Line" opacity="0.7"/> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-search.svg b/src/skins/vector/img/icons-search.svg deleted file mode 100644 index d85709e6..00000000 --- a/src/skins/vector/img/icons-search.svg +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="35" height="35" viewBox="0, 0, 35, 35"> - <g id="Symbols"> - <path d="M17.5,35 C27.165,35 35,27.165 35,17.5 C35,7.835 27.165,0 17.5,0 C7.835,0 0,7.835 0,17.5 C0,27.165 7.835,35 17.5,35 z" fill="#76CFA6" opacity="0.15" id="Oval-1-Copy-7"/> - <path d="M22.4,15.4 C22.4,19.266 19.266,22.4 15.4,22.4 C11.534,22.4 8.4,19.266 8.4,15.4 C8.4,11.534 11.534,8.4 15.4,8.4 C19.266,8.4 22.4,11.534 22.4,15.4 z" fill-opacity="0" stroke="#76CFA6" stroke-width="1" stroke-linecap="round" id="path-1" opacity="0.7"/> - <path d="M20.3,20.3 L25.25,25.25" fill-opacity="0" stroke="#76CFA6" stroke-width="1" stroke-linecap="round" id="Line" opacity="0.7"/> - </g> -</svg> diff --git a/src/skins/vector/img/icons-settings-room.svg b/src/skins/vector/img/icons-settings-room.svg deleted file mode 100644 index 117d134c..00000000 --- a/src/skins/vector/img/icons-settings-room.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 3.8.3 (29802) - http://www.bohemiancoding.com/sketch --> - <title>69011392-CE9D-4404-A85C-A8548C5D850B</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Room-header/Vector-Design" transform="translate(-664.000000, -27.000000)"> - <g id="icons_settings_room" transform="translate(660.000000, 23.000000)"> - <path d="M19.2916667,13.5728624 C19.2916667,13.5393757 19.3017819,13.5102943 19.3113438,13.4971468 C19.3355672,13.4638396 19.3859829,13.4310694 19.4436252,13.4214623 L17.694545,13.6861316 L17.3974447,13.7310981 L17.2977123,14.0145482 C17.185604,14.3331717 17.0722755,14.597605 16.9592353,14.8067293 L16.8124355,15.0783089 L16.9894726,15.331219 C17.2195103,15.6598444 17.565037,16.1054769 18.0280062,16.6713281 C18.022664,16.6649493 18.0099284,16.6331101 18.0099284,16.5920681 C18.0099284,16.5496402 18.0279377,16.5036164 18.0528321,16.475956 C17.8694436,16.7228218 17.5714051,17.0479546 17.1334654,17.4798119 C16.7965085,17.8120888 16.5345801,18.0099284 16.5920681,18.0099284 C16.6214055,18.0099284 16.6291649,18.0126143 16.6155936,18.0038899 L15.3431476,17.005336 L15.0891758,16.8065755 L14.8033664,16.9559758 C14.5503526,17.088233 14.2889914,17.1973729 14.0189869,17.2835445 L13.7120738,17.3814955 L13.6744316,17.7014535 C13.5757258,18.5404536 13.4865723,19.1122657 13.4117593,19.4000077 C13.4220315,19.3588282 13.508382,19.2916667 13.5538737,19.2916667 L11.4461263,19.2916667 C11.4709448,19.2916667 11.5046771,19.3033697 11.5281137,19.3223422 C11.5674577,19.3541921 11.5985339,19.4122911 11.6028567,19.4684877 L11.3327968,17.6846531 L11.2864626,17.3801712 L10.9936883,17.2845714 C10.7078788,17.1912459 10.44734,17.0841355 10.2119332,16.9635612 L9.93214937,16.8202573 L9.68174016,17.0102842 L8.34303574,18.0261804 C8.34222864,18.0245539 8.3828551,18.0099284 8.40793186,18.0099284 C8.4560459,18.0099284 8.50260257,18.0304133 8.52412631,18.0519371 C7.73317304,17.3354714 7.2298153,16.8229617 7.00934352,16.5176931 C7.02916553,16.5459153 7.0375434,16.5734426 7.0375434,16.5920681 C7.0375434,16.6255549 7.02742813,16.6546363 7.01786631,16.6677838 C7.10938322,16.5396915 7.26666674,16.3346061 7.48982077,16.0525642 C7.72197376,15.7591487 7.89698984,15.5306554 8.01617299,15.3651233 L8.19916614,15.1109661 L8.05035851,14.8353965 C7.89620291,14.5499231 7.78028893,14.2700333 7.70189913,13.9956689 L7.61327161,13.6854726 L7.29411759,13.6383843 L5.55665014,13.3820367 C5.60547283,13.3895382 5.65427606,13.4185878 5.68200405,13.4549808 C5.69744497,13.475247 5.70833333,13.5072316 5.70833333,13.534885 L5.70833333,11.4271376 C5.70833333,11.4606243 5.69821806,11.4897057 5.68865624,11.5028532 C5.66733768,11.5321662 5.61852108,11.5655671 5.55412371,11.5772757 L7.3050617,11.3139278 L7.6170932,11.2669553 L7.70896845,10.9650795 C7.78753435,10.7069344 7.89777395,10.446882 8.04022371,10.1847745 L8.18820877,9.91248195 L8.0101898,9.65880492 C7.74852329,9.28593014 7.40215158,8.83920775 6.9702929,8.31710994 C6.97614867,8.32413164 6.99007161,8.35754672 6.99007161,8.40793186 C6.99007161,8.4608591 6.98258594,8.47998916 6.98661693,8.47416662 C7.12501718,8.28270528 7.42133693,7.95931063 7.86180475,7.52491822 C8.20132871,7.19007736 8.46567196,6.99007161 8.40793186,6.99007161 C8.37230936,6.99007161 8.35028571,6.98160098 8.34992978,6.98132719 L9.65863124,7.99604966 L9.91223703,8.19268603 L10.1966336,8.04402418 C10.4496474,7.91176698 10.7110086,7.80262714 10.9810131,7.71645547 L11.2879262,7.61850448 L11.3255684,7.29854649 C11.4242742,6.45954641 11.5134277,5.88773433 11.5882407,5.59999227 C11.5779685,5.64117182 11.491618,5.70833333 11.4461263,5.70833333 L13.5538737,5.70833333 C13.5290552,5.70833333 13.4953229,5.69663029 13.4718863,5.67765781 C13.4325423,5.64580789 13.4014661,5.58770895 13.3971433,5.53151231 L13.6672032,7.31534687 L13.7135374,7.61982882 L14.0063117,7.7154286 C14.2921212,7.80875413 14.55266,7.91586455 14.7880668,8.03643878 L15.0667962,8.17920261 L15.3169039,7.99074117 L16.6651027,6.97484491 C16.6763099,6.97052126 16.6241756,6.99007161 16.5920681,6.99007161 C16.5510262,6.99007161 16.519187,6.97733595 16.5093349,6.96912583 C17.2816391,7.68242394 17.786379,8.20245893 17.9875122,8.48739759 C17.9775221,8.4800961 17.9624566,8.43274744 17.9624566,8.40793186 C17.9624566,8.37444515 17.9725719,8.34536374 17.9821337,8.33221623 C17.8906168,8.46030849 17.7333333,8.66539387 17.5101792,8.94743577 C17.2780262,9.24085135 17.1030102,9.46934457 16.983827,9.63487672 L16.8039941,9.8846446 L16.9459858,10.1577054 C17.0973302,10.4487525 17.2157304,10.7317577 17.3016229,11.0066136 L17.3947182,11.3045187 L17.7032402,11.3517243 L19.4407076,11.6175663 C19.3945272,11.6104618 19.3457239,11.5814122 19.3179959,11.5450192 C19.302555,11.524753 19.2916667,11.4927684 19.2916667,11.465115 L19.2916667,13.5728624 L19.2916667,13.5728624 Z M20.2916667,13.5728624 L20.2916667,11.465115 C20.2916667,11.2728919 20.2301422,11.0921639 20.1134277,10.938976 C19.984426,10.7696613 19.8027031,10.6614929 19.5923589,10.6291323 L17.8544855,10.363228 L17.7788628,10.8574761 L18.2561028,10.7083386 C18.1521072,10.3755526 18.0109975,10.038266 17.8332026,9.69635271 L17.3895942,9.92702908 L17.7953614,10.2191814 C17.9040439,10.0682334 18.0708213,9.85049629 18.2943998,9.56791796 C18.5269772,9.27396595 18.6924986,9.05813902 18.7933685,8.91692118 C18.9017053,8.76798915 18.9624566,8.59332905 18.9624566,8.40793186 C18.9624566,8.20588738 18.9030846,8.01928953 18.7722844,7.86980369 C18.5498818,7.5500335 18.0102527,6.99405205 17.1684488,6.21750426 C16.9877567,6.06610236 16.7976798,5.99007161 16.5920681,5.99007161 C16.3700726,5.99007161 16.1660301,6.06658755 16.0106502,6.22196744 L14.7151056,7.19209303 L15.0160048,7.5914171 L15.2439427,7.14639542 C14.9603221,7.00112631 14.6512052,6.87404491 14.3167135,6.76482314 L14.1615126,7.24012587 L14.655822,7.16490487 L14.38998,5.41794306 C14.3772158,5.23404949 14.2733503,5.03986612 14.1010846,4.90041294 C13.9447263,4.7738372 13.755921,4.70833333 13.5538737,4.70833333 L11.4461263,4.70833333 C11.0335176,4.70833333 10.7193048,4.95272109 10.6192582,5.35290753 C10.5306614,5.69357671 10.4362592,6.2990532 10.3324178,7.18170524 L10.8289931,7.24012587 L10.676973,6.76379626 C10.3519948,6.86751269 10.0373707,6.99889418 9.73337941,7.15779874 L9.96500651,7.60091146 L10.2713818,7.20577326 L8.96116042,6.18987699 C8.79471492,6.06183733 8.60812404,5.99007161 8.40793186,5.99007161 C8.0716892,5.99007161 7.73789391,6.24262573 7.15962537,6.81291815 C6.6823007,7.28365902 6.35516387,7.64068653 6.17018122,7.89681636 C6.05452286,8.06370379 5.99007161,8.22841254 5.99007161,8.40793186 C5.99007161,8.61022748 6.06728965,8.79555076 6.20090455,8.95588864 C6.61604566,9.45778088 6.94693135,9.88453066 7.19163311,10.2332307 L7.60091146,9.9460178 L7.1615992,9.70726113 C6.98756879,10.0274771 6.85095757,10.3497395 6.75229457,10.6739179 L7.23063151,10.8194987 L7.15620132,10.3250696 L5.3902508,10.5909116 C5.17158962,10.6304328 5.00251236,10.7461172 4.87992015,10.9146815 C4.76908467,11.0670803 4.70833333,11.2417404 4.70833333,11.4271376 L4.70833333,13.534885 C4.70833333,13.7271081 4.76985777,13.9078361 4.88657233,14.061024 C5.01557399,14.2303387 5.19729689,14.3385071 5.40764111,14.3708677 L7.14815672,14.6276747 L7.22113715,14.1330295 L6.74037518,14.2703901 C6.83921427,14.6163269 6.98281014,14.9630584 7.17045312,15.3105454 L7.61040582,15.0729709 L7.20463865,14.7808186 C7.09595607,14.9317666 6.9291787,15.1495037 6.70560023,15.432082 C6.47302282,15.7260341 6.30750141,15.941861 6.20663153,16.0830788 C6.09829474,16.2320109 6.0375434,16.406671 6.0375434,16.5920681 C6.0375434,16.7752634 6.09022783,16.9483694 6.19438795,17.0971695 C6.47190158,17.4815122 7.01291273,18.0323599 7.83511625,18.7762583 C7.97779454,18.9198189 8.18258892,19.0099284 8.40793186,19.0099284 C8.62289672,19.0099284 8.82176089,18.9383373 8.97977316,18.7961262 L10.2862503,17.8068816 L9.98399523,17.4085829 L9.75605729,17.8536046 C10.0396779,17.9988737 10.3487948,18.1259551 10.6832865,18.2351769 L10.8384874,17.7598741 L10.344178,17.8350951 L10.61002,19.5820569 C10.6227842,19.7659505 10.7266497,19.9601339 10.8989154,20.0995871 C11.0552737,20.2261628 11.244079,20.2916667 11.4461263,20.2916667 L13.5538737,20.2916667 C13.9664824,20.2916667 14.2806952,20.0472789 14.3807418,19.6470925 C14.4693386,19.3064233 14.5637408,18.7009468 14.6675822,17.8182948 L14.1710069,17.7598741 L14.323027,18.2362037 C14.6480052,18.1324873 14.9626293,18.0011058 15.2666206,17.8422013 L15.0349935,17.3990885 L14.7268394,17.792841 L16.0370607,18.8182317 C16.2384937,18.9502769 16.4108203,19.0099284 16.5920681,19.0099284 C16.9280588,19.0099284 17.2611042,18.7583728 17.8356102,18.1918461 C18.3091333,17.7248997 18.6377162,17.3664456 18.8283746,17.1051729 C18.9349535,16.9906682 19.0099284,16.7990657 19.0099284,16.5920681 C19.0099284,16.3864565 18.9338976,16.1963796 18.7990954,16.034617 C18.3534697,15.4899313 18.021739,15.0620917 17.8087045,14.7577567 L17.3990885,15.0444878 L17.8389418,15.2822464 C17.9790857,15.0229801 18.112608,14.7114281 18.2410247,14.3464544 L17.7693685,14.1805013 L17.844192,14.674871 L19.6006482,14.409029 C19.8175769,14.3729308 19.9945828,14.2578769 20.1200798,14.0853185 C20.2309153,13.9329197 20.2916667,13.7582596 20.2916667,13.5728624 L20.2916667,13.5728624 Z" id="Path" fill="#76CFA6"></path> - <path d="M15.625,12.5 C15.625,11.6373655 15.3198273,10.900882 14.7094727,10.2905273 C14.099118,9.68017273 13.3626345,9.375 12.5,9.375 C11.6373655,9.375 10.900882,9.68017273 10.2905273,10.2905273 C9.68017273,10.900882 9.375,11.6373655 9.375,12.5 C9.375,13.3626345 9.68017273,14.099118 10.2905273,14.7094727 C10.900882,15.3198273 11.6373655,15.625 12.5,15.625 C13.3626345,15.625 14.099118,15.3198273 14.7094727,14.7094727 C15.3198273,14.099118 15.625,13.3626345 15.625,12.5 L15.625,12.5 Z" id="Path" stroke="#76CFA6"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-settings.svg b/src/skins/vector/img/icons-settings.svg deleted file mode 100644 index 3ca2b655..00000000 --- a/src/skins/vector/img/icons-settings.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 3.8.3 (29802) - http://www.bohemiancoding.com/sketch --> - <title>4D42A2A7-7430-4D4F-A0A2-E19278CF66E3</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Room-list-Copy-3" transform="translate(-165.000000, -726.000000)"> - <g id="icons_settings" transform="translate(165.000000, 726.000000)"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7" fill="#76CFA6"></path> - <path d="M15.625,12.5 C15.625,11.6373655 15.3198273,10.900882 14.7094727,10.2905273 C14.099118,9.68017273 13.3626345,9.375 12.5,9.375 C11.6373655,9.375 10.900882,9.68017273 10.2905273,10.2905273 C9.68017273,10.900882 9.375,11.6373655 9.375,12.5 C9.375,13.3626345 9.68017273,14.099118 10.2905273,14.7094727 C10.900882,15.3198273 11.6373655,15.625 12.5,15.625 C13.3626345,15.625 14.099118,15.3198273 14.7094727,14.7094727 C15.3198273,14.099118 15.625,13.3626345 15.625,12.5 L15.625,12.5 Z M19.7916667,11.465115 L19.7916667,13.5728624 C19.7916667,13.6488177 19.7663486,13.721607 19.7157118,13.7912326 C19.665075,13.8608583 19.6017799,13.9020001 19.5258247,13.9146593 L17.7693685,14.1805013 C17.649106,14.5222999 17.5256806,14.8102925 17.3990885,15.0444878 C17.6206247,15.360968 17.9592534,15.7977041 18.4149848,16.3547092 C18.4782808,16.4306644 18.5099284,16.5097833 18.5099284,16.5920681 C18.5099284,16.674353 18.4814456,16.7471423 18.4244792,16.8104384 C18.2535799,17.0446337 17.9402692,17.3864272 17.4845378,17.835829 C17.0288063,18.2852308 16.7313194,18.5099284 16.5920681,18.5099284 C16.5161129,18.5099284 16.4338293,18.4814456 16.3452148,18.4244792 L15.0349935,17.3990885 C14.7564909,17.5446694 14.4684983,17.6649301 14.1710069,17.7598741 C14.0697333,18.6207002 13.9779554,19.2093445 13.8956706,19.5258247 C13.8513633,19.7030535 13.7374322,19.7916667 13.5538737,19.7916667 L11.4461263,19.7916667 C11.3575119,19.7916667 11.2799754,19.7647663 11.2135145,19.7109646 C11.1470537,19.657163 11.110659,19.5891208 11.1043294,19.5068359 L10.8384874,17.7598741 C10.5283368,17.6586005 10.243509,17.5415046 9.98399523,17.4085829 L8.6452908,18.4244792 C8.58199476,18.4814456 8.50287591,18.5099284 8.40793186,18.5099284 C8.31931741,18.5099284 8.24019855,18.4751161 8.17057292,18.4054905 C7.37304289,17.6839157 6.85085844,17.152237 6.60400391,16.8104384 C6.55969668,16.7471423 6.5375434,16.674353 6.5375434,16.5920681 C6.5375434,16.5161129 6.56286144,16.4433236 6.61349826,16.3736979 C6.70844231,16.2407762 6.86984478,16.0303201 7.0977105,15.7423231 C7.32557623,15.4543262 7.49647295,15.231211 7.61040582,15.0729709 C7.43950652,14.7564907 7.3097516,14.4431801 7.22113715,14.1330295 L5.4836697,13.8766819 C5.40138486,13.8640227 5.33492502,13.8244632 5.28428819,13.7580024 C5.23365137,13.6915416 5.20833333,13.6171698 5.20833333,13.534885 L5.20833333,11.4271376 C5.20833333,11.3511823 5.23365137,11.278393 5.28428819,11.2087674 C5.33492502,11.1391417 5.39505535,11.0979999 5.46468099,11.0853407 L7.23063151,10.8194987 C7.31924596,10.5283369 7.44267137,10.2371796 7.60091146,9.9460178 C7.34772732,9.5852304 7.00909862,9.14849432 6.58501519,8.63579644 C6.52171916,8.5598412 6.49007161,8.4838871 6.49007161,8.40793186 C6.49007161,8.34463582 6.5185544,8.27184648 6.57552083,8.18956163 C6.74009052,7.96169591 7.05181881,7.62148483 7.51071506,7.16891819 C7.96961131,6.71635154 8.26868058,6.49007161 8.40793186,6.49007161 C8.4902167,6.49007161 8.57250031,6.52171916 8.65478516,6.58501519 L9.96500651,7.60091146 C10.2435091,7.45533058 10.5315017,7.33506992 10.8289931,7.24012587 C10.9302667,6.3792998 11.0220446,5.79065552 11.1043294,5.47417535 C11.1486367,5.29694645 11.2625678,5.20833333 11.4461263,5.20833333 L13.5538737,5.20833333 C13.6424881,5.20833333 13.7200246,5.23523374 13.7864855,5.28903537 C13.8529463,5.342837 13.889341,5.41087922 13.8956706,5.49316406 L14.1615126,7.24012587 C14.4716632,7.34139952 14.756491,7.45849543 15.0160048,7.5914171 L16.3642036,6.57552083 C16.42117,6.5185544 16.4971241,6.49007161 16.5920681,6.49007161 C16.674353,6.49007161 16.7534718,6.52171916 16.8294271,6.58501519 C17.6459459,7.338238 18.1681304,7.87624622 18.3959961,8.19905599 C18.4403033,8.24969282 18.4624566,8.31931741 18.4624566,8.40793186 C18.4624566,8.4838871 18.4371386,8.55667645 18.3865017,8.62630208 C18.2915577,8.75922375 18.1301552,8.96967991 17.9022895,9.25767687 C17.6744238,9.54567382 17.503527,9.76878899 17.3895942,9.92702908 C17.5541639,10.2435093 17.6839188,10.5536552 17.7788628,10.8574761 L19.5163303,11.1233181 C19.5986151,11.1359773 19.665075,11.1755368 19.7157118,11.2419976 C19.7663486,11.3084584 19.7916667,11.3828302 19.7916667,11.465115 L19.7916667,11.465115 Z" id="icons_settings-copy" stroke="#FFFFFF" opacity="0.8"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons-show-apps.svg b/src/skins/vector/img/icons-show-apps.svg deleted file mode 100644 index 34381573..00000000 --- a/src/skins/vector/img/icons-show-apps.svg +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 35 35" style="enable-background:new 0 0 35 35;" xml:space="preserve"> -<style type="text/css"> - .st0{opacity:0.15;} - .st2{fill:none;stroke-width:1;stroke-linecap:round;stroke-miterlimit:10;} - .st3{fill:none;stroke-linejoin:round;stroke-miterlimit:10;} -</style> -<g id="Layer_1_1_" class="st0"> - <path id="Oval-109-Copy" fill="#76CFA6" d="M17.5,35C27.2,35,35,27.2,35,17.5S27.2,0,17.5,0S0,7.8,0,17.5S7.8,35,17.5,35z"/> -</g> -<g id="frame"> - <g id="Layer_3"> - <g> - <g> - <line class="st2" stroke="#76CFA6" x1="17.5" y1="23.9" x2="17.5" y2="18.9"/> - <g> - <polygon fill="#76CFA6" points="19.5,23.1 17.5,26.6 15.5,23.1 "/> - </g> - </g> - </g> - </g> - <rect x="6.7" y="6.7" class="st3" stroke="#76CFA6" width="21.6" height="21.6"/> - <line class="st3" stroke="#76CFA6" x1="6.7" y1="16.7" x2="28.2" y2="16.7"/> - <path fill="#76CFA6" d="M13.3,13.3v-3.1c0-0.1-0.1-0.3-0.3-0.3H9.9c-0.1,0-0.3,0.1-0.3,0.3v3.1c0,0.1,0.1,0.3,0.3,0.3H13 - C13.2,13.5,13.3,13.4,13.3,13.3z"/> - <path fill="#76CFA6" d="M19.3,13.3v-3.1c0-0.1-0.1-0.3-0.3-0.3h-3.1c-0.1,0-0.3,0.1-0.3,0.3v3.1c0,0.1,0.1,0.3,0.3,0.3H19 - C19.2,13.5,19.3,13.4,19.3,13.3z"/> - <path fill="#76CFA6" d="M25.3,13.3v-3.1c0-0.1-0.1-0.3-0.3-0.3h-3.1c-0.1,0-0.3,0.1-0.3,0.3v3.1c0,0.1,0.1,0.3,0.3,0.3H25 - C25.2,13.5,25.3,13.4,25.3,13.3z"/> -</g> -</svg> diff --git a/src/skins/vector/img/icons-show-stickers.svg b/src/skins/vector/img/icons-show-stickers.svg deleted file mode 100644 index 26779a39..00000000 --- a/src/skins/vector/img/icons-show-stickers.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve"> -<g id="Layer_1_1_" opacity="0.15"> - <path id="Oval-109-Copy" fill="#76CFA6" d="M250,500c138.571,0,250-111.43,250-250C500,111.429,388.571,0,250,0 - C111.429,0,0,111.429,0,250C0,388.57,111.429,500,250,500z"/> -</g> -<path fill="none" stroke="#76CFA6" stroke-width="12" stroke-miterlimit="10" d="M249,430c-98.996,0-180-81.003-180-180 - c0-98.998,81.005-180,180-180c98.994,0,180,81.001,180,180C429,348.997,347.995,430,249,430z M321.8,229.2 - c17.685,0,31.201-13.518,31.201-31.2s-13.519-31.2-31.201-31.2c-17.682,0-31.2,13.518-31.2,31.2S304.118,229.2,321.8,229.2z - M176.2,229.2c17.682,0,31.2-13.518,31.2-31.2s-13.519-31.2-31.2-31.2c-17.683,0-31.201,13.518-31.201,31.2 - S158.518,229.2,176.2,229.2z M249,364.4c48.883,0,89.436-30.164,106.081-72.801H142.919C159.564,334.236,200.117,364.4,249,364.4z" - /> -</svg> diff --git a/src/skins/vector/img/icons-upload.svg b/src/skins/vector/img/icons-upload.svg deleted file mode 100644 index b0101e87..00000000 --- a/src/skins/vector/img/icons-upload.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="35" height="35" viewBox="0, 0, 35, 35"> - <g id="Symbols"> - <path d="M17.5,35 C27.165,35 35,27.165 35,17.5 C35,7.835 27.165,0 17.5,0 C7.835,0 0,7.835 0,17.5 C0,27.165 7.835,35 17.5,35 z" fill="#76CFA6" opacity="0.15" id="Oval-109-Copy"/> - <g id="file"> - <path d="M10,10.01 C10,7.795 11.782,6 14.004,6 L18.402,6 C18.402,6 25,12.492 25,12.492 L25,24.006 C25,26.212 23.206,28 21,28 L14,28 C11.791,28 10,26.2 10,23.99 L10,10.01 z" fill-opacity="0" stroke="#76CFA6" stroke-width="1" id="path-1"/> - <path d="M25,13 L20.157,13 C18.966,13 18,12.034 18,10.843 L18,6" fill-opacity="0" stroke="#76CFA6" stroke-width="1" id="path-3"/> - </g> - <path d="M21.479,19.066 C21.612,19.066 21.746,19.015 21.848,18.912 C22.051,18.706 22.051,18.374 21.848,18.168 L17.871,14.154 C17.668,13.948 17.338,13.949 17.135,14.153 L13.153,18.162 C12.95,18.367 12.949,18.701 13.152,18.906 C13.355,19.113 13.685,19.113 13.888,18.908 L16.987,15.788 L16.988,24.474 C16.988,24.764 17.222,25 17.509,25 C17.798,25 18.03,24.764 18.03,24.474 L18.029,15.801 L21.111,18.912 C21.212,19.015 21.345,19.066 21.479,19.066 L21.479,19.066 z" fill="#76CFA6" id="Fill-75"/> - </g> -</svg> diff --git a/src/skins/vector/img/icons-video.svg b/src/skins/vector/img/icons-video.svg deleted file mode 100644 index d367f496..00000000 --- a/src/skins/vector/img/icons-video.svg +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>05D354CE-86A7-4B6F-B9BE-F1CEBBD81B21</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Extra-icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Extra-icons-sheet" transform="translate(-542.000000, -366.000000)"> - <g id="icons_video" transform="translate(542.000000, 366.000000)"> - <path d="M17.5,35 C27.1649831,35 35,27.1649831 35,17.5 C35,7.83501688 27.1649831,0 17.5,0 C7.83501688,0 0,7.83501688 0,17.5 C0,27.1649831 7.83501688,35 17.5,35 Z" id="Oval-109-Copy-2" fill="#76CFA6" opacity="0.15"></path> - <g transform="translate(9.000000, 11.500000)" id="Rectangle-20-+-Path-16" stroke="#76CFA6"> - <g transform="scale(1.0, 0.8)"> - <rect id="Rectangle-20" x="0" y="0" width="13" height="17" rx="4"></rect> - <path d="M13,8.50795206 C13,11.2533934 15.8192656,12.6412404 15.8192656,12.6412404 C16.8995921,13.391019 17.7753697,12.9258617 17.7753697,11.6159552 L17.7753697,5.39994895 C17.7753697,4.08392094 16.8771592,3.5920349 15.8192656,4.37466376 C15.8192656,4.37466376 13,5.76251076 13,8.50795206 Z" id="Path-16"></path> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/icons_ellipsis.svg b/src/skins/vector/img/icons_ellipsis.svg deleted file mode 100644 index ba600cca..00000000 --- a/src/skins/vector/img/icons_ellipsis.svg +++ /dev/null @@ -1 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><path d="M7.831,13.382c0.504,0 0.826,-0.378 0.826,-0.882c0,-0.518 -0.322,-0.882 -0.826,-0.882c-0.49,0 -0.826,0.364 -0.826,0.882c-0.014,0.504 0.336,0.882 0.826,0.882ZM12.493,13.382c0.504,0 0.84,-0.378 0.84,-0.882c-0.014,-0.518 -0.336,-0.882 -0.826,-0.882c-0.49,0 -0.84,0.364 -0.84,0.882c-0.014,0.504 0.336,0.882 0.826,0.882ZM17.155,13.382c0.518,0 0.84,-0.378 0.84,-0.882c0,-0.518 -0.336,-0.882 -0.826,-0.882c-0.49,0 -0.84,0.364 -0.84,0.882c0,0.504 0.336,0.882 0.826,0.882Z" style="fill:#fff;"/></svg> diff --git a/src/skins/vector/img/icons_global.svg b/src/skins/vector/img/icons_global.svg deleted file mode 100644 index 6c07d3c4..00000000 --- a/src/skins/vector/img/icons_global.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch --> - <title>icons_global copy 4</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="LeftPanel-for-Groups-C-Copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-17.000000, -23.000000)"> - <g id="icons_global-copy-4" transform="translate(17.000000, 23.000000)"> - <path d="M12.5,25 C19.4035594,25 25,19.4035594 25,12.5 C25,5.59644063 19.4035594,0 12.5,0 C5.59644063,0 0,5.59644063 0,12.5 C0,19.4035594 5.59644063,25 12.5,25 Z" id="Oval-1-Copy-7" fill="#76CFA6"></path> - <g id="Group-8" transform="translate(5.000000, 5.000000)" stroke="#FFFFFF"> - <g id="Group-7"> - <path d="M14.9847222,7.5 C14.9847222,5.43389447 14.2537996,3.66993461 12.7919325,2.20806749 C11.3300654,0.746200373 9.56610553,0.0152777778 7.5,0.0152777778 C5.43389447,0.0152777778 3.66993461,0.746200373 2.20806749,2.20806749 C0.746200373,3.66993461 0.0152777778,5.43389447 0.0152777778,7.5 C0.0152777778,9.56610553 0.746200373,11.3300654 2.20806749,12.7919325 C3.66993461,14.2537996 5.43389447,14.9847222 7.5,14.9847222 C9.56610553,14.9847222 11.3300654,14.2537996 12.7919325,12.7919325 C14.2537996,11.3300654 14.9847222,9.56610553 14.9847222,7.5 L14.9847222,7.5 Z" id="icons_settings-copy"></path> - <path d="M10.3923611,7.5 C10.3923611,5.43389447 10.1099068,3.66993461 9.54498969,2.20806749 C8.98007259,0.746200373 8.29841617,0.0152777778 7.5,0.0152777778 C6.70158383,0.0152777778 6.01992741,0.746200373 5.45501031,2.20806749 C4.8900932,3.66993461 4.60763889,5.43389447 4.60763889,7.5 C4.60763889,9.56610553 4.8900932,11.3300654 5.45501031,12.7919325 C6.01992741,14.2537996 6.70158383,14.9847222 7.5,14.9847222 C8.29841617,14.9847222 8.98007259,14.2537996 9.54498969,12.7919325 C10.1099068,11.3300654 10.3923611,9.56610553 10.3923611,7.5 L10.3923611,7.5 Z" id="icons_settings-copy-4"></path> - </g> - <path d="M0.5,7.5 L14.5,7.5" id="Line-3" stroke-linecap="square"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/info.png b/src/skins/vector/img/info.png deleted file mode 100644 index 699fd64e..00000000 Binary files a/src/skins/vector/img/info.png and /dev/null differ diff --git a/src/skins/vector/img/leave.svg b/src/skins/vector/img/leave.svg deleted file mode 100644 index 1acbe593..00000000 --- a/src/skins/vector/img/leave.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" - xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-1 -1 20 26" - xml:space="preserve"> -<g id="Page-1" sketch:type="MSPage"> - <g id="Exit-Copy-6" sketch:type="MSLayerGroup"> - <path id="Rectangle-140_1_" sketch:type="MSShapeGroup" fill="none" stroke="#76CFA6" d="M4.4,0.5h7.5c2.2,0,4,1.8,4,4v14c0,2.2-1.8,4-4,4H4.4 - c-2.2,0-4-1.8-4-4v-14C0.4,2.3,2.2,0.5,4.4,0.5z"/> - <g id="Rectangle-140_2_"> - <g> - <path fill="#76CFA6" d="M12,23H4.5C2,23,0,21,0,18.5v-14C0,2,2,0,4.5,0H12c2.5,0,4.5,2,4.5,4.5v14C16.4,21,14.4,23,12,23z M4.4,1 - C2.5,1,0.9,2.6,0.9,4.5v14c0,1.9,1.6,3.5,3.5,3.5h7.5c1.9,0,3.5-1.6,3.5-3.5v-14c0-1.9-1.6-3.5-3.5-3.5H4.4z"/> - <g> - <path fill="none" stroke="#76CFA6" d="M3.2,20.6l8.3-1.8c1.1-0.2,2-1,2-1.7V5.7c0-0.7-0.9-1.4-2-1.7L3.2,2.2"/> - </g> - </g> - </g> - <circle id="Oval-605" sketch:type="MSShapeGroup" fill="#76CFA6" cx="10.7" cy="11.1" r="1"> - </circle> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/list-close.png b/src/skins/vector/img/list-close.png deleted file mode 100644 index 82b322f9..00000000 Binary files a/src/skins/vector/img/list-close.png and /dev/null differ diff --git a/src/skins/vector/img/list-close.svg b/src/skins/vector/img/list-close.svg deleted file mode 100644 index cd88b2a8..00000000 --- a/src/skins/vector/img/list-close.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" - xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-249 251 20 20" - style="enable-background:new -249 251 20 20;" xml:space="preserve"> -<style type="text/css"> - .st0{opacity:0.2;} - .st1{fill:#444444;} -</style> -<title>Slice 1</title> -<desc>Created with Sketch.</desc> -<g id="Page-1" sketch:type="MSPage" class="st0"> - <path id="Triangle-1" sketch:type="MSShapeGroup" class="st1" d="M-245,270v-18l12,9L-245,270z"/> -</g> -</svg> diff --git a/src/skins/vector/img/list-open.png b/src/skins/vector/img/list-open.png deleted file mode 100644 index f8c80631..00000000 Binary files a/src/skins/vector/img/list-open.png and /dev/null differ diff --git a/src/skins/vector/img/list-open.svg b/src/skins/vector/img/list-open.svg deleted file mode 100644 index e180be88..00000000 --- a/src/skins/vector/img/list-open.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" - xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-249 251 20 20" - style="enable-background:new -249 251 20 20;" xml:space="preserve"> -<style type="text/css"> - .st0{opacity:0.2;} - .st1{fill:#444444;} -</style> -<title>Slice 1</title> -<desc>Created with Sketch.</desc> -<g id="Page-1" sketch:type="MSPage" class="st0"> - <path id="Triangle-1" sketch:type="MSShapeGroup" class="st1" d="M-248,255h18l-9,12L-248,255z"/> -</g> -</svg> diff --git a/src/skins/vector/img/maximise.svg b/src/skins/vector/img/maximise.svg deleted file mode 100644 index 79c6c0ab..00000000 --- a/src/skins/vector/img/maximise.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" - xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-254 253 10 16" - style="enable-background:new -254 253 10 16;" xml:space="preserve"> -<title>minimise</title> -<desc>Created with sketchtool.</desc> -<g id="_x30_2-Chat" sketch:type="MSPage"> - <g id="_x30_2_x5F_1-Chat-collapsed-w-topic" transform="translate(-176.000000, -27.000000)" sketch:type="MSArtboardGroup"> - <g id="Room-list" sketch:type="MSLayerGroup"> - <g id="Room-list_x2F_Header" sketch:type="MSShapeGroup"> - <g id="minimise" transform="translate(172.000000, 25.000000)"> - <path id="Path-53-Copy" fill="none" stroke-width="2" stroke="#76CFA6" d="M-248.7,256.3l5.7,5.7l-5.7,5.7"/> - </g> - </g> - </g> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/maximize.svg b/src/skins/vector/img/maximize.svg deleted file mode 100644 index 4f9e1019..00000000 --- a/src/skins/vector/img/maximize.svg +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="1792px" height="1792px" viewBox="0 0 1792 1792" enable-background="new 0 0 1792 1792" xml:space="preserve"> -<path fill="#76CFA6" d="M256,1408h1280V640H256V1408z M1792,288v1216c0,44-15.667,81.667-47,113s-69,47-113,47H160 - c-44,0-81.667-15.667-113-47s-47-69-47-113V288c0-44,15.667-81.667,47-113s69-47,113-47h1472c44,0,81.667,15.667,113,47 - S1792,244,1792,288z"/> -</svg> diff --git a/src/skins/vector/img/member_chevron.png b/src/skins/vector/img/member_chevron.png deleted file mode 100644 index cbbd289d..00000000 Binary files a/src/skins/vector/img/member_chevron.png and /dev/null differ diff --git a/src/skins/vector/img/menu.png b/src/skins/vector/img/menu.png deleted file mode 100755 index b45f8895..00000000 Binary files a/src/skins/vector/img/menu.png and /dev/null differ diff --git a/src/skins/vector/img/minimise.svg b/src/skins/vector/img/minimise.svg deleted file mode 100644 index 491756b1..00000000 --- a/src/skins/vector/img/minimise.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="10px" height="16px" viewBox="-1 -1 10 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.5.1 (25234) - http://www.bohemiancoding.com/sketch --> - <title>minimise</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_1-Chat-collapsed-w-topic" sketch:type="MSArtboardGroup" transform="translate(-176.000000, -27.000000)" stroke-width="2" stroke="#76CFA6"> - <g id="Room-list" sketch:type="MSLayerGroup"> - <g id="Room-list/Header" sketch:type="MSShapeGroup"> - <g id="minimise" transform="translate(172.000000, 25.000000)"> - <path d="M7,5 L15,5 L15,13" id="Path-53-Copy" transform="translate(11.000000, 9.000000) scale(-1, -1) rotate(-315.000000) translate(-11.000000, -9.000000) "></path> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/minimize.svg b/src/skins/vector/img/minimize.svg deleted file mode 100644 index 410b0bc0..00000000 --- a/src/skins/vector/img/minimize.svg +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="1792px" height="1792px" viewBox="0 0 1792 1792" enable-background="new 0 0 1792 1792" xml:space="preserve"> -<path fill="#76CFA6" d="M1792,1312v192c0,44-15.667,81.667-47,113s-69,47-113,47H160c-44,0-81.667-15.667-113-47s-47-69-47-113v-192 - c0-44,15.667-81.667,47-113s69-47,113-47h1472c44,0,81.667,15.667,113,47S1792,1268,1792,1312z"/> -</svg> diff --git a/src/skins/vector/img/mod.svg b/src/skins/vector/img/mod.svg deleted file mode 100644 index 847baf98..00000000 --- a/src/skins/vector/img/mod.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="16px" height="17px" viewBox="-1 -1 15 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4.4 (395) - http://www.bohemiancoding.com/sketch --> - <title>icons_admin</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_19-Room-contextual-menu-hover" sketch:type="MSArtboardGroup" transform="translate(-1000.000000, -172.000000)" stroke="#FFFFFF" fill="#C2C5AF"> - <g id="people_open" sketch:type="MSLayerGroup" transform="translate(966.000000, 59.000000)"> - <g id="icons_admin" transform="translate(35.000000, 114.000000)" sketch:type="MSShapeGroup"> - <path d="M0.441894529,1.80537109 C2.59277353,3.03442388 4.25305977,2.17675781 5.9832796,0.805371094 C8.01666135,2.17675787 9.50756797,3.12670903 11.6293941,1.80537109 C11.6293941,7.01538067 11.9379879,12.2253912 5.9832796,12.2253906 C0.0285712975,12.2253901 0.441894531,7.01538067 0.441894529,1.80537109 Z" id="Path-2-Copy-2"></path> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/network-matrix.svg b/src/skins/vector/img/network-matrix.svg deleted file mode 100644 index bb8278ae..00000000 --- a/src/skins/vector/img/network-matrix.svg +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 520 520" style="enable-background:new 0 0 520 520;" xml:space="preserve"> -<path d="M13.7,11.9v496.2h35.7V520H0V0h49.4v11.9H13.7z"/> -<path d="M166.3,169.2v25.1h0.7c6.7-9.6,14.8-17,24.2-22.2c9.4-5.3,20.3-7.9,32.5-7.9c11.7,0,22.4,2.3,32.1,6.8 - c9.7,4.5,17,12.6,22.1,24c5.5-8.1,13-15.3,22.4-21.5c9.4-6.2,20.6-9.3,33.5-9.3c9.8,0,18.9,1.2,27.3,3.6c8.4,2.4,15.5,6.2,21.5,11.5 - c6,5.3,10.6,12.1,14,20.6c3.3,8.5,5,18.7,5,30.7v124.1h-50.9V249.6c0-6.2-0.2-12.1-0.7-17.6c-0.5-5.5-1.8-10.3-3.9-14.3 - c-2.2-4.1-5.3-7.3-9.5-9.7c-4.2-2.4-9.9-3.6-17-3.6c-7.2,0-13,1.4-17.4,4.1c-4.4,2.8-7.9,6.3-10.4,10.8c-2.5,4.4-4.2,9.4-5,15.1 - c-0.8,5.6-1.3,11.3-1.3,17v103.3h-50.9v-104c0-5.5-0.1-10.9-0.4-16.3c-0.2-5.4-1.3-10.3-3.1-14.9c-1.8-4.5-4.8-8.2-9-10.9 - c-4.2-2.7-10.3-4.1-18.5-4.1c-2.4,0-5.6,0.5-9.5,1.6c-3.9,1.1-7.8,3.1-11.5,6.1c-3.7,3-6.9,7.3-9.5,12.9c-2.6,5.6-3.9,13-3.9,22.1 - v107.6h-50.9V169.2H166.3z"/> -<path d="M506.3,508.1V11.9h-35.7V0H520v520h-49.4v-11.9H506.3z"/> -</svg> diff --git a/src/skins/vector/img/newmessages.png b/src/skins/vector/img/newmessages.png deleted file mode 100644 index a22156ab..00000000 Binary files a/src/skins/vector/img/newmessages.png and /dev/null differ diff --git a/src/skins/vector/img/newmessages.svg b/src/skins/vector/img/newmessages.svg deleted file mode 100644 index a2ffca90..00000000 --- a/src/skins/vector/img/newmessages.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>icon_newmessages</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_7-Chat-new-messages" sketch:type="MSArtboardGroup" transform="translate(-244.000000, -665.000000)"> - <g id="icon_newmessages" sketch:type="MSLayerGroup" transform="translate(244.000000, 665.000000)"> - <circle id="Oval-1909" fill="#FF0064" sketch:type="MSShapeGroup" cx="12" cy="12" r="12"></circle> - <path d="M16.3400426,11.526774 C16.4870048,11.526774 16.633967,11.4708978 16.7464849,11.3583798 C16.9699899,11.1341094 16.9699899,10.7712964 16.7464849,10.547026 L12.3659396,6.16801148 C12.1424345,5.94374103 11.7788562,5.94450646 11.5545857,6.16724605 L7.16868234,10.5401371 C6.94441188,10.7644076 6.94364646,11.127986 7.16715148,11.3522564 C7.3906565,11.5772923 7.75423488,11.5772923 7.97850533,11.3537873 L11.3915495,7.95069367 L11.3930804,17.4259289 C11.3930804,17.7428161 11.6510296,18 11.9671515,18 C12.2848042,18 12.5412226,17.7428161 12.5412226,17.4259289 L12.5396917,7.9652368 L15.9343656,11.3583798 C16.0461182,11.4708978 16.1930804,11.526774 16.3400426,11.526774 L16.3400426,11.526774 Z" fill="#FFFFFF" sketch:type="MSShapeGroup" transform="translate(11.957057, 12.000000) rotate(-180.000000) translate(-11.957057, -12.000000) "></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/notif-active.svg b/src/skins/vector/img/notif-active.svg deleted file mode 100644 index 9eb279f8..00000000 --- a/src/skins/vector/img/notif-active.svg +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>E15782FC-B5FA-472A-AE12-CFFF484E7253</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Left-Panel-mention-states" transform="translate(-221.000000, -165.000000)"> - <g id="notification-shortcuts" transform="translate(206.000000, 119.000000)"> - <g id="slider" transform="translate(16.000000, 16.000000)"> - <g id="notif_active" transform="translate(0.000000, 31.000000)"> - <circle id="Oval-190" stroke="#62A887" fill="#76CFA6" cx="5.5" cy="5.5" r="5.5"></circle> - <path d="M2.5,6.5 L4,8" id="Line" stroke="#FFFFFF" stroke-linecap="round"></path> - <path d="M4,2.97753906 L8.30664062,8" id="Line-Copy" stroke="#FFFFFF" stroke-linecap="round" transform="translate(6.153320, 5.488770) scale(-1, 1) translate(-6.153320, -5.488770) "></path> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/notif-slider.svg b/src/skins/vector/img/notif-slider.svg deleted file mode 100644 index 55fa06d1..00000000 --- a/src/skins/vector/img/notif-slider.svg +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="7px" height="109px" viewBox="0 0 7 109" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: sketchtool 39.1 (31720) - http://www.bohemiancoding.com/sketch --> - <title>16CB4618-0BD3-4568-BB20-FC56EBC46046</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="Screens-revised" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.2"> - <g id="Left-Panel-mention-states" transform="translate(-224.000000, -134.000000)" stroke="#000000"> - <g id="notification-shortcuts" transform="translate(206.000000, 119.000000)"> - <g id="slider" transform="translate(16.000000, 16.000000)"> - <g id="notif_slider" transform="translate(3.000000, 0.000000)"> - <path d="M2.5,3.49505001 L2.5,104.507355" id="Line" stroke-linecap="square"></path> - <circle id="Oval-187" fill="#F7F7F7" cx="2.5" cy="36.5" r="2.5"></circle> - <path d="M2.5,73 C3.88071187,73 5,71.8807119 5,70.5 C5,69.1192881 3.88071187,68 2.5,68 C1.11928813,68 0,69.1192881 0,70.5 C0,71.8807119 1.11928813,73 2.5,73 Z" id="Oval-187-Copy" fill="#F7F7F7"></path> - <path d="M2.5,5 C3.88071187,5 5,3.88071187 5,2.5 C5,1.11928813 3.88071187,0 2.5,0 C1.11928813,0 0,1.11928813 0,2.5 C0,3.88071187 1.11928813,5 2.5,5 Z" id="Oval-187-Copy-3" fill="#F7F7F7"></path> - <circle id="Oval-187-Copy-2" fill="#F7F7F7" cx="2.5" cy="104.5" r="2.5"></circle> - </g> - </g> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/p/p0.png b/src/skins/vector/img/p/p0.png deleted file mode 100644 index 300cc226..00000000 Binary files a/src/skins/vector/img/p/p0.png and /dev/null differ diff --git a/src/skins/vector/img/p/p1.png b/src/skins/vector/img/p/p1.png deleted file mode 100644 index 5a6e3054..00000000 Binary files a/src/skins/vector/img/p/p1.png and /dev/null differ diff --git a/src/skins/vector/img/p/p10.png b/src/skins/vector/img/p/p10.png deleted file mode 100644 index 7cead0f2..00000000 Binary files a/src/skins/vector/img/p/p10.png and /dev/null differ diff --git a/src/skins/vector/img/p/p11.png b/src/skins/vector/img/p/p11.png deleted file mode 100644 index d744d8af..00000000 Binary files a/src/skins/vector/img/p/p11.png and /dev/null differ diff --git a/src/skins/vector/img/p/p12.png b/src/skins/vector/img/p/p12.png deleted file mode 100644 index 02492d55..00000000 Binary files a/src/skins/vector/img/p/p12.png and /dev/null differ diff --git a/src/skins/vector/img/p/p13.png b/src/skins/vector/img/p/p13.png deleted file mode 100644 index 0ae8029d..00000000 Binary files a/src/skins/vector/img/p/p13.png and /dev/null differ diff --git a/src/skins/vector/img/p/p14.png b/src/skins/vector/img/p/p14.png deleted file mode 100644 index 23a3840b..00000000 Binary files a/src/skins/vector/img/p/p14.png and /dev/null differ diff --git a/src/skins/vector/img/p/p15.png b/src/skins/vector/img/p/p15.png deleted file mode 100644 index b07f463a..00000000 Binary files a/src/skins/vector/img/p/p15.png and /dev/null differ diff --git a/src/skins/vector/img/p/p16.png b/src/skins/vector/img/p/p16.png deleted file mode 100644 index f8fa4abf..00000000 Binary files a/src/skins/vector/img/p/p16.png and /dev/null differ diff --git a/src/skins/vector/img/p/p17.png b/src/skins/vector/img/p/p17.png deleted file mode 100644 index 20e985bb..00000000 Binary files a/src/skins/vector/img/p/p17.png and /dev/null differ diff --git a/src/skins/vector/img/p/p18.png b/src/skins/vector/img/p/p18.png deleted file mode 100644 index 2ecd29b3..00000000 Binary files a/src/skins/vector/img/p/p18.png and /dev/null differ diff --git a/src/skins/vector/img/p/p19.png b/src/skins/vector/img/p/p19.png deleted file mode 100644 index ec35f0fc..00000000 Binary files a/src/skins/vector/img/p/p19.png and /dev/null differ diff --git a/src/skins/vector/img/p/p2.png b/src/skins/vector/img/p/p2.png deleted file mode 100644 index 82f16d60..00000000 Binary files a/src/skins/vector/img/p/p2.png and /dev/null differ diff --git a/src/skins/vector/img/p/p20.png b/src/skins/vector/img/p/p20.png deleted file mode 100644 index 0ff816d6..00000000 Binary files a/src/skins/vector/img/p/p20.png and /dev/null differ diff --git a/src/skins/vector/img/p/p3.png b/src/skins/vector/img/p/p3.png deleted file mode 100644 index ae215557..00000000 Binary files a/src/skins/vector/img/p/p3.png and /dev/null differ diff --git a/src/skins/vector/img/p/p4.png b/src/skins/vector/img/p/p4.png deleted file mode 100644 index 011ff6f5..00000000 Binary files a/src/skins/vector/img/p/p4.png and /dev/null differ diff --git a/src/skins/vector/img/p/p5.png b/src/skins/vector/img/p/p5.png deleted file mode 100644 index 1a90da9a..00000000 Binary files a/src/skins/vector/img/p/p5.png and /dev/null differ diff --git a/src/skins/vector/img/p/p6.png b/src/skins/vector/img/p/p6.png deleted file mode 100644 index 453110f6..00000000 Binary files a/src/skins/vector/img/p/p6.png and /dev/null differ diff --git a/src/skins/vector/img/p/p7.png b/src/skins/vector/img/p/p7.png deleted file mode 100644 index 6418817c..00000000 Binary files a/src/skins/vector/img/p/p7.png and /dev/null differ diff --git a/src/skins/vector/img/p/p8.png b/src/skins/vector/img/p/p8.png deleted file mode 100644 index 0e821fd6..00000000 Binary files a/src/skins/vector/img/p/p8.png and /dev/null differ diff --git a/src/skins/vector/img/p/p9.png b/src/skins/vector/img/p/p9.png deleted file mode 100644 index f4b6941b..00000000 Binary files a/src/skins/vector/img/p/p9.png and /dev/null differ diff --git a/src/skins/vector/img/p/piechart.pde b/src/skins/vector/img/p/piechart.pde deleted file mode 100644 index 44fe6283..00000000 --- a/src/skins/vector/img/p/piechart.pde +++ /dev/null @@ -1,19 +0,0 @@ -// a trivial processing.org snippet to generate these -// using java2d (ugh). Peity and JS might have been -// a better idea. Or SVG. - -size(48, 48); -g = createGraphics(48, 48, JAVA2D); - -for (int i = 0; i <= 20; i++) { - g.beginDraw(); - g.background(0.0, 0.0); - g.smooth(); - g.strokeCap(SQUARE); - g.strokeWeight(3); - g.stroke(0x80, 0xcf, 0xf4, 255.0); - g.fill(0.0, 0.0); - g.arc(24, 24, 43, 43, -PI/2, -PI/2 + (i*2*PI/20.0)); - g.save("p" + i + ".png"); - g.endDraw(); -} diff --git a/src/skins/vector/img/placeholder.png b/src/skins/vector/img/placeholder.png deleted file mode 100644 index 7da32f25..00000000 Binary files a/src/skins/vector/img/placeholder.png and /dev/null differ diff --git a/src/skins/vector/img/plus.svg b/src/skins/vector/img/plus.svg deleted file mode 100644 index e1d59ec6..00000000 --- a/src/skins/vector/img/plus.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="14px" height="14px" viewBox="-1 -1 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>Line + Line</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="Line-+-Line" sketch:type="MSLayerGroup" transform="translate(2.000000, 2.000000)" stroke="#4A4A4A" stroke-width="2.82" stroke-linecap="square"> - <path d="M4,0.228763834 L4,7.77123617" id="Line" sketch:type="MSShapeGroup"></path> - <path d="M0.228763834,4 L7.77123617,4" id="Line" sketch:type="MSShapeGroup"></path> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/redacted-dark.jpg b/src/skins/vector/img/redacted-dark.jpg deleted file mode 100644 index f0a91cea..00000000 Binary files a/src/skins/vector/img/redacted-dark.jpg and /dev/null differ diff --git a/src/skins/vector/img/redacted.jpg b/src/skins/vector/img/redacted.jpg deleted file mode 100644 index e19d5cc4..00000000 Binary files a/src/skins/vector/img/redacted.jpg and /dev/null differ diff --git a/src/skins/vector/img/right_search.svg b/src/skins/vector/img/right_search.svg deleted file mode 100644 index b430a6be..00000000 --- a/src/skins/vector/img/right_search.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: Sketch 3.7 (28169) - http://www.bohemiancoding.com/sketch --> - <title>right_search</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Room-header/Vector-Design" transform="translate(-710.000000, -25.000000)"> - <g id="right_search" transform="translate(710.000000, 25.000000)"> - <g id="Oval-1-Copy-7-+-Group-Copy-5-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy-Copy" fill="#76CFA6"> - <circle id="Oval-1-Copy-7" cx="12" cy="12" r="12"></circle> - </g> - <path d="M14,10.5 C14,9.53645352 13.6575555,8.71224301 12.9726562,8.02734375 C12.287757,7.34244449 11.4635465,7 10.5,7 C9.53645352,7 8.71224301,7.34244449 8.02734375,8.02734375 C7.34244449,8.71224301 7,9.53645352 7,10.5 C7,11.4635465 7.34244449,12.287757 8.02734375,12.9726562 C8.71224301,13.6575555 9.53645352,14 10.5,14 C11.4635465,14 12.287757,13.6575555 12.9726562,12.9726562 C13.6575555,12.287757 14,11.4635465 14,10.5 L14,10.5 Z M18,17 C18,17.2708347 17.9010427,17.5052073 17.703125,17.703125 C17.5052073,17.9010427 17.2708347,18 17,18 C16.7187486,18 16.4843759,17.9010427 16.296875,17.703125 L13.6171875,15.03125 C12.6848912,15.6770866 11.6458391,16 10.5,16 C9.75520461,16 9.04297215,15.8554702 8.36328125,15.5664062 C7.68359035,15.2773423 7.09765871,14.8867212 6.60546875,14.3945312 C6.11327879,13.9023413 5.7226577,13.3164096 5.43359375,12.6367188 C5.1445298,11.9570279 5,11.2447954 5,10.5 C5,9.75520461 5.1445298,9.04297215 5.43359375,8.36328125 C5.7226577,7.68359035 6.11327879,7.09765871 6.60546875,6.60546875 C7.09765871,6.11327879 7.68359035,5.7226577 8.36328125,5.43359375 C9.04297215,5.1445298 9.75520461,5 10.5,5 C11.2447954,5 11.9570279,5.1445298 12.6367188,5.43359375 C13.3164096,5.7226577 13.9023413,6.11327879 14.3945312,6.60546875 C14.8867212,7.09765871 15.2773423,7.68359035 15.5664062,8.36328125 C15.8554702,9.04297215 16,9.75520461 16,10.5 C16,11.6458391 15.6770866,12.6848912 15.03125,13.6171875 L17.7109375,16.296875 C17.9036468,16.4895843 18,16.723957 18,17 L18,17 Z" id="" fill="#FFFFFF"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/scrolldown.svg b/src/skins/vector/img/scrolldown.svg deleted file mode 100644 index d6599c5f..00000000 --- a/src/skins/vector/img/scrolldown.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>icon_newmessages</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_7-Chat-new-messages" sketch:type="MSArtboardGroup" transform="translate(-809.000000, -325.000000)"> - <g id="icon_newmessages" sketch:type="MSLayerGroup" transform="translate(809.000000, 325.000000)"> - <circle id="Oval-1909" fill-opacity="0.5" fill="#454545" sketch:type="MSShapeGroup" cx="12" cy="12" r="12"></circle> - <path d="M16.3400426,11.526774 C16.4870048,11.526774 16.633967,11.4708978 16.7464849,11.3583798 C16.9699899,11.1341094 16.9699899,10.7712964 16.7464849,10.547026 L12.3659396,6.16801148 C12.1424345,5.94374103 11.7788562,5.94450646 11.5545857,6.16724605 L7.16868234,10.5401371 C6.94441188,10.7644076 6.94364646,11.127986 7.16715148,11.3522564 C7.3906565,11.5772923 7.75423488,11.5772923 7.97850533,11.3537873 L11.3915495,7.95069367 L11.3930804,17.4259289 C11.3930804,17.7428161 11.6510296,18 11.9671515,18 C12.2848042,18 12.5412226,17.7428161 12.5412226,17.4259289 L12.5396917,7.9652368 L15.9343656,11.3583798 C16.0461182,11.4708978 16.1930804,11.526774 16.3400426,11.526774 L16.3400426,11.526774 Z" fill="#FFFFFF" sketch:type="MSShapeGroup" transform="translate(11.957057, 12.000000) rotate(-180.000000) translate(-11.957057, -12.000000) "></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/scrollto.svg b/src/skins/vector/img/scrollto.svg deleted file mode 100644 index 75df053a..00000000 --- a/src/skins/vector/img/scrollto.svg +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch --> - <title>Slice 1</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="scrollup"> - <g id="02-Chat" transform="translate(12.000000, 12.000000) scale(-1, 1) rotate(-180.000000) translate(-12.000000, -12.000000) "> - <g id="02_7-Chat-new-messages"> - <g id="icon_newmessages"> - <circle id="Oval-1909" fill-opacity="0.5" fill="#454545" fill-rule="nonzero" cx="12" cy="12" r="12"></circle> - <circle id="Oval" stroke="#FFFFFF" cx="12" cy="12" r="7"></circle> - <circle id="Oval" stroke="#FFFFFF" cx="12" cy="12" r="4"></circle> - <circle id="Oval" fill="#FFFFFF" cx="12" cy="12" r="1"></circle> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/scrollup.svg b/src/skins/vector/img/scrollup.svg deleted file mode 100644 index 1692f2a6..00000000 --- a/src/skins/vector/img/scrollup.svg +++ /dev/null @@ -1,91 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="24px" - height="24px" - viewBox="0 0 24 24" - version="1.1" - id="svg2" - inkscape:version="0.48.4 r9939" - sodipodi:docname="scrollup.svg"> - <metadata - id="metadata18"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - </cc:Work> - </rdf:RDF> - </metadata> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1058" - id="namedview16" - showgrid="false" - inkscape:zoom="9.8333333" - inkscape:cx="12.20339" - inkscape:cy="12" - inkscape:window-x="0" - inkscape:window-y="0" - inkscape:window-maximized="1" - inkscape:current-layer="svg2" /> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title - id="title4">icon_newmessages</title> - <desc - id="desc6">Created with Sketch.</desc> - <defs - id="defs8" /> - <g - id="02-Chat" - sketch:type="MSPage" - transform="matrix(1,0,0,-1,0,24)" - style="fill:none;stroke:none"> - <g - id="02_7-Chat-new-messages" - sketch:type="MSArtboardGroup" - transform="translate(-809,-325)"> - <g - id="icon_newmessages" - sketch:type="MSLayerGroup" - transform="translate(809,325)"> - <circle - id="Oval-1909" - sketch:type="MSShapeGroup" - cx="12" - cy="12" - r="12" - d="M 24,12 C 24,18.627417 18.627417,24 12,24 5.372583,24 0,18.627417 0,12 0,5.372583 5.372583,0 12,0 18.627417,0 24,5.372583 24,12 z" - sodipodi:cx="12" - sodipodi:cy="12" - sodipodi:rx="12" - sodipodi:ry="12" - style="fill:#454545;fill-opacity:0.5" /> - <path - d="m 16.340043,11.526774 c 0.146962,0 0.293924,-0.05588 0.406442,-0.168394 0.223505,-0.224271 0.223505,-0.587084 0,-0.811354 L 12.36594,6.1680115 C 12.142435,5.943741 11.778856,5.9445065 11.554586,6.167246 l -4.3859037,4.372891 c -0.2242704,0.224271 -0.2250358,0.587849 -0.00153,0.812119 0.223505,0.225036 0.5870834,0.225036 0.8113538,0.0015 l 3.4130447,-3.4030933 0.0015,9.4752353 c 0,0.316887 0.25795,0.574071 0.574072,0.574071 0.317652,0 0.574071,-0.257184 0.574071,-0.574071 l -0.0015,-9.4606922 3.394674,3.3931432 c 0.111752,0.112518 0.258714,0.168394 0.405677,0.168394 l 0,0 z" - sketch:type="MSShapeGroup" - transform="matrix(-1,0,0,-1,23.914114,24)" - id="path14" - inkscape:connector-curvature="0" - style="fill:#ffffff" /> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/search-button.svg b/src/skins/vector/img/search-button.svg deleted file mode 100644 index f4808842..00000000 --- a/src/skins/vector/img/search-button.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="21px" height="19px" viewBox="-8 -8 37 37" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>icon_search</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="icon_search" sketch:type="MSLayerGroup" transform="translate(-8.000000, -8.000000)" stroke="#FFFFFF"> - <path d="M21.328421,19.3333333 L27.5542961,24.7357275 C27.9574623,25.085568 28.0116667,25.70516 27.6700827,26.1261351 L27.6700827,26.1261351 C27.3308636,26.5441955 26.72562,26.5965299 26.3258751,26.2496583 L20.1,20.8472641" id="Rectangle-9" sketch:type="MSShapeGroup"></path> - <g id="search" transform="translate(15.617851, 15.853553) rotate(-45.000000) translate(-15.617851, -15.853553) translate(8.117851, 7.853553)" sketch:type="MSShapeGroup"> - <ellipse id="Search" cx="7.64433504" cy="7.90518519" rx="7.1665641" ry="7.41111111"></ellipse> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/search-icon-vector.svg b/src/skins/vector/img/search-icon-vector.svg deleted file mode 100644 index 5780277f..00000000 --- a/src/skins/vector/img/search-icon-vector.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 113 144" style="enable-background:new 0 0 113 144;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:#7BC9A4;} - .st1{fill:#B47BB5;} -</style> -<path class="st0" d="M61.6,0H20.8c-0.1,0-0.2,0-0.3,0C9.2,0,0,9.2,0,20.6v102.9C0,134.8,9.2,144,20.6,144c11.3,0,20.6-9.2,20.6-20.6 - v-20.6h20.5c28.3,0,51.4-23.1,51.4-51.4S90,0,61.6,0"/> -<path class="st1" d="M37.4,8.8c6.5,9.3,4.3,22.1-5,28.7c-9.3,6.5-22.1,4.3-28.6-5.1c-6.5-9.3-4.3-22.1,5-28.7 - C18.1-2.8,30.9-0.5,37.4,8.8"/> -<path class="st1" d="M109.3,111.6c6.5,9.3,4.3,22.1-5,28.7c-9.3,6.5-22.1,4.3-28.6-5.1l-30.8-44c-6.5-9.3-4.3-22.1,5-28.7 - c9.3-6.5,22.1-4.3,28.6,5.1L109.3,111.6z"/> -</svg> diff --git a/src/skins/vector/img/search.png b/src/skins/vector/img/search.png deleted file mode 100644 index 2f98d290..00000000 Binary files a/src/skins/vector/img/search.png and /dev/null differ diff --git a/src/skins/vector/img/search.svg b/src/skins/vector/img/search.svg deleted file mode 100644 index bd4cd920..00000000 --- a/src/skins/vector/img/search.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="21px" height="19px" viewBox="0 0 21 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: bin/sketchtool 1.4 (305) - http://www.bohemiancoding.com/sketch --> - <title>icons_search</title> - <desc>Created with bin/sketchtool.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_13-Chat-member-profile" sketch:type="MSArtboardGroup" transform="translate(-910.000000, -34.000000)" stroke="#76CFA6"> - <g id="icons_search" sketch:type="MSLayerGroup" transform="translate(906.000000, 30.000000)"> - <path d="M17.328421,15.3333333 L23.5542961,20.7357275 C23.9574623,21.085568 24.0116667,21.70516 23.6700827,22.1261351 L23.6700827,22.1261351 C23.3308636,22.5441955 22.72562,22.5965299 22.3258751,22.2496583 L16.1,16.8472641" id="Rectangle-9" sketch:type="MSShapeGroup"></path> - <g id="search" transform="translate(11.617851, 11.853553) rotate(-45.000000) translate(-11.617851, -11.853553) translate(4.117851, 3.853553)" sketch:type="MSShapeGroup"> - <ellipse id="Search" cx="7.64433504" cy="7.90518519" rx="7.1665641" ry="7.41111111"></ellipse> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/selected.png b/src/skins/vector/img/selected.png deleted file mode 100644 index 8931cba7..00000000 Binary files a/src/skins/vector/img/selected.png and /dev/null differ diff --git a/src/skins/vector/img/settings-big.png b/src/skins/vector/img/settings-big.png deleted file mode 100644 index cb2e0a62..00000000 Binary files a/src/skins/vector/img/settings-big.png and /dev/null differ diff --git a/src/skins/vector/img/settings-big.svg b/src/skins/vector/img/settings-big.svg deleted file mode 100644 index c9587d58..00000000 --- a/src/skins/vector/img/settings-big.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="26px" height="26px" viewBox="-1 -1 26 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4 (381) - http://www.bohemiancoding.com/sketch --> - <title>icons_settings</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="01-Sign-up" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="01_2-Sign-up-2" sketch:type="MSArtboardGroup" transform="translate(-14.000000, -720.000000)" fill="#454545" opacity="0.9"> - <g id="Left-panel" sketch:type="MSLayerGroup" transform="translate(-4.000000, 0.000000)"> - <g id="right_bottom" transform="translate(0.000000, 626.000000)" sketch:type="MSShapeGroup"> - <g id="Group-Copy-29" transform="translate(18.000000, 27.000000)"> - <path d="M16,79 C16,77.8958278 15.6093789,76.9531289 14.828125,76.171875 C14.0468711,75.3906211 13.1041722,75 12,75 C10.8958278,75 9.95312891,75.3906211 9.171875,76.171875 C8.39062109,76.9531289 8,77.8958278 8,79 C8,80.1041722 8.39062109,81.0468711 9.171875,81.828125 C9.95312891,82.6093789 10.8958278,83 12,83 C13.1041722,83 14.0468711,82.6093789 14.828125,81.828125 C15.6093789,81.0468711 16,80.1041722 16,79 L16,79 Z M24,77.296875 L24,80.765625 C24,80.8906256 23.9583338,81.0104161 23.875,81.125 C23.7916662,81.2395839 23.6875006,81.3072916 23.5625,81.328125 L20.671875,81.765625 C20.4739573,82.3281278 20.2708344,82.8020814 20.0625,83.1875 C20.4270852,83.7083359 20.9843712,84.4270787 21.734375,85.34375 C21.8385422,85.4687506 21.890625,85.5989577 21.890625,85.734375 C21.890625,85.8697923 21.8437505,85.9895828 21.75,86.09375 C21.4687486,86.4791686 20.9531288,87.041663 20.203125,87.78125 C19.4531212,88.520837 18.9635428,88.890625 18.734375,88.890625 C18.6093744,88.890625 18.4739591,88.8437505 18.328125,88.75 L16.171875,87.0625 C15.7135394,87.3020845 15.2395858,87.4999992 14.75,87.65625 C14.5833325,89.0729238 14.4322923,90.0416641 14.296875,90.5625 C14.223958,90.8541681 14.0364598,91 13.734375,91 L10.265625,91 C10.1197909,91 9.99218805,90.9557296 9.8828125,90.8671875 C9.77343695,90.7786454 9.71354172,90.6666673 9.703125,90.53125 L9.265625,87.65625 C8.75520578,87.4895825 8.28646047,87.2968761 7.859375,87.078125 L5.65625,88.75 C5.55208281,88.8437505 5.42187578,88.890625 5.265625,88.890625 C5.11979094,88.890625 4.98958391,88.8333339 4.875,88.71875 C3.56249344,87.5312441 2.70312703,86.6562528 2.296875,86.09375 C2.22395797,85.9895828 2.1875,85.8697923 2.1875,85.734375 C2.1875,85.6093744 2.22916625,85.4895839 2.3125,85.375 C2.46875078,85.1562489 2.73437313,84.8098982 3.109375,84.3359375 C3.48437688,83.8619768 3.76562406,83.494793 3.953125,83.234375 C3.67187359,82.7135391 3.45833406,82.1979192 3.3125,81.6875 L0.453125,81.265625 C0.317707656,81.2447916 0.20833375,81.179688 0.125,81.0703125 C0.04166625,80.960937 0,80.8385423 0,80.703125 L0,77.234375 C0,77.1093744 0.04166625,76.9895839 0.125,76.875 C0.20833375,76.7604161 0.307291094,76.6927084 0.421875,76.671875 L3.328125,76.234375 C3.47395906,75.7552059 3.67708203,75.2760441 3.9375,74.796875 C3.52083125,74.203122 2.96354516,73.4843792 2.265625,72.640625 C2.16145781,72.5156244 2.109375,72.3906256 2.109375,72.265625 C2.109375,72.1614578 2.15624953,72.0416673 2.25,71.90625 C2.52083469,71.5312481 3.03385039,70.9713579 3.7890625,70.2265625 C4.54427461,69.4817671 5.03645719,69.109375 5.265625,69.109375 C5.40104234,69.109375 5.53645766,69.1614578 5.671875,69.265625 L7.828125,70.9375 C8.28646063,70.6979155 8.76041422,70.5000008 9.25,70.34375 C9.4166675,68.9270762 9.56770766,67.9583359 9.703125,67.4375 C9.77604203,67.1458319 9.96354016,67 10.265625,67 L13.734375,67 C13.8802091,67 14.007812,67.0442704 14.1171875,67.1328125 C14.226563,67.2213546 14.2864583,67.3333327 14.296875,67.46875 L14.734375,70.34375 C15.2447942,70.5104175 15.7135395,70.7031239 16.140625,70.921875 L18.359375,69.25 C18.4531255,69.1562495 18.5781242,69.109375 18.734375,69.109375 C18.8697923,69.109375 18.9999994,69.1614578 19.125,69.265625 C20.4687567,70.5052145 21.3281231,71.3906223 21.703125,71.921875 C21.776042,72.0052088 21.8125,72.1197909 21.8125,72.265625 C21.8125,72.3906256 21.7708338,72.5104161 21.6875,72.625 C21.5312492,72.8437511 21.2656269,73.1901018 20.890625,73.6640625 C20.5156231,74.1380232 20.2343759,74.505207 20.046875,74.765625 C20.3177097,75.2864609 20.5312492,75.7968725 20.6875,76.296875 L23.546875,76.734375 C23.6822923,76.7552084 23.7916662,76.820312 23.875,76.9296875 C23.9583338,77.039063 24,77.1614577 24,77.296875 L24,77.296875 Z" id="icons_settings"></path> - </g> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/settings.png b/src/skins/vector/img/settings.png deleted file mode 100644 index 264b3c9b..00000000 Binary files a/src/skins/vector/img/settings.png and /dev/null differ diff --git a/src/skins/vector/img/settings.svg b/src/skins/vector/img/settings.svg deleted file mode 100644 index 4190c7b8..00000000 --- a/src/skins/vector/img/settings.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: bin/sketchtool 1.4 (305) - http://www.bohemiancoding.com/sketch --> - <title>icon_settings_small</title> - <desc>Created with bin/sketchtool.</desc> - <defs></defs> - <g id="06a-Room-settings" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="06a_1-Room-settings-hover" sketch:type="MSArtboardGroup" transform="translate(-452.000000, -27.000000)" fill="#76CFA6"> - <path d="M460,33 C460,32.4479139 459.804689,31.9765645 459.414062,31.5859375 C459.023436,31.1953105 458.552086,31 458,31 C457.447914,31 456.976564,31.1953105 456.585938,31.5859375 C456.195311,31.9765645 456,32.4479139 456,33 C456,33.5520861 456.195311,34.0234355 456.585938,34.4140625 C456.976564,34.8046895 457.447914,35 458,35 C458.552086,35 459.023436,34.8046895 459.414062,34.4140625 C459.804689,34.0234355 460,33.5520861 460,33 L460,33 Z M464,32.1484375 L464,33.8828125 C464,33.9453128 463.979167,34.005208 463.9375,34.0625 C463.895833,34.119792 463.84375,34.1536458 463.78125,34.1640625 L462.335938,34.3828125 C462.236979,34.6640639 462.135417,34.9010407 462.03125,35.09375 C462.213543,35.354168 462.492186,35.7135394 462.867188,36.171875 C462.919271,36.2343753 462.945312,36.2994788 462.945312,36.3671875 C462.945312,36.4348962 462.921875,36.4947914 462.875,36.546875 C462.734374,36.7395843 462.476564,37.0208315 462.101562,37.390625 C461.726561,37.7604185 461.481771,37.9453125 461.367188,37.9453125 C461.304687,37.9453125 461.23698,37.9218752 461.164062,37.875 L460.085938,37.03125 C459.85677,37.1510423 459.619793,37.2499996 459.375,37.328125 C459.291666,38.0364619 459.216146,38.520832 459.148438,38.78125 C459.111979,38.9270841 459.01823,39 458.867188,39 L457.132812,39 C457.059895,39 456.996094,38.9778648 456.941406,38.9335938 C456.886718,38.8893227 456.856771,38.8333337 456.851562,38.765625 L456.632812,37.328125 C456.377603,37.2447912 456.14323,37.148438 455.929688,37.0390625 L454.828125,37.875 C454.776041,37.9218752 454.710938,37.9453125 454.632812,37.9453125 C454.559895,37.9453125 454.494792,37.916667 454.4375,37.859375 C453.781247,37.265622 453.351564,36.8281264 453.148438,36.546875 C453.111979,36.4947914 453.09375,36.4348962 453.09375,36.3671875 C453.09375,36.3046872 453.114583,36.244792 453.15625,36.1875 C453.234375,36.0781245 453.367187,35.9049491 453.554688,35.6679688 C453.742188,35.4309884 453.882812,35.2473965 453.976562,35.1171875 C453.835937,34.8567695 453.729167,34.5989596 453.65625,34.34375 L452.226562,34.1328125 C452.158854,34.1223958 452.104167,34.089844 452.0625,34.0351562 C452.020833,33.9804685 452,33.9192712 452,33.8515625 L452,32.1171875 C452,32.0546872 452.020833,31.994792 452.0625,31.9375 C452.104167,31.880208 452.153646,31.8463542 452.210938,31.8359375 L453.664062,31.6171875 C453.73698,31.377603 453.838541,31.138022 453.96875,30.8984375 C453.760416,30.601561 453.481773,30.2421896 453.132812,29.8203125 C453.080729,29.7578122 453.054688,29.6953128 453.054688,29.6328125 C453.054688,29.5807289 453.078125,29.5208337 453.125,29.453125 C453.260417,29.2656241 453.516925,28.9856789 453.894531,28.6132812 C454.272137,28.2408836 454.518229,28.0546875 454.632812,28.0546875 C454.700521,28.0546875 454.768229,28.0807289 454.835938,28.1328125 L455.914062,28.96875 C456.14323,28.8489577 456.380207,28.7500004 456.625,28.671875 C456.708334,27.9635381 456.783854,27.479168 456.851562,27.21875 C456.888021,27.0729159 456.98177,27 457.132812,27 L458.867188,27 C458.940105,27 459.003906,27.0221352 459.058594,27.0664062 C459.113282,27.1106773 459.143229,27.1666663 459.148438,27.234375 L459.367188,28.671875 C459.622397,28.7552088 459.85677,28.851562 460.070312,28.9609375 L461.179688,28.125 C461.226563,28.0781248 461.289062,28.0546875 461.367188,28.0546875 C461.434896,28.0546875 461.5,28.0807289 461.5625,28.1328125 C462.234378,28.7526073 462.664062,29.1953112 462.851562,29.4609375 C462.888021,29.5026044 462.90625,29.5598955 462.90625,29.6328125 C462.90625,29.6953128 462.885417,29.755208 462.84375,29.8125 C462.765625,29.9218755 462.632813,30.0950509 462.445312,30.3320312 C462.257812,30.5690116 462.117188,30.7526035 462.023438,30.8828125 C462.158855,31.1432305 462.265625,31.3984362 462.34375,31.6484375 L463.773438,31.8671875 C463.841146,31.8776042 463.895833,31.910156 463.9375,31.9648438 C463.979167,32.0195315 464,32.0807288 464,32.1484375 L464,32.1484375 Z" id="icon_settings_small" sketch:type="MSShapeGroup"></path> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/sound-indicator.svg b/src/skins/vector/img/sound-indicator.svg deleted file mode 100644 index 9b8de53d..00000000 --- a/src/skins/vector/img/sound-indicator.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="23px" height="20px" viewBox="-1 -1 23 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.3 (16618) - http://www.bohemiancoding.com/sketch --> - <title>sound_indicator</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-247.000000, -668.000000)" fill="#FFFFFF"> - <g id="sound_indicator" sketch:type="MSLayerGroup" transform="translate(247.000000, 668.000000)"> - <path d="M5.769,6.7284 L7.8,4.6968 L7.8,13.0626 L5.4174,10.68 L1.2,10.68 L1.2,7.08 L5.4174,7.08 L5.769,6.7284 L5.769,6.7284 Z M0,5.88 L0,11.88 L4.9206,11.88 L9,15.9594 L9,1.8 L4.9206,5.88 L0,5.88 L0,5.88 Z" id="Fill-28" sketch:type="MSShapeGroup"></path> - <path d="M17.1672,0 L16.2,0.72 C17.9172,3.021 18.9354,5.8728 18.9354,8.9586 C18.9354,12.0438 17.9172,14.8956 16.2,17.196 L17.1672,17.9166 C19.0314,15.417 20.1354,12.3168 20.1354,8.9586 C20.1354,5.6004 19.0314,2.4996 17.1672,0" id="Fill-29" sketch:type="MSShapeGroup"></path> - <path d="M14.1606,15.9948 C15.579,14.094 16.4304,11.7462 16.4304,9.1974 C16.4304,6.6486 15.579,4.3008 14.1606,2.4 L13.2,3.1152 C14.469,4.8156 15.2304,6.9168 15.2304,9.1974 C15.2304,11.478 14.4696,13.5786 13.2,15.2796 L14.1606,15.9948" id="Fill-30" sketch:type="MSShapeGroup"></path> - <path d="M11.7606,13.5024 C12.732,12.2016 13.314,10.5954 13.314,8.8512 C13.314,7.107 12.732,5.5002 11.7606,4.2 L10.8,4.9152 C11.6214,6.0156 12.114,7.3752 12.114,8.8512 C12.114,10.3272 11.6214,11.6862 10.8,12.7866 L11.7606,13.5024" id="Fill-31" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/spinner.gif b/src/skins/vector/img/spinner.gif deleted file mode 100644 index ab487121..00000000 Binary files a/src/skins/vector/img/spinner.gif and /dev/null differ diff --git a/src/skins/vector/img/stickerpack-placeholder.png b/src/skins/vector/img/stickerpack-placeholder.png deleted file mode 100644 index 79801144..00000000 Binary files a/src/skins/vector/img/stickerpack-placeholder.png and /dev/null differ diff --git a/src/skins/vector/img/tick.svg b/src/skins/vector/img/tick.svg deleted file mode 100644 index 6177f15f..00000000 --- a/src/skins/vector/img/tick.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="17px" height="14px" viewBox="-1 -1 17 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: sketchtool 3.4 (381) - http://www.bohemiancoding.com/sketch --> - <title>icon_tick</title> - <desc>Created with sketchtool.</desc> - <defs></defs> - <g id="06a-Room-settings" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="06_4-Room-settings-admin" sketch:type="MSArtboardGroup" transform="translate(-310.000000, -206.000000)" fill="#4A4A4A"> - <path d="M315,218 L310,213 L312,211 L315,214 L323,206 L325,208 L315,218 Z" id="icon_tick" sketch:type="MSShapeGroup"></path> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/trans.png b/src/skins/vector/img/trans.png deleted file mode 100644 index 8ba2310a..00000000 Binary files a/src/skins/vector/img/trans.png and /dev/null differ diff --git a/src/skins/vector/img/typing.png b/src/skins/vector/img/typing.png deleted file mode 100644 index 066a0ce8..00000000 Binary files a/src/skins/vector/img/typing.png and /dev/null differ diff --git a/src/skins/vector/img/upload-big.png b/src/skins/vector/img/upload-big.png deleted file mode 100644 index c11c0c45..00000000 Binary files a/src/skins/vector/img/upload-big.png and /dev/null differ diff --git a/src/skins/vector/img/upload-big.svg b/src/skins/vector/img/upload-big.svg deleted file mode 100644 index 6099c2e9..00000000 --- a/src/skins/vector/img/upload-big.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="45px" height="59px" viewBox="-1 -1 45 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: bin/sketchtool 1.4 (305) - http://www.bohemiancoding.com/sketch --> - <title>icons_upload_drop</title> - <desc>Created with bin/sketchtool.</desc> - <defs></defs> - <g id="03-Input" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="03_05-File-drop" sketch:type="MSArtboardGroup" transform="translate(-570.000000, -368.000000)"> - <g id="icons_upload_drop" sketch:type="MSLayerGroup" transform="translate(570.000000, 368.000000)"> - <g id="Rectangle-5-+-Rectangle-6" sketch:type="MSShapeGroup"> - <path d="M0,4.00812931 C0,1.79450062 1.78537926,0 4.00241155,0 L24.8253683,0 C24.8253683,0 42.2466793,16.8210687 42.2466793,16.8210687 L42.2466793,53.000599 C42.2466793,55.2094072 40.4583762,57 38.2531894,57 L3.99348992,57 C1.78794634,57 0,55.1999609 0,52.9918707 L0,4.00812931 Z" id="Rectangle-5" stroke="#76CFA6"></path> - <path d="M40.5848017,19.419576 L29.8354335,19.419576 C26.7387692,19.419576 24.2284269,16.9063989 24.2284269,13.8067771 L24.2284269,4.88501382 L40.5848017,19.419576 Z" id="Rectangle-6-Copy" fill="#FFFFFF"></path> - <path d="M42.2466793,18.3870968 L29.539478,18.3870968 C26.4130381,18.3870968 23.8785579,15.8497544 23.8785579,12.7203286 L23.8785579,0" id="Rectangle-6" stroke="#76CFA6"></path> - </g> - <path d="M31.3419737,32.9284726 C31.701384,32.9284726 32.0607942,32.8000473 32.3359677,32.5414375 C32.8825707,32.0259772 32.8825707,31.1920926 32.3359677,30.6766323 L21.622922,20.6119619 C21.076319,20.0965016 20.187153,20.0982608 19.638678,20.6102026 L8.9125289,30.6607991 C8.36405391,31.1762594 8.36218198,32.0119032 8.90878504,32.5273635 C9.4553881,33.0445831 10.344554,33.0445831 10.893029,32.530882 L19.2399573,24.7092556 L19.2437012,46.487014 C19.2437012,47.2153435 19.874541,47.8064516 20.6476474,47.8064516 C21.4244976,47.8064516 22.0515936,47.2153435 22.0515936,46.487014 L22.0478497,24.7426814 L30.3498517,32.5414375 C30.6231533,32.8000473 30.9825635,32.9284726 31.3419737,32.9284726 L31.3419737,32.9284726 Z" id="Fill-75" fill="#76CFA6" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> diff --git a/src/skins/vector/img/upload.png b/src/skins/vector/img/upload.png deleted file mode 100644 index 7457bcd0..00000000 Binary files a/src/skins/vector/img/upload.png and /dev/null differ diff --git a/src/skins/vector/img/upload.svg b/src/skins/vector/img/upload.svg deleted file mode 100644 index 039014a2..00000000 --- a/src/skins/vector/img/upload.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="19px" height="24px" viewBox="-1 -1 19 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: bin/sketchtool 1.4 (305) - http://www.bohemiancoding.com/sketch --> - <title>icons_upload</title> - <desc>Created with bin/sketchtool.</desc> - <defs></defs> - <g id="02-Chat" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="02_13-Chat-member-profile" sketch:type="MSArtboardGroup" transform="translate(-873.000000, -722.000000)"> - <g id="icons_upload" sketch:type="MSLayerGroup" transform="translate(873.000000, 722.000000)"> - <g id="Rectangle-5-+-Rectangle-6" sketch:type="MSShapeGroup"> - <path d="M0,4.00955791 C0,1.79514022 1.78163126,0 3.99825563,0 L9.59161955,0 C9.59161955,0 16.3225806,6.49234232 16.3225806,6.49234232 L16.3225806,18.0063928 C16.3225806,20.2120012 14.5290874,22 12.3296282,22 L3.99295243,22 C1.7877057,22 0,20.1996477 0,17.9904421 L0,4.00955791 Z" id="Rectangle-5" stroke="#76CFA6"></path> - <path d="M15.6804916,7.49527496 L11.5273266,7.49527496 C10.3308881,7.49527496 9.3609831,6.52527676 9.3609831,5.3289315 L9.3609831,1.88544393 L15.6804916,7.49527496 Z" id="Rectangle-6-Copy" fill="#FFFFFF"></path> - <path d="M16.3225806,7.09677419 L11.4129801,7.09677419 C10.2050375,7.09677419 9.22580645,6.11744908 9.22580645,4.90960051 L9.22580645,0" id="Rectangle-6" stroke="#76CFA6"></path> - </g> - <path d="M12.3736951,12.709235 C12.5125582,12.709235 12.6514212,12.6596674 12.7577382,12.5598531 C12.9689258,12.3609035 12.9689258,12.0390533 12.7577382,11.8401037 L8.61860697,7.95549406 C8.40741942,7.75654446 8.06387804,7.75722347 7.85196724,7.95481505 L3.70777326,11.8339926 C3.49586247,12.0329422 3.49513923,12.3554714 3.70632677,12.554421 C3.91751432,12.7540496 4.2610557,12.7540496 4.4729665,12.555779 L7.69791605,9.53690567 L7.69936254,17.9423563 C7.69936254,18.2234659 7.94309612,18.4516129 8.24179631,18.4516129 C8.541943,18.4516129 8.78423008,18.2234659 8.78423008,17.9423563 L8.78278359,9.54980684 L11.9903753,12.5598531 C12.095969,12.6596674 12.2348321,12.709235 12.3736951,12.709235 L12.3736951,12.709235 Z" id="Fill-75" fill="#76CFA6" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/video-mute.svg b/src/skins/vector/img/video-mute.svg deleted file mode 100644 index 6de60ba3..00000000 --- a/src/skins/vector/img/video-mute.svg +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="31px" height="27px" viewBox="-2 -2 31 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.3 (16618) - http://www.bohemiancoding.com/sketch --> - <title>icons_video copy</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-871.000000, -667.000000)" stroke="#FFFFFF"> - <g id="icons_video-copy" sketch:type="MSLayerGroup" transform="translate(871.000000, 666.000000)"> - <g id="Rectangle-20-+-Path-16" transform="translate(0.000000, 0.464286)" sketch:type="MSShapeGroup"> - <rect id="Rectangle-20" x="0" y="0.535714286" width="20" height="20" rx="4"></rect> - <path d="M20.75,10.6964286 C20.75,14.0446429 24.188247,15.7371974 24.188247,15.7371974 C25.5057636,16.651593 26.5738219,16.0843085 26.5738219,14.4868066 L26.5738219,6.90605053 C26.5738219,5.30108314 25.4784055,4.70120148 24.188247,5.65565975 C24.188247,5.65565975 20.75,7.34821429 20.75,10.6964286 Z" id="Path-16"></path> - </g> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/video-unmute.svg b/src/skins/vector/img/video-unmute.svg deleted file mode 100644 index a6c6c3b6..00000000 --- a/src/skins/vector/img/video-unmute.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="31px" height="27px" viewBox="-1 -1 31 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>icons_video copy</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-870.000000, -666.000000)" stroke="#FFFFFF"> - <g id="icons_video-copy" sketch:type="MSLayerGroup" transform="translate(870.000000, 666.000000)"> - <g id="Rectangle-20-+-Path-16" transform="translate(1.000000, 0.464286)" sketch:type="MSShapeGroup"> - <rect id="Rectangle-20" x="0" y="0.535714286" width="20" height="20" rx="4"></rect> - <path d="M20.75,10.6964286 C20.75,14.0446429 24.188247,15.7371974 24.188247,15.7371974 C25.5057636,16.651593 26.5738219,16.0843085 26.5738219,14.4868066 L26.5738219,6.90605053 C26.5738219,5.30108314 25.4784055,4.70120148 24.188247,5.65565975 C24.188247,5.65565975 20.75,7.34821429 20.75,10.6964286 Z" id="Path-16"></path> - </g> - <path d="M24,1 L0.00856596586,23.6585766" id="Path-98" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/video.png b/src/skins/vector/img/video.png deleted file mode 100644 index 2a788f6f..00000000 Binary files a/src/skins/vector/img/video.png and /dev/null differ diff --git a/src/skins/vector/img/voice-mute.svg b/src/skins/vector/img/voice-mute.svg deleted file mode 100644 index 33664107..00000000 --- a/src/skins/vector/img/voice-mute.svg +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="21px" height="26px" viewBox="-4 -1 21 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.3 (16618) - http://www.bohemiancoding.com/sketch --> - <title>Audio</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-915.000000, -665.000000)" fill="#FFFFFF"> - <g id="Audio" sketch:type="MSLayerGroup" transform="translate(915.000000, 665.000000)"> - <path d="M3.51108197,4.57927869 C3.51108197,2.62701639 5.09940984,1.03868852 7.05206557,1.03868852 C9.00472131,1.03868852 10.5930492,2.62701639 10.5930492,4.57927869 L10.5930492,12.448918 C10.5930492,14.4015738 9.00472131,15.9899016 7.05206557,15.9899016 C5.09940984,15.9899016 3.51108197,14.4015738 3.51108197,12.448918 L3.51108197,4.57927869 L3.51108197,4.57927869 Z M7.05206557,16.7767869 C9.44183607,16.7767869 11.3799344,14.839082 11.3799344,12.448918 L11.3799344,4.57927869 C11.3799344,2.18911475 9.44183607,0.251803279 7.05206557,0.251803279 C4.66229508,0.251803279 2.72419672,2.18911475 2.72419672,4.57927869 L2.72419672,12.448918 C2.72419672,14.839082 4.66229508,16.7767869 7.05206557,16.7767869 Z M12.9517377,8.51409836 L12.9517377,12.448918 C12.9517377,15.703082 10.3042623,18.3505574 7.05009836,18.3505574 C3.79554098,18.3505574 1.14845902,15.703082 1.14845902,12.448918 L1.14845902,8.51409836 L0.36157377,8.51409836 L0.36157377,12.448918 C0.36157377,16.0217705 3.17980328,18.9407213 6.70898361,19.1201311 L6.65862295,19.1201311 L6.65862295,23.080918 L3.11567213,23.080918 L3.11567213,23.8678033 L10.9845246,23.8678033 L10.9845246,23.080918 L7.4455082,23.080918 L7.4455082,19.1201311 L7.39121311,19.1201311 C10.9203934,18.9407213 13.738623,16.0217705 13.738623,12.448918 L13.738623,8.51409836 L12.9517377,8.51409836 Z" id="Fill-16" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/voice-unmute.svg b/src/skins/vector/img/voice-unmute.svg deleted file mode 100644 index 0d7e6f42..00000000 --- a/src/skins/vector/img/voice-unmute.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="21px" height="26px" viewBox="-1 -1 21 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>Audio</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-912.000000, -665.000000)"> - <g id="Audio" sketch:type="MSLayerGroup" transform="translate(912.000000, 665.000000)"> - <path d="M6.51108197,4.57927869 C6.51108197,2.62701639 8.09940984,1.03868852 10.0520656,1.03868852 C12.0047213,1.03868852 13.5930492,2.62701639 13.5930492,4.57927869 L13.5930492,12.448918 C13.5930492,14.4015738 12.0047213,15.9899016 10.0520656,15.9899016 C8.09940984,15.9899016 6.51108197,14.4015738 6.51108197,12.448918 L6.51108197,4.57927869 L6.51108197,4.57927869 Z M10.0520656,16.7767869 C12.4418361,16.7767869 14.3799344,14.839082 14.3799344,12.448918 L14.3799344,4.57927869 C14.3799344,2.18911475 12.4418361,0.251803279 10.0520656,0.251803279 C7.66229508,0.251803279 5.72419672,2.18911475 5.72419672,4.57927869 L5.72419672,12.448918 C5.72419672,14.839082 7.66229508,16.7767869 10.0520656,16.7767869 Z M15.9517377,8.51409836 L15.9517377,12.448918 C15.9517377,15.703082 13.3042623,18.3505574 10.0500984,18.3505574 C6.79554098,18.3505574 4.14845902,15.703082 4.14845902,12.448918 L4.14845902,8.51409836 L3.36157377,8.51409836 L3.36157377,12.448918 C3.36157377,16.0217705 6.17980328,18.9407213 9.70898361,19.1201311 L9.65862295,19.1201311 L9.65862295,23.080918 L6.11567213,23.080918 L6.11567213,23.8678033 L13.9845246,23.8678033 L13.9845246,23.080918 L10.4455082,23.080918 L10.4455082,19.1201311 L10.3912131,19.1201311 C13.9203934,18.9407213 16.738623,16.0217705 16.738623,12.448918 L16.738623,8.51409836 L15.9517377,8.51409836 Z" id="Fill-16" fill="#FFFFFF" sketch:type="MSShapeGroup"></path> - <path d="M19,3 L0.272141024,20.6874224" id="Path-98" stroke="#FFFFFF" sketch:type="MSShapeGroup"></path> - </g> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/voice.png b/src/skins/vector/img/voice.png deleted file mode 100644 index 5ba765b0..00000000 Binary files a/src/skins/vector/img/voice.png and /dev/null differ diff --git a/src/skins/vector/img/voice.svg b/src/skins/vector/img/voice.svg deleted file mode 100644 index ff87270b..00000000 --- a/src/skins/vector/img/voice.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="16px" height="26px" viewBox="0 0 16 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> - <title>icon_voice</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="icon_voice" sketch:type="MSLayerGroup" fill="#76CFA6"> - <path d="M15.690213,10.5130204 C15.690213,9.68172789 15.0096307,9.00560998 14.1739648,9.00560998 C13.3355096,9.00560998 12.6543693,9.68172789 12.6543693,10.5130204 L12.6554851,13.5200825 C12.6510222,13.5599846 11.9274851,17.4980943 7.84566437,17.4980943 C3.7599387,17.4980943 3.03472797,13.5815982 3.03361226,13.5500091 L3.03361226,10.5130204 C3.03361226,9.68172789 2.35302989,9.00560998 1.51680613,9.00560998 C0.680024521,9.00560998 0,9.68172789 0,10.5130204 L0,13.5500091 C0,15.5922177 1.86211801,19.602927 6.32830038,20.3771374 L6.32830038,22.9513732 L2.35358774,22.9513732 C1.51680613,22.9513732 0.836781609,23.6280454 0.836781609,24.4593379 C0.836781609,25.2900762 1.51680613,25.9661941 2.35358774,25.9661941 L13.3371831,25.9661941 C14.1717333,25.9661941 14.8506421,25.2900762 14.8506421,24.4593379 C14.8506421,23.6280454 14.1717333,22.9513732 13.3371831,22.9513732 L9.36079693,22.9513732 L9.36079693,20.3771374 C13.828095,19.602927 15.690213,15.5922177 15.690213,13.5500091 L15.690213,10.5130204 Z M13.3371831,23.7826658 C13.7098299,23.7826658 14.0138605,24.0863646 14.0138605,24.4593379 C14.0138605,24.8317569 13.7098299,25.1349016 13.3371831,25.1349016 L2.35358774,25.1349016 C1.97870958,25.1349016 1.67356322,24.8317569 1.67356322,24.4593379 C1.67356322,24.0863646 1.97870958,23.7826658 2.35358774,23.7826658 L6.74613333,23.7826658 C6.97764291,23.7826658 7.16508199,23.5970104 7.16508199,23.3670195 L7.16508199,20.0196816 C7.16508199,19.8113043 7.00888276,19.6350703 6.80024521,19.6079147 C2.63809349,19.0681288 0.836781609,15.334517 0.836781609,13.5500091 L0.836781609,10.5130204 C0.836781609,10.1400472 1.14192797,9.83690249 1.51680613,9.83690249 C1.89168429,9.83690249 2.19683065,10.1400472 2.19683065,10.5130204 L2.19683065,13.555551 C2.20519847,14.1812372 3.30696092,18.3293868 7.84566437,18.3293868 C12.2990161,18.3293868 13.491151,14.1175048 13.491151,13.5500091 L13.491151,10.5130204 C13.491151,10.1400472 13.797413,9.83690249 14.1739648,9.83690249 C14.5488429,9.83690249 14.8539893,10.1400472 14.8539893,10.5130204 L14.8539893,13.5500091 C14.8539893,15.334517 13.0532352,19.0681288 8.88940996,19.6079147 C8.68077241,19.6350703 8.52401533,19.8113043 8.52401533,20.0196816 L8.52401533,23.3670195 C8.52401533,23.5970104 8.71201226,23.7826658 8.94296398,23.7826658 L13.3371831,23.7826658 Z" id="Fill-200" sketch:type="MSShapeGroup"></path> - <path d="M3.04309579,10.1578404 L3.04309579,8.37998277 L3.04309579,7.54869025 L3.04309579,6.79997279 L3.04309579,5.96868027 L3.04309579,5.63727166 C3.04309579,5.49650612 3.05257931,5.35795737 3.06429425,5.21996281 L3.21324138,4.38867029 C3.76384368,2.3436907 5.62875096,0.831292517 7.84510651,0.831292517 C10.0609042,0.831292517 11.9263693,2.3436907 12.4775295,4.38867029 L12.6259188,5.21996281 C12.6376337,5.35795737 12.6476751,5.49650612 12.6476751,5.63727166 L12.6476751,5.96868027 L12.6476751,6.79997279 L12.6476751,7.54869025 L12.6476751,8.37998277 L12.6476751,10.1578404 C12.6476751,10.3872771 12.8351142,10.5734866 13.0660659,10.5734866 C13.2970176,10.5734866 13.4844567,10.3872771 13.4844567,10.1578404 L13.4844567,5.63727166 C13.4844567,2.52934603 10.954587,0 7.84510651,0 C4.7350682,0 2.20631418,2.52934603 2.20631418,5.63727166 L2.20631418,10.1578404 C2.20631418,10.3872771 2.39375326,10.5734866 2.62470498,10.5734866 C2.8556567,10.5734866 3.04309579,10.3872771 3.04309579,10.1578404 Z" id="Path" sketch:type="MSShapeGroup"></path> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/voip-chevron.svg b/src/skins/vector/img/voip-chevron.svg deleted file mode 100644 index 5f7cbe71..00000000 --- a/src/skins/vector/img/voip-chevron.svg +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="22px" height="17px" viewBox="-1 -1 22 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch --> - <title>Triangle 1</title> - <desc>Created with Sketch.</desc> - <defs></defs> - <g id="05-Voice-and-video" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> - <g id="05_2-Video-call" sketch:type="MSArtboardGroup" transform="translate(-912.000000, -693.000000)" fill="#76CFA6"> - <polygon id="Triangle-1" sketch:type="MSShapeGroup" transform="translate(922.000000, 700.500000) scale(1, -1) translate(-922.000000, -700.500000) " points="922 693 932 708 912 708 "></polygon> - </g> - </g> -</svg> \ No newline at end of file diff --git a/src/skins/vector/img/voip-mute.png b/src/skins/vector/img/voip-mute.png deleted file mode 100644 index a16d1001..00000000 Binary files a/src/skins/vector/img/voip-mute.png and /dev/null differ diff --git a/src/skins/vector/img/voip.png b/src/skins/vector/img/voip.png deleted file mode 100644 index e8f05bcc..00000000 Binary files a/src/skins/vector/img/voip.png and /dev/null differ diff --git a/src/skins/vector/img/warning.png b/src/skins/vector/img/warning.png deleted file mode 100644 index c5553530..00000000 Binary files a/src/skins/vector/img/warning.png and /dev/null differ diff --git a/src/skins/vector/img/warning.svg b/src/skins/vector/img/warning.svg deleted file mode 100644 index b9a96a88..00000000 --- a/src/skins/vector/img/warning.svg +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 24 23" style="enable-background:new 0 0 24 23;" xml:space="preserve"> -<style type="text/css"> - .st0{clip-path:url(#SVGID_2_);fill:#FF0064;} - .st1{clip-path:url(#SVGID_4_);fill:#FFFFFF;} -</style> -<g> - <g> - <defs> - <path id="SVGID_1_" d="M9.2,2.2c1.6-2.9,4.1-2.9,5.7,0l8.3,15.4c1.6,2.9,0.2,5.3-3.2,5.3H4c-3.3,0-4.7-2.4-3.2-5.3L9.2,2.2 - L9.2,2.2z M9.2,2.2"/> - </defs> - <clipPath id="SVGID_2_"> - <use xlink:href="#SVGID_1_" style="overflow:visible;"/> - </clipPath> - <rect x="-4.8" y="-5" class="st0" width="33.6" height="32.9"/> - </g> - <g> - <defs> - <path id="SVGID_3_" d="M12.7,15L13,5.4H11l0.3,9.6H12.7L12.7,15z M12,19.1c0.7,0,1.2-0.5,1.2-1.2c0-0.7-0.5-1.2-1.2-1.2 - c-0.7,0-1.2,0.5-1.2,1.2C10.8,18.6,11.3,19.1,12,19.1L12,19.1L12,19.1z M12,19.1"/> - </defs> - <clipPath id="SVGID_4_"> - <use xlink:href="#SVGID_3_" style="overflow:visible;"/> - </clipPath> - <rect x="5.8" y="0.4" class="st1" width="12.4" height="23.7"/> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/warning2.png b/src/skins/vector/img/warning2.png deleted file mode 100644 index db0fd4a8..00000000 Binary files a/src/skins/vector/img/warning2.png and /dev/null differ diff --git a/src/skins/vector/img/warning_yellow.svg b/src/skins/vector/img/warning_yellow.svg deleted file mode 100644 index 4d227517..00000000 --- a/src/skins/vector/img/warning_yellow.svg +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve"> -<g> - <g> - <g> - <defs> - <path id="SVGID_1_" d="M191.667,56.25c33.333-60.417,85.417-60.417,118.75,0l172.916,320.834 - C516.667,437.5,487.5,487.5,416.667,487.5H83.333c-68.75,0-97.917-50-66.667-110.416L191.667,56.25L191.667,56.25z"/> - </defs> - <use xlink:href="#SVGID_1_" overflow="visible" fill="#E8BF37"/> - <clipPath id="SVGID_2_"> - <use xlink:href="#SVGID_1_" overflow="visible"/> - </clipPath> - <rect x="-100" y="-93.75" clip-path="url(#SVGID_2_)" fill="#E8BF37" width="700" height="685.417"/> - </g> - </g> - <g> - <g> - <defs> - <path id="SVGID_3_" d="M264.584,322.916l6.25-200h-41.667l6.25,200H264.584L264.584,322.916z M250,408.334 - c14.584,0,25-10.418,25-25c0-14.584-10.416-25-25-25c-14.583,0-25,10.416-25,25C225,397.916,235.417,408.334,250,408.334 - L250,408.334L250,408.334z"/> - </defs> - <clipPath id="SVGID_4_"> - <use xlink:href="#SVGID_3_" overflow="visible"/> - </clipPath> - <rect x="120.833" y="18.75" clip-path="url(#SVGID_4_)" fill="#FFFFFF" width="258.333" height="493.75"/> - </g> - </g> -</g> -</svg> diff --git a/src/skins/vector/img/zoom.png b/src/skins/vector/img/zoom.png deleted file mode 100644 index f05ea959..00000000 Binary files a/src/skins/vector/img/zoom.png and /dev/null differ diff --git a/src/skins/vector/img/logos/riot-im-logo-1.png b/src/skins/vector/themes/riot/img/logos/riot-im-logo-1.png similarity index 100% rename from src/skins/vector/img/logos/riot-im-logo-1.png rename to src/skins/vector/themes/riot/img/logos/riot-im-logo-1.png diff --git a/src/skins/vector/img/logos/riot-im-logo-1.svg b/src/skins/vector/themes/riot/img/logos/riot-im-logo-1.svg similarity index 100% rename from src/skins/vector/img/logos/riot-im-logo-1.svg rename to src/skins/vector/themes/riot/img/logos/riot-im-logo-1.svg diff --git a/src/skins/vector/img/logos/riot-im-logo-2.svg b/src/skins/vector/themes/riot/img/logos/riot-im-logo-2.svg similarity index 100% rename from src/skins/vector/img/logos/riot-im-logo-2.svg rename to src/skins/vector/themes/riot/img/logos/riot-im-logo-2.svg diff --git a/src/skins/vector/img/logos/riot-im-logo-3.svg b/src/skins/vector/themes/riot/img/logos/riot-im-logo-3.svg similarity index 100% rename from src/skins/vector/img/logos/riot-im-logo-3.svg rename to src/skins/vector/themes/riot/img/logos/riot-im-logo-3.svg diff --git a/src/skins/vector/img/logos/riot-im-logo-4.svg b/src/skins/vector/themes/riot/img/logos/riot-im-logo-4.svg similarity index 100% rename from src/skins/vector/img/logos/riot-im-logo-4.svg rename to src/skins/vector/themes/riot/img/logos/riot-im-logo-4.svg diff --git a/src/skins/vector/img/logos/riot-im-logo-5.svg b/src/skins/vector/themes/riot/img/logos/riot-im-logo-5.svg similarity index 100% rename from src/skins/vector/img/logos/riot-im-logo-5.svg rename to src/skins/vector/themes/riot/img/logos/riot-im-logo-5.svg diff --git a/src/skins/vector/img/logos/riot-logo-1.svg b/src/skins/vector/themes/riot/img/logos/riot-logo-1.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo-1.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo-1.svg diff --git a/src/skins/vector/img/logos/riot-logo-2.svg b/src/skins/vector/themes/riot/img/logos/riot-logo-2.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo-2.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo-2.svg diff --git a/src/skins/vector/img/logos/riot-logo-3.svg b/src/skins/vector/themes/riot/img/logos/riot-logo-3.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo-3.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo-3.svg diff --git a/src/skins/vector/img/logos/riot-logo-4.svg b/src/skins/vector/themes/riot/img/logos/riot-logo-4.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo-4.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo-4.svg diff --git a/src/skins/vector/img/logos/riot-logo-5.svg b/src/skins/vector/themes/riot/img/logos/riot-logo-5.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo-5.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo-5.svg diff --git a/src/skins/vector/img/logos/riot-logo-bw.svg b/src/skins/vector/themes/riot/img/logos/riot-logo-bw.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo-bw.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo-bw.svg diff --git a/src/skins/vector/img/logos/riot-logo.svg b/src/skins/vector/themes/riot/img/logos/riot-logo.svg similarity index 100% rename from src/skins/vector/img/logos/riot-logo.svg rename to src/skins/vector/themes/riot/img/logos/riot-logo.svg diff --git a/src/skins/vector/img/logos/riot.im logo.svg b/src/skins/vector/themes/riot/img/logos/riot.im logo.svg similarity index 100% rename from src/skins/vector/img/logos/riot.im logo.svg rename to src/skins/vector/themes/riot/img/logos/riot.im logo.svg diff --git a/src/utils/DirectoryUtils.js b/src/utils/DirectoryUtils.js deleted file mode 100644 index 72e44681..00000000 --- a/src/utils/DirectoryUtils.js +++ /dev/null @@ -1,23 +0,0 @@ -// Find a protocol 'instance' with a given instance_id -// in the supplied protocols dict -export function instanceForInstanceId(protocols, instance_id) { - if (!instance_id) return null; - for (const proto of Object.keys(protocols)) { - if (!protocols[proto].instances && protocols[proto].instances instanceof Array) continue; - for (const instance of protocols[proto].instances) { - if (instance.instance_id == instance_id) return instance; - } - } -} - -// given an instance_id, return the name of the protocol for -// that instance ID in the supplied protocols dict -export function protocolNameForInstanceId(protocols, instance_id) { - if (!instance_id) return null; - for (const proto of Object.keys(protocols)) { - if (!protocols[proto].instances && protocols[proto].instances instanceof Array) continue; - for (const instance of protocols[proto].instances) { - if (instance.instance_id == instance_id) return proto; - } - } -} diff --git a/src/vector/indexedbd-worker.js b/src/vector/indexeddb-worker.js similarity index 100% rename from src/vector/indexedbd-worker.js rename to src/vector/indexeddb-worker.js